Download data/lean/OAI/Geometry/PinnedDistances/Model.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/PinnedDistances/Model.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/PinnedDistances/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/PinnedDistances/Model.lean
1.57 kB
| import Mathlib | |
| namespace OAI | |
| noncomputable section | |
| open Filter | |
| open scoped Topology | |
| namespace WeakPinned | |
| abbrev Plane := EuclideanSpace β (Fin 2) | |
| def distanceFiber (P : Finset Plane) (x y : Plane) : Finset Plane := | |
| (P.erase x).filter (fun z => dist z x = dist y x) | |
| def k (P : Finset Plane) (x y : Plane) : β := | |
| (distanceFiber P x y).card | |
| def richPairs (P : Finset Plane) (s : β) : Finset (Plane Γ Plane) := | |
| (P ΓΛ’ P).filter (fun xy => xy.1 β xy.2 β§ | |
| (P.card : β) ^ s β€ (k P xy.1 xy.2 : β)) | |
| def pairFraction (P : Finset Plane) (s : β) : β := | |
| (richPairs P s).card / ((P.card : β) * ((P.card : β) - 1)) | |
| def F (n : β) (s : β) : β := | |
| if 2 β€ n then sSup {a : β | β P : Finset Plane, P.card = n β§ a = pairFraction P s} | |
| else 0 | |
| def distances (P : Finset Plane) (x : Plane) : Finset β := | |
| (P.erase x).image (fun y => dist y x) | |
| def badPins (P : Finset Plane) (Ξ΅ : β) : Finset Plane := | |
| P.filter (fun x => ((distances P x).card : β) < (P.card : β) ^ (1 - Ξ΅)) | |
| def badPinFraction (P : Finset Plane) (Ξ΅ : β) : β := | |
| (badPins P Ξ΅).card / (P.card : β) | |
| def B (n : β) (Ξ΅ : β) : β := | |
| if 0 < n then sSup {a : β | β P : Finset Plane, P.card = n β§ a = badPinFraction P Ξ΅} | |
| else 0 | |
| /- Uniform multiplicity and pinned-distance convergence statements. -/ | |
| def MainStatement : Prop := | |
| β s : β, 0 < s β Tendsto (fun n : β => F n s) atTop (nhds 0) | |
| def PinsStatement : Prop := | |
| β Ξ΅ : β, 0 < Ξ΅ β Tendsto (fun n : β => B n Ξ΅) atTop (nhds 0) | |
| end WeakPinned | |
| end | |
| end OAI | |