AFTD Auto-Formalizing Theoretical Domains

ssss_cuts

def

For a finite vertex set V and vertices s, t ∈ V, ssss_cuts s t is the set of all non-empty subsets of V \ {s, t}.

Statement

def ssss_cuts {V : Type*} [Fintype V] [DecidableEq V] (s t : V) : Finset (Finset V)
Defined in
arXiv:2611.26188, Section 3
Verified
20 Nov 2026
Axioms
none listed
Used by 4
  • ssss_dual_objThe objective value of a dual solution (a, y) for k paths is k * (a(t) - a(s)) plus twice the sum of y_U over all non-empty subsets U of V…
  • ssss_primal_feasibleFor a finite vertex set V with decidable equality, a set of directed edges E : Finset (V × V), terminals s, t ∈ V, and an integer k : ℕ, a…
  • ssss_weak_dualityFor any edge set E : Finset (V × V), edge costs c : V × V → ℝ, distinct terminals s ≠ t in V, and integer k : ℕ, if x : V × V → ℝ is…
  • ssss_dual_feasibleA node potential vector a : V → ℝ and cut dual vector y : Finset V → ℝ are feasible for the dual LP relaxation (SSSS-D) on edge set E :…

Read back from the Lean

For a finite type V with decidable equality and two elements s, t : V, ssss_cuts s t is the finite set of all nonempty subsets of V \\ {s, t}.

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 collection of non-empty subsets of V \ {s, t}, indexing cut constraints in SSSS multi-path TSP. -/
def ssss_cuts {V : Type*} [Fintype V] [DecidableEq V] (s t : V) : Finset (Finset V) := (Finset.powerset (Finset.univ \ {s, t})).filter Finset.Nonempty
See it in the graphDiscuss this resultChallenge it