Skip to content

Commit 7221b0b

Browse files
ncfavierplt-amy
authored andcommitted
defn: ap-equiv
1 parent b9342e0 commit 7221b0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/1Lab/Function/Embedding.lagda.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,10 @@ module _ {ℓ ℓ'} {A : Type ℓ} {B : Type ℓ'} {f : A → B} where
220220
→ is-hlevel A (suc n)
221221
embedding→is-hlevel n emb a-hl = Equiv→is-hlevel (suc n) (Total-equiv f) $
222222
Σ-is-hlevel (suc n) a-hl λ x → is-prop→is-hlevel-suc (emb x)
223+
224+
ap-equiv
225+
: ∀ {ℓ ℓ'} {A : Type ℓ} {B : Type ℓ'} (e : A ≃ B) {x y : A}
226+
→ (x ≡ y) ≃ (e .fst x ≡ e .fst y)
227+
ap-equiv e = _ , equiv→cancellable (e .snd)
223228
```
224229
-->

0 commit comments

Comments
 (0)