Skip to content

Commit

Permalink
A map is an embedding if and only if it has contractible fibers at va…
Browse files Browse the repository at this point in the history
…lues (#858)

Co-authored-by: Egbert Rijke <[email protected]>
  • Loading branch information
tomdjong and EgbertRijke authored Oct 18, 2023
1 parent 2f164be commit 921edf1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/foundation/embeddings.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ open import foundation.commuting-squares-of-maps
open import foundation.cones-over-cospans
open import foundation.dependent-pair-types
open import foundation.equivalences
open import foundation.fibers-of-maps
open import foundation.functoriality-cartesian-product-types
open import foundation.fundamental-theorem-of-identity-types
open import foundation.identity-types
open import foundation.truncated-maps
open import foundation.universe-levels

open import foundation-core.cartesian-product-types
open import foundation-core.contractible-types
open import foundation-core.function-types
open import foundation-core.functoriality-dependent-pair-types
open import foundation-core.homotopies
Expand Down Expand Up @@ -351,3 +353,39 @@ module _
( is-equiv-map-inv-is-equiv L)
( M)
```

### A map is an embedding if and only if it has contractible fibers at values

```agda
module _
{l1 l2 : Level} {A : UU l1} {B : UU l2} (f : A B)
where

is-emb-is-contr-fibers-values' :
((a : A) is-contr (fiber' f (f a))) is-emb f
is-emb-is-contr-fibers-values' c a =
fundamental-theorem-id (c a) (λ x ap f {a} {x})

is-emb-is-contr-fibers-values :
((a : A) is-contr (fiber f (f a))) is-emb f
is-emb-is-contr-fibers-values c =
is-emb-is-contr-fibers-values'
( λ a
is-contr-equiv'
( fiber f (f a))
( equiv-fiber f (f a))
( c a))

is-contr-fibers-values-is-emb' :
is-emb f ((a : A) is-contr (fiber' f (f a)))
is-contr-fibers-values-is-emb' e a =
fundamental-theorem-id' (λ x ap f {a} {x}) (e a)

is-contr-fibers-values-is-emb :
is-emb f ((a : A) is-contr (fiber f (f a)))
is-contr-fibers-values-is-emb e a =
is-contr-equiv
( fiber' f (f a))
( equiv-fiber f (f a))
( is-contr-fibers-values-is-emb' e a)
```

0 comments on commit 921edf1

Please sign in to comment.