Lean 4 · 7
declarations statementsfull
| import OAI.MeasureTheory.Falconer.Estimates.PrefixCounting | |
| import Mathlib.Tactic.FieldSimp | |
| namespace OAI | |
| /-! # All-dimensional PrefixMass for regularized original measures -/ | |
| namespace Falconer.Regularization | |
| variable {d : ℕ} | |
| open Set MeasureTheory | |
| open scoped ENNReal | |
| theorem descendant_subset_take (Q : DyadicCube d) (_hQ : 0 < Q.side) | |
| (p : CellPath d) (a : ℕ) : (Q.descendant p).carrier ⊆ (Q.descendant (p.take a)).carrier := by | |
| have he := Q.descendant_append (p.take a) (p.drop a) | |
| rw [List.take_append_drop] at he | |
| rw [he] | |
| exact (Q.descendant (p.take a)).descendant_subset _ | |
| theorem leafUnion_inter_prefix (Q : DyadicCube d) (hQ : 0 < Q.side) | |
| {N a : ℕ} (ha : a ≤ N) {C : Finset (CellPath d)} (hC : C ⊆ cubePaths d N) | |
| {P : CellPath d} (hP : P.length = a) : | |
| (Q.descendant P).carrier ∩ leafUnion Q C = leafUnion Q (prefixFiber C a P) := by | |
| classical | |
| ext z | |
| constructor | |
| · rintro ⟨hzP,hzC⟩ | |
| obtain ⟨q,hq,hzq⟩ := mem_iUnion₂.mp hzC | |
| have hqN := (mem_cubePaths _ _ _).mp (hC hq) | |
| have hlen : (q.take a).length = P.length := by simp [List.length_take,hqN,ha,hP] | |
| have he : q.take a = P := by | |
| by_contra hne | |
| exact Set.disjoint_left.mp (Q.descendants_disjoint hlen hne) | |
| (descendant_subset_take Q hQ q a hzq) hzP | |
| exact mem_iUnion₂.mpr ⟨q,by simp [prefixFiber,hq,he],hzq⟩ | |
| · intro hz | |
| obtain ⟨q,hq,hzq⟩ := mem_iUnion₂.mp hz | |
| obtain ⟨hq,he⟩ := Finset.mem_filter.mp hq | |
| refine ⟨?_,mem_iUnion₂.mpr ⟨q,hq,hzq⟩⟩ | |
| rw [← he] | |
| exact descendant_subset_take Q hQ q a hzq | |
| theorem restriction_prefix_mass (Q : DyadicCube d) (hQ : 0 < Q.side) (μ : Measure (Space d)) | |
| {N a : ℕ} (ha : a ≤ N) {C : Finset (CellPath d)} (hC : C ⊆ cubePaths d N) | |
| {P : CellPath d} (hP : P.length = a) : | |
| (μ.restrict (leafUnion Q C)) (Q.descendant P).carrier = | |
| ∑ q ∈ prefixFiber C a P, μ (Q.descendant q).carrier := by | |
| rw [Measure.restrict_apply (Q.descendant P).measurable, | |
| leafUnion_inter_prefix Q hQ ha hC hP] | |
| exact measure_leafUnion Q hQ μ (fun q hq => hC (Finset.mem_filter.mp hq).1) | |
| theorem restriction_prefix_mass_real (Q : DyadicCube d) (hQ : 0 < Q.side) | |
| (μ : Measure (Space d)) [IsFiniteMeasure μ] | |
| {N a : ℕ} (ha : a ≤ N) {C : Finset (CellPath d)} (hC : C ⊆ cubePaths d N) | |
| {P : CellPath d} (hP : P.length = a) : | |
| ((μ.restrict (leafUnion Q C)) (Q.descendant P).carrier).toReal = | |
| ∑ q ∈ prefixFiber C a P, (μ (Q.descendant q).carrier).toReal := by | |
| rw [restriction_prefix_mass Q hQ μ ha hC hP, ENNReal.toReal_sum] | |
| intro q _ | |
| exact measure_ne_top _ _ | |
| theorem restriction_prefix_mass_bounds (Q : DyadicCube d) (hQ : 0 < Q.side) | |
| (μ : Measure (Space d)) [IsFiniteMeasure μ] | |
| {N a : ℕ} (ha : a ≤ N) {C : Finset (CellPath d)} (hC : C ⊆ cubePaths d N) | |
| {P : CellPath d} (hP : P.length = a) {s : ℝ} | |
| (hm : ∀ q ∈ C, s ≤ (μ (Q.descendant q).carrier).toReal ∧ | |
| (μ (Q.descendant q).carrier).toReal ≤ 2*s) : | |
| (prefixFiber C a P).card * s ≤ | |
| ((μ.restrict (leafUnion Q C)) (Q.descendant P).carrier).toReal ∧ | |
| ((μ.restrict (leafUnion Q C)) (Q.descendant P).carrier).toReal ≤ | |
| (prefixFiber C a P).card * (2*s) := by | |
| rw [restriction_prefix_mass_real Q hQ μ ha hC hP] | |
| constructor | |
| · calc | |
| _ = ∑ _q ∈ prefixFiber C a P, s := by simp | |
| _ ≤ _ := Finset.sum_le_sum fun q hq => (hm q (Finset.mem_filter.mp hq).1).1 | |
| · calc | |
| _ ≤ ∑ _q ∈ prefixFiber C a P, 2*s := | |
| Finset.sum_le_sum fun q hq => (hm q (Finset.mem_filter.mp hq).1).2 | |
| _ = _ := by simp | |
| theorem restriction_total_mass_real (Q : DyadicCube d) (hQ : 0 < Q.side) | |
| (μ : Measure (Space d)) [IsFiniteMeasure μ] | |
| {N : ℕ} {C : Finset (CellPath d)} (hC : C ⊆ cubePaths d N) : | |
| (μ (leafUnion Q C)).toReal = ∑ q ∈ C, (μ (Q.descendant q).carrier).toReal := by | |
| rw [measure_leafUnion Q hQ μ hC, ENNReal.toReal_sum] | |
| intro q _; exact measure_ne_top _ _ | |
| theorem restriction_total_mass_bounds (Q : DyadicCube d) (hQ : 0 < Q.side) | |
| (μ : Measure (Space d)) [IsFiniteMeasure μ] | |
| {N : ℕ} {C : Finset (CellPath d)} (hC : C ⊆ cubePaths d N) {s : ℝ} | |
| (hm : ∀ q ∈ C, s ≤ (μ (Q.descendant q).carrier).toReal ∧ | |
| (μ (Q.descendant q).carrier).toReal ≤ 2*s) : | |
| C.card*s ≤ (μ (leafUnion Q C)).toReal ∧ | |
| (μ (leafUnion Q C)).toReal ≤ C.card*(2*s) := by | |
| rw [restriction_total_mass_real Q hQ μ hC] | |
| constructor | |
| · calc | |
| _ = ∑ _q ∈ C, s := by simp | |
| _ ≤ _ := Finset.sum_le_sum fun q hq => (hm q hq).1 | |
| · calc | |
| _ ≤ ∑ _q ∈ C, 2*s := Finset.sum_le_sum fun q hq => (hm q hq).2 | |
| _ = _ := by simp | |
| end Falconer.Regularization | |
| end OAI | |
Outline
Xet Storage Details
- Size:
- 4.74 kB
- Xet hash:
- 0553b9874589162dda2f20de7d85fe079e396a72986fca2cecc418f231fc5d5f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.