Skip to content

Commit 85e56e1

Browse files
Page for 1000+ theorems (#1324)
Related to #1322 and #1214.
1 parent 08e7ad6 commit 85e56e1

11 files changed

+641
-425
lines changed

src/category-theory/yoneda-lemma-categories.lagda.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ open import foundation.universe-levels
2222

2323
## Idea
2424

25-
Given a [category](category-theory.categories.md) `C`, an object `c`, and a
26-
[functor](category-theory.functors-categories.md) `F` from `C` to the
25+
The
26+
{{#concept "Yoneda lemma" Disambiguation="for set-level categories" WD="Yoneda lemma" WDID=Q320577 Agda=lemma-yoneda-Category}}
27+
states that, given a [category](category-theory.categories.md) `C`, an object
28+
`c`, and a [functor](category-theory.functors-categories.md) `F` from `C` to the
2729
[category of sets](foundation.category-of-sets.md)
2830

2931
```text
@@ -40,9 +42,9 @@ from the functor
4042
Nat(Hom(c , -) , F) ≃ F c
4143
```
4244

43-
More precisely, the **Yoneda lemma** asserts that the map from the type of
44-
natural transformations to the type `F c` defined by evaluating the component of
45-
the natural transformation at the object `c` at the identity arrow on `c` is an
45+
More precisely, the Yoneda lemma asserts that the map from the type of natural
46+
transformations to the type `F c` defined by evaluating the component of the
47+
natural transformation at the object `c` at the identity arrow on `c` is an
4648
equivalence.
4749

4850
## Theorem

src/category-theory/yoneda-lemma-precategories.lagda.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ open import foundation.universe-levels
2929

3030
## Idea
3131

32-
Given a [precategory](category-theory.precategories.md) `C`, an object `c`, and
33-
a [functor](category-theory.functors-precategories.md) `F` from `C` to the
34-
[category of sets](foundation.category-of-sets.md)
32+
The
33+
{{#concept "Yoneda lemma" Disambiguation="for set-level precategories" WD="Yoneda lemma" WDID=Q320577 Agda=lemma-yoneda-Precategory}}
34+
states that, given a [precategory](category-theory.precategories.md) `C`, an
35+
object `c`, and a [functor](category-theory.functors-precategories.md) `F` from
36+
`C` to the [category of sets](foundation.category-of-sets.md)
3537

3638
```text
3739
F : C → Set,
@@ -47,9 +49,9 @@ from the functor
4749
Nat(Hom(c , -) , F) ≃ F c
4850
```
4951

50-
More precisely, the **Yoneda lemma** asserts that the map from the type of
51-
natural transformations to the type `F c` defined by evaluating the component of
52-
the natural transformation at the object `c` at the identity arrow on `c` is an
52+
More precisely, the Yoneda lemma asserts that the map from the type of natural
53+
transformations to the type `F c` defined by evaluating the component of the
54+
natural transformation at the object `c` at the identity arrow on `c` is an
5355
equivalence.
5456

5557
## Theorem

src/elementary-number-theory/infinitude-of-primes.lagda.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ the
4242
that there are infinitely many
4343
[primes](elementary-number-theory.prime-numbers.md). Consequently we obtain the
4444
function that returns for each `n` the `n`-th prime, and we obtain the function
45-
that counts the number of primes below a number `n`.
45+
that counts the number of primes below a number `n`. This result is known as
46+
{{#concept "Euclid's theorem" WD="Euclid's theorem" WDID=Q1506253 Agda=infinitude-of-primes-ℕ}}
4647

4748
The infinitude of primes is the [11th](literature.100-theorems.md#11) theorem on
4849
[Freek Wiedijk](http://www.cs.ru.nl/F.Wiedijk/)'s list of
@@ -188,3 +189,8 @@ prime-counting-ℕ (succ-ℕ n) =
188189
## References
189190

190191
{{#bibliography}}
192+
193+
## External links
194+
195+
- [Euclid's theorem](https://en.wikipedia.org/wiki/Euclid%27s_theorem) on
196+
Wikipedia

src/foundation-core/equivalence-relations.lagda.md

+64
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ module foundation-core.equivalence-relations where
99
```agda
1010
open import foundation.binary-relations
1111
open import foundation.dependent-pair-types
12+
open import foundation.fundamental-theorem-of-identity-types
1213
open import foundation.inhabited-subtypes
1314
open import foundation.logical-equivalences
1415
open import foundation.propositional-truncations
16+
open import foundation.subtype-identity-principle
1517
open import foundation.unit-type
1618
open import foundation.universe-levels
1719
1820
open import foundation-core.cartesian-product-types
1921
open import foundation-core.equivalences
22+
open import foundation-core.identity-types
2023
open import foundation-core.propositions
24+
open import foundation-core.torsorial-type-families
2125
```
2226

2327
</details>
@@ -200,3 +204,63 @@ pr1 (pr2 (pr2 (raise-indiscrete-equivalence-relation l A))) _ _ _ = raise-star
200204
pr2 (pr2 (pr2 (raise-indiscrete-equivalence-relation l A))) _ _ _ _ _ =
201205
raise-star
202206
```
207+
208+
### Characterization of equality in the type of equivalence relations
209+
210+
```agda
211+
relate-same-elements-equivalence-relation :
212+
{l1 l2 l3 : Level} {A : UU l1} →
213+
equivalence-relation l2 A → equivalence-relation l3 A → UU (l1 ⊔ l2 ⊔ l3)
214+
relate-same-elements-equivalence-relation R S =
215+
relates-same-elements-Relation-Prop
216+
( prop-equivalence-relation R)
217+
( prop-equivalence-relation S)
218+
219+
module _
220+
{l1 l2 : Level} {A : UU l1} (R : equivalence-relation l2 A)
221+
where
222+
223+
refl-relate-same-elements-equivalence-relation :
224+
relate-same-elements-equivalence-relation R R
225+
refl-relate-same-elements-equivalence-relation =
226+
refl-relates-same-elements-Relation-Prop (prop-equivalence-relation R)
227+
228+
is-torsorial-relate-same-elements-equivalence-relation :
229+
is-torsorial (relate-same-elements-equivalence-relation R)
230+
is-torsorial-relate-same-elements-equivalence-relation =
231+
is-torsorial-Eq-subtype
232+
( is-torsorial-relates-same-elements-Relation-Prop
233+
( prop-equivalence-relation R))
234+
( is-prop-is-equivalence-relation)
235+
( prop-equivalence-relation R)
236+
( refl-relate-same-elements-equivalence-relation)
237+
( is-equivalence-relation-prop-equivalence-relation R)
238+
239+
relate-same-elements-eq-equivalence-relation :
240+
(S : equivalence-relation l2 A) →
241+
(R = S) → relate-same-elements-equivalence-relation R S
242+
relate-same-elements-eq-equivalence-relation .R refl =
243+
refl-relate-same-elements-equivalence-relation
244+
245+
is-equiv-relate-same-elements-eq-equivalence-relation :
246+
(S : equivalence-relation l2 A) →
247+
is-equiv (relate-same-elements-eq-equivalence-relation S)
248+
is-equiv-relate-same-elements-eq-equivalence-relation =
249+
fundamental-theorem-id
250+
is-torsorial-relate-same-elements-equivalence-relation
251+
relate-same-elements-eq-equivalence-relation
252+
253+
extensionality-equivalence-relation :
254+
(S : equivalence-relation l2 A) →
255+
(R = S) ≃ relate-same-elements-equivalence-relation R S
256+
pr1 (extensionality-equivalence-relation S) =
257+
relate-same-elements-eq-equivalence-relation S
258+
pr2 (extensionality-equivalence-relation S) =
259+
is-equiv-relate-same-elements-eq-equivalence-relation S
260+
261+
eq-relate-same-elements-equivalence-relation :
262+
(S : equivalence-relation l2 A) →
263+
relate-same-elements-equivalence-relation R S → (R = S)
264+
eq-relate-same-elements-equivalence-relation S =
265+
map-inv-equiv (extensionality-equivalence-relation S)
266+
```

src/foundation.lagda.md

+1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ open import foundation.functoriality-sequential-limits public
213213
open import foundation.functoriality-set-quotients public
214214
open import foundation.functoriality-set-truncation public
215215
open import foundation.functoriality-truncation public
216+
open import foundation.fundamental-theorem-of-equivalence-relations public
216217
open import foundation.fundamental-theorem-of-identity-types public
217218
open import foundation.global-choice public
218219
open import foundation.global-subuniverses public

0 commit comments

Comments
 (0)