Homomorphism counts

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

definition

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

    Definition

    A homomorphism from a graph FF to a graph GG is a map V(F)V(G)V(F) \to V(G) sending adjacent vertices to adjacent vertices. We write hom(F,G)\hom(F, G) for the number of such maps.

    Concept map
    1 concept; 17 descendants hidden
    100%
    Proven claimOpen claimDefinitionThis conceptRelated conceptA → B: B builds on A

    In the paper

    • page 3 of this submission's paper

    Lean source view on GitHub

    1import Mathlib.Combinatorics.SimpleGraph.Maps
    2import Mathlib.SetTheory.Cardinal.Finite
    3
    4/-!
    5---
    6title: Homomorphism counts
    7type: definition
    8---
    9A *homomorphism* from a graph FF to a graph GG is a map V(F)V(G)V(F) \to V(G) sending adjacent
    10vertices to adjacent vertices. We write hom(F,G)\hom(F, G) for the number of such maps.
    11-/
    12
    13namespace Lax871432.HomomorphismCounts
    14
    15/-- hom(F,G)\hom(F, G), the number of homomorphisms from `F` to `G`. -/
    16noncomputable def homCount {V W : Type*} (F : SimpleGraph V) (G : SimpleGraph W) : ℕ :=
    17 Nat.card (F →g G)
    18
    19end Lax871432.HomomorphismCounts
    20

    Discussion

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

    Loading discussion…