simple_graph_is_anchor_free_of_card_le_one
Every simple graph on a finite vertex set with at most one vertex is anchor-free.
Statement
theorem simple_graph_is_anchor_free_of_card_le_one {V : Type*} [Fintype V] (G : SimpleGraph V) (h : Fintype.card V ≤ 1) : simple_graph_is_anchor_free G
- Source
- arXiv:2611.32711
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- simple_graph_is_anchor_freeA finite simple graph G is anchor-free if for every vertex subset s with 0 < s.card and s.card < |V(G)|, the number of vertex subsets s'…
Read back from the Lean
Let $V$ be a finite type and let $G$ be a simple graph on $V$. If the cardinality of $V$ is at most 1, then $G$ is anchor-free (that is, for every finset $s$ of vertices with $0 < |s| < |V|$, the number of finsets $s' \subseteq V$ whose induced subgraph $G[s']$ is isomorphic to $G[s]$ is not equal to 1).
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
The definition of an anchor-free graph requires that every non-empty proper subset of vertices s (satisfying 0 < |s| < |V|) belongs to an isomorphism class of induced subgraphs of size other than 1. When the graph has at most one vertex (|V| ≤ 1), no such subset can exist because the inequalities 0 < |s| < |V| ≤ 1 are contradictory. The theorem therefore holds vacuously.
Assume there exists a non-empty proper subset of vertices s ⊆ V.
Unfolding the definition of being anchor-free, we introduce an arbitrary subset s ⊆ V along with the assumptions that s is non-empty (0 < |s|) and proper (|s| < |V|).
intro s h0 hcardThe goal holds vacuously because no such subset s can exist. automation
The hypotheses require 0 < |s|, |s| < |V|, and |V| ≤ 1. In the integers, 0 < |s| implies 1 ≤ |s|, which together with |s| < |V| ≤ 1 yields 1 < 1, an impossible contradiction. The Presburger arithmetic tactic `omega` detects this contradiction among the inequalities and closes the goal.
omega
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.
/-- Every finite simple graph on at most one vertex is anchor-free. -/theorem simple_graph_is_anchor_free_of_card_le_one {V : Type*} [Fintype V] (G : SimpleGraph V) (h : Fintype.card V ≤ 1) : simple_graph_is_anchor_free G := by intro s h0 hcard omega