AFTD Auto-Formalizing Theoretical Domains

op874_forest_fixed_external_no_strong_completion

theoremverified

The explicit ten-vertex forest fixed-external-color data admit no strong truncation local-state completion.

Statement

theorem op874_forest_fixed_external_no_strong_completion :
    ¬ ∃ h : Fin 10 → Fin 15 → Fin 6,
      (∀ v e f, v ∈ op874forest_ends e → v ∈ op874forest_ends f → h v e = h v f → e=f) ∧
      (∀ v e f, v ∈ op874forest_ends e → v ∈ op874forest_ends f → h v e ≠ op874forest_colors f) ∧
      truncation_local_states_define_strong_coloring op874forest_ends
        (fun _ e => op874forest_colors e) h
Source
OP-874: forest fixed-color obstruction, experiments 38417–38419.
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4

The proof, explained

The proof proceeds by contradiction using the general obstruction theorem `truncation_two_common_missing_no_three_edges`, which states that on a cubic graph with a 6-color palette, no strong truncation completion exists if a vertex and all three of its neighbors share two missing colors. After establishing by finite evaluation that the 10-vertex, 15-edge graph is loopless, 3-regular, and properly edge-colored by the external assignment, the proof focuses on vertex 7 and its three neighbors 3, 6, and 8. Direct evaluation confirms that colors 1 and 3 do not appear on any edges incident to these four vertices, fulfilling the obstruction's hypotheses and ruling out any strong truncation completion.

  1. The graph has no self-loops.

    Lean evaluates `op874forest_ends` on all 15 edges and checks by finite computation (`decide`) that no edge connects a vertex to itself.

    line 2

    private lemma op874fstLoopless : ∀ e, ¬ (op874forest_ends e).IsDiag := by decide
  2. The graph is 3-regular (cubic).

    For an arbitrary vertex `v`, the set cardinality of the incident edges is converted to a finite set cardinality using `Set.ncard_eq_toFinset_card'` and `Set.toFinset_ofPred`. A case analysis over all ten vertices `v ∈ Fin 10` (`fin_cases v`) confirms by direct evaluation (`decide`) that every vertex has degree 3.

    lines 3–7

    uses Set.ncard_eq_toFinset_card', Set.toFinset_ofPred

    private lemma op874fstCubic : ∀ v : Fin 10,
        Set.ncard {e : Fin 15 | v ∈ op874forest_ends e} = 3 := by
      intro v
      rw [Set.ncard_eq_toFinset_card', Set.toFinset_ofPred]
      fin_cases v <;> decide
  3. The external edge coloring is proper.

    Direct computation (`decide`) checks that for any vertex `v` and any two incident edges `e` and `f`, equal colors `op874forest_colors e = op874forest_colors f` implies `e = f`.

    lines 8–9

    private lemma op874fstProper : ∀ v e f, v ∈ op874forest_ends e → v ∈ op874forest_ends f →
        op874forest_colors e = op874forest_colors f → e=f := by decide
  4. Assume for contradiction that a valid strong truncation completion exists.

    We introduce the assumption that there is an internal state assignment `h` such that the internal states at each vertex are pairwise distinct (`hh`), disjoint from the incident external colors (`hch`), and together with the external colors define a strong edge coloring of the graph truncation (`hs`).

    line 17

      rintro ⟨h, hh, hch, hs⟩
  5. The existence of such a completion reduces to verifying a two-color neighborhood obstruction at vertex 7.

    We apply the obstruction theorem `truncation_two_common_missing_no_three_edges`, which states that in a cubic loopless graph with a 6-color palette, no strong truncation completion exists if some vertex and its three neighbors all miss two common colors. We instantiate this at vertex 7 with neighbors 3, 6, and 8, incident edges 7, 12, and 13, and candidate missing colors 1 and 3, supplying the palette size `Fintype.card (Fin 6) = 6` (checked by `decide`) along with the structural lemmas `op874fstLoopless`, `op874fstCubic`, and `op874fstProper`.

    lines 18–21

    uses truncation_two_common_missing_no_three_edges, op874fstLoopless, op874fstCubic, op874fstProper

      apply truncation_two_common_missing_no_three_edges
        (by decide : Fintype.card (Fin 6) = 6) op874forest_ends op874fstLoopless op874fstCubic
        (fun _ e => op874forest_colors e) h op874fstProper hh hch hs
        7 3 6 8 7 12 13 1 3
  6. All local incidence and color absence conditions at vertex 7 and its neighbors are satisfied, completing the contradiction.

    The remaining subgoals—that colors 1 and 3 are distinct, that edges 7, 12, and 13 are distinct and connect vertex 7 to vertices 3, 6, and 8, and that neither color 1 nor color 3 appears on any edge incident to vertices 7, 3, 6, or 8—are verified by finite computation (`all_goals decide`), producing a contradiction.

    line 22

      all_goals decide
Set.ncard_eq_toFinset_card'
For a finite set, its set cardinality (Set.ncard) equals the cardinality of its underlying finite set (Finset.card).
Set.toFinset_ofPred
The finite set corresponding to a set defined by a predicate is the filter of that predicate over the universal finite set.
op874fstLoopless
The graph defined by `op874forest_ends` has no self-loops.
op874fstCubic
Every vertex in the graph defined by `op874forest_ends` is incident to exactly three edges.
op874fstProper
The edge coloring `op874forest_colors` is proper: distinct edges incident to the same vertex receive distinct colors.
truncation_two_common_missing_no_three_edges
In a loopless cubic graph properly edge-colored with six colors, no strong truncation completion can exist if a vertex and its three neighbors all miss two common colors.

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

set_option maxHeartbeats 1000000private lemma op874fstLoopless : ∀ e, ¬ (op874forest_ends e).IsDiag := by decideprivate lemma op874fstCubic : ∀ v : Fin 10,    Set.ncard {e : Fin 15 | v ∈ op874forest_ends e} = 3 := by  intro v  rw [Set.ncard_eq_toFinset_card', Set.toFinset_ofPred]  fin_cases v <;> decideprivate lemma op874fstProper : ∀ v e f, v ∈ op874forest_ends e → v ∈ op874forest_ends f →    op874forest_colors e = op874forest_colors f → e=f := by decidetheorem op874_forest_fixed_external_no_strong_completion :    ¬ ∃ h : Fin 10 → Fin 15 → Fin 6,      (∀ v e f, v ∈ op874forest_ends e → v ∈ op874forest_ends f → h v e = h v f → e=f) ∧      (∀ v e f, v ∈ op874forest_ends e → v ∈ op874forest_ends f → h v e ≠ op874forest_colors f) ∧      truncation_local_states_define_strong_coloring op874forest_ends        (fun _ e => op874forest_colors e) h := by  rintro ⟨h, hh, hch, hs⟩  apply truncation_two_common_missing_no_three_edges    (by decide : Fintype.card (Fin 6) = 6) op874forest_ends op874fstLoopless op874fstCubic    (fun _ e => op874forest_colors e) h op874fstProper hh hch hs    7 3 6 8 7 12 13 1 3  all_goals decide
See it in the graphDiscuss this resultChallenge it