Documentation

LeanPool.DistinctDistances.RefinedClosePairGeometry

Refined close pairs in a thin planar annulus #

Formalizes the geometric inputs of Steps L0, L1 and Ant of docs/results/refined-constant-gain-2026-10-19.md.

The proofs use exact coordinates in the apex frame of annular_equidistant_triple_close_pair and inner-product identities; no angles are used. All thresholds are squared distances.

theorem Esgk.same_side_chord_sq_le {X Y X' Y' r : ℝ} (hr : 0 ≤ r) (h1 : X ^ 2 + Y ^ 2 = r ^ 2) (h2 : X' ^ 2 + Y' ^ 2 = r ^ 2) (hside : 0 ≤ Y * Y') :
(X - X') ^ 2 + (Y - Y') ^ 2 ≤ 2 * r * |X - X'|

Two points of a circle of radius r on the same side of a diameter line: their squared chord is at most 2r times the gap of their coordinates along that line.

theorem Esgk.same_side_chord_sq_le_of_sq_le {X Y X' Y' r γ : ℝ} (h1 : X ^ 2 + Y ^ 2 = r ^ 2) (h2 : X' ^ 2 + Y' ^ 2 = r ^ 2) (hside : 0 ≤ Y * Y') (hγ1 : γ ^ 2 ≤ 1) (hX : X ^ 2 ≤ γ ^ 2 * r ^ 2) (hX' : X' ^ 2 ≤ γ ^ 2 * r ^ 2) :
(1 - γ ^ 2) * ((X - X') ^ 2 + (Y - Y') ^ 2) ≤ (X - X') ^ 2

Two points of a circle of radius r on the same side of a diameter line, whose coordinates along that line satisfy X² ≤ γ² r²: the squared chord, scaled by 1 - γ², is at most the squared gap of those coordinates.

theorem Esgk.annular_equidistant_triple_close_pair_sharp (p : Point) (q : Fin 3 → Point) {x σ t : ℝ} (hσ : 0 < σ) (hσx : σ ^ 2 ≤ 1 - x) (ht : x * (σ + 1) ≤ σ * t) (hp : 1 - x ≤ ‖p‖ ^ 2) (hlo : ∀ (i : Fin 3), 1 - x ≤ ‖q i‖ ^ 2) (hhi : ∀ (i : Fin 3), ‖q i‖ ^ 2 ≤ 1) (heq : ∀ (i j : Fin 3), dist p (q i) = dist p (q j)) :
∃ (i : Fin 3) (j : Fin 3), i ≠ j ∧ dist (q i) (q j) ^ 2 ≤ t

Step L0 in the unit annulus, arbitrary planar frame: three points of the annulus 1 - x ≤ ‖·‖² ≤ 1 equidistant from an apex p of the annulus contain a pair of squared distance at most t, provided 0 < σ, σ² ≤ 1 - x and x(σ + 1) ≤ σ t. No bound on the common radius is assumed.

theorem Esgk.annular_equidistant_triple_close_pair_small_radius (p : Point) (q : Fin 3 → Point) {x σ κ γ t : ℝ} (hσ : 0 < σ) (hσx : σ ^ 2 ≤ 1 - x) (hκ : 0 < κ) (hγ : 0 ≤ γ) (hγ1 : γ ^ 2 < 1) (hCu : 1 ≤ 2 * σ * γ * κ) (hC1 : 3 ≤ 4 * γ ^ 2 * σ ^ 2) (hC2 : κ ^ 2 * x + 1 ≤ 2 * γ * κ) (hC3 : (3 + x) ^ 2 ≤ 12 * γ ^ 2) (ht1 : 4 * κ ^ 2 * x ^ 2 ≤ t) (ht2 : x ^ 2 ≤ 4 * σ ^ 2 * (1 - γ ^ 2) * t) (hp : 1 - x ≤ ‖p‖ ^ 2) (hp1 : ‖p‖ ^ 2 ≤ 1) (hlo : ∀ (i : Fin 3), 1 - x ≤ ‖q i‖ ^ 2) (hhi : ∀ (i : Fin 3), ‖q i‖ ^ 2 ≤ 1) (heq : ∀ (i j : Fin 3), dist p (q i) = dist p (q j)) (hr : ∀ (i : Fin 3), dist p (q i) ^ 2 ≤ 3) :
∃ (i : Fin 3) (j : Fin 3), i ≠ j ∧ dist (q i) (q j) ^ 2 ≤ t

Step L1 in the unit annulus, arbitrary planar frame: three points of the annulus 1 - x ≤ ‖·‖² ≤ 1 at a common squared distance at most 3 from an apex p of the annulus contain a pair of squared distance at most t. The parameter conditions hCu, hC1, hC2, hC3 bound the offset of each point by γ times the radius, and ht1, ht2 are the two branches r < κx and r ≥ κx of the threshold.

theorem Esgk.scaled_annular_equidistant_triple_close_pair_sharp (c p : Point) (q : Fin 3 → Point) {ρ x σ t : ℝ} (hρ : 0 < ρ) (hσ : 0 < σ) (hσx : σ ^ 2 ≤ 1 - x) (ht : x * (σ + 1) ≤ σ * t) (hp : ρ ^ 2 * (1 - x) ≤ dist p c ^ 2) (hlo : ∀ (i : Fin 3), ρ ^ 2 * (1 - x) ≤ dist (q i) c ^ 2) (hhi : ∀ (i : Fin 3), dist (q i) c ^ 2 ≤ ρ ^ 2) (heq : ∀ (i j : Fin 3), dist p (q i) = dist p (q j)) :
∃ (i : Fin 3) (j : Fin 3), i ≠ j ∧ dist (q i) (q j) ^ 2 ≤ t * ρ ^ 2

Step L0 after translation by c and positive scaling by ρ: three points of the annulus ρ²(1 - x) ≤ dist · c² ≤ ρ² equidistant from an apex p with ρ²(1 - x) ≤ dist p c² contain a pair of squared distance at most t ρ².

theorem Esgk.scaled_annular_equidistant_triple_close_pair_small_radius (c p : Point) (q : Fin 3 → Point) {ρ x σ κ γ t : ℝ} (hρ : 0 < ρ) (hσ : 0 < σ) (hσx : σ ^ 2 ≤ 1 - x) (hκ : 0 < κ) (hγ : 0 ≤ γ) (hγ1 : γ ^ 2 < 1) (hCu : 1 ≤ 2 * σ * γ * κ) (hC1 : 3 ≤ 4 * γ ^ 2 * σ ^ 2) (hC2 : κ ^ 2 * x + 1 ≤ 2 * γ * κ) (hC3 : (3 + x) ^ 2 ≤ 12 * γ ^ 2) (ht1 : 4 * κ ^ 2 * x ^ 2 ≤ t) (ht2 : x ^ 2 ≤ 4 * σ ^ 2 * (1 - γ ^ 2) * t) (hp : ρ ^ 2 * (1 - x) ≤ dist p c ^ 2) (hp1 : dist p c ^ 2 ≤ ρ ^ 2) (hlo : ∀ (i : Fin 3), ρ ^ 2 * (1 - x) ≤ dist (q i) c ^ 2) (hhi : ∀ (i : Fin 3), dist (q i) c ^ 2 ≤ ρ ^ 2) (heq : ∀ (i j : Fin 3), dist p (q i) = dist p (q j)) (hr : ∀ (i : Fin 3), dist p (q i) ^ 2 ≤ 3 * ρ ^ 2) :
∃ (i : Fin 3) (j : Fin 3), i ≠ j ∧ dist (q i) (q j) ^ 2 ≤ t * ρ ^ 2

Step L1 after translation by c and positive scaling by ρ: three points of the annulus ρ²(1 - x) ≤ dist · c² ≤ ρ² at a common squared distance at most 3ρ² from an apex p of the annulus contain a pair of squared distance at most t ρ².

theorem Esgk.not_three_pairwise_sq_far {c u v w : Point} {ρ : ℝ} (hu : dist u c ≤ ρ) (hv : dist v c ≤ ρ) (hw : dist w c ≤ ρ) (huv : 3 * ρ ^ 2 < dist u v ^ 2) (huw : 3 * ρ ^ 2 < dist u w ^ 2) (hvw : 3 * ρ ^ 2 < dist v w ^ 2) :

Step Ant (a): no three points of the closed disk of radius ρ about c are pairwise at squared distance more than 3ρ².

theorem Esgk.apex_sq_dist_mem_of_sq_far {c z a b : Point} {ρ x : ℝ} (hρ : 0 < ρ) (hz : ρ ^ 2 * (1 - x) ≤ dist z c ^ 2) (hz1 : dist z c ^ 2 ≤ ρ ^ 2) (ha : ρ ^ 2 * (1 - x) ≤ dist a c ^ 2) (ha1 : dist a c ^ 2 ≤ ρ ^ 2) (hb : ρ ^ 2 * (1 - x) ≤ dist b c ^ 2) (hb1 : dist b c ^ 2 ≤ ρ ^ 2) (hab : 3 * ρ ^ 2 < dist a b ^ 2) (heq : dist z a = dist z b) :
ρ ^ 2 * (1 - 2 * x) < dist z a ^ 2 ∧ dist z a ^ 2 < 3 * ρ ^ 2

Step Ant (b): in the annulus ρ²(1 - x) ≤ dist · c² ≤ ρ², an apex z of a pair a, b at squared distance more than 3ρ² has squared radius dist z a² strictly between ρ²(1 - 2x) and 3ρ².