AFTD Auto-Formalizing Theoretical Domains

in1261_seven_minimum_degree

theoremverified

Every vertex of the explicit seven-by-seven control graph has degree at least sixteen.

Statement

theorem in1261_seven_minimum_degree:
    ∀ v : Fin 28, 16 ≤ (in1261_seven_graph.neighborFinset v).card
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
Used by 1

The proof, explained

The proof proceeds by finite case exhaustion and computational reflection. After establishing decidability of graph adjacency, it introduces an arbitrary vertex $v \\in \\mathrm{Fin}(28)$, splits into the 28 possible cases for $v$, and evaluates the neighborhood size of each vertex using `decide` to verify that every vertex has degree at least 16.

  1. The adjacency relation on `in1261_seven_graph` is decidable. automation

    We unfold the definitions of the graph and its forbidden pairs, reducing adjacency to decidable boolean combinations of arithmetic comparisons and equalities on natural numbers, and synthesize a `DecidableRel` instance via typeclass inference (`infer_instance`).

    lines 4–5

      unfold in1261_seven_graph in1261_seven_forbidden_ordered
      infer_instance
  2. Every vertex in the graph has degree at least 16. automation

    We introduce the vertex $v$ (`intro v`) and exhaust all 28 possible values of $v \\in \\mathrm{Fin}(28)$ (`fin_cases v`). For each vertex, the decision procedure (`decide`) evaluates the adjacency condition against all 28 vertices, constructs the finite set of neighbors, and verifies that its cardinality is at least 16.

    lines 9–10

      intro v
      fin_cases v <;> 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

set_option maxHeartbeats 4000000set_option linter.all falselocal instance  aftdLocal_dfd3bb8d36cafc2d_0 : DecidableRel in1261_seven_graph.Adj := by  unfold in1261_seven_graph in1261_seven_forbidden_ordered  infer_instancetheorem in1261_seven_minimum_degree:    ∀ v : Fin 28, 16 ≤ (in1261_seven_graph.neighborFinset v).card := by  intro v  fin_cases v <;> decide
See it in the graphDiscuss this resultChallenge it