Download data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeRepresentative.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.05 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeRepresentative.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeRepresentative.lean
-
curl -L -o GraphAmplitudeRepresentative.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeRepresentative.lean
6.05 kB
| import OAI.MeasureTheory.Falconer.Graphs.GraphCompleteWeightSupport | |
| import OAI.MeasureTheory.Falconer.Graphs.GraphAmplitudeSupport | |
| namespace OAI | |
| namespace PlanarFalconer | |
| open Set | |
| theorem graph_directions_chartZ (Ο z : β) : | |
| graphChartZ (sourceDirection (Ο+Real.arctan z)) (sourceDirection (Ο-Real.arctan z)) = z := by | |
| let u := sourceDirection (Ο+Real.arctan z) | |
| let v := sourceDirection (Ο-Real.arctan z) | |
| have hn : 0 < βu+vβ := by rw [graph_directions_sum_norm]; positivity | |
| have hd := graph_chart_difference u v (norm_sourceDirection _) (norm_sourceDirection _) (norm_pos_iff.mp hn) | |
| have he : u-v = z β’ quarterTurn (u+v) := by | |
| dsimp [u,v] | |
| rw [graph_directions_sum, quarterTurn_smul, sourceDirection_add_arctan, sourceDirection_sub_arctan] | |
| module | |
| have hq : quarterTurn (u+v) β 0 := by rw [β norm_ne_zero_iff,graph_quarterTurn_norm]; exact hn.ne' | |
| exact (smul_left_injective β hq) (hd.symm.trans he) | |
| theorem graph_directions_chartAxis (Ο z : β) : | |
| graphChartAxis (sourceDirection (Ο+Real.arctan z)) (sourceDirection (Ο-Real.arctan z)) = sourceDirection Ο := by | |
| rw [graphChartAxis, graph_directions_sum_norm, graph_directions_sum, smul_smul, | |
| inv_mul_cancelβ (by positivity : (2:β)/Real.sqrt (1+z^2) β 0), one_smul] | |
| noncomputable def graphSourceEndpoints (distance plus : Bool) (p : Plane Γ β) : UnitCircle Γ UnitCircle := | |
| (sourceUnitDirection (graphPlaneAngle p.1+Real.arctan p.2), | |
| sourceUnitDirection (graphPlaneAngle p.1-Real.arctan p.2+graphSourceChartAxis distance plus)) | |
| theorem graphSourceEndpoints_signed (distance plus : Bool) (p : Plane Γ β) : | |
| graphSourceSign distance plus β’ ((graphSourceEndpoints distance plus p).2:Plane) = | |
| sourceDirection (graphPlaneAngle p.1-Real.arctan p.2) := by | |
| cases distance <;> cases plus <;> | |
| simp [graphSourceEndpoints,graphSourceSign,graphSourceChartAxis,sourceUnitDirection,sourceDirection_add_pi] | |
| theorem graphSourceEndpoints_coordinates (distance plus : Bool) {p : Plane Γ β} (hp : p.1 β 0) : | |
| graphChartZ ((graphSourceEndpoints distance plus p).1:Plane) | |
| (graphSourceSign distance plus β’ ((graphSourceEndpoints distance plus p).2:Plane)) = p.2 β§ | |
| graphChartAxis ((graphSourceEndpoints distance plus p).1:Plane) | |
| (graphSourceSign distance plus β’ ((graphSourceEndpoints distance plus p).2:Plane)) = graphNormalizedAxis p.1 := by | |
| rw [graphSourceEndpoints_signed] | |
| change graphChartZ (sourceDirection _) _ = _ β§ graphChartAxis (sourceDirection _) _ = _ | |
| rw [graph_directions_chartZ, graph_directions_chartAxis,graphNormalizedAxis_eq_all hp] | |
| exact β¨rfl,rflβ© | |
| theorem graphAmplitudePullback_weight_nonzero (b : Fin 4 β Plane β UnitCircle β β) | |
| (x : Fin 4 β Plane) (distance plus : Bool) (axis Ξ΄ : β) (j k : β) | |
| (Ξ¨ : β β β) {p : Plane Γ β} | |
| (hp : graphAmplitudePullback b x distance plus axis Ξ΄ j k Ξ¨ p β 0) : | |
| graphSourceWeight distance plus axis (angularBinCount Ξ΄) j k (graphSourceEndpoints distance plus p) β 0 := by | |
| intro hz | |
| apply hp | |
| change graphSourceWeight distance plus axis (angularBinCount Ξ΄) j k | |
| (sourceUnitDirection (graphPlaneAngle p.1+Real.arctan p.2), | |
| sourceUnitDirection (graphPlaneAngle p.1-Real.arctan p.2+graphSourceChartAxis distance plus)) = 0 at hz | |
| simp [graphAmplitudePullback,graphFourAmplitude,hz] | |
| def GraphSourceRepresentative (distance plus : Bool) (axis Ξ΄ : β) (j k : β) | |
| (q : UnitCircle Γ UnitCircle) : Prop := | |
| q β tsupport (graphSourceWeight distance plus axis (angularBinCount Ξ΄) j k) β§ | |
| β w β tsupport (graphSourceWeight distance plus axis (angularBinCount Ξ΄) j k), | |
| |graphChartZ (w.1:Plane) (graphSourceSign distance plus β’ (w.2:Plane))- | |
| graphChartZ (q.1:Plane) (graphSourceSign distance plus β’ (q.2:Plane))|+ | |
| dist (graphChartAxis (w.1:Plane) (graphSourceSign distance plus β’ (w.2:Plane))) | |
| (graphChartAxis (q.1:Plane) (graphSourceSign distance plus β’ (q.2:Plane))) β€ 112*Ξ΄ | |
| theorem graphSourceRepresentative_exists {Ξ΄ : β} (hΞ΄ : 0 < Ξ΄) (hcap : Ξ΄ β€ 2*Real.pi) | |
| (distance plus : Bool) (axis : β) (j k : β) | |
| (hS : (tsupport (graphSourceWeight distance plus axis (angularBinCount Ξ΄) j k)).Nonempty) : | |
| β q, GraphSourceRepresentative distance plus axis Ξ΄ j k q := | |
| graphSourceWeight_complete_representative hΞ΄ hcap distance plus axis j k hS | |
| theorem GraphSourceRepresentative.amplitude_coordinates | |
| {distance plus : Bool} {axis Ξ΄ : β} {j k : β} {q : UnitCircle Γ UnitCircle} | |
| (hq : GraphSourceRepresentative distance plus axis Ξ΄ j k q) | |
| (b : Fin 4 β Plane β UnitCircle β β) (x : Fin 4 β Plane) | |
| {Ξ¨ : β β β} (hsupp : β t, Ξ¨ t β 0 β t β Ioo (1/4:β) 4) | |
| {p : Plane Γ β} (hp : graphAmplitudePullback b x distance plus axis Ξ΄ j k Ξ¨ p β 0) : | |
| |p.2-graphChartZ (q.1:Plane) (graphSourceSign distance plus β’ (q.2:Plane))|+ | |
| dist (graphNormalizedAxis p.1) (graphChartAxis (q.1:Plane) (graphSourceSign distance plus β’ (q.2:Plane))) β€ 112*Ξ΄ := by | |
| have hs := graphAmplitudePullback_tsupport b x distance plus axis Ξ΄ j k hsupp (subset_closure hp) | |
| have hlo : (1:β)/8 β€ βp.1β := hs.2 | |
| have hn : p.1 β 0 := norm_pos_iff.mp (by linarith) | |
| have hw := hq.2 _ (subset_closure (graphAmplitudePullback_weight_nonzero b x distance plus axis Ξ΄ j k Ξ¨ hp)) | |
| rw [(graphSourceEndpoints_coordinates distance plus hn).1, | |
| (graphSourceEndpoints_coordinates distance plus hn).2] at hw | |
| exact hw | |
| theorem graphAmplitudePullback_zero_of_empty_weight_support | |
| (b : Fin 4 β Plane β UnitCircle β β) (x : Fin 4 β Plane) | |
| (distance plus : Bool) (axis Ξ΄ : β) (j k : β) (Ξ¨ : β β β) | |
| (hS : Β¬(tsupport (graphSourceWeight distance plus axis (angularBinCount Ξ΄) j k)).Nonempty) : | |
| graphAmplitudePullback b x distance plus axis Ξ΄ j k Ξ¨ = 0 := by | |
| funext p | |
| by_contra hp | |
| exact hS β¨_,subset_closure (graphAmplitudePullback_weight_nonzero b x distance plus axis Ξ΄ j k Ξ¨ hp)β© | |
| end PlanarFalconer | |
| end OAI | |