Lemma B.2: iid samples fill the domain
ProvedPINNConvergence.iid_samples_coverLet be compact and let be a probability measure supported on with density with respect to -dimensional Hausdorff measure on (), . Let , and suppose that for every with there is a finite partition of into measurable sets with , each contained in a cube of side length centred at some . Then for every , with probability at least
over iid samples from , every has a sample with .
This probabilistic space-filling estimate is the source of the convergence rates in Theorem 3.1.
Formalization Note The paper asks for the partitions for every . That hypothesis can never hold, because for large . It is therefore required only for ; the proof uses only . The probability is the (outer) measure of the covering event under the product measure .
import Mathlib import Definitions.Def_PINNConvergence_Basic open MeasureTheory Filter Topology
namespace PINNConvergence
theorem iid_samples_cover {d s : ℕ} (hs : 1 ≤ s) (X : Set (Rd d)) (hX : IsCompact X)
(μ : Measure (Rd d)) (hμ1 : IsProbabilityMeasure μ) (hsupp : μ Xᶜ = 0)
(ρ : Rd d → ENNReal) (hρ : Measurable ρ)
(hμ : μ = ((Measure.hausdorffMeasure (s : ℝ)).restrict X).withDensity ρ)
(hρpos : ∃ ρ₀ : ENNReal, 0 < ρ₀ ∧ ∀ x ∈ X, ρ₀ ≤ ρ x)
(c : ℝ) (hc : 0 < c) (hpart : HasCubePartitions X μ c s) (N : ℕ) (hN : 1 ≤ N) :
ENNReal.ofReal (1 - Real.sqrt N * (1 - 1 / Real.sqrt N) ^ N) ≤
Measure.pi (fun _ : Fin N => μ)
{xs | ∀ x ∈ X, ∃ j, dist x (xs j) ≤
Real.sqrt d * c ^ (-(1 : ℝ) / s) * (N : ℝ) ^ (-(1 : ℝ) / (2 * s))} := by sorry
end PINNConvergenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be natural numbers. Let carry the Euclidean norm and distance. Let be a compact set and let be a measure on . The hypotheses on are:
- is a probability measure, and .
- There is a measurable function such that
where is the -dimensional Hausdorff measure on . This is the library's version, built from with no normalizing constant.
- There is a constant with for every . Nothing rules out .
Next, let be a real number satisfying the following cube-partition property for . For every real with , there are:
- a natural number ;
- sets ;
- points ;
such that:
- each is measurable;
- the are pairwise disjoint;
- ;
- each ;
- each , where
is the closed axis-parallel cube of side length centred at ;
- each .
Finally, let be a natural number. Let be the product measure on -tuples , the law of i.i.d. samples from . The theorem asserts
In words: with at least the stated probability, every point of lies within Euclidean distance of some sample. The powers and are real powers of positive numbers. The exponent in is an ordinary natural-number power. The left side is clipped at if the expression is negative. The right side is the product measure (outer measure) of the set; the statement does not assert that this set is measurable.
Edge cases implicit in the quantifiers:
- Case . The left side equals . The claim then says that, with -probability , a single sample lies within distance of every point of .
- Nonemptiness of . Since , is necessarily nonempty.
- Relation between and . The statement does not require . When , including every case with , the measure on is the zero measure. Then , which contradicts being a probability measure, so the hypotheses cannot all hold and the statement is vacuous there.
- Upper bound on the density. No upper bound on is assumed.
- Redundant hypothesis. The hypothesis is also implied by the density representation.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.