Homomorphism counts
Lax871432.HomomorphismCounts · concepts/Lax871432/HomomorphismCounts.lean · lax-871432
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A homomorphism from a graph to a graph is a map sending adjacent vertices to adjacent vertices. We write for the number of such maps.
Concept map
In the paper
- page 3 of this submission's paper
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Maps |
| 2 | import Mathlib.SetTheory.Cardinal.Finite |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Homomorphism counts |
| 7 | type: definition |
| 8 | --- |
| 9 | A *homomorphism* from a graph to a graph is a map sending adjacent |
| 10 | vertices to adjacent vertices. We write for the number of such maps. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax871432.HomomorphismCounts |
| 14 | |
| 15 | /-- , the number of homomorphisms from `F` to `G`. -/ |
| 16 | noncomputable def homCount {V W : Type*} (F : SimpleGraph V) (G : SimpleGraph W) : ℕ := |
| 17 | Nat.card (F →g G) |
| 18 | |
| 19 | end Lax871432.HomomorphismCounts |
| 20 |
Builds on
none
Used by
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments