Multiset-indexed dependent products of types
Content created by Egbert Rijke and Fredrik Bakke.
Created on 2023-10-22.
Last modified on 2023-11-24.
module trees.multiset-indexed-dependent-products-of-types where
Imports
open import elementary-number-theory.natural-numbers open import foundation.universe-levels open import trees.multisets open import trees.w-types
Idea
Consider a multiset M
. Then M
can be seen as a tower
of type families, via the inclusion from the type of all multisets, which are
the well-founded trees, into the type of all trees.
This leads to the idea that we should be able to take the iterated dependent product of this tower of type families.
Definitions
The iterated dependent product of types indexed by a multiset
iterated-Π-𝕍 : {l : Level} → ℕ → 𝕍 l → UU l iterated-Π-𝕍 zero-ℕ (tree-𝕎 X Y) = X iterated-Π-𝕍 (succ-ℕ n) (tree-𝕎 X Y) = (x : X) → iterated-Π-𝕍 n (Y x)
Recent changes
- 2023-11-24. Egbert Rijke. Refactor precomposition (#937).
- 2023-10-22. Egbert Rijke and Fredrik Bakke. Iterated type families (#797).