AFTD Auto-Formalizing Theoretical Domains

truncation_k4_double_selected_local_certificate

theoremverified

The explicit four-vertex local states have six distinct local colors, compatible exposed pairs, and select the matching edge 01 at both ends.

Statement

theorem truncation_k4_double_selected_local_certificate :
    (∀ v e f, v ∈ truncation_k4_double_selected_ends e →
      v ∈ truncation_k4_double_selected_ends f →
      truncation_k4_double_selected_external v e = truncation_k4_double_selected_external v f → e = f) ∧
    (∀ v e f, v ∈ truncation_k4_double_selected_ends e →
      v ∈ truncation_k4_double_selected_ends f →
      truncation_k4_double_selected_internal v e = truncation_k4_double_selected_internal v f → e = f) ∧
    (∀ v e f, v ∈ truncation_k4_double_selected_ends e →
      v ∈ truncation_k4_double_selected_ends f →
      truncation_k4_double_selected_internal v e ≠ truncation_k4_double_selected_external v f) ∧
    (∀ e u v, truncation_k4_double_selected_ends e = s(u,v) →
      truncation_k4_double_selected_external u e = truncation_k4_double_selected_external v e ∧
      ∀ f g, u ∈ truncation_k4_double_selected_ends f → v ∈ truncation_k4_double_selected_ends g →
        f ≠ e → g ≠ e → truncation_k4_double_selected_internal u f ≠ truncation_k4_double_selected_internal v g) ∧
    truncation_k4_double_selected_internal 0 0 = 1 ∧
    truncation_k4_double_selected_internal 1 0 = 1
Source
Helper for the OP-874 truncation coloring campaign, related to arXiv:2610.41950; finite witnesses are checked in experiments 33310, 33357, 33358 and 33378.
Verified
19 Nov 2026
Axioms
Quot.soundpropext
Built on 4
Used by 1

The proof, explained

The theorem proves that an explicit coloring on the complete graph $K_4$ satisfies six certificate properties: local injectivity of external colors, local injectivity of internal colors, disjointness between internal and external colors, edge compatibility across exposed pairs, and double-selection of internal color 1 on edge 0. The proof decomposes the conjunction into its six component goals and verifies each by finite exhaustive evaluation using the `decide` tactic.

  1. The six local certificate conditions hold: external colors are injective at each vertex, internal colors are injective at each vertex, internal and external colors at each vertex are disjoint, edge-end external colors agree while non-incident internal colors differ, and edge 0 assigns internal color 1 to both vertex 0 and vertex 1. automation

    The proof breaks the 6-fold conjunction into six subgoals via `refine ⟨?_, ?_, ?_, ?_, ?_, ?_⟩`. Because all variables range over the finite types `Fin 4` (vertices) and `Fin 6` (edges and colors), and all relations and assignments are computable, each subgoal is a decidable bounded sentence. Lean's `decide` tactic checks each subgoal by exhaustive computation.

    line 23

      refine ⟨?_, ?_, ?_, ?_, ?_, ?_⟩ <;> 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

local instance membership_decidable_cert (v : Fin 4) (e : Fin 6) :    Decidable (v ∈ truncation_k4_double_selected_ends e) :=  decidable_of_iff    (v = (truncation_k4_double_selected_pairs e).1 ∨ v = (truncation_k4_double_selected_pairs e).2)    Sym2.mem_iff.symmtheorem truncation_k4_double_selected_local_certificate :    (∀ v e f, v ∈ truncation_k4_double_selected_ends e →      v ∈ truncation_k4_double_selected_ends f →      truncation_k4_double_selected_external v e = truncation_k4_double_selected_external v f → e = f) ∧    (∀ v e f, v ∈ truncation_k4_double_selected_ends e →      v ∈ truncation_k4_double_selected_ends f →      truncation_k4_double_selected_internal v e = truncation_k4_double_selected_internal v f → e = f) ∧    (∀ v e f, v ∈ truncation_k4_double_selected_ends e →      v ∈ truncation_k4_double_selected_ends f →      truncation_k4_double_selected_internal v e ≠ truncation_k4_double_selected_external v f) ∧    (∀ e u v, truncation_k4_double_selected_ends e = s(u,v) →      truncation_k4_double_selected_external u e = truncation_k4_double_selected_external v e ∧      ∀ f g, u ∈ truncation_k4_double_selected_ends f → v ∈ truncation_k4_double_selected_ends g →        f ≠ e → g ≠ e → truncation_k4_double_selected_internal u f ≠ truncation_k4_double_selected_internal v g) ∧    truncation_k4_double_selected_internal 0 0 = 1 ∧    truncation_k4_double_selected_internal 1 0 = 1 := by  refine ⟨?_, ?_, ?_, ?_, ?_, ?_⟩ <;> decide
See it in the graphDiscuss this resultChallenge it