truncation_periodic_target_port_certificate
The specified periodic target states use six different colors and have pairwise compatible target and auxiliary ports.
Statement
theorem truncation_periodic_target_port_certificate :
∀ i : Fin 4,
({truncation_periodic_matching_bit i, truncation_periodic_other_bit i,
truncation_periodic_factor_color (i-1), truncation_periodic_factor_color i,
truncation_periodic_previous_port i, truncation_periodic_next_port i} : Finset (Fin 6)).card = 6 ∧
Disjoint ({truncation_periodic_other_bit i, truncation_periodic_previous_port i} : Finset (Fin 6))
{truncation_periodic_other_bit (i+1), truncation_periodic_next_port (i+1)} ∧
Disjoint ({truncation_periodic_previous_port i, truncation_periodic_next_port i} : Finset (Fin 6))
{truncation_periodic_other_bit i, truncation_periodic_auxiliary_exposure i}- 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- Built on 6
- truncation_periodic_factor_colorThe four periodic high colors of the target factor edges in the forced-path family.
- truncation_periodic_matching_bitThe matching bit color in each of the four target residue classes.
- truncation_periodic_other_bitThe other bit color in each of the four target residue classes.
- truncation_periodic_previous_portThe periodic high internal colors opposite the preceding factor ports.
- truncation_periodic_next_portThe periodic high internal colors opposite the following factor ports.
- truncation_periodic_auxiliary_exposureThe periodic high colors exposed by the matching ports in the auxiliary blocks.
The proof, explained
The theorem states that for each of the four periodic states $i \in \text{Fin } 4$, the six assigned colors and ports are all distinct (yielding a set of cardinality 6) and two disjointness constraints between pairs of ports and bits are satisfied. Because all relevant functions are given by explicit lookup tables over finite sets, the proof proceeds by exhaustive computation via `decide`.
For every index $i \in \text{Fin } 4$, the six designated colors and ports are all distinct, and the two pairs of two-element sets are disjoint. automation
Because the universal quantifier ranges over the finite type $\text{Fin } 4$ and all constituent functions are explicit tables of values in $\text{Fin } 6$, the proposition is purely computational. The `decide` tactic verifies all conditions by exhaustive evaluation on each of the four possible values of $i \in \{0, 1, 2, 3\}$.
decide
- The entire proof is executed by the kernel or evaluator via `decide`, which checks the property by exhaustive evaluation on all 4 elements of `Fin 4`.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem truncation_periodic_target_port_certificate : ∀ i : Fin 4, ({truncation_periodic_matching_bit i, truncation_periodic_other_bit i, truncation_periodic_factor_color (i-1), truncation_periodic_factor_color i, truncation_periodic_previous_port i, truncation_periodic_next_port i} : Finset (Fin 6)).card = 6 ∧ Disjoint ({truncation_periodic_other_bit i, truncation_periodic_previous_port i} : Finset (Fin 6)) {truncation_periodic_other_bit (i+1), truncation_periodic_next_port (i+1)} ∧ Disjoint ({truncation_periodic_previous_port i, truncation_periodic_next_port i} : Finset (Fin 6)) {truncation_periodic_other_bit i, truncation_periodic_auxiliary_exposure i} := by decide