AFTD Auto-Formalizing Theoretical Domains

op874_pseudoforest_indexed_edges_agree

theoremverified

The indexed edge list enumerates the explicit graph edges exactly once and agrees with the fixed external edge coloring.

Statement

theorem op874_pseudoforest_indexed_edges_agree :
    Function.Injective op874pft_ends ∧
    (∀ e : Fin 12, op874pft_ends e ∈ op874pf_edges ∧
      op874pf_color (op874pft_ends e) = op874pft_color e) ∧
    (∀ e ∈ op874pf_edges, ∃ i : Fin 12, op874pft_ends i = e)
Source
OP-874: coherence of the fixed-color obstruction representations.
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
  • op874pf_edgesThe twelve edges of the explicit eight-vertex port-obstruction graph.
  • op874pf_colorThe explicit six-color assignment to the edges of the eight-vertex obstruction.
  • op874pft_endsThe indexed endpoints of the twelve edges in the eight-vertex obstruction.
  • op874pft_colorThe fixed six-color assignment to the twelve indexed obstruction edges.

The proof, explained

The theorem states that the 12-element list `op874pft_ends` injectively enumerates all edges in `op874pf_edges` and that the indexed edge coloring `op874pft_color` matches the edge coloring `op874pf_color`. Since all domains, relations, and quantifiers involve finite structures, the entire statement is decidable and is verified directly by computational evaluation using `decide`.

  1. The indexing map `op874pft_ends` is an injection into `op874pf_edges`, covers all of `op874pf_edges`, and preserves the coloring. automation

    Because the indexing set `Fin 12` and the vertex set `Fin 8` are finite, injectivity, set membership, equality of colors, and surjectivity are all decidable properties. The `decide` tactic checks them by exhaustive computation over all 12 indices and the 12 edges.

    line 5

        (∀ e ∈ op874pf_edges, ∃ i : Fin 12, op874pft_ends i = e) := 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_pseudoforest_indexed_edges_agree :    Function.Injective op874pft_ends ∧    (∀ e : Fin 12, op874pft_ends e ∈ op874pf_edges ∧      op874pf_color (op874pft_ends e) = op874pft_color e) ∧    (∀ e ∈ op874pf_edges, ∃ i : Fin 12, op874pft_ends i = e) := by decide
See it in the graphDiscuss this resultChallenge it