AFTD Auto-Formalizing Theoretical Domains

op874_maxcut_hamiltonian_factor_orientation_obstruction

theoremverified

For an explicitly specified ten-cycle and matching, an all-mixed globally maximum cut defeats both orientations of the factor cycle as a uniform low-port rule.

Statement

theorem op874_maxcut_hamiltonian_factor_orientation_obstruction :
    let mate : Fin 10 → Fin 10 := ![2,3,0,1,7,8,9,4,5,6]
    let pair : Fin 10 → Fin 5 := ![0,1,0,1,2,3,4,2,3,4]
    let q : Fin 5 → Bool := ![true,false,true,false,false]
    let bit : Fin 10 → Bool := fun v => q (pair v)
    let degree : Fin 10 → ℕ := fun v =>
      (if bit v = bit (v+1) then 1 else 0) +
      (if bit v = bit (v-1) then 1 else 0)
    let score : (Fin 5 → Bool) → ℕ := fun t =>
      Finset.univ.sum (fun v : Fin 10 => if t (pair v) ≠ t (pair (v+1)) then 1 else 0)
    let next := fun (o : Bool) (v : Fin 10) => if o then v+1 else v-1
    (∀ v, mate (mate v) = v ∧ mate v ≠ v ∧ mate v ≠ v+1 ∧
      mate v ≠ v-1 ∧ bit (mate v) = bit v ∧ degree v + degree (mate v) ≤ 2) ∧
    score q = 8 ∧ (∀ t : Fin 5 → Bool, score t ≤ 8) ∧
    (∀ o : Bool, ∃ v : Fin 10,
      bit v = bit (next o v) ∧ bit (mate v) = bit (next o (mate v)))
Source
Maximum-cut and local-state obstruction for OP-874, https://arxiv.org/abs/2610.41950, Section 2.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem establishes an orientation obstruction for maximum cuts on a 10-cycle with an antipodal matching by proving four properties: that `mate` is a valid chordal matching preserving the cut bits with bounded monochromatic degree; that the cut `q` has size 8; that 8 is the global maximum cut size over all 32 symmetric assignments; and that for both cycle orientations, there exists a matched pair of vertices whose outgoing cycle steps are both monochromatic. Because all domains (10 vertices, 32 assignments, and 2 orientations) are finite and all conditions are computable, each conjunct is resolved by finite exhaustive verification using `decide`.

  1. The matching `mate` is a chordal involution preserving vertex labels with monochromatic degree sum at most 2; the assignment `q` cuts exactly 8 cycle edges, which is the global maximum across all 32 symmetric assignments; and both cycle orientations yield an uncut edge at a matched pair of vertices. automation

    The goal is a four-way conjunction of statements over finite domains: 1. For all 10 vertices, `mate` is an involution with no fixed points and no cycle edges, preserves the assignment `bit`, and satisfies `degree v + degree (mate v) ≤ 2`. 2. The number of cut edges for `q` on the 10-cycle is computed by summing over `Fin 10` and equals 8. 3. For all 32 assignments $t : \text{Fin } 5 \to \text{Bool}$, the cut size `score t` is at most 8, establishing that `q` is a global maximum. 4. For both orientations $o \in \{\text{true}, \text{false}\}$ of the cycle, there exists a vertex $v$ such that both directed edges $(v, \text{next } o\ v)$ and $(\text{mate } v, \text{next } o\ (\text{mate } v))$ are uncut (monochromatic). Each conjunct is a decidable proposition on finite types and is verified by exhaustive computation via `decide`.

    line 17

      exact ⟨by decide, by decide, by decide, by decide⟩

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem op874_maxcut_hamiltonian_factor_orientation_obstruction :    let mate : Fin 10 → Fin 10 := ![2,3,0,1,7,8,9,4,5,6]    let pair : Fin 10 → Fin 5 := ![0,1,0,1,2,3,4,2,3,4]    let q : Fin 5 → Bool := ![true,false,true,false,false]    let bit : Fin 10 → Bool := fun v => q (pair v)    let degree : Fin 10 → ℕ := fun v =>      (if bit v = bit (v+1) then 1 else 0) +      (if bit v = bit (v-1) then 1 else 0)    let score : (Fin 5 → Bool) → ℕ := fun t =>      Finset.univ.sum (fun v : Fin 10 => if t (pair v) ≠ t (pair (v+1)) then 1 else 0)    let next := fun (o : Bool) (v : Fin 10) => if o then v+1 else v-1    (∀ v, mate (mate v) = v ∧ mate v ≠ v ∧ mate v ≠ v+1 ∧      mate v ≠ v-1 ∧ bit (mate v) = bit v ∧ degree v + degree (mate v) ≤ 2) ∧    score q = 8 ∧ (∀ t : Fin 5 → Bool, score t ≤ 8) ∧    (∀ o : Bool, ∃ v : Fin 10,      bit v = bit (next o v) ∧ bit (mate v) = bit (next o (mate v))) := by  exact ⟨by decide, by decide, by decide, by decide⟩
See it in the graphDiscuss this resultChallenge it