AFTD Auto-Formalizing Theoretical Domains

op874_fixed_owner_obstruction_factor_cycles

theoremverified

The factor of the explicit graph and matching in the fixed-owner obstruction is precisely the two displayed cycles of lengths five and nine, whose vertex sets are those used in the mixed-cut calculation.

Statement

theorem op874_fixed_owner_obstruction_factor_cycles :
  let in1258_left : Fin 21 → Fin 14 := ![0,0,0,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,8,9,11]
  let in1258_right : Fin 21 → Fin 14 := ![3,7,10,4,5,8,7,9,10,10,13,8,11,6,12,9,13,11,12,12,13]
  let in1258_match : Finset (Fin 21) := {2,3,7,10,13,17,18}

  let in1258_cycle5 : Fin 5 → Fin 14 := ![2,7,0,3,10]
  let in1258_cycle9 : Fin 9 → Fin 14 := ![6,9,12,5,1,8,4,11,13]
  let in1258_C5 : Finset (Fin 14) := {0,2,3,7,10}
  let in1258_C9 : Finset (Fin 14) := {1,4,5,6,8,9,11,12,13}
  let in1258_ends (e : Fin 21) : Sym2 (Fin 14) := s(in1258_left e,in1258_right e)
  ((Finset.univ : Finset (Fin 5)).image in1258_cycle5 = in1258_C5) ∧
  ((Finset.univ : Finset (Fin 9)).image in1258_cycle9 = in1258_C9) ∧
  (∀ i : Fin 5, ∃ e : Fin 21, e ∉ in1258_match ∧ in1258_ends e = s(in1258_cycle5 i, in1258_cycle5 (i+1))) ∧
  (∀ i : Fin 9, ∃ e : Fin 21, e ∉ in1258_match ∧ in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1))) ∧
  (∀ e : Fin 21, e ∉ in1258_match →
    (∃ i : Fin 5, in1258_ends e = s(in1258_cycle5 i, in1258_cycle5 (i+1))) ∨
    (∃ i : Fin 9, in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1))))
Source
Factor-cycle certificate for the fixed-owner obstruction to OP-874; experiment 43175.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem verifies that the 14 non-matching edges of a 14-vertex, 21-edge graph with a 7-edge matching partition into two disjoint cycles of lengths 5 and 9 with vertex sets C₅ = {0, 2, 3, 7, 10} and C₉ = {1, 4, 5, 6, 8, 9, 11, 12, 13}. This decomposition is first proved in an auxiliary namespace theorem (`factor_cycles`) by finite computational reflection via `decide`. The main theorem restates this fact using local `let` bindings, so simplifying the definitions with `dsimp only` allows the auxiliary theorem `IN1258FactorCycles.factor_cycles` to close the goal directly.

  1. The 14 non-matching edges of the obstruction graph decompose into two disjoint cycles of lengths 5 and 9 with vertex sets C₅ and C₉. automation

    The conjunction asserts five properties: the image of the 5-cycle is C₅, the image of the 9-cycle is C₉, every step along the 5-cycle is a non-matching edge, every step along the 9-cycle is a non-matching edge, and every non-matching edge belongs to one of the two cycles. Because the vertices, edges, matching, and cycles are all finite explicit data, the decision procedure `decide` verifies each condition by exhaustive finite evaluation.

    line 21

          (∃ i : Fin 9, in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1)))) := by decide
  2. The theorem holds for the formulation with local `let` bindings.

    Unfolding the local `let` bindings (`dsimp only`) reduces the goal to the exact statement already proven in `IN1258FactorCycles.factor_cycles`, which immediately concludes the proof.

    lines 42–43

    uses IN1258FactorCycles.factor_cycles

      dsimp only
      exact IN1258FactorCycles.factor_cycles
