Homomorphism counts into a full complement

Lax871432.FullComplementCounts · concepts/Lax871432/FullComplementCounts.lean · lax-871432

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Theorem

    For a simple graph FF and a graph XX,

    hom(F,X^)=SE(F)(1)Shom(FS,X),\hom(F, \widehat{X}) = \sum_{S \subseteq E(F)} (-1)^{|S|} \hom(F_S, X),

    where FSF_S is the spanning subgraph of FF with edge set SS (Lovász, Large Networks and Graph Limits, equation (5.23)).

    Concept map
    2 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 6 of this submission's paper

    Lean source view on GitHub

    1import Mathlib.Algebra.BigOperators.Ring.Finset
    2import Lax871432.LoopGraphs
    3
    4/-!
    5---
    6title: Homomorphism counts into a full complement
    7type: theorem
    8---
    9For a simple graph FF and a graph XX,
    10hom(F,X^)=SE(F)(1)Shom(FS,X),\hom(F, \widehat{X}) = \sum_{S \subseteq E(F)} (-1)^{|S|} \hom(F_S, X),
    11where FSF_S is the spanning subgraph of FF with edge set SS (Lovász, *Large Networks and
    12Graph Limits*, equation (5.23)).
    13-/
    14
    15open Lax871432.LoopGraphs
    16
    17namespace Lax871432.FullComplementCounts
    18
    19/-- **Homomorphisms into a full complement**, Lovász's equation (5.23): by inclusion–exclusion
    20over the edges of `F`, the number of homomorphisms from `F` to the full complement of `X` is
    21the alternating sum, over the subsets `s` of `E(F)`, of the numbers of homomorphisms from the
    22spanning subgraph `F_s` to `X`. -/
    23axiom homCount_fullCompl {V W : Type*} [Finite V] [Finite W] (F : SimpleGraph V)
    24 (X : LoopGraph W) :
    25 letI : Fintype F.edgeSet := Fintype.ofFinite _
    26 (LoopGraph.homCount (toLoopGraph F) X.fullCompl : ℤ) =
    27 ∑ s : Finset F.edgeSet, (-1 : ℤ) ^ s.card *
    28 (LoopGraph.homCount (toLoopGraph ((spanningSubgraph F) ((edgeSetOf F) s))) X : ℤ)
    29
    30end Lax871432.FullComplementCounts
    31
    Show Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…