in1261_seven_full_cross_three_defects
In the explicit seven-by-seven control graph, vertex 0 is adjacent to the whole third block and exactly three vertices of the first block are nonadjacent to vertex 14.
Statement
theorem in1261_seven_full_cross_three_defects: (∀ y : Fin 28, y ∈ ({14,15,16,17,18,19,20} : Finset (Fin 28)) → in1261_seven_graph.Adj 0 y) ∧ (({0,1,2,3,4,5,6} : Finset (Fin 28)).filter (fun a => ¬ in1261_seven_graph.Adj a 14)).card = 3
- 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 establishes two adjacency properties in the explicit 28-vertex graph in1261_seven_graph: vertex 0 is adjacent to all seven vertices in {14, ..., 20}, and exactly three vertices in {0, ..., 6} fail to be adjacent to vertex 14. First, the adjacency relation is proven decidable by expanding its definition into basic arithmetic comparisons on natural numbers. With decidability available to typeclass search, the claim is verified by direct finite computation using the decide tactic.
The adjacency relation of in1261_seven_graph is decidable.
Unfolding the definitions of in1261_seven_graph and in1261_seven_forbidden_ordered reduces the adjacency relation to standard decidable predicates on natural numbers (equalities, inequalities, and boolean connectives). Typeclass synthesis (infer_instance) then automatically derives the DecidableRel instance.
unfold in1261_seven_graph in1261_seven_forbidden_ordered infer_instance
Vertex 0 is adjacent to every vertex in {14, 15, 16, 17, 18, 19, 20}, and exactly 3 vertices in {0, 1, 2, 3, 4, 5, 6} are nonadjacent to vertex 14. automation
With the adjacency relation established as decidable, the entire finite statement is verified by the decision procedure decide: it evaluates the universal quantification over {14, ..., 20} by checking each vertex, filters {0, ..., 6} to the three nonadjacent vertices {1, 2, 3}, and confirms the filtered set has cardinality 3.
uses
aftdLocal_4177c105032b32a5_0decide
aftdLocal_4177c105032b32a5_0- The adjacency relation between vertices in in1261_seven_graph is decidable.
- The local instance aftdLocal_4177c105032b32a5_0 is a formal prerequisite enabling Lean's typeclass synthesis to decide relations on in1261_seven_graph; on paper, one simply checks the finitely many pairs directly.
- The decide tactic proves both parts of the conjunction via computational reflection in the Lean kernel without exhibiting intermediate proof steps for individual vertices.
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_4177c105032b32a5_0 : DecidableRel in1261_seven_graph.Adj := by unfold in1261_seven_graph in1261_seven_forbidden_ordered infer_instancetheorem in1261_seven_full_cross_three_defects: (∀ y : Fin 28, y ∈ ({14,15,16,17,18,19,20} : Finset (Fin 28)) → in1261_seven_graph.Adj 0 y) ∧ (({0,1,2,3,4,5,6} : Finset (Fin 28)).filter (fun a => ¬ in1261_seven_graph.Adj a 14)).card = 3 := by decide