simple_graph_is_vertex_induced_covered_of_anchor_free
If a finite simple graph G is anchor-free, then for every non-empty vertex subset s (with 0 < s.card), G is vertex induced G[s]-covered.
Statement
theorem simple_graph_is_vertex_induced_covered_of_anchor_free {V : Type*} [Fintype V] (G : SimpleGraph V) (hG : simple_graph_is_anchor_free G) (s : Finset V) (hs : 0 < s.card) : simple_graph_is_vertex_induced_covered G (G.induce (s : Set V))
- Source
- arXiv:2611.32711, Lemma 3.10
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- 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'…
- simple_graph_is_vertex_induced_coveredA simple graph G is vertex induced H-covered if for every vertex v in V(G), there exists a finite subset of vertices s' containing v such…
- g$g(S,M) = \dim_{\mathbb{F}_p}(S^{\perp}_M) - \dim_{\mathbb{F}_p}(S_M)$.
- Used by 1
- simple_graph_anchor_free_iff_vertex_induced_coveredA finite simple graph G is anchor-free if and only if for every non-empty vertex subset s of G (with 0 < s.card), G is vertex induced…
Read back from the Lean
For any finite type $V$ and any simple graph $G$ on $V$, if $G$ is anchor-free (meaning that for every nonempty proper finset $t \subseteq V$, the number of finsets $t' \subseteq V$ whose induced subgraph $G[t']$ is isomorphic to $G[t]$ is not equal to 1), then for every nonempty finset $s \subseteq V$, $G$ is vertex-induced covered by the induced subgraph $G[s]$ (that is, every vertex of $V$ belongs to some induced subgraph isomorphic to $G[s]$).
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 every vertex v is covered by an induced copy of G[s], we consider the family C of all vertex subsets inducing a subgraph isomorphic to G[s] and let A be their union. If s is the whole vertex set V the claim is immediate, so we assume s ≠ V and show A = V by contradiction. If A were a proper non-empty subset of V, anchor-freeness would guarantee the existence of another subset B ≠ A with G[B] ≃g G[A], providing a vertex w ∈ B \ A. Transporting a copy of G[s] in A that contains the image of w back to B produces an induced copy of G[s] containing w, forcing w ∈ A, which is a contradiction. Thus A = V, meaning every vertex v belongs to some member of C.
The function f on V extending the graph isomorphism e on a is well-defined and injective on s' ⊆ a.
We define f : V → V to send each x ∈ a to e(x) ∈ b, and to act as the identity outside a. On the subset s' ⊆ a, f agrees with the vertex component of e. Because e is an isomorphism, it is injective, which implies that f is injective on s'.
uses
dif_pos,Subtype.ext,congrArg,Subtype.valclassical set f : V → V := fun x => if h : x ∈ (a : Set V) then (e ⟨x, h⟩ : ↥(b : Set V)).1 else x with hf have hf_apply : ∀ x (hx : x ∈ s'), f x = (e ⟨x, hs' hx⟩ : ↥(b : Set V)).1 := by intro x hx simp only [hf] rw [dif_pos (hs' hx)] have hinj : Set.InjOn f (s' : Set V) := by intro x hx y hy hxy rw [hf_apply x hx, hf_apply y hy] at hxy have h1 : e ⟨x, hs' hx⟩ = e ⟨y, hs' hy⟩ := Subtype.ext hxy have h2 : (⟨x, hs' hx⟩ : ↥(a : Set V)) = ⟨y, hs' hy⟩ := e.injective h1 exact congrArg Subtype.val h2
The image t = f(s') satisfies t ⊆ b, G[s'] ≃g G[t], and e(x) ∈ t for every x ∈ s'.
We define t to be the image of s' under f. Since f maps a into b, t is contained in b. The restriction of f gives a bijection from s' to t that preserves and reflects graph adjacency because e is an isomorphism of induced subgraphs. Finally, every x ∈ s' maps to e(x) in t by construction.
uses
Finset.mem_image.mp,Finset.coe_image,Equiv.Set.imageOfInjOn,Finset.mem_image.mprrefine ⟨s'.image f, ?_, ?_, ?_⟩ · intro y hy obtain ⟨x, hx, rfl⟩ := Finset.mem_image.mp hy rw [hf_apply x hx] exact (e ⟨x, hs' hx⟩).2 · rw [Finset.coe_image] refine ⟨{ toEquiv := Equiv.Set.imageOfInjOn f (s' : Set V) hinj, map_rel_iff' := ?_ }⟩ intro x y show G.Adj (f x.1) (f y.1) ↔ G.Adj x.1 y.1 rw [hf_apply x.1 x.2, hf_apply y.1 y.2] exact e.map_rel_iff · intro x hx exact Finset.mem_image.mpr ⟨x, hx, hf_apply x hx⟩
If s is the entire vertex set V, every vertex v is trivially covered.
When s = Finset.univ, the universal set Finset.univ contains the given vertex v and G[Finset.univ] is isomorphic to G[s] by the identity isomorphism.
uses
Finset.mem_univ,SimpleGraph.Iso.reflclassical intro v by_cases huniv : s = Finset.univ · refine ⟨Finset.univ, Finset.mem_univ v, ?_⟩ rw [huniv] exact ⟨SimpleGraph.Iso.refl⟩
If s ≠ V, then the cardinality of s is strictly less than |V|.
A subset of a finite set that is not the entire set must have strictly smaller cardinality.
uses
Finset.card_eq_iff_eq_univ,lt_of_le_of_ne,Finset.card_le_univ· have hlt : s.card < Fintype.card V := by rw [← Finset.card_eq_iff_eq_univ] at huniv exact lt_of_le_of_ne (Finset.card_le_univ s) huniv
The family C of subsets inducing graphs isomorphic to G[s] has non-empty union A, and s ⊆ A.
Let C be the collection of all vertex subsets inducing a subgraph isomorphic to G[s], and let A = ⋃_{t ∈ C} t. Since G[s] ≃g G[s] by reflexivity, s ∈ C, so s ⊆ A. Because s is non-empty (0 < |s|), A is also non-empty (0 < |A|).
uses
Finset.mem_filter,Finset.mem_univ,true_and,SimpleGraph.Iso.refl,Finset.mem_biUnion.mpr,Finset.card_pos.mp,Finset.card_pos.mprset C : Finset (Finset V) := Finset.univ.filter (fun t => Nonempty (G.induce (t : Set V) ≃g G.induce (s : Set V))) with hC set A : Finset V := C.biUnion id with hA have hsC : s ∈ C := by rw [hC] simp only [Finset.mem_filter, Finset.mem_univ, true_and] exact ⟨SimpleGraph.Iso.refl⟩ have hsub : s ⊆ A := by intro x hx exact Finset.mem_biUnion.mpr ⟨s, hsC, hx⟩ have hApos : 0 < A.card := by obtain ⟨x, hx⟩ := Finset.card_pos.mp hs exact Finset.card_pos.mpr ⟨x, hsub hx⟩
Assuming A ≠ V for contradiction, there exists another subset B ≠ A with G[B] ≃g G[A]. automation
If A ≠ V, then 0 < |A| < |V|. Since G is anchor-free, the number of subsets inducing a subgraph isomorphic to G[A] cannot be 1. Since A is one such subset, there must be a distinct subset B ≠ A inducing an isomorphic subgraph; otherwise, all such subsets would lie in {A}, giving cardinality at most 1, a contradiction closed by integer arithmetic.
uses
Finset.card_eq_iff_eq_univ,lt_of_le_of_ne,Finset.card_le_univ,Finset.mem_filter,Finset.mem_univ,true_and,SimpleGraph.Iso.refl,Finset.mem_singleton,Finset.card_le_card,Finset.card_pos.mprhave hAuniv : A = Finset.univ := by by_contra hne have hAlt : A.card < Fintype.card V := by rw [← Finset.card_eq_iff_eq_univ] at hne exact lt_of_le_of_ne (Finset.card_le_univ A) hne have hCA := hG A hApos hAlt set CA : Finset (Finset V) := Finset.univ.filter (fun t => Nonempty (G.induce (t : Set V) ≃g G.induce (A : Set V))) with hCAdef have hCAne : CA.card ≠ 1 := hCA have hA_mem : A ∈ CA := by rw [hCAdef] simp only [Finset.mem_filter, Finset.mem_univ, true_and] exact ⟨SimpleGraph.Iso.refl⟩ obtain ⟨B, hBmem, hBne⟩ : ∃ B ∈ CA, B ≠ A := by by_contra hball push Not at hball have hsub' : CA ⊆ {A} := by intro B hB simp only [Finset.mem_singleton] exact hball B hB have hle : CA.card ≤ 1 := by simpa using Finset.card_le_card hsub' have h1 : 0 < CA.card := Finset.card_pos.mpr ⟨A, hA_mem⟩ omega
There is a vertex w ∈ B that is not in A.
The isomorphism eB : G[B] ≃g G[A] shows that |B| = |A|. If B were a subset of A, having the same finite cardinality would force B = A, contradicting B ≠ A. Thus B is not a subset of A, yielding a witness w ∈ B \ A.
uses
Finset.mem_filter.mp,Fintype.card_coe,Fintype.card_congr,Finset.eq_of_subset_of_card_le,le_of_eq,Finset.not_subset.mprw [hCAdef] at hBmem obtain ⟨-, hBiso⟩ := Finset.mem_filter.mp hBmem obtain ⟨eB⟩ := hBiso have hcardBA : B.card = A.card := by rw [← Fintype.card_coe B, ← Fintype.card_coe A] exact Fintype.card_congr eB.toEquiv have hBnotsub : ¬ B ⊆ A := by intro hBA have hBAeq : B = A := Finset.eq_of_subset_of_card_le hBA (le_of_eq hcardBA.symm) exact hBne hBAeq obtain ⟨w, hwB, hwA⟩ := Finset.not_subset.mp hBnotsub
Transporting an induced copy of G[s] from A to B produces a copy containing w, contradicting w ∉ A and proving A = V.
The image eB(w) lies in A, so it belongs to some member s' ∈ C. Applying the transport lemma to the inverse isomorphism eB.symm : G[A] ≃g G[B] and s' ⊆ A yields a subset t ⊆ B with G[t] ≃g G[s'] ≃g G[s] containing eB.symm(eB(w)) = w. But G[t] ≃g G[s] means t ∈ C, so t ⊆ A, which implies w ∈ A, contradicting w ∉ A. Hence A = V.
uses
Finset.mem_biUnion.mp,Finset.mem_biUnion.mpr,simple_graph_is_vertex_induced_covered_of_anchor_free_transport,Finset.mem_filter,Finset.mem_univ,true_and,Finset.mem_filter.mp,Subtype.ext,RelIso.symm_apply_applyhave huA : (eB ⟨w, hwB⟩ : ↥(A : Set V)).1 ∈ A := (eB ⟨w, hwB⟩).2 obtain ⟨s', hs'C, hu's'⟩ := Finset.mem_biUnion.mp huA have hs'subA : s' ⊆ A := by intro x hx exact Finset.mem_biUnion.mpr ⟨s', hs'C, hx⟩ obtain ⟨t, htBsub, htiso, htmem⟩ := simple_graph_is_vertex_induced_covered_of_anchor_free_transport eB.symm s' hs'subA have htC : t ∈ C := by rw [hC] simp only [Finset.mem_filter, Finset.mem_univ, true_and] obtain ⟨iso_t_s'⟩ := htiso rw [hC] at hs'C obtain ⟨iso_s'_s⟩ := (Finset.mem_filter.mp hs'C).2 exact ⟨iso_s'_s.comp iso_t_s'.symm⟩ have htA : t ⊆ A := by intro x hx exact Finset.mem_biUnion.mpr ⟨t, htC, hx⟩ have hwt : w ∈ t := by have hmem := htmem (eB ⟨w, hwB⟩ : ↥(A : Set V)).1 hu's' have heq : (⟨(eB ⟨w, hwB⟩ : ↥(A : Set V)).1, hs'subA hu's'⟩ : ↥(A : Set V)) = eB ⟨w, hwB⟩ := Subtype.ext rfl have hsymm : (eB.symm ⟨(eB ⟨w, hwB⟩ : ↥(A : Set V)).1, hs'subA hu's'⟩ : ↥(B : Set V)) = ⟨w, hwB⟩ := by rw [heq] exact RelIso.symm_apply_apply eB ⟨w, hwB⟩ rw [hsymm] at hmem exact hmem exact hwA (htA hwt)
Every vertex v is contained in some member of C, so G is vertex induced G[s]-covered.
Because A = Finset.univ, the arbitrary vertex v belongs to A. Since A is the union of all t ∈ C, v belongs to some s' ∈ C, meaning G[s'] ≃g G[s]. This shows that every vertex is covered by an induced copy of G[s].
uses
Finset.mem_univ,Finset.mem_biUnion.mp,Finset.mem_filter.mphave hvA : v ∈ A := by rw [hAuniv] exact Finset.mem_univ v obtain ⟨s', hs'C, hvs'⟩ := Finset.mem_biUnion.mp hvA refine ⟨s', hvs', ?_⟩ rw [hC] at hs'C exact (Finset.mem_filter.mp hs'C).2
dif_pos- in a dependent conditional expression `if h : c then t else e`, if the condition c holds with witness hc, the expression reduces to t(hc)
Subtype.ext- two elements of a subtype are equal if and only if their underlying values in the base type are equal
congrArg- applying a function to equal inputs yields equal outputs
Subtype.val- the canonical projection from a subtype to its underlying ambient type
Finset.mem_image.mp- if an element belongs to the image f(s), there is an element of s mapped to it by f
Finset.coe_image- the set of elements in the finset image f(s) is the set-theoretic image f '' s
Equiv.Set.imageOfInjOn- a function injective on a set s induces a bijection (equivalence) between s and its image f '' s
Finset.mem_image.mpr- if some element in s maps to y under f, then y belongs to the finset image f(s)
Finset.mem_univ- every element of a finite type belongs to the universal finset Finset.univ
SimpleGraph.Iso.refl- every simple graph is isomorphic to itself via the identity isomorphism
Finset.card_eq_iff_eq_univ- a subset of a finite type has maximum cardinality if and only if it is the universal finset
lt_of_le_of_ne- in a partial order, if a ≤ b and a ≠ b, then a < b
Finset.card_le_univ- the cardinality of any finset is at most the total number of elements in the ambient finite type
Finset.mem_filter- an element belongs to {x ∈ s | p x} if and only if it belongs to s and satisfies p
true_and- the logical simplification that True ∧ p is equivalent to p
Finset.mem_biUnion.mpr- if an element belongs to f(a) for some a ∈ s, then it belongs to the union ⋃_{a ∈ s} f(a)
Finset.card_pos.mp- if a finset has strictly positive cardinality, it is non-empty
Finset.card_pos.mpr- if a finset is non-empty, its cardinality is strictly positive
Finset.mem_singleton- an element belongs to {a} if and only if it equals a
Finset.card_le_card- if s ⊆ t, then |s| ≤ |t|
Finset.mem_filter.mp- if an element belongs to a filtered finset, it belongs to the original finset and satisfies the predicate
Fintype.card_coe- the cardinality of the subtype associated with a finset equals the cardinality of the finset itself
Fintype.card_congr- finite types in bijective correspondence have the same cardinality
Finset.eq_of_subset_of_card_le- if s ⊆ t and |t| ≤ |s| for finite sets, then s = t
le_of_eq- equality implies weak inequality
Finset.not_subset.mp- if s is not a subset of t, there exists an element of s not in t
simple_graph_is_vertex_induced_covered_of_anchor_free_transport- given an isomorphism e : G[a] ≃g G[b] and s' ⊆ a, there exists t ⊆ b with G[s'] ≃g G[t] such that e(x) ∈ t for every x ∈ s'
RelIso.symm_apply_apply- applying the inverse of an isomorphism to the forward image of an element yields the original element
Finset.mem_biUnion.mp- if an element belongs to a union ⋃_{a ∈ s} f(a), then it belongs to f(a) for some a ∈ s
- A private helper lemma, `simple_graph_is_vertex_induced_covered_of_anchor_free_transport`, is proved first to pull back an induced subgraph and a specified vertex across an isomorphism of ambient induced subgraphs.
- In Step 6 (line 84), the `omega` tactic discharges the integer arithmetic contradiction that a set has cardinality strictly between 0 and 1 while not equaling 1.
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.
private lemma simple_graph_is_vertex_induced_covered_of_anchor_free_transport {V : Type*} [Fintype V] {G : SimpleGraph V} {a b : Finset V} (e : G.induce (a : Set V) ≃g G.induce (b : Set V)) (s' : Finset V) (hs' : (s' : Set V) ⊆ (a : Set V)) : ∃ t : Finset V, (t : Set V) ⊆ (b : Set V) ∧ Nonempty (G.induce (s' : Set V) ≃g G.induce (t : Set V)) ∧ ∀ x (hx : x ∈ s'), (e ⟨x, hs' hx⟩ : ↥(b : Set V)).1 ∈ t := by classical set f : V → V := fun x => if h : x ∈ (a : Set V) then (e ⟨x, h⟩ : ↥(b : Set V)).1 else x with hf have hf_apply : ∀ x (hx : x ∈ s'), f x = (e ⟨x, hs' hx⟩ : ↥(b : Set V)).1 := by intro x hx simp only [hf] rw [dif_pos (hs' hx)] have hinj : Set.InjOn f (s' : Set V) := by intro x hx y hy hxy rw [hf_apply x hx, hf_apply y hy] at hxy have h1 : e ⟨x, hs' hx⟩ = e ⟨y, hs' hy⟩ := Subtype.ext hxy have h2 : (⟨x, hs' hx⟩ : ↥(a : Set V)) = ⟨y, hs' hy⟩ := e.injective h1 exact congrArg Subtype.val h2 refine ⟨s'.image f, ?_, ?_, ?_⟩ · intro y hy obtain ⟨x, hx, rfl⟩ := Finset.mem_image.mp hy rw [hf_apply x hx] exact (e ⟨x, hs' hx⟩).2 · rw [Finset.coe_image] refine ⟨{ toEquiv := Equiv.Set.imageOfInjOn f (s' : Set V) hinj, map_rel_iff' := ?_ }⟩ intro x y show G.Adj (f x.1) (f y.1) ↔ G.Adj x.1 y.1 rw [hf_apply x.1 x.2, hf_apply y.1 y.2] exact e.map_rel_iff · intro x hx exact Finset.mem_image.mpr ⟨x, hx, hf_apply x hx⟩/-- Every anchor-free finite simple graph is vertex induced covered by all non-empty induced subgraphs. -/theorem simple_graph_is_vertex_induced_covered_of_anchor_free {V : Type*} [Fintype V] (G : SimpleGraph V) (hG : simple_graph_is_anchor_free G) (s : Finset V) (hs : 0 < s.card) : simple_graph_is_vertex_induced_covered G (G.induce (s : Set V)) := by classical intro v by_cases huniv : s = Finset.univ · refine ⟨Finset.univ, Finset.mem_univ v, ?_⟩ rw [huniv] exact ⟨SimpleGraph.Iso.refl⟩ · have hlt : s.card < Fintype.card V := by rw [← Finset.card_eq_iff_eq_univ] at huniv exact lt_of_le_of_ne (Finset.card_le_univ s) huniv set C : Finset (Finset V) := Finset.univ.filter (fun t => Nonempty (G.induce (t : Set V) ≃g G.induce (s : Set V))) with hC set A : Finset V := C.biUnion id with hA have hsC : s ∈ C := by rw [hC] simp only [Finset.mem_filter, Finset.mem_univ, true_and] exact ⟨SimpleGraph.Iso.refl⟩ have hsub : s ⊆ A := by intro x hx exact Finset.mem_biUnion.mpr ⟨s, hsC, hx⟩ have hApos : 0 < A.card := by obtain ⟨x, hx⟩ := Finset.card_pos.mp hs exact Finset.card_pos.mpr ⟨x, hsub hx⟩ have hAuniv : A = Finset.univ := by by_contra hne have hAlt : A.card < Fintype.card V := by rw [← Finset.card_eq_iff_eq_univ] at hne exact lt_of_le_of_ne (Finset.card_le_univ A) hne have hCA := hG A hApos hAlt set CA : Finset (Finset V) := Finset.univ.filter (fun t => Nonempty (G.induce (t : Set V) ≃g G.induce (A : Set V))) with hCAdef have hCAne : CA.card ≠ 1 := hCA have hA_mem : A ∈ CA := by rw [hCAdef] simp only [Finset.mem_filter, Finset.mem_univ, true_and] exact ⟨SimpleGraph.Iso.refl⟩ obtain ⟨B, hBmem, hBne⟩ : ∃ B ∈ CA, B ≠ A := by by_contra hball push Not at hball have hsub' : CA ⊆ {A} := by intro B hB simp only [Finset.mem_singleton] exact hball B hB have hle : CA.card ≤ 1 := by simpa using Finset.card_le_card hsub' have h1 : 0 < CA.card := Finset.card_pos.mpr ⟨A, hA_mem⟩ omega rw [hCAdef] at hBmem obtain ⟨-, hBiso⟩ := Finset.mem_filter.mp hBmem obtain ⟨eB⟩ := hBiso have hcardBA : B.card = A.card := by rw [← Fintype.card_coe B, ← Fintype.card_coe A] exact Fintype.card_congr eB.toEquiv have hBnotsub : ¬ B ⊆ A := by intro hBA have hBAeq : B = A := Finset.eq_of_subset_of_card_le hBA (le_of_eq hcardBA.symm) exact hBne hBAeq obtain ⟨w, hwB, hwA⟩ := Finset.not_subset.mp hBnotsub have huA : (eB ⟨w, hwB⟩ : ↥(A : Set V)).1 ∈ A := (eB ⟨w, hwB⟩).2 obtain ⟨s', hs'C, hu's'⟩ := Finset.mem_biUnion.mp huA have hs'subA : s' ⊆ A := by intro x hx exact Finset.mem_biUnion.mpr ⟨s', hs'C, hx⟩ obtain ⟨t, htBsub, htiso, htmem⟩ := simple_graph_is_vertex_induced_covered_of_anchor_free_transport eB.symm s' hs'subA have htC : t ∈ C := by rw [hC] simp only [Finset.mem_filter, Finset.mem_univ, true_and] obtain ⟨iso_t_s'⟩ := htiso rw [hC] at hs'C obtain ⟨iso_s'_s⟩ := (Finset.mem_filter.mp hs'C).2 exact ⟨iso_s'_s.comp iso_t_s'.symm⟩ have htA : t ⊆ A := by intro x hx exact Finset.mem_biUnion.mpr ⟨t, htC, hx⟩ have hwt : w ∈ t := by have hmem := htmem (eB ⟨w, hwB⟩ : ↥(A : Set V)).1 hu's' have heq : (⟨(eB ⟨w, hwB⟩ : ↥(A : Set V)).1, hs'subA hu's'⟩ : ↥(A : Set V)) = eB ⟨w, hwB⟩ := Subtype.ext rfl have hsymm : (eB.symm ⟨(eB ⟨w, hwB⟩ : ↥(A : Set V)).1, hs'subA hu's'⟩ : ↥(B : Set V)) = ⟨w, hwB⟩ := by rw [heq] exact RelIso.symm_apply_apply eB ⟨w, hwB⟩ rw [hsymm] at hmem exact hmem exact hwA (htA hwt) have hvA : v ∈ A := by rw [hAuniv] exact Finset.mem_univ v obtain ⟨s', hs'C, hvs'⟩ := Finset.mem_biUnion.mp hvA refine ⟨s', hvs', ?_⟩ rw [hC] at hs'C exact (Finset.mem_filter.mp hs'C).2