AFTD Auto-Formalizing Theoretical Domains

truncation_periodic_auxiliary_port_certificate

theoremverified

The specified exposed pairs on internal and consecutive auxiliary block links are disjoint for either matching bit.

Statement

theorem truncation_periodic_auxiliary_port_certificate :
    ∀ b : Bool,
      let other : Fin 6 := if b then 0 else 1
      let nextOther : Fin 6 := if b then 1 else 0
      Disjoint ({2,5} : Finset (Fin 6)) {other,4} ∧
      Disjoint ({2,4} : Finset (Fin 6)) {other,3} ∧
      Disjoint ({4,3} : Finset (Fin 6)) {other,5} ∧
      Disjoint ({3,5} : Finset (Fin 6)) {2,other} ∧
      Disjoint ({3,other} : Finset (Fin 6)) {5,nextOther}
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
Classical.choiceQuot.soundpropext

The proof, explained

The theorem states that for both boolean choices of b, five designated pairs of two-element subsets of Fin 6 are disjoint, where other and nextOther are complementary elements of {0, 1}. Because the domain Bool is finite and all subset operations on Fin 6 are decidable, the proposition is purely computational. The proof dispatches the goal by exhaustive evaluation using the `decide` tactic.

  1. For each b ∈ Bool, the five specified pairs of two-element subsets of Fin 6 are disjoint. automation

    The statement quantifies over the two-element type Bool, with other and nextOther taking values in {0, 1} such that other ≠ nextOther. For each of the two cases (b = true and b = false), verifying that the pairs of sets share no elements reduces to checking finitely many distinct inequalities between elements of Fin 6. The `decide` tactic checks this decidable proposition by exhaustive finite computation.

    line 10

      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 truncation_periodic_auxiliary_port_certificate :    ∀ b : Bool,      let other : Fin 6 := if b then 0 else 1      let nextOther : Fin 6 := if b then 1 else 0      Disjoint ({2,5} : Finset (Fin 6)) {other,4} ∧      Disjoint ({2,4} : Finset (Fin 6)) {other,3} ∧      Disjoint ({4,3} : Finset (Fin 6)) {other,5} ∧      Disjoint ({3,5} : Finset (Fin 6)) {2,other} ∧      Disjoint ({3,other} : Finset (Fin 6)) {5,nextOther} := by  decide
See it in the graphDiscuss this resultChallenge it