AFTD Auto-Formalizing Theoretical Domains

seven_unsplittable_load

def

The load on each arc of the seven-vertex network under demands d_1, d_2, d_3 and unsplittable boolean choices y_1, y_2, y_3, where terminal t_i routes d_i on its arborescence path if y_i is true and on its shortcut path if y_i is false, with arc (s,u) carrying d_3 unconditionally since both paths of t_3 use (s,u).

Statement

def seven_unsplittable_load (d1 d2 d3 : ℝ) (y1 y2 y3 : Bool) (arc : SevenArc) : ℝ
Defined in
arXiv:2611.23244 Section 4
Verified
19 Nov 2026
Axioms
none listed
Built on 1
  • SevenArcThe nine directed arcs of the seven-vertex graph: arborescence arcs (s,u), (u,v), (v,w), (v,t_1), (w,t_2), (w,t_3) and shortcut arcs…
Used by 2
  • seven_is_one_admissibleAn unsplittable selection y_1, y_2, y_3 is 1-admissible relative to fractional flow parameters a, b, c and demands d_1, d_2, d_3 if the…
  • seven_c_one_uThe minimum routing cost c_1^u(f; l) attainable by an unsplittable flow that is 1-admissible relative to f under unit arc-cost vector l,…

Read back from the Lean

A definition of a function seven_unsplittable_load that takes three real numbers d1, d2, d3, three boolean values y1, y2, y3, and an arc arc of the 9-element enumerated type SevenArc, returning the real number representing the load on that arc: - SevenArc.su: (if y1 then d1 else 0) + (if y2 then d2 else 0) + d3 - SevenArc.uv: (if y1 then d1 else 0) + (if y2 then d2 else 0) + (if y3 then d3 else 0) - SevenArc.vw: (if y2 then d2 else 0) + (if y3 then d3 else 0) - SevenArc.vt1: if y1 then d1 else 0 - SevenArc.wt2: if y2 then d2 else 0 - SevenArc.wt3: if y3 then d3 else 0 - SevenArc.st1: if y1 then 0 else d1 - SevenArc.st2: if y2 then 0 else d2 - SevenArc.ut3: if y3 then 0 else d3

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

/-- Load vector on the seven-vertex network induced by an unsplittable routing selection. -/
def seven_unsplittable_load (d1 d2 d3 : ℝ) (y1 y2 y3 : Bool) (arc : SevenArc) : ℝ := match arc with
  | SevenArc.su => (if y1 then d1 else 0) + (if y2 then d2 else 0) + d3
  | SevenArc.uv => (if y1 then d1 else 0) + (if y2 then d2 else 0) + (if y3 then d3 else 0)
  | SevenArc.vw => (if y2 then d2 else 0) + (if y3 then d3 else 0)
  | SevenArc.vt1 => if y1 then d1 else 0
  | SevenArc.wt2 => if y2 then d2 else 0
  | SevenArc.wt3 => if y3 then d3 else 0
  | SevenArc.st1 => if y1 then 0 else d1
  | SevenArc.st2 => if y2 then 0 else d2
  | SevenArc.ut3 => if y3 then 0 else d3
See it in the graphDiscuss this resultChallenge it