Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Exact ordered damage repair with surviving gaps

Proved
Hirsch.ordered_damage_repair_exact

by jjosh · Sep 9, 2026 · Mathlib c5ea003 (Lean v4.30.0)

graph-diameterhirsch-conjecturepath-repairpolyhedra

Marked ordered damage intervals may contain destroyed steps; only the gaps between them must survive. Replacing each damaged interval through its certified extreme face gives exact padded budget L minus removed interval length plus the sum of replacement face budgets.

Preamble
import Mathlib
import Definitions.Def_Hirsch_model

open scoped BigOperators RealInnerProductSpace
open Set Hirsch
Formal statement
theorem Hirsch.ordered_damage_repair_exact
    {d m L : ℕ}
    (P : Set (EuclideanSpace ℝ (Fin d)))
    (w : ℕ → EuclideanSpace ℝ (Fin d))
    (s t B : Fin m → ℕ)
    (F : Fin m → Set (EuclideanSpace ℝ (Fin d)))
    (hst : ∀ i, s i ≤ t i) (htL : ∀ i, t i ≤ L)
    (horder : ∀ i j, i < j → t i ≤ s j)
    (hF : ∀ i, IsExtreme ℝ P (F i))
    (hD : ∀ i, DiamLE (F i) (B i))
    (hends : ∀ i, w (s i) ∈ extremePoints ℝ P ∧ w (t i) ∈ extremePoints ℝ P)
    (hin : ∀ i, w (s i) ∈ F i ∧ w (t i) ∈ F i)
    (hsurvive : ∀ j, j < L → (∀ i, j < s i ∨ t i ≤ j) →
      w j = w (j + 1) ∨ Adj P (w j) (w (j + 1))) :
    ∃ q : ℕ → EuclideanSpace ℝ (Fin d),
      q 0 = w 0 ∧ q (L - (∑ i, (t i - s i)) + (∑ i, B i)) = w L ∧
      ∀ j < L - (∑ i, (t i - s i)) + (∑ i, B i),
        q j = q (j + 1) ∨ Adj P (q j) (q (j + 1)) := by sorry
Source
Verified Lean theorem from jjoshua2/prove2me-work PR #40.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me