Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 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,38 @@ 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)
EgbertRijke marked this conversation as resolved.
Show resolved Hide resolved
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)
```