Kocay-Style Cover Counting #
This module starts a typed version of the Kocay cover-counting machinery. The fully classical statement groups covers by isomorphism type of the covered subgraph. Here we first group finite indexed tuples of induced copies by their actual covered vertex set inside a fixed host graph.
This is the finite bookkeeping core behind Kocay-style linear constraints.
Main definitions #
SimpleGraph.coverFinset— finite indexed tuples of induced copies whose vertex-set union is a fixedU.SimpleGraph.coverCount— the number of such finite indexed covers.SimpleGraph.coverTypeCount— Kocay's target cover number: covers of all vertices of a target graphX.SimpleGraph.InducedSetIsoClass— isomorphism classes of induced subgraphs appearing as vertex subsets of a fixed host graph.SimpleGraph.coverCount_sum— the product of the indexed subgraph counts is the sum of cover counts over covered vertex sets.SimpleGraph.pairCoverFinset— ordered pairs of induced copies ofF₁andF₂whose vertex-set union is a fixedU.SimpleGraph.pairCoverCount— the number of such ordered covers.SimpleGraph.pairCoverTypeCount— the two-pattern target cover number.
Main results #
SimpleGraph.coverTypeCount_sum_induce— the finite-index cover identity grouped by the actual induced target graphG[U].SimpleGraph.coverTypeCount_sum_inducedIsoClass— the finite-index cover identity grouped by induced-subgraph isomorphism classes:∏ i s(Fᵢ,G) = ∑_X c((Fᵢ),X) * s(X,G)in typed quotient form.SimpleGraph.pairCoverCount_sum— the productsubgraphCount F₁ G * subgraphCount F₂ Gis the sum of these cover counts over all vertex subsetsU.SimpleGraph.pairCoverTypeCount_sum_induce— the same ordered-pair identity grouped by the actual induced target graphG[U].SimpleGraph.SameDeck.subgraphCount_prod_eq— finite indexed products of Kelly-reconstructible subgraph counts are reconstructible.SimpleGraph.SameDeck.subgraphCount_mul_eq— products of reconstructible subgraph counts are reconstructible.
References #
- Kocay, W. L. (1981). "Some new methods in reconstruction theory".
Finite indexed cover tuples #
The vertex set covered by an indexed tuple of copies.
Equations
Instances For
Finite indexed tuples of induced copies of the patterns F i whose
vertex-set union is U.
This is the typed, in-host cover object behind Kocay's lemma. The later
isomorphism-type grouping should quotient or regroup these covers by the graph
induced on U; this definition deliberately keeps the first finite
bookkeeping layer concrete.
Equations
- SimpleGraph.coverFinset F G U = {S ∈ Fintype.piFinset fun (i : ι) => (F i).copyFinset G | SimpleGraph.coverUnion S = U}
Instances For
The number of finite indexed covers of U by induced copies of F i.
Equations
- SimpleGraph.coverCount F G U = (SimpleGraph.coverFinset F G U).card
Instances For
Kocay's target cover finset C((F_i), X): indexed induced copies of
the patterns F i in the target graph XG whose union covers every vertex of
XG.
Equations
Instances For
Kocay's target cover number c((F_i), X): the number of indexed induced
copies of F i that cover all vertices of the target graph XG.
Equations
- SimpleGraph.coverTypeCount F XG = (SimpleGraph.coverTypeFinset F XG).card
Instances For
The finite indexed Kocay bookkeeping identity, grouped by the actual covered vertex set in the host graph.
The left side counts tuples of induced copies independently. The right side classifies the same tuples by the union of their vertex sets.
Target-cover counts up to isomorphism #
Target-cover counts depend only on the isomorphism type of the target graph. This is the well-definedness bridge needed to group Kocay covers by isomorphism class rather than by concrete vertex subsets.
Ordered two-pattern cover tuples #
Ordered pairs of induced copies of F₁ and F₂ whose vertex-set union is
U. This is a typed, in-host version of the cover tuples appearing in Kocay's
lemma.
Equations
- F₁.pairCoverFinset F₂ G U = {p ∈ (F₁.copyFinset G).product (F₂.copyFinset G) | p.1 ∪ p.2 = U}
Instances For
The number of ordered pairs of induced copies of F₁ and F₂ covering
the vertex set U.
Equations
- F₁.pairCoverCount F₂ G U = (F₁.pairCoverFinset F₂ G U).card
Instances For
Ordered pairs of induced copies in the target graph XG covering every
vertex of XG.
Equations
- F₁.pairCoverTypeFinset F₂ XG = F₁.pairCoverFinset F₂ XG Finset.univ
Instances For
The ordered two-pattern target cover number c((F₁, F₂), X).
Equations
- F₁.pairCoverTypeCount F₂ XG = (F₁.pairCoverTypeFinset F₂ XG).card
Instances For
Counting indexed covers of a concrete vertex set U in G is the same as
counting target covers of the induced graph G[U].
Finite-index Kocay bookkeeping grouped by the actual induced target graph on each covered vertex set.
Pattern isomorphism preserves induced-subgraph counts in a fixed host.
Vertex subsets of a host graph are equivalent when they induce isomorphic subgraphs.
Equations
- G.InducedSetIsoRel U U' = Nonempty (SimpleGraph.induce (↑U) G ≃g SimpleGraph.induce (↑U') G)
Instances For
The setoid on vertex subsets generated by induced-subgraph isomorphism.
Equations
- G.InducedSetIsoSetoid = { r := G.InducedSetIsoRel, iseqv := ⋯ }
Instances For
Isomorphism classes of induced subgraphs appearing as vertex subsets of
G.
Equations
Instances For
Equations
The induced-subgraph isomorphism class of a concrete vertex subset.
Equations
- G.inducedSetIsoClassOf U = ⟦U⟧
Instances For
The Kocay cover number attached to an induced-subgraph isomorphism class.
Equations
- SimpleGraph.inducedClassCoverTypeCount F G q = Quotient.lift (fun (U : Finset V) => SimpleGraph.coverTypeCount F (SimpleGraph.induce (↑U) G)) ⋯ q
Instances For
The number of induced copies in G of an induced-subgraph isomorphism
class.
Equations
- G.inducedClassSubgraphCount q = Quotient.lift (fun (U : Finset V) => (SimpleGraph.induce (↑U) G).subgraphCount G) ⋯ q
Instances For
Kocay's finite product-count identity, grouped by induced-subgraph
isomorphism classes. This is the typed quotient form of
∏ i s(Fᵢ, G) = ∑_X c((Fᵢ), X) * s(X, G): the quotient ranges over the
isomorphism classes of induced subgraphs actually appearing in the host.
Counting ordered covers of a concrete vertex set U in G is the same as
counting ordered target covers of the induced graph G[U].
The ordered-pair Kocay bookkeeping identity, grouped by covered vertex set.
Ordered two-pattern cover identity grouped by the actual induced target graph on each covered vertex set.
Finite indexed products of reconstructible induced-subgraph counts are reconstructible. This is the product side of the finite-index Kocay identity.
Products of reconstructible induced-subgraph counts are reconstructible. This is the simplest Kocay-style linear constraint supplied by Kelly's lemma.