Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Tropical segment counts, tubes, vertex separation and t₁

Definition
LogBarrierIPM_Iterations_Supplement_TropicalTube

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

interior-point-methodslinear-programmingp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1tropical-geometry

For a real curve CCC and a≤ba\le ba≤b, let γ([a,b])\gamma([a,b])γ([a,b]) be the least positive number of consecutive tropical segments whose union is C([a,b])C([a,b])C([a,b]), with their first and last points C(a)C(a)C(a) and C(b)C(b)C(b). A missing finite representation gives +∞+\infty+∞; a singleton interval admits one degenerate segment. Vertex parameters are exactly the points of non-differentiability. Define

ε0=16inf⁡v,w vertices, C(v)≠C(w)d∞(C(v),C(w)),\varepsilon_0=\tfrac16\inf_{v,w\text{ vertices},\,C(v)\ne C(w)}d_\infty(C(v),C(w)),ε0​=61​v,w vertices,C(v)=C(w)inf​d∞​(C(v),C(w)),

with value +∞+\infty+∞ when fewer than two distinct vertices exist. The tube is the union of closed d∞d_\inftyd∞​-balls of radius ε\varepsilonε centered on C([a,b])C([a,b])C([a,b]). The endpoints a≤ba\le ba≤b are separated at radius ε\varepsilonε when every vertex parameter v∈(a,b)v\in(a,b)v∈(a,b) satisfies

d∞(C(a),C(v))>2ε,d∞(C(b),C(v))>4ε.d_\infty(C(a),C(v))>2\varepsilon,\qquad d_\infty(C(b),C(v))>4\varepsilon.d∞​(C(a),C(v))>2ε,d∞​(C(b),C(v))>4ε.

Finally εt=log⁡t(2N/(1−θ))+δ(t)\varepsilon_t=\log_t(2N/(1-\theta))+\delta(t)εt​=logt​(2N/(1−θ))+δ(t), and t1≥max⁡(t0,1)t_1\ge\max(t_0,1)t1​≥max(t0​,1) requires εt<ε0\varepsilon_t<\varepsilon_0εt​<ε0​ for all t>t1t>t_1t>t1​. These are the objects of §6.1; the separation condition is the repair of Proposition 28 and Theorem 29, whose printed forms fail when an endpoint is next to a vertex.

Definition code
import Mathlib
import Definitions.Def_LogBarrierIPM_Iterations_Supplement_Specialization
import Definitions.Def_LogBarrierIPM_Iterations_TropicalSegment

namespace LogBarrierIPM.Iterations.Supplement
open LogBarrierIPM.Curvature

/-- Union of p consecutive tropical segments. -/
def tropicalChain {d : ℕ} (p : ℕ) (z : Fin (p + 1) → Fin d → WithBot ℝ) :
    Set (Fin d → WithBot ℝ) :=
  ⋃ i : Fin p, tsegm (z i.castSucc) (z i.succ)

/-- Least positive segment count; +∞, never zero, if no finite representation exists.
For a=b a single degenerate segment is admissible. -/
noncomputable def gamma {d : ℕ} (C : ℝ → Fin d → ℝ) (a b : ℝ) : WithTop ℕ :=
  sInf {k | ∃ p : ℕ, 1 ≤ p ∧ k = (p : WithTop ℕ) ∧
    ∃ z : Fin (p + 1) → Fin d → WithBot ℝ,
      z 0 = tropicalizeReal (C a) ∧ z (Fin.last p) = tropicalizeReal (C b) ∧
      tropicalChain p z = (fun lam => tropicalizeReal (C lam)) '' Set.Icc a b}

/-- Vertex parameters: precisely the points of non-differentiability. -/
def vertexParameters {d : ℕ} (C : ℝ → Fin d → ℝ) : Set ℝ :=
  {v | ¬ DifferentiableAt ℝ C v}

/-- One sixth of the least distance between distinct vertices; +∞ if there are fewer than two. -/
noncomputable def epsilonZero {d : ℕ} (C : ℝ → Fin d → ℝ) : EReal :=
  (1 / 6 : EReal) * (⨅ v ∈ vertexParameters C, ⨅ w ∈ vertexParameters C,
    if C v ≠ C w then dInf (tropicalizeReal (C v)) (tropicalizeReal (C w)) else ⊤)

def tropicalBall {d : ℕ} (x : Fin d → WithBot ℝ) (ε : EReal) :
    Set (Fin d → WithBot ℝ) := {z | dInf z x ≤ ε}

def tube {d : ℕ} (C : ℝ → Fin d → ℝ) (a b : ℝ) (ε : EReal) :
    Set (Fin d → WithBot ℝ) :=
  ⋃ lam ∈ Set.Icc a b, tropicalBall (tropicalizeReal (C lam)) ε

/-- The endpoint repair: every interior vertex is farther than 2ε from the lower endpoint and
farther than 4ε from the upper one. -/
def EndpointsSeparated {d : ℕ} (C : ℝ → Fin d → ℝ) (a b : ℝ) (ε : EReal) : Prop :=
  ∀ v ∈ vertexParameters C, v ∈ Set.Ioo a b →
    2 * ε < dInf (tropicalizeReal (C a)) (tropicalizeReal (C v)) ∧
    4 * ε < dInf (tropicalizeReal (C b)) (tropicalizeReal (C v))

/-- Left side of (35), at the actual t, retaining δ(t). -/
noncomputable def epsilonAt {m n : ℕ} (A : Matrix (Fin m) (Fin n) Puiseux)
    (b : Fin m → Puiseux) (c : Fin n → Puiseux) (θ t : ℝ) : EReal :=
  (Real.logb t (2 * (n + m : ℕ) / (1 - θ)) : EReal) + delta A b c t

def TubeThreshold {m n : ℕ} (A : Matrix (Fin m) (Fin n) Puiseux)
    (b : Fin m → Puiseux) (c : Fin n → Puiseux) (θ t0 t1 : ℝ) : Prop :=
  t0 ≤ t1 ∧ 1 ≤ t1 ∧ ∀ t : ℝ, t1 < t →
    epsilonAt A b c θ t < epsilonZero (tropicalPath A b c)

end LogBarrierIPM.Iterations.Supplement
Source
Allamigeon, Benchimol, Gaubert, Joswig, Log-Barrier Interior Point Methods Are Not Strongly Polynomial, arXiv:1708.01544v2, p. 23, def-gamma

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me