Mercurial > hg > Members > kono > Proof > ZF-in-agda
annotate README.md @ 1324:1eefc6600354
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Jun 2023 18:49:13 +0900 |
parents | 42000f20fdbe |
children | 003424a36fed |
rev | line source |
---|---|
337 | 1 Constructing ZF Set Theory in Agda |
2 ============ | |
3 | |
4 Shinji KONO (kono@ie.u-ryukyu.ac.jp), University of the Ryukyus | |
5 | |
6 ## ZF in Agda | |
7 | |
1200 | 8 [zfc](https://shinji-kono.github.io/zf-in-agda/html/zfc.html) axiom of choice |
9 | |
10 [NSet](https://shinji-kono.github.io/zf-in-agda/html/NSet.html) Naive Set Theory | |
11 | |
12 [Ordinals](https://shinji-kono.github.io/zf-in-agda/html/Ordinals.html) axiom of Ordinals | |
13 | |
14 [OD](https://shinji-kono.github.io/zf-in-agda/html/OD.html) a model of ZF based on Ordinal Definable Set with assumptions | |
15 | |
16 [ODC](https://shinji-kono.github.io/zf-in-agda/html/ODC.html) Law of exclude middle from axiom of choice assumptions | |
17 | |
18 [LEMC](https://shinji-kono.github.io/zf-in-agda/html/LEMC.html) choice with assumption of the Law of exclude middle | |
19 | |
20 [BAlgebra](https://shinji-kono.github.io/zf-in-agda/html/BAlgebra.html) Boolean algebra on OD (not yet done) | |
21 | |
22 [zorn](https://shinji-kono.github.io/zf-in-agda/html/zorn.html) Zorn lemma | |
23 | |
24 [Topology](https://shinji-kono.github.io/zf-in-agda/html/Topology.html) Topology | |
337 | 25 |
1200 | 26 [Tychonoff](https://shinji-kono.github.io/zf-in-agda/html/Tychonoff.html) |
27 | |
28 [VL](https://shinji-kono.github.io/zf-in-agda/html/VL.html) V and L | |
29 | |
30 [cardinal](https://shinji-kono.github.io/zf-in-agda/html/cardinal.html) Cardinals | |
31 | |
32 [filter](https://shinji-kono.github.io/zf-in-agda/html/filter.html) Filter | |
337 | 33 |
1200 | 34 [generic-filter](https://shinji-kono.github.io/zf-in-agda/html/generic-filter.html) Generic Filter |
35 | |
36 [maximum-filter](https://shinji-kono.github.io/zf-in-agda/html/maximum-filter.html) Maximum filter by Zorn lemma | |
37 | |
38 [ordinal](https://shinji-kono.github.io/zf-in-agda/html/ordinal.html) countable model of Ordinals | |
39 | |
40 [OPair](https://shinji-kono.github.io/zf-in-agda/html/OPair.html) Orderd Pair and Direct Product | |
41 | |
42 | |
337 | 43 ``` |
44 | |
45 ## Ordinal Definable Set | |
46 | |
47 It is a predicate has an Ordinal argument. | |
48 | |
49 In Agda, OD is defined as follows. | |
50 | |
51 ``` | |
52 record OD : Set (suc n ) where | |
53 field | |
54 def : (x : Ordinal ) → Set n | |
55 ``` | |
56 | |
57 This is not a ZF Set, because it can contain entire Ordinals. | |
58 | |
338 | 59 ## HOD : Hereditarily Ordinal Definable |
337 | 60 |
61 What we need is a bounded OD, the containment is limited by an ordinal. | |
62 | |
63 ``` | |
64 record HOD : Set (suc n) where | |
65 field | |
66 od : OD | |
67 odmax : Ordinal | |
68 <odmax : {y : Ordinal} → def od y → y o< odmax | |
69 ``` | |
70 | |
71 In classical Set Theory, HOD stands for Hereditarily Ordinal Definable, which means | |
72 | |
73 ``` | |
74 HOD = { x | TC x ⊆ OD } | |
75 ``` | |
76 | |
77 TC x is all transitive closure of x, that is elements of x and following all elements of them are all OD. But | |
78 what is x? In this case, x is an Set which we don't have yet. In our case, HOD is a bounded OD. | |
79 | |
80 ## 1 to 1 mapping between an HOD and an Ordinal | |
81 | |
82 HOD is a predicate on Ordinals and the solution is bounded by some ordinal. If we have a mapping | |
83 | |
84 ``` | |
85 od→ord : HOD → Ordinal | |
86 ord→od : Ordinal → HOD | |
87 oiso : {x : HOD } → ord→od ( od→ord x ) ≡ x | |
88 diso : {x : Ordinal } → od→ord ( ord→od x ) ≡ x | |
89 ``` | |
90 | |
91 we can check an HOD is an element of the OD using def. | |
92 | |
93 A ∋ x can be define as follows. | |
94 | |
95 ``` | |
96 _∋_ : ( A x : HOD ) → Set n | |
97 _∋_ A x = def (od A) ( od→ord x ) | |
98 | |
99 ``` | |
431
a5f8084b8368
reorganiztion for apkg
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
359
diff
changeset
|
100 In ψ : Ordinal → Set, if A is a record { od = { def = λ x → ψ x } ...} , then |
337 | 101 |
431
a5f8084b8368
reorganiztion for apkg
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
359
diff
changeset
|
102 A ∋ x = def (od A) ( od→ord x ) = ψ (od→ord x) |
337 | 103 |
104 They say the existing of the mappings can be proved in Classical Set Theory, but we | |
105 simply assumes these non constructively. | |
106 |