op309_k33_witness_min_degree
In K3,3, every total edge-dominating witness set produces a witness conflict graph with minimum degree at least six; hence a four-degeneracy approach cannot prove five-colorability even in this example.
Statement
theorem op309_k33_witness_min_degree (R : Finset (Fin 3 × Fin 3))
(hdom : ∀ e, ∃ r ∈ R, op309_rook_adj e r) :
∀ e, 6 ≤ (Finset.univ.filter (op309_rook_witness_adj R e)).card- Source
- Finite obstruction to a proposed greedy route via simple_graph_rich_neighbor_coloring_iff_witness_graph, experiment 30835.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 2
- op309_rook_rich_three_star_impossibleIn the three-by-three rook model, the three edges in one row cannot all be rich in a proper five-edge-coloring.
- op309_rook_max_uncovered_star_classificationEvery totally edge-dominating set leaving two vertices uncovered in the three-by-three incidence array is a full row or column.
The proof, explained
To show every edge in K3,3 has degree at least six in the witness conflict graph, pick a dominating witness r in R adjacent to e. The conflict neighborhood of e with respect to the singleton {r} is contained in the conflict neighborhood with respect to R, and an exhaustive check shows the degree with respect to {r} is already at least six.
Rook adjacency on the 3 by 3 grid is decidable.
Unfolding the definition of rook adjacency shows it is a boolean combination of equality and inequality on finite coordinates, which typeclass synthesis decides automatically.
unfold op309_rook_adj infer_instance
Adjacency in the witness conflict graph is decidable.
Unfolding the definition expresses adjacency in terms of rook adjacency and existential quantification over a finite set R, both of which are decidable by typeclass inference.
fun e f => by unfold op309_rook_witness_adj; infer_instance
For any edge and adjacent witness, the degree in the single-witness conflict graph is at least 6. automation
Since the 3 by 3 rook graph is finite, the minimum degree condition for any edge and adjacent witness is verified by exhaustive finite computation.
decideFix an edge e and obtain an adjacent dominating witness r in R.
Let e be any edge in the line graph. By the domination hypothesis hdom, there is an edge r in R adjacent to e.
intro e obtain ⟨r, hr, her⟩ := hdom e
The neighborhood of e in the witness conflict graph for {r} is a subset of that for R.
Any neighbor f of e in the conflict graph with respect to {r} is either adjacent to e in the line graph, or shares the witness r; since r belongs to R, f is also a neighbor in the conflict graph with respect to R.
uses
Finset.mem_filter,Finset.mem_univ,true_and,Or.inl,Or.inrhave hs : Finset.univ.filter (op309_rook_witness_adj {r} e) ⊆ Finset.univ.filter (op309_rook_witness_adj R e) := by intro f hf simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hf ⊢ rcases hf with ⟨hne, h | ⟨r', hr', h₁, h₂⟩⟩ · exact ⟨hne, Or.inl h⟩ · have : r' = r := by simpa using hr' subst r' exact ⟨hne, Or.inr ⟨r, hr, h₁, h₂⟩⟩
The degree of e in the witness conflict graph with respect to R is at least 6.
The size of the neighborhood for R is at least that for {r} by Finset.card_le_card, and op309_rook_single_witness_degree shows the degree for {r} is at least 6. Linear arithmetic (omega) concludes the degree for R is at least 6.
uses
Finset.card_le_card,op309_rook_single_witness_degreehave hc := Finset.card_le_card hs have hm := op309_rook_single_witness_degree e r her omega
Finset.card_le_card- A subset has cardinality at most that of the superset.
op309_rook_single_witness_degree- For any edge e and adjacent witness r, the degree of e in the witness conflict graph with witness {r} is at least 6.
Finset.mem_filter- Membership in a filtered finset is equivalent to membership in the base finset and satisfying the predicate.
Finset.mem_univ- Every element of a finite type belongs to the universal finset.
true_and- True and p is equivalent to p.
Or.inl- Left disjunction introduction: if a holds, then a or b holds.
Or.inr- Right disjunction introduction: if b holds, then a or b holds.
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 maxRecDepth 16384set_option maxHeartbeats 4000000set_option synthInstance.maxSize 100000def op309_rook_adj (e f : Fin 3 × Fin 3) : Prop := e ≠ f ∧ (e.1 = f.1 ∨ e.2 = f.2)instance : DecidableRel op309_rook_adj := fun e f => by unfold op309_rook_adj infer_instancedef op309_rook_witness_adj (R : Finset (Fin 3 × Fin 3)) (e f : Fin 3 × Fin 3) : Prop := e ≠ f ∧ (op309_rook_adj e f ∨ ∃ r ∈ R, op309_rook_adj r e ∧ op309_rook_adj r f)instance (R : Finset (Fin 3 × Fin 3)) : DecidableRel (op309_rook_witness_adj R) := fun e f => by unfold op309_rook_witness_adj; infer_instancetheorem op309_rook_single_witness_degree : ∀ e r : Fin 3 × Fin 3, op309_rook_adj e r → 6 ≤ (Finset.univ.filter (op309_rook_witness_adj {r} e)).card := by decidetheorem op309_k33_witness_min_degree (R : Finset (Fin 3 × Fin 3)) (hdom : ∀ e, ∃ r ∈ R, op309_rook_adj e r) : ∀ e, 6 ≤ (Finset.univ.filter (op309_rook_witness_adj R e)).card := by intro e obtain ⟨r, hr, her⟩ := hdom e have hs : Finset.univ.filter (op309_rook_witness_adj {r} e) ⊆ Finset.univ.filter (op309_rook_witness_adj R e) := by intro f hf simp only [Finset.mem_filter, Finset.mem_univ, true_and] at hf ⊢ rcases hf with ⟨hne, h | ⟨r', hr', h₁, h₂⟩⟩ · exact ⟨hne, Or.inl h⟩ · have : r' = r := by simpa using hr' subst r' exact ⟨hne, Or.inr ⟨r, hr, h₁, h₂⟩⟩ have hc := Finset.card_le_card hs have hm := op309_rook_single_witness_degree e r her omega