Kelly's Lemma (Subgraph Counting) #
Kelly's Lemma is the central counting tool in reconstruction theory. It states that for any graph F with fewer vertices than G, the number of induced copies of F in G is reconstructible from the deck.
Main definitions #
SimpleGraph.copyFinset— the set of k-element subsets S ⊆ V(G) whose induced subgraph G[S] is isomorphic to FSimpleGraph.subgraphCount—|copyFinset F G|, the number of such copies
Main results #
SimpleGraph.subgraphCount_sum— the double-counting identity:(n - k) * s(F, G) = ∑ v, s(F, G - v)SimpleGraph.SameDeck.subgraphCount_eq— ifdeck(G) = deck(H)and|V(F)| < |V(G)|, thens(F, G) = s(F, H)
References #
- Kelly, P. J. (1942). "On isometric transformations".
The set of Fintype.card W-element subsets S ⊆ V whose induced
subgraph G[S] is isomorphic to F.
Equations
- F.copyFinset G = {S ∈ Finset.powersetCard (Fintype.card W) Finset.univ | Nonempty (SimpleGraph.induce (↑S) G ≃g F)}
Instances For
The number of induced copies of F in G: how many k-element
subsets S ⊆ V(G) satisfy G[S] ≅ F.
Equations
- F.subgraphCount G = (F.copyFinset G).card
Instances For
Every set in copyFinset F G has cardinality Fintype.card W.
subgraphCount is invariant under graph isomorphism.
Bridge lemma: copies of F in G - v biject with copies of F in G
that avoid v.
Kelly's counting identity (double-counting). For any graph F on k
vertices and G on n ≥ k vertices:
(n - k) * s(F, G) = ∑ v, s(F, G - v).
Kelly's Lemma (reconstructibility corollary). If two graphs have
the same deck and |V(F)| < |V(G)|, then they have the same number
of induced copies of F.