in1261_seven_anticomplete_pairs
The first and second displayed blocks of the explicit graph are anticomplete, as are the third and fourth blocks.
Statement
theorem in1261_seven_anticomplete_pairs:
(∀ a ∈ ({0,1,2,3,4,5,6} : Finset (Fin 28)),
∀ b ∈ ({7,8,9,10,11,12,13} : Finset (Fin 28)), ¬ in1261_seven_graph.Adj a b) ∧
(∀ c ∈ ({14,15,16,17,18,19,20} : Finset (Fin 28)),
∀ d ∈ ({21,22,23,24,25,26,27} : Finset (Fin 28)), ¬ in1261_seven_graph.Adj c d)- Source
- OP-1957: finite seven-by-seven control from experiment 43349; related problem arXiv:2611.22690.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- in1261_seven_graphThe symmetric graph on 28 vertices whose unequal ordered endpoints avoid the displayed forbidden pairs.
- in1261_seven_forbidden_orderedOrdered forbidden pairs of the explicit seven-by-seven boundary control graph.
- Used by 1
- in1277_seven_control_example_of_extendibleIf the explicit seven-block control is 7-extendible, then there is a graph G on vertices 0 through 27. Let A={0,1,2,3,4,5,6},…
The proof, explained
The theorem states that two pairs of 7-vertex blocks in the 28-vertex graph `in1261_seven_graph` are mutually anticomplete: vertices {0, …, 6} share no edges with {7, …, 13}, and vertices {14, …, 20} share no edges with {21, …, 27}. By definition of the graph, edges between vertices in these ranges are explicitly forbidden. Because the sets are finite and the adjacency relation is decidable, the theorem is proved by finite case exhaustion via the `decide` tactic.
The adjacency relation of `in1261_seven_graph` is decidable.
Unfolding the definitions of `in1261_seven_graph` and `in1261_seven_forbidden_ordered` exposes the adjacency condition as a boolean combination of decidable arithmetic inequalities on `Fin 28` indices. Lean's typeclass synthesis (`infer_instance`) automatically assembles the decision procedure from standard decidability instances for natural number comparisons.
unfold in1261_seven_graph in1261_seven_forbidden_ordered infer_instance
No edge connects any vertex in {0, 1, 2, 3, 4, 5, 6} to any vertex in {7, 8, 9, 10, 11, 12, 13}, and no edge connects any vertex in {14, 15, 16, 17, 18, 19, 20} to any vertex in {21, 22, 23, 24, 25, 26, 27}. automation
The goal requires proving the absence of edges across two pairs of 7-element vertex sets. Because both sets are finite and adjacency is decidable, the `decide` tactic checks every pair by direct computation: each pair (a, b) with a < 7 and 7 ≤ b < 14, as well as (c, d) with 14 ≤ c < 21 and 21 ≤ d, satisfies the forbidden-pair condition and is therefore non-adjacent.
decide
- Decidability of the graph's adjacency relation is proved explicitly in lines 3–5 to allow the computational reflection tactic `decide` to evaluate the finite quantifier on line 12.
- The verification of all 98 vertex pairs (49 for each block pair) is performed entirely by Lean's kernel through computational reflection (`decide`) rather than by manual case analysis.
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.
set_option maxHeartbeats 4000000set_option linter.all falselocal instance aftdLocal_2a60f20893e61368_0 : DecidableRel in1261_seven_graph.Adj := by unfold in1261_seven_graph in1261_seven_forbidden_ordered infer_instancetheorem in1261_seven_anticomplete_pairs: (∀ a ∈ ({0,1,2,3,4,5,6} : Finset (Fin 28)), ∀ b ∈ ({7,8,9,10,11,12,13} : Finset (Fin 28)), ¬ in1261_seven_graph.Adj a b) ∧ (∀ c ∈ ({14,15,16,17,18,19,20} : Finset (Fin 28)), ∀ d ∈ ({21,22,23,24,25,26,27} : Finset (Fin 28)), ¬ in1261_seven_graph.Adj c d) := by decide