AFTD Auto-Formalizing Theoretical Domains

simple_graph_anchor_free_of_vertex_induced_covered

theoremverified

If a finite simple graph G is vertex induced G[s]-covered for every non-empty vertex subset s (with 0 < s.card), then G is anchor-free.

Statement

theorem simple_graph_anchor_free_of_vertex_induced_covered {V : Type*} [Fintype V]
    (G : SimpleGraph V)
    (h : ∀ s : Finset V, 0 < s.card → simple_graph_is_vertex_induced_covered G (G.induce (s : Set V))) :
    simple_graph_is_anchor_free G
Source
arXiv:2611.32711, Lemma 3.10
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • 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…
Used by 1

Read back from the Lean

Let $V$ be a finite type and $G$ be a simple graph on $V$. Suppose that for every non-empty finite subset $s \subseteq V$, the graph $G$ is vertex-induced covered by the induced subgraph $G[s]$ (that is, for every vertex $v \in V$, there exists a finite subset $s' \subseteq V$ containing $v$ such that $G[s'] \simeq G[s]$). Then $G$ is anchor-free (that is, for every finite subset $s \subseteq V$ strictly between $\emptyset$ and $V$ in size, the number of finite subsets $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 proof is by contradiction. If G were not anchor-free, there would exist a non-empty proper vertex subset s whose induced subgraph G[s] is unique up to isomorphism. Since s is a proper subset, there is a vertex v ∉ s. By the covering hypothesis, v must belong to some induced subgraph G[s'] isomorphic to G[s], forcing s' = s by uniqueness and contradicting v ∉ s.

  1. Assume for contradiction that G is not anchor-free.

    By the definition of an anchor-free graph, we assume there is a non-empty proper vertex subset s ⊂ V (satisfying 0 < |s| and |s| < |V|) such that the number of vertex subsets inducing a subgraph isomorphic to G[s] is exactly 1.

    lines 6–7

      classical
      intro s hs0 hscard hcard1
  2. There exists a vertex v in V that does not belong to s.

    Since |V| is the cardinality of the universal finset of vertices, the condition |s| < |V| translates to |s| < |univ|. By Finset.exists_mem_notMem_of_card_lt_card, there must be a vertex v not in s.

    lines 8–9

    uses Finset.card_univ, Finset.exists_mem_notMem_of_card_lt_card

      have hlt : s.card < (Finset.univ : Finset V).card := by rwa [Finset.card_univ]
      obtain ⟨v, -, hv⟩ := Finset.exists_mem_notMem_of_card_lt_card hlt
  3. There exists a vertex subset s' containing v whose induced subgraph G[s'] is isomorphic to G[s].

    The covering hypothesis asserts that for any non-empty subset s, every vertex of G is contained in some induced subgraph isomorphic to G[s]. Applying this to the vertex v produces such a subset s'.

    line 10

      obtain ⟨s', hvs', hiso⟩ := h s hs0 v
  4. Both s and s' belong to the set of vertex subsets inducing a subgraph isomorphic to G[s].

    By reflexivity of graph isomorphisms (SimpleGraph.Iso.refl), G[s] is isomorphic to G[s], so s belongs to the filtered set. Similarly, s' induces a subgraph isomorphic to G[s] by choice of s', so s' also belongs to the set.

    lines 11–16

    uses Finset.mem_filter, Finset.mem_univ, SimpleGraph.Iso.refl

      have hs_in : s ∈ Finset.filter (fun s' : Finset V => Nonempty (G.induce (s' : Set V) ≃g G.induce (s : Set V))) Finset.univ := by
        rw [Finset.mem_filter]
        exact ⟨Finset.mem_univ s, ⟨SimpleGraph.Iso.refl⟩⟩
      have hs'_in : s' ∈ Finset.filter (fun s' : Finset V => Nonempty (G.induce (s' : Set V) ≃g G.induce (s : Set V))) Finset.univ := by
        rw [Finset.mem_filter]
        exact ⟨Finset.mem_univ s', hiso⟩
  5. A contradiction arises, showing that G must be anchor-free.

    Because the set of subsets inducing a copy of G[s] has cardinality 1, it must be a singleton {a}. Both s and s' belong to {a}, so s = a and s' = a, which implies s' = s. But v ∈ s' by construction and v ∉ s, which is a contradiction.

    lines 17–23

    uses Finset.card_eq_one.mp, Finset.mem_singleton.mp

      obtain ⟨a, ha⟩ := Finset.card_eq_one.mp hcard1
      rw [ha] at hs_in hs'_in
      have hs_eq : s = a := Finset.mem_singleton.mp hs_in
      have hs'_eq : s' = a := Finset.mem_singleton.mp hs'_in
      have : s' = s := hs'_eq.trans hs_eq.symm
      rw [this] at hvs'
      exact hv hvs'
Finset.card_univ
The cardinality of the universal finset on a finite type equals the cardinality of the type.
Finset.exists_mem_notMem_of_card_lt_card
If a finite set s has strictly smaller cardinality than a finite set t, there exists an element of t that is not in s.
Finset.mem_filter
An element belongs to a filtered finset if and only if it belongs to the ambient finset and satisfies the predicate.
Finset.mem_univ
Every element of a finite type belongs to the universal finset.
SimpleGraph.Iso.refl
Every simple graph is isomorphic to itself via the reflexive graph isomorphism.
Finset.card_eq_one.mp
If a finite set has cardinality 1, then it is a singleton set {a} for some element a.
Finset.mem_singleton.mp
If an element belongs to the singleton set {a}, then it is equal to a.

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

/-- A finite simple graph is anchor-free if it is vertex induced covered by all non-empty induced subgraphs. -/theorem simple_graph_anchor_free_of_vertex_induced_covered {V : Type*} [Fintype V]    (G : SimpleGraph V)    (h : ∀ s : Finset V, 0 < s.card → simple_graph_is_vertex_induced_covered G (G.induce (s : Set V))) :    simple_graph_is_anchor_free G := by  classical  intro s hs0 hscard hcard1  have hlt : s.card < (Finset.univ : Finset V).card := by rwa [Finset.card_univ]  obtain ⟨v, -, hv⟩ := Finset.exists_mem_notMem_of_card_lt_card hlt  obtain ⟨s', hvs', hiso⟩ := h s hs0 v  have hs_in : s ∈ Finset.filter (fun s' : Finset V => Nonempty (G.induce (s' : Set V) ≃g G.induce (s : Set V))) Finset.univ := by    rw [Finset.mem_filter]    exact ⟨Finset.mem_univ s, ⟨SimpleGraph.Iso.refl⟩⟩  have hs'_in : s' ∈ Finset.filter (fun s' : Finset V => Nonempty (G.induce (s' : Set V) ≃g G.induce (s : Set V))) Finset.univ := by    rw [Finset.mem_filter]    exact ⟨Finset.mem_univ s', hiso⟩  obtain ⟨a, ha⟩ := Finset.card_eq_one.mp hcard1  rw [ha] at hs_in hs'_in  have hs_eq : s = a := Finset.mem_singleton.mp hs_in  have hs'_eq : s' = a := Finset.mem_singleton.mp hs'_in  have : s' = s := hs'_eq.trans hs_eq.symm  rw [this] at hvs'  exact hv hvs'
See it in the graphDiscuss this resultChallenge it