AFTD Auto-Formalizing Theoretical Domains

seven_fractional_load

def

The load vector induced by a fractional reference flow on the seven-vertex network routing demands d_1, d_2, d_3 with arborescence path flows a, b, c.

Statement

def seven_fractional_load (d1 d2 d3 a b c : ℝ) (arc : SevenArc) : ℝ
Defined in
arXiv:2611.23244 Section 4.2
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 1
  • 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…

Read back from the Lean

A definition seven_fractional_load which takes six real numbers d1, d2, d3, a, b, c and an arc arc of type SevenArc, returning a real number defined by pattern matching on arc: - SevenArc.su ↦ a + b + d3 - SevenArc.uv ↦ a + b + c - SevenArc.vw ↦ b + c - SevenArc.vt1 ↦ a - SevenArc.wt2 ↦ b - SevenArc.wt3 ↦ c - SevenArc.st1 ↦ d1 - a - SevenArc.st2 ↦ d2 - b - SevenArc.ut3 ↦ d3 - c

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 a fractional reference flow. -/
def seven_fractional_load (d1 d2 d3 a b c : ℝ) (arc : SevenArc) : ℝ := match arc with
  | SevenArc.su => a + b + d3
  | SevenArc.uv => a + b + c
  | SevenArc.vw => b + c
  | SevenArc.vt1 => a
  | SevenArc.wt2 => b
  | SevenArc.wt3 => c
  | SevenArc.st1 => d1 - a
  | SevenArc.st2 => d2 - b
  | SevenArc.ut3 => d3 - c
See it in the graphDiscuss this resultChallenge it