Eulerian circuits in undirected graphs
Content created by Jonathan Prieto-Cubides, Egbert Rijke and Fredrik Bakke.
Created on 2022-06-15.
Last modified on 2023-10-13.
module graph-theory.eulerian-circuits-undirected-graphs where
Imports
open import elementary-number-theory.natural-numbers open import foundation.dependent-pair-types open import foundation.equivalences open import foundation.functoriality-dependent-pair-types open import foundation.universe-levels open import graph-theory.morphisms-undirected-graphs open import graph-theory.polygons open import graph-theory.undirected-graphs
Idea
An Eulerian circuit in an
undirected graph G
consists of a
circuit T
in G
such that every
edge in G
is in the image of T
. In other words, an Eulerian circuit T
consists of k
-gon H
equipped with a
graph homomorphism f : H → G
that induces an equivalence
Σ (unordered-pair-vertices-Polygon k H) (edge-Polygon k H) ≃
Σ (unordered-pair-vertices-Undirected-Graph G) (edge-Undirected-Graph G)
Definition
module _ {l1 l2 : Level} (G : Undirected-Graph l1 l2) where eulerian-circuit-Undirected-Graph : UU (lsuc lzero ⊔ l1 ⊔ l2) eulerian-circuit-Undirected-Graph = Σ ( ℕ) ( λ k → Σ ( Polygon k) ( λ H → Σ ( hom-Undirected-Graph (undirected-graph-Polygon k H) G) ( λ f → is-equiv ( tot ( edge-hom-Undirected-Graph ( undirected-graph-Polygon k H) ( G) ( f))))))
External links
- Eulerian circuit on D3 Graph theory
- Eulerian cycle on Wikidata
- Eulerian path on Wikipedia
- Eulerian cycle on Wolfram mathworld
Recent changes
- 2023-10-13. Egbert Rijke. Fix links to wikidata to the recommended links; add concept tags at end of file for testing purposes (#837).
- 2023-10-12. Egbert Rijke. Creating internal and external links in Graph Theory (#832).
- 2023-05-16. Fredrik Bakke. Swap from
md
totext
code blocks (#622). - 2023-03-13. Jonathan Prieto-Cubides. More maintenance (#506).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497).