AFTD Auto-Formalizing Theoretical Domains

dfjOneTwoDfjCost

def

Given a finite type V, a simple graph H on V, and a finite family ๐’ฑ of finite subsets of V, the DFJ integer programming cost dfjOneTwoDfjCost H ๐’ฑ is the infimum in โ„• of Fintype.card V plus the number of edges of F not in H, taken over all 2-regular simple graphs F on V such that for every S โˆˆ ๐’ฑ there exist vertices u โˆˆ S and v โˆ‰ S with F.Adj u v.

Statement

noncomputable def dfjOneTwoDfjCost {V : Type*} [Fintype V] (H : SimpleGraph V) (๐’ฑ : Finset (Finset V)) : โ„•
Defined in
arXiv:2611.17386 Section 1
Verified
22 Nov 2026
Axioms
none listed
Used by 1
  • dfjIsSufficientSecFamilyGiven a finite type V, a simple graph H on V, and a finite family ๐’ฑ of finite subsets of V, ๐’ฑ is a sufficient subtour elimination familyโ€ฆ

Read back from the Lean

Given a finite type V, a simple graph H on V, and a finite set ๐’ฑ of finite subsets of V, dfjOneTwoDfjCost H ๐’ฑ is the infimum in โ„• of the set of all c : โ„• such that there exists a simple graph F on V satisfying: 1. F is 2-regular (every vertex in V has degree 2 in F), 2. for every set S โˆˆ ๐’ฑ, there exist vertices u โˆˆ S and v โˆ‰ S such that u and v are adjacent in F, and 3. c equals the cardinality of V plus the number of edges of F that are not edges of H (i.e., |V| + |E(F) \ E(H)|).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The optimal DFJ integer programming cost over a family of subtour elimination constraints under the 1,2-metric derived from H. -/
noncomputable def dfjOneTwoDfjCost {V : Type*} [Fintype V] (H : SimpleGraph V) (๐’ฑ : Finset (Finset V)) : โ„• := open Classical in
  sInf {c | โˆƒ (F : SimpleGraph V), F.IsRegularOfDegree 2 โˆง
    (โˆ€ S โˆˆ ๐’ฑ, โˆƒ u โˆˆ S, โˆƒ v โˆ‰ S, F.Adj u v) โˆง
    Fintype.card V + (F.edgeFinset \ H.edgeFinset).card = c}
See it in the graphDiscuss this resultChallenge it