:: NUMBERS semantic presentation
E1: one =
succ 0
by ORDINAL2:def 4
.=
1
;
:: deftheorem Def1 defines REAL NUMBERS:def 1 :
Lemma2:
REAL+ c= REAL
definition
func COMPLEX -> set equals :: NUMBERS:def 2
((Funcs {0,one },REAL ) \ { b1 where B is Element of Funcs {0,one },REAL : b1 . one = 0 } ) \/ REAL ;
coherence
((Funcs {0,one },REAL ) \ { b1 where B is Element of Funcs {0,one },REAL : b1 . one = 0 } ) \/ REAL is set
;
func RAT -> set equals :: NUMBERS:def 3
(RAT+ \/ [:{0},RAT+ :]) \ {[0,0]};
coherence
(RAT+ \/ [:{0},RAT+ :]) \ {[0,0]} is set
;
func INT -> set equals :: NUMBERS:def 4
(NAT \/ [:{0},NAT :]) \ {[0,0]};
coherence
(NAT \/ [:{0},NAT :]) \ {[0,0]} is set
;
redefine func NAT as
NAT -> Subset of
REAL ;
coherence
NAT is Subset of REAL
by Lemma2, ARYTM_2:2, XBOOLE_1:1;
end;
:: deftheorem Def2 defines COMPLEX NUMBERS:def 2 :
:: deftheorem Def3 defines RAT NUMBERS:def 3 :
:: deftheorem Def4 defines INT NUMBERS:def 4 :
Lemma3:
RAT+ c= RAT
Lemma4:
NAT c= INT
Lemma5:
for b1, b2, b3 being set st [b1,b2] = {b3} holds
( b3 = {b1} & b1 = b2 )
Lemma6:
for b1, b2 being Element of REAL holds not 0,one --> b1,b2 in REAL
theorem Th1: :: NUMBERS:1
Lemma8:
RAT c= REAL
Lemma9:
for b1, b2 being ordinal Element of RAT+ st b1 in b2 holds
b1 < b2
Lemma10:
for b1, b2 being ordinal Element of RAT+ st b1 c= b2 holds
b1 <=' b2
E11: 2 =
succ 1
.=
(succ 0) \/ {1}
by ORDINAL1:def 1
.=
(0 \/ {0}) \/ {1}
by ORDINAL1:def 1
.=
{0,1}
by ENUMSET1:41
;
Lemma12:
for b1, b2 being natural Ordinal st b1 *^ b1 = 2 *^ b2 holds
ex b3 being natural Ordinal st b1 = 2 *^ b3
1 in omega
;
then reconsider c1 = 1 as Element of RAT+ by ARYTM_3:34;
2 in omega
;
then reconsider c2 = 2 as ordinal Element of RAT+ by ARYTM_3:34;
Lemma13:
one + one = c2
Lemma14:
for b1 being Element of RAT+ holds b1 + b1 = c2 *' b1
theorem Th2: :: NUMBERS:2
theorem Th3: :: NUMBERS:3
Lemma17:
INT c= RAT
theorem Th4: :: NUMBERS:4
theorem Th5: :: NUMBERS:5
theorem Th6: :: NUMBERS:6
theorem Th7: :: NUMBERS:7
theorem Th8: :: NUMBERS:8
theorem Th9: :: NUMBERS:9
theorem Th10: :: NUMBERS:10
theorem Th11: :: NUMBERS:11
theorem Th12: :: NUMBERS:12
theorem Th13: :: NUMBERS:13
theorem Th14: :: NUMBERS:14
theorem Th15: :: NUMBERS:15
theorem Th16: :: NUMBERS:16
theorem Th17: :: NUMBERS:17
theorem Th18: :: NUMBERS:18
theorem Th19: :: NUMBERS:19
theorem Th20: :: NUMBERS:20
theorem Th21: :: NUMBERS:21
theorem Th22: :: NUMBERS:22
theorem Th23: :: NUMBERS:23
theorem Th24: :: NUMBERS:24
theorem Th25: :: NUMBERS:25
theorem Th26: :: NUMBERS:26
theorem Th27: :: NUMBERS:27
theorem Th28: :: NUMBERS:28
theorem Th29: :: NUMBERS:29
theorem Th30: :: NUMBERS:30