The elementhood relation on W-types
Content created by Fredrik Bakke, Jonathan Prieto-Cubides and Egbert Rijke.
Created on 2023-01-26.
Last modified on 2023-09-11.
module trees.elementhood-relation-w-types where
Imports
open import foundation.dependent-pair-types open import foundation.empty-types open import foundation.identity-types open import foundation.transport-along-identifications open import foundation.universe-levels open import trees.elementhood-relation-coalgebras-polynomial-endofunctors open import trees.w-types
Idea
We say that a tree S
is an element of a tree tree-𝕎 x α
if S
can be
equipped with an element y : B x
such that α y = S
.
Definition
module _ {l1 l2 : Level} {A : UU l1} {B : A → UU l2} where infix 6 _∈-𝕎_ _∉-𝕎_ _∈-𝕎_ : 𝕎 A B → 𝕎 A B → UU (l1 ⊔ l2) x ∈-𝕎 y = x ∈ y in-coalgebra 𝕎-Coalg A B _∉-𝕎_ : 𝕎 A B → 𝕎 A B → UU (l1 ⊔ l2) x ∉-𝕎 y = is-empty (x ∈-𝕎 y)
Properties
irreflexive-∈-𝕎 : {l1 l2 : Level} {A : UU l1} {B : A → UU l2} (x : 𝕎 A B) → x ∉-𝕎 x irreflexive-∈-𝕎 {A = A} {B = B} (tree-𝕎 x α) (pair y p) = irreflexive-∈-𝕎 (α y) (tr (λ z → (α y) ∈-𝕎 z) (inv p) (pair y refl))
Recent changes
- 2023-09-11. Fredrik Bakke. Transport along and action on equivalences (#706).
- 2023-09-10. Fredrik Bakke. Define precedence levels and associativities for all binary operators (#712).
- 2023-06-10. Egbert Rijke and Fredrik Bakke. Cleaning up synthetic homotopy theory (#649).
- 2023-05-13. Fredrik Bakke. Remove unused imports and fix some unaddressed comments (#621).
- 2023-05-03. Egbert Rijke. Enriched directed trees and elements of W-types (#561).