Skip to content

Commit dca6bdc

Browse files
Merge pull request #456 from agda/lift-equivalence
liftC C is equivalent to C
2 parents 69f8c0e + 0e533af commit dca6bdc

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 }

0 commit comments

Comments
 (0)