-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add notion of Dedekind finiteness and two examples
- Loading branch information
1 parent
6daa2d9
commit 6530380
Showing
3 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Martin Escardo, 3rd September 2023. | ||
|
||
\begin{code} | ||
|
||
{-# OPTIONS --safe --without-K --exact-split #-} | ||
|
||
module Fin.Dedekind where | ||
|
||
open import MLTT.Spartan | ||
open import UF.Embeddings | ||
open import UF.Equiv | ||
|
||
is-Dedekind-finite : 𝓤 ̇ → 𝓤 ̇ | ||
is-Dedekind-finite X = (f : X → X) → is-embedding f → is-equiv f | ||
|
||
\end{code} | ||
|
||
Notice that we replace the conclusion is-equiv f by is-surjection f to | ||
get an equivalent definition, because if an embedding is a surjection | ||
iff it is an equivalence, but this requires assuming propositional | ||
truncations. | ||
|
||
Example. The type Ω 𝓤 of propositions is Dedekind finite. | ||
|
||
\begin{code} | ||
|
||
open import UF.FunExt | ||
open import UF.Subsingletons | ||
open import UF.SubtypeClassifier | ||
open import Various.HiggsInvolutionTheorem | ||
|
||
Ω-is-Dedekind-finite : Fun-Ext → Prop-Ext → is-Dedekind-finite (Ω 𝓤) | ||
Ω-is-Dedekind-finite fe pe f f-is-embedding = qinvs-are-equivs f (f , h , h) | ||
where | ||
h : f ∘ f ∼ id | ||
h = higgs fe pe f (embeddings-are-lc f f-is-embedding) | ||
|
||
\end{code} | ||
|
||
Example. A weakly connected type (a type that is connected if it is | ||
inhabited), is Dedekind finite, so, for instance, the circle S¹ is | ||
Dedekind finite. | ||
|
||
\begin{code} | ||
|
||
open import CantorSchroederBernstein.CSB | ||
open import UF.PropTrunc | ||
|
||
module _ (pt : propositional-truncations-exist) where | ||
|
||
open import UF.Connected pt | ||
|
||
wconnected-types-are-Dedekind-finite : {X : 𝓤 ̇ } | ||
→ is-wconnected X | ||
→ is-Dedekind-finite X | ||
wconnected-types-are-Dedekind-finite = | ||
CSB-for-connected-types-without-EM.wconnected-types-are-Dedekind-finite pt | ||
|
||
|
||
|
||
\end{code} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,8 @@ We work with Ω of universe 𝓤: | |
|
||
\begin{code} | ||
|
||
Ω = Ω' 𝓤 | ||
private | ||
Ω = Ω' 𝓤 | ||
|
||
\end{code} | ||
|
||
|