bot_has_cooperative_coloring_pair
Two empty (edgeless) graphs on any vertex set admit a cooperative coloring.
Statement
theorem bot_has_cooperative_coloring_pair {V : Type*} : has_cooperative_coloring_pair (⊥ : SimpleGraph V) (⊥ : SimpleGraph V)
- Source
- folklore
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- has_cooperative_coloring_pairTwo simple graphs on a common vertex set admit a cooperative coloring if there exist independent sets in each graph whose union covers the…
Read back from the Lean
For any type V, the pair of empty graphs (⊥, ⊥) on vertex set V admits a cooperative coloring pair: there exist subsets I₁, I₂ : Set V such that I₁ is an independent set in ⊥ : SimpleGraph V, I₂ is an independent set in ⊥ : SimpleGraph V, and their union is the entire vertex set Set.univ.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
To show that two empty graphs on any vertex set admit a cooperative coloring pair, we choose both independent sets to be the entire vertex set V. In an empty graph, no two vertices are connected by an edge, so the entire vertex set is vacuously independent in each graph. Their union V ∪ V is simply V, fulfilling all conditions of the definition.
Choose both color classes to be the entire vertex set.
A cooperative coloring pair for graphs G₁ and G₂ requires two subsets I₁, I₂ ⊆ V such that I₁ is independent in G₁, I₂ is independent in G₂, and I₁ ∪ I₂ = V. We instantiate both I₁ and I₂ with the universal set Set.univ, leaving three subgoals: independence in the first graph, independence in the second graph, and the covering condition.
refine ⟨Set.univ, Set.univ, ?_, ?_, ?_⟩The universal set is an independent set in the first empty graph.
By definition of an independent set, no two distinct vertices in the set may be adjacent. Let x, y ∈ Set.univ be distinct vertices; by SimpleGraph.bot_adj, adjacency in the empty graph ⊥ implies False, so no edges exist and the condition holds vacuously.
uses
SimpleGraph.bot_adj· intro x _ y _ _ exact (SimpleGraph.bot_adj x y).mp
The universal set is an independent set in the second empty graph.
Since the second graph is also the empty graph ⊥, the exact same reasoning applies: SimpleGraph.bot_adj shows that no two distinct vertices are adjacent.
uses
SimpleGraph.bot_adj· intro x _ y _ _ exact (SimpleGraph.bot_adj x y).mp
The union of the two sets covers the whole vertex set.
We need to show Set.univ ∪ Set.univ = Set.univ. This holds immediately by the idempotence of set union, and the simplifier closes the goal.
· simp
SimpleGraph.bot_adj- In the empty graph (⊥), no two vertices are adjacent (adjacency is equivalent to False).
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.
/-- Two empty graphs on any vertex set admit a cooperative coloring. -/theorem bot_has_cooperative_coloring_pair {V : Type*} : has_cooperative_coloring_pair (⊥ : SimpleGraph V) (⊥ : SimpleGraph V) := by refine ⟨Set.univ, Set.univ, ?_, ?_, ?_⟩ · intro x _ y _ _ exact (SimpleGraph.bot_adj x y).mp · intro x _ y _ _ exact (SimpleGraph.bot_adj x y).mp · simp