Acyclic undirected graphs
Content created by Egbert Rijke, Fredrik Bakke and Vojtěch Štěpančík.
Created on 2023-05-03.
Last modified on 2024-10-16.
module graph-theory.acyclic-undirected-graphs where
Imports
open import foundation.universe-levels open import graph-theory.geometric-realizations-undirected-graphs open import graph-theory.reflecting-maps-undirected-graphs open import graph-theory.undirected-graphs
Idea
An acyclic undirected graph¶ is an undirected graph of which the geometric realization is contractible.
The notion of acyclic graphs is a generalization of the notion of undirected trees. Note that in this library, an undirected tree is an undirected graph in which the type of trails between any two points is contractible. The type of nodes of such undirected trees consequently has decidable equality. On the other hand, there are acyclic undirected graphs that are not undirected trees in this sense. One way to obtain them is via acyclic types, which are types of which the suspension is contractible. The undirected suspension diagram of such types is an acyclic graph. Furthermore, any directed tree induces an acyclic undirected graph by forgetting the directions of the edges.
Definition
Acyclic undirected graphs
The following is a preliminary definition that requires us to parametrize over
an extra universe level. This will not be necessary anymore if we constructed a
geometric realization of every undirected graph. Once we did that, we would
simply say that the geometric realization of G
is contractible.
is-acyclic-Undirected-Graph : {l1 l2 : Level} (l : Level) (G : Undirected-Graph l1 l2) → UU (l1 ⊔ l2 ⊔ lsuc l) is-acyclic-Undirected-Graph l G = is-geometric-realization-reflecting-map-Undirected-Graph l G ( terminal-reflecting-map-Undirected-Graph G)
See also
Table of files related to cyclic types, groups, and rings
External links
- Acyclic graph at Mathswitch
- Trees at Lab
- Forests at Wikipedia
- Acyclic graphs at Wolfram MathWorld.
Recent changes
- 2024-10-16. Fredrik Bakke. Some links in elementary number theory (#1199).
- 2024-03-23. Vojtěch Štěpančík. Enhancements for the Concepts macro (#1093).
- 2024-01-28. Egbert Rijke. Span diagrams (#1007).
- 2023-11-09. Fredrik Bakke. Typeset
nlab
as$n$Lab
(#911). - 2023-11-02. Vojtěch Štěpančík. Add a mdbook
#concept
macro (#884).