-
Notifications
You must be signed in to change notification settings - Fork 0
/
continuity_pre.ftl
220 lines (144 loc) · 7.63 KB
/
continuity_pre.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
[read real-analysis/vocabulary.ftl]
[read vocabulary.ftl]
[read macros.ftl]
# Classes
Let S, T denote classes.
Let i, j denote objects.
Let j \in S denote j is an element of S.
Let j \notin S denote j is not an element of S.
Definition. A subclass of S is a class T such that every element of T belongs to S.
Let T \subseteq S denote T is a subclass of S.
Definition. S \cup T = { j | j \in S or j \in T }.
Definition. S \cap T = { j in S | j \in T }.
Definition. S \setminus T = { j in S | j \notin T }.
Definition. S is nonempty iff S has an element.
# Maps
Let f, g denote maps.
Definition Codomain. f is into S iff for any j \in Dom(f) we have f(j) \in S.
Definition Image. Suppose M \subseteq Dom(f). f[M] = { f(j) | j \in M }.
Definition Preimage. f^-1(S) = { j in Dom(f) | f(j) \in S }.
Definition Composition. Suppose f is into Dom(g). g \circ f is a map h
such that Dom(h) = Dom(f) and for any j \in Dom(f) we have g(f(j)) = h(j).
Definition Injective. f is injective iff for any i, j \in Dom(f) if f(i) = f(j) then i = j.
Definition Inverse. Suppose f is injective. inv(f) is a map g such that
f is into Dom(g) and Dom(g) = f[Dom(f)] and for all j \in Dom(f) g(f(j)) = j.
# Real Numbers
Signature. A real number is a mathematical object.
Let x, y, z denote real numbers.
Definition Real. Real is the collection of real numbers.
Axiom Subset. Any subclass of Real is a set.
Signature 1_12_A. x + y is a real number.
Axiom 1_12_A2. x + y = y + x.
Axiom 1_12_A3. (x + y) + z = x + (y + z).
Signature 1_12_A4. 0 is a real number such that for every real number x we have x + 0 = x.
Signature 1_12_A5. -x is a real number such that x + (-x) = 0.
Signature 1_12_M. x * y is a real number.
Axiom 1_12_M2. x * y = y * x.
Axiom 1_12_M3. (x * y) * z = x * (y * z).
Signature 1_12_M4. 1 is a real number such that 1 != 0
and for every real number x we have x * 1 = x.
Signature 1_12_M5. Assume x != 0. 1/x is a real number such that x * 1/x = 1.
Axiom 1_12_D. x * (y + z) = (x * y) + (x * z).
Axiom 1_14. If x + y = x + z then y = z.
Axiom 1_15. If x != 0 and x * y = x * z then y = z.
Let x - y denote x + (-y).
Let x // y denote x * 1/y.
# Order
Signature 1_5. x < y is an atom.
Let x > y denote y < x.
Let x <= y denote x < y or x = y.
Let x >= y denote y <= x.
Axiom 1_5_a. not x < x.
Axiom 1_5_b. If x < y and y < z then x < z.
Axiom 1_5_c. If x != y then x < y or y < x.
Axiom 1_17. If x < y then x + z < y + z.
Axiom 1_18. If z > 0 and x < y then x * z < y * z.
Axiom 1_20. If y > 0 then there exists x such that x > 0 and x + x = y.
Let x is positive denote x > 0.
Let x is negative denote x < 0.
# Upper and Lower Bounds
Let E denote a subclass of Real.
Definition 1_7a. An upper bound of E is a real number p such that for all x \in E x <= p.
Let E is bounded above denote E has an upper bound.
Definition 1_7b. A lower bound of E is a real number p such that for all x \in E x >= p.
Let E is bounded below denote E has a lower bound.
Definition 1_7c. E is bounded iff E is bounded above and bounded below.
Definition 1_8a. A supremum of E is a real number p such that
p is an upper bound of E and for all x if x < p then x is not an upper bound of E.
Definition 1_8b. An infimum of E is a real number p such that
p is a lower bound of E and for all x if x > p then x is not a lower bound of E.
# Natural Numbers.
Signature. A natural number is a real number.
Let m, n denote natural numbers.
Definition Natural. Natural is the collection of natural numbers.
Axiom. 1 is a natural number.
Axiom. m + 1 is a natural number.
Axiom. If n > 1 then there exists m such that m + 1 = n.
Axiom. n >= 1.
# Real Maps
Definition RealMap. A real map is a map f such that Dom(f) \subseteq Real and f is into Real.
Definition Addition. Suppose f, g are real maps such that Dom(f) = Dom(g).
f ++ g is a map h such that Dom(h) = Dom(f) and for any x \in Dom(h) we have h(x) = f(x) + g(x).
Definition Multiplication. Suppose f, g are real maps such that Dom(f) = Dom(g).
f ** g is a map h such that Dom(h) = Dom(f) and for any x \in Dom(h) we have h(x) = f(x) * g(x).
Definition Division. Suppose f is a real map. Suppose for any x \in Dom(f) f(x) != 0.
1|/|f is a map g such that Dom(g) = Dom(f) and for any x \in Dom(g) we have g(x) = 1/f(x).
Let f |//| g denote f ** 1|/|g.
# Metric
Signature Distance. d(x,y) is a real number.
Axiom d1. d(x,y) = 0 iff x = y.
Axiom d2. d(x,y) = d(y,x).
Axiom d3. d(x,z) <= d(x,y) + d(y,z).
Axiom d4. d(x,y) >= 0.
Axiom d5. If x > 0 then d(x,0) = x.
# Sequences
Definition Sequence. A sequence is a map a such that Dom(a) = Natural and a is into Real.
Let a, b denote sequences.
Let eps, del denote positive real numbers.
Let N denote a natural number.
Axiom Min. Suppose N > 1.
There exists n such that n < N and for all m if m < N then a(n) <= a(m).
Definition Convergence. a converges to x iff for any eps
there exists N such that for any n if n > N then d(a(n),x) < eps.
Definition UneqConv. a unequally converges to x iff for any eps
there exists N such that for any n if n > N then 0 < d(a(n),x) < eps.
Axiom 1_n. There exists a sequence a such that a converges to 0 and for all n a(n) > 0.
Axiom 3_2. Suppose a converges to x and a converges to y. Then x = y.
Axiom 3_3a. Suppose a converges to x and b converges to y. Then a ++ b converges to x + y.
Axiom 3_3b. Suppose a converges to x and b converges to y. Then a ** b converges to x * y.
Axiom 3_3c. Suppose for any n a(n) != 0.
Suppose a converges to x and x != 0. Then 1|/|a converges to 1/x.
# Basic Topology
Definition LimitPoint. A limit point of E is a real number p such that
there exists a sequence a such that a is into E and a unequally converges to p.
Definition ClosurePoint. A closure point of E is a real number p such that
there exists a sequence a such that a is into E and a converges to p.
Axiom 2_18. Suppose y is not a limit point of E.
Then there exists eps such that for all x if 0 < d(x,y) < eps then x \notin E.
Definition Open. Let U \subseteq E. U is open in E iff
for any x \in U there exists eps such that for any y \in E if d(x,y) < eps then y \in U.
Definition Closed. Let V \subseteq E. V is closed in E iff E \setminus V is open in E.
Axiom 2_29a. Let F, V \subseteq E. Suppose V is open in E. Then V \cap F is open in F.
Axiom 2_29b. Let F, V \subseteq E. Suppose V is closed in E. Then V \cap F is closed in F.
Definition Neighborhood. nbhd(y,eps) = { x in Real | d(x,y) < eps }.
Axiom 2_19. nbhd(y,eps) is open in Real.
# Compactness
Definition OpenCover. A neighborhood cover of E is a map G such that Dom(G) = E
and for any x \in E G(x) \subseteq E and G(x) is open in E and x \in G(x).
Definition FiniteSubcover. Let G be a neighborhood cover of E.
A finite subcover of G on E is a sequence a such that a is into E and there exists N
such that N > 1 and for any x \in E there exists n such that n < N and x \in G(a(n)).
Definition Compact. E is compact iff
for any neighborhood cover G of E there exists a finite subcover of G on E.
Axiom 2_28. Suppose E is nonempty and compact.
There exist p, q \in E such that p is the supremum of E and q is the infimum of E.
Axiom 2_35. Suppose E is compact. Suppose V \subseteq E and V is closed in E. Then V is compact.
Axiom 2_41. E is compact iff E is bounded and closed in Real.
# Connectedness
Definition Separated. Let A, B \subseteq Real. A and B are separated iff
any closure point of A is not in B and any closure point of B is not in A.
Definition Connected. E is connected iff
for any nonempty A, B \subseteq Real if E = A \cup B then A and B are not separated.
Axiom 2_47. E is connected iff for any x, y \in E for any z if x < z < y then z \in E.
# Consistency check
# [prove on][timelimit 20] Lemma. Contradiction.