File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
src/Categories/Category/Lift Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ {-# OPTIONS --without-K --safe #-}
2+
3+ module Categories.Category.Lift.Properties where
4+
5+ open import Level
6+
7+ open import Categories.Category.Core
8+ open import Categories.Category.Equivalence
9+ open import Categories.Category.Lift
10+ open import Categories.NaturalTransformation.NaturalIsomorphism
11+ import Categories.Morphism.Reasoning.Core as MR
12+
13+ unliftF-liftF-weakInverse : ∀ {o ℓ e} o′ ℓ′ e′ (C : Category o ℓ e) → WeakInverse (unliftF o′ ℓ′ e′ C) (liftF o′ ℓ′ e′ C)
14+ unliftF-liftF-weakInverse o′ ℓ′ e′ C = record
15+ { F∘G≈id = niHelper record
16+ { η = λ _ → id
17+ ; η⁻¹ = λ _ → id
18+ ; commute = λ f → id-comm-sym
19+ ; iso = λ _ → record
20+ { isoˡ = identity²
21+ ; isoʳ = identity²
22+ }
23+ }
24+ ; G∘F≈id = niHelper record
25+ { η = λ _ → lift id
26+ ; η⁻¹ = λ _ → lift id
27+ ; commute = λ _ → lift id-comm-sym
28+ ; iso = λ _ → record
29+ { isoˡ = lift identity²
30+ ; isoʳ = lift identity²
31+ }
32+ }
33+ }
34+ where
35+ open Category C
36+ open MR C
37+
38+ liftC-strongEquivalence : ∀ {o ℓ e} o′ ℓ′ e′ (C : Category o ℓ e) → StrongEquivalence (liftC o′ ℓ′ e′ C) C
39+ liftC-strongEquivalence o′ ℓ′ e′ C = record { weak-inverse = unliftF-liftF-weakInverse o′ ℓ′ e′ C }
You can’t perform that action at this time.
0 commit comments