IN1258FactorCycles.factor_cycles
In the 14-vertex, 21-edge obstruction graph, the 14 non-matching edges decompose into two disjoint cycles of lengths 5 and 9 with vertex sets C₅ = {0, 2, 3, 7, 10} and C₉ = {1, 4, 5, 6, 8, 9, 11, 12, 13}.

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

namespace IN1258FactorCyclesdef in1258_left : Fin 21 → Fin 14 := ![0,0,0,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,8,9,11]def in1258_right : Fin 21 → Fin 14 := ![3,7,10,4,5,8,7,9,10,10,13,8,11,6,12,9,13,11,12,12,13]def in1258_match : Finset (Fin 21) := {2,3,7,10,13,17,18}def in1258_cycle5 : Fin 5 → Fin 14 := ![2,7,0,3,10]def in1258_cycle9 : Fin 9 → Fin 14 := ![6,9,12,5,1,8,4,11,13]def in1258_C5 : Finset (Fin 14) := {0,2,3,7,10}def in1258_C9 : Finset (Fin 14) := {1,4,5,6,8,9,11,12,13}def in1258_ends (e : Fin 21) : Sym2 (Fin 14) := s(in1258_left e,in1258_right e)set_option maxRecDepth 100000 inset_option maxHeartbeats 0 intheorem factor_cycles :    ((Finset.univ : Finset (Fin 5)).image in1258_cycle5 = in1258_C5) ∧    ((Finset.univ : Finset (Fin 9)).image in1258_cycle9 = in1258_C9) ∧    (∀ i : Fin 5, ∃ e : Fin 21, e ∉ in1258_match ∧ in1258_ends e = s(in1258_cycle5 i, in1258_cycle5 (i+1))) ∧    (∀ i : Fin 9, ∃ e : Fin 21, e ∉ in1258_match ∧ in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1))) ∧    (∀ e : Fin 21, e ∉ in1258_match →      (∃ i : Fin 5, in1258_ends e = s(in1258_cycle5 i, in1258_cycle5 (i+1))) ∨      (∃ i : Fin 9, in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1)))) := by decideend IN1258FactorCyclestheorem op874_fixed_owner_obstruction_factor_cycles :  let in1258_left : Fin 21 → Fin 14 := ![0,0,0,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,8,9,11]  let in1258_right : Fin 21 → Fin 14 := ![3,7,10,4,5,8,7,9,10,10,13,8,11,6,12,9,13,11,12,12,13]  let in1258_match : Finset (Fin 21) := {2,3,7,10,13,17,18}  let in1258_cycle5 : Fin 5 → Fin 14 := ![2,7,0,3,10]  let in1258_cycle9 : Fin 9 → Fin 14 := ![6,9,12,5,1,8,4,11,13]  let in1258_C5 : Finset (Fin 14) := {0,2,3,7,10}  let in1258_C9 : Finset (Fin 14) := {1,4,5,6,8,9,11,12,13}  let in1258_ends (e : Fin 21) : Sym2 (Fin 14) := s(in1258_left e,in1258_right e)  ((Finset.univ : Finset (Fin 5)).image in1258_cycle5 = in1258_C5) ∧  ((Finset.univ : Finset (Fin 9)).image in1258_cycle9 = in1258_C9) ∧  (∀ i : Fin 5, ∃ e : Fin 21, e ∉ in1258_match ∧ in1258_ends e = s(in1258_cycle5 i, in1258_cycle5 (i+1))) ∧  (∀ i : Fin 9, ∃ e : Fin 21, e ∉ in1258_match ∧ in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1))) ∧  (∀ e : Fin 21, e ∉ in1258_match →    (∃ i : Fin 5, in1258_ends e = s(in1258_cycle5 i, in1258_cycle5 (i+1))) ∨    (∃ i : Fin 9, in1258_ends e = s(in1258_cycle9 i, in1258_cycle9 (i+1)))) := by  dsimp only  exact IN1258FactorCycles.factor_cycles
See it in the graphDiscuss this resultChallenge it