Rooted quasitrees
Content created by Jonathan Prieto-Cubides, Fredrik Bakke and Egbert Rijke.
Created on 2023-01-26.
Last modified on 2023-03-13.
module trees.rooted-quasitrees where
Imports
open import foundation.contractible-types open import foundation.dependent-pair-types open import foundation.universe-levels open import graph-theory.trails-undirected-graphs open import graph-theory.undirected-graphs
Idea
A rooted quasitree is an undirected graph G
equipped with a marked
vertexr
, to be called the root, such that for every vertex x
there is a
unique trail from r
to x
.
Definition
is-rooted-quasitree-Undirected-Graph : {l1 l2 : Level} (G : Undirected-Graph l1 l2) → vertex-Undirected-Graph G → UU (lsuc lzero ⊔ l1 ⊔ l2) is-rooted-quasitree-Undirected-Graph G r = (x : vertex-Undirected-Graph G) → is-contr (trail-Undirected-Graph G r x) Rooted-Quasitree : (l1 l2 : Level) → UU (lsuc l1 ⊔ lsuc l2) Rooted-Quasitree l1 l2 = Σ ( Undirected-Graph l1 l2) ( λ G → Σ ( vertex-Undirected-Graph G) ( is-rooted-quasitree-Undirected-Graph G))
Recent changes
- 2023-03-13. Jonathan Prieto-Cubides. More maintenance (#506).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497). - 2023-03-07. Fredrik Bakke. Add blank lines between
<details>
tags and markdown syntax (#490). - 2023-03-07. Jonathan Prieto-Cubides. Show module declarations (#488).
- 2023-03-06. Fredrik Bakke. Remove redundant whitespace in headers (#486).