2
-Types
Content created by Fredrik Bakke, Egbert Rijke and Jonathan Prieto-Cubides.
Created on 2022-01-26.
Last modified on 2023-06-08.
module foundation.2-types where
Imports
open import foundation.dependent-pair-types open import foundation.universe-levels open import foundation-core.truncated-types open import foundation-core.truncation-levels
Definition
A 2-type is a type that is 2-truncated
is-2-type : {l : Level} → UU l → UU l is-2-type = is-trunc (two-𝕋) UU-2-Type : (l : Level) → UU (lsuc l) UU-2-Type l = Σ (UU l) is-2-type type-2-Type : {l : Level} → UU-2-Type l → UU l type-2-Type = pr1 abstract is-2-type-type-2-Type : {l : Level} (A : UU-2-Type l) → is-2-type (type-2-Type A) is-2-type-type-2-Type = pr2
Recent changes
- 2023-06-08. Fredrik Bakke. Examples of modalities and various fixes (#639).
- 2023-06-08. Fredrik Bakke. Remove empty
foundation
modules and replace them by their core counterparts (#644). - 2023-03-15. Fredrik Bakke. Remove blank lines at the start and end of code blocks (#508).
- 2023-03-14. Fredrik Bakke. Remove all unused imports (#502).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497).