AFTD Auto-Formalizing Theoretical Domains

op874_one_exception_fixed_low_data_valid

theoremverified

The fixed ten-vertex factor, matching, matching bits and selected low ports satisfy matching consistency, exactly one owner on each matching edge, same-bit factor-edge coverage, no double factor ownership, and exactly one exception to the displayed per-cycle directions.

Statement

theorem op874_one_exception_fixed_low_data_valid :
  let prev : Fin 10 → Fin 10 := ![2,0,1,9,3,4,5,6,7,8]
  let next : Fin 10 → Fin 10 := ![1,2,0,4,5,6,7,8,9,3]
  let mate : Fin 10 → Fin 10 := ![7,5,6,8,9,1,2,0,3,4]
  let bit : Fin 10 → Bool := ![true,true,false,false,true,true,false,true,false,true]
  let owner : Fin 10 → Fin 10 := ![1,5,1,4,5,6,2,0,3,4]
  (∀ i, mate (mate i) = i ∧ mate i ≠ i ∧ bit (mate i) = bit i ∧ prev (next i) = i ∧ next (prev i) = i) ∧
  (∀ i, owner i = mate i ∨ owner i = prev i ∨ owner i = next i) ∧
  (∀ i, owner i = mate i ↔ owner (mate i) ≠ i) ∧
  (∀ i, bit i = bit (next i) → owner i = next i ∨ owner (next i) = i) ∧
  (∀ i, ¬ (owner i = next i ∧ owner (next i) = i)) ∧
  (∀ i, owner i ≠ mate i → (i = 0 ∧ owner i = next i) ∨ (i ≠ 0 ∧ (if i.val < 3 then owner i = prev i else owner i = next i)))
Source
Ten-vertex fixed-low obstruction, experiments 36262 and 36267.
Verified
22 Nov 2026
Axioms
propext

The proof, explained

The theorem verifies that a concrete combinatorial configuration on 10 vertices—comprising cycle permutations `prev` and `next`, a matching involution `mate`, a binary vertex coloring `bit`, and an edge-ownership map `owner`—satisfies six structural consistency and coverage conditions. These conditions guarantee that the cycles and matching form a valid 3-regular graph decomposition, matching edges have a unique owner, factor edges connecting same-color vertices are covered without conflicts, and non-matching ownership follows a designated cycle orientation with vertex 0 as the sole exception. Since all quantifiers range over the finite type `Fin 10`, the `decide` tactic verifies the entire proposition through exhaustive finite computation.

  1. The defined data satisfies matching involution consistency, valid port ownership, unique matching edge ownership, same-bit edge coverage, no double ownership, and the one-exception orientation property. automation

    The statement is a conjunction of six universally quantified properties over the finite domain `Fin 10`. Because each function (`prev`, `next`, `mate`, `bit`, and `owner`) is given by explicit value arrays, all conditions are purely computational checks. The `decide` tactic evaluates these conditions over all ten vertices and confirms that every clause holds.

    line 12

      (∀ i, owner i ≠ mate i → (i = 0 ∧ owner i = next i) ∨ (i ≠ 0 ∧ (if i.val < 3 then owner i = prev i else owner i = next i))) := 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_one_exception_fixed_low_data_valid :  let prev : Fin 10 → Fin 10 := ![2,0,1,9,3,4,5,6,7,8]  let next : Fin 10 → Fin 10 := ![1,2,0,4,5,6,7,8,9,3]  let mate : Fin 10 → Fin 10 := ![7,5,6,8,9,1,2,0,3,4]  let bit : Fin 10 → Bool := ![true,true,false,false,true,true,false,true,false,true]  let owner : Fin 10 → Fin 10 := ![1,5,1,4,5,6,2,0,3,4]  (∀ i, mate (mate i) = i ∧ mate i ≠ i ∧ bit (mate i) = bit i ∧ prev (next i) = i ∧ next (prev i) = i) ∧  (∀ i, owner i = mate i ∨ owner i = prev i ∨ owner i = next i) ∧  (∀ i, owner i = mate i ↔ owner (mate i) ≠ i) ∧  (∀ i, bit i = bit (next i) → owner i = next i ∨ owner (next i) = i) ∧  (∀ i, ¬ (owner i = next i ∧ owner (next i) = i)) ∧  (∀ i, owner i ≠ mate i → (i = 0 ∧ owner i = next i) ∨ (i ≠ 0 ∧ (if i.val < 3 then owner i = prev i else owner i = next i))) := by decide
See it in the graphDiscuss this resultChallenge it