File size: 1,566 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 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
|