begin
definition
func compcomplex -> UnOp of
COMPLEX means
for
c being
complex number holds
it . c = - c;
existence
ex b1 being UnOp of COMPLEX st
for c being complex number holds b1 . c = - c
from BINOP_2:sch 18();
uniqueness
for b1, b2 being UnOp of COMPLEX st ( for c being complex number holds b1 . c = - c ) & ( for c being complex number holds b2 . c = - c ) holds
b1 = b2
from BINOP_2:sch 3();
func invcomplex -> UnOp of
COMPLEX means
for
c being
complex number holds
it . c = c " ;
existence
ex b1 being UnOp of COMPLEX st
for c being complex number holds b1 . c = c "
from BINOP_2:sch 18();
uniqueness
for b1, b2 being UnOp of COMPLEX st ( for c being complex number holds b1 . c = c " ) & ( for c being complex number holds b2 . c = c " ) holds
b1 = b2
from BINOP_2:sch 3();
func addcomplex -> BinOp of
COMPLEX means :
Def3:
for
c1,
c2 being
complex number holds
it . (
c1,
c2)
= c1 + c2;
existence
ex b1 being BinOp of COMPLEX st
for c1, c2 being complex number holds b1 . (c1,c2) = c1 + c2
from BINOP_2:sch 13();
uniqueness
for b1, b2 being BinOp of COMPLEX st ( for c1, c2 being complex number holds b1 . (c1,c2) = c1 + c2 ) & ( for c1, c2 being complex number holds b2 . (c1,c2) = c1 + c2 ) holds
b1 = b2
from BINOP_2:sch 8();
func diffcomplex -> BinOp of
COMPLEX means
for
c1,
c2 being
complex number holds
it . (
c1,
c2)
= c1 - c2;
existence
ex b1 being BinOp of COMPLEX st
for c1, c2 being complex number holds b1 . (c1,c2) = c1 - c2
from BINOP_2:sch 13();
uniqueness
for b1, b2 being BinOp of COMPLEX st ( for c1, c2 being complex number holds b1 . (c1,c2) = c1 - c2 ) & ( for c1, c2 being complex number holds b2 . (c1,c2) = c1 - c2 ) holds
b1 = b2
from BINOP_2:sch 8();
func multcomplex -> BinOp of
COMPLEX means :
Def5:
for
c1,
c2 being
complex number holds
it . (
c1,
c2)
= c1 * c2;
existence
ex b1 being BinOp of COMPLEX st
for c1, c2 being complex number holds b1 . (c1,c2) = c1 * c2
from BINOP_2:sch 13();
uniqueness
for b1, b2 being BinOp of COMPLEX st ( for c1, c2 being complex number holds b1 . (c1,c2) = c1 * c2 ) & ( for c1, c2 being complex number holds b2 . (c1,c2) = c1 * c2 ) holds
b1 = b2
from BINOP_2:sch 8();
func divcomplex -> BinOp of
COMPLEX means
for
c1,
c2 being
complex number holds
it . (
c1,
c2)
= c1 / c2;
existence
ex b1 being BinOp of COMPLEX st
for c1, c2 being complex number holds b1 . (c1,c2) = c1 / c2
from BINOP_2:sch 13();
uniqueness
for b1, b2 being BinOp of COMPLEX st ( for c1, c2 being complex number holds b1 . (c1,c2) = c1 / c2 ) & ( for c1, c2 being complex number holds b2 . (c1,c2) = c1 / c2 ) holds
b1 = b2
from BINOP_2:sch 8();
end;
:: deftheorem defines compcomplex BINOP_2:def 1 :
for b1 being UnOp of COMPLEX holds
( b1 = compcomplex iff for c being complex number holds b1 . c = - c );
:: deftheorem defines invcomplex BINOP_2:def 2 :
for b1 being UnOp of COMPLEX holds
( b1 = invcomplex iff for c being complex number holds b1 . c = c " );
:: deftheorem Def3 defines addcomplex BINOP_2:def 3 :
for b1 being BinOp of COMPLEX holds
( b1 = addcomplex iff for c1, c2 being complex number holds b1 . (c1,c2) = c1 + c2 );
:: deftheorem defines diffcomplex BINOP_2:def 4 :
for b1 being BinOp of COMPLEX holds
( b1 = diffcomplex iff for c1, c2 being complex number holds b1 . (c1,c2) = c1 - c2 );
:: deftheorem Def5 defines multcomplex BINOP_2:def 5 :
for b1 being BinOp of COMPLEX holds
( b1 = multcomplex iff for c1, c2 being complex number holds b1 . (c1,c2) = c1 * c2 );
:: deftheorem defines divcomplex BINOP_2:def 6 :
for b1 being BinOp of COMPLEX holds
( b1 = divcomplex iff for c1, c2 being complex number holds b1 . (c1,c2) = c1 / c2 );
definition
func compreal -> UnOp of
REAL means
for
r being
real number holds
it . r = - r;
existence
ex b1 being UnOp of REAL st
for r being real number holds b1 . r = - r
from BINOP_2:sch 19();
uniqueness
for b1, b2 being UnOp of REAL st ( for r being real number holds b1 . r = - r ) & ( for r being real number holds b2 . r = - r ) holds
b1 = b2
from BINOP_2:sch 4();
func invreal -> UnOp of
REAL means
for
r being
real number holds
it . r = r " ;
existence
ex b1 being UnOp of REAL st
for r being real number holds b1 . r = r "
from BINOP_2:sch 19();
uniqueness
for b1, b2 being UnOp of REAL st ( for r being real number holds b1 . r = r " ) & ( for r being real number holds b2 . r = r " ) holds
b1 = b2
from BINOP_2:sch 4();
func addreal -> BinOp of
REAL means :
Def9:
for
r1,
r2 being
real number holds
it . (
r1,
r2)
= r1 + r2;
existence
ex b1 being BinOp of REAL st
for r1, r2 being real number holds b1 . (r1,r2) = r1 + r2
from BINOP_2:sch 14();
uniqueness
for b1, b2 being BinOp of REAL st ( for r1, r2 being real number holds b1 . (r1,r2) = r1 + r2 ) & ( for r1, r2 being real number holds b2 . (r1,r2) = r1 + r2 ) holds
b1 = b2
from BINOP_2:sch 9();
func diffreal -> BinOp of
REAL means
for
r1,
r2 being
real number holds
it . (
r1,
r2)
= r1 - r2;
existence
ex b1 being BinOp of REAL st
for r1, r2 being real number holds b1 . (r1,r2) = r1 - r2
from BINOP_2:sch 14();
uniqueness
for b1, b2 being BinOp of REAL st ( for r1, r2 being real number holds b1 . (r1,r2) = r1 - r2 ) & ( for r1, r2 being real number holds b2 . (r1,r2) = r1 - r2 ) holds
b1 = b2
from BINOP_2:sch 9();
func multreal -> BinOp of
REAL means :
Def11:
for
r1,
r2 being
real number holds
it . (
r1,
r2)
= r1 * r2;
existence
ex b1 being BinOp of REAL st
for r1, r2 being real number holds b1 . (r1,r2) = r1 * r2
from BINOP_2:sch 14();
uniqueness
for b1, b2 being BinOp of REAL st ( for r1, r2 being real number holds b1 . (r1,r2) = r1 * r2 ) & ( for r1, r2 being real number holds b2 . (r1,r2) = r1 * r2 ) holds
b1 = b2
from BINOP_2:sch 9();
func divreal -> BinOp of
REAL means
for
r1,
r2 being
real number holds
it . (
r1,
r2)
= r1 / r2;
existence
ex b1 being BinOp of REAL st
for r1, r2 being real number holds b1 . (r1,r2) = r1 / r2
from BINOP_2:sch 14();
uniqueness
for b1, b2 being BinOp of REAL st ( for r1, r2 being real number holds b1 . (r1,r2) = r1 / r2 ) & ( for r1, r2 being real number holds b2 . (r1,r2) = r1 / r2 ) holds
b1 = b2
from BINOP_2:sch 9();
end;
:: deftheorem defines compreal BINOP_2:def 7 :
for b1 being UnOp of REAL holds
( b1 = compreal iff for r being real number holds b1 . r = - r );
:: deftheorem defines invreal BINOP_2:def 8 :
for b1 being UnOp of REAL holds
( b1 = invreal iff for r being real number holds b1 . r = r " );
:: deftheorem Def9 defines addreal BINOP_2:def 9 :
for b1 being BinOp of REAL holds
( b1 = addreal iff for r1, r2 being real number holds b1 . (r1,r2) = r1 + r2 );
:: deftheorem defines diffreal BINOP_2:def 10 :
for b1 being BinOp of REAL holds
( b1 = diffreal iff for r1, r2 being real number holds b1 . (r1,r2) = r1 - r2 );
:: deftheorem Def11 defines multreal BINOP_2:def 11 :
for b1 being BinOp of REAL holds
( b1 = multreal iff for r1, r2 being real number holds b1 . (r1,r2) = r1 * r2 );
:: deftheorem defines divreal BINOP_2:def 12 :
for b1 being BinOp of REAL holds
( b1 = divreal iff for r1, r2 being real number holds b1 . (r1,r2) = r1 / r2 );
definition
func comprat -> UnOp of
RAT means
for
w being
rational number holds
it . w = - w;
existence
ex b1 being UnOp of RAT st
for w being rational number holds b1 . w = - w
from BINOP_2:sch 20();
uniqueness
for b1, b2 being UnOp of RAT st ( for w being rational number holds b1 . w = - w ) & ( for w being rational number holds b2 . w = - w ) holds
b1 = b2
from BINOP_2:sch 5();
func invrat -> UnOp of
RAT means
for
w being
rational number holds
it . w = w " ;
existence
ex b1 being UnOp of RAT st
for w being rational number holds b1 . w = w "
from BINOP_2:sch 20();
uniqueness
for b1, b2 being UnOp of RAT st ( for w being rational number holds b1 . w = w " ) & ( for w being rational number holds b2 . w = w " ) holds
b1 = b2
from BINOP_2:sch 5();
func addrat -> BinOp of
RAT means :
Def15:
for
w1,
w2 being
rational number holds
it . (
w1,
w2)
= w1 + w2;
existence
ex b1 being BinOp of RAT st
for w1, w2 being rational number holds b1 . (w1,w2) = w1 + w2
from BINOP_2:sch 15();
uniqueness
for b1, b2 being BinOp of RAT st ( for w1, w2 being rational number holds b1 . (w1,w2) = w1 + w2 ) & ( for w1, w2 being rational number holds b2 . (w1,w2) = w1 + w2 ) holds
b1 = b2
from BINOP_2:sch 10();
func diffrat -> BinOp of
RAT means
for
w1,
w2 being
rational number holds
it . (
w1,
w2)
= w1 - w2;
existence
ex b1 being BinOp of RAT st
for w1, w2 being rational number holds b1 . (w1,w2) = w1 - w2
from BINOP_2:sch 15();
uniqueness
for b1, b2 being BinOp of RAT st ( for w1, w2 being rational number holds b1 . (w1,w2) = w1 - w2 ) & ( for w1, w2 being rational number holds b2 . (w1,w2) = w1 - w2 ) holds
b1 = b2
from BINOP_2:sch 10();
func multrat -> BinOp of
RAT means :
Def17:
for
w1,
w2 being
rational number holds
it . (
w1,
w2)
= w1 * w2;
existence
ex b1 being BinOp of RAT st
for w1, w2 being rational number holds b1 . (w1,w2) = w1 * w2
from BINOP_2:sch 15();
uniqueness
for b1, b2 being BinOp of RAT st ( for w1, w2 being rational number holds b1 . (w1,w2) = w1 * w2 ) & ( for w1, w2 being rational number holds b2 . (w1,w2) = w1 * w2 ) holds
b1 = b2
from BINOP_2:sch 10();
func divrat -> BinOp of
RAT means
for
w1,
w2 being
rational number holds
it . (
w1,
w2)
= w1 / w2;
existence
ex b1 being BinOp of RAT st
for w1, w2 being rational number holds b1 . (w1,w2) = w1 / w2
from BINOP_2:sch 15();
uniqueness
for b1, b2 being BinOp of RAT st ( for w1, w2 being rational number holds b1 . (w1,w2) = w1 / w2 ) & ( for w1, w2 being rational number holds b2 . (w1,w2) = w1 / w2 ) holds
b1 = b2
from BINOP_2:sch 10();
end;
:: deftheorem defines comprat BINOP_2:def 13 :
for b1 being UnOp of RAT holds
( b1 = comprat iff for w being rational number holds b1 . w = - w );
:: deftheorem defines invrat BINOP_2:def 14 :
for b1 being UnOp of RAT holds
( b1 = invrat iff for w being rational number holds b1 . w = w " );
:: deftheorem Def15 defines addrat BINOP_2:def 15 :
for b1 being BinOp of RAT holds
( b1 = addrat iff for w1, w2 being rational number holds b1 . (w1,w2) = w1 + w2 );
:: deftheorem defines diffrat BINOP_2:def 16 :
for b1 being BinOp of RAT holds
( b1 = diffrat iff for w1, w2 being rational number holds b1 . (w1,w2) = w1 - w2 );
:: deftheorem Def17 defines multrat BINOP_2:def 17 :
for b1 being BinOp of RAT holds
( b1 = multrat iff for w1, w2 being rational number holds b1 . (w1,w2) = w1 * w2 );
:: deftheorem defines divrat BINOP_2:def 18 :
for b1 being BinOp of RAT holds
( b1 = divrat iff for w1, w2 being rational number holds b1 . (w1,w2) = w1 / w2 );
definition
func compint -> UnOp of
INT means
for
i being
integer number holds
it . i = - i;
existence
ex b1 being UnOp of INT st
for i being integer number holds b1 . i = - i
from BINOP_2:sch 21();
uniqueness
for b1, b2 being UnOp of INT st ( for i being integer number holds b1 . i = - i ) & ( for i being integer number holds b2 . i = - i ) holds
b1 = b2
from BINOP_2:sch 6();
func addint -> BinOp of
INT means :
Def20:
for
i1,
i2 being
integer number holds
it . (
i1,
i2)
= i1 + i2;
existence
ex b1 being BinOp of INT st
for i1, i2 being integer number holds b1 . (i1,i2) = i1 + i2
from BINOP_2:sch 16();
uniqueness
for b1, b2 being BinOp of INT st ( for i1, i2 being integer number holds b1 . (i1,i2) = i1 + i2 ) & ( for i1, i2 being integer number holds b2 . (i1,i2) = i1 + i2 ) holds
b1 = b2
from BINOP_2:sch 11();
func diffint -> BinOp of
INT means
for
i1,
i2 being
integer number holds
it . (
i1,
i2)
= i1 - i2;
existence
ex b1 being BinOp of INT st
for i1, i2 being integer number holds b1 . (i1,i2) = i1 - i2
from BINOP_2:sch 16();
uniqueness
for b1, b2 being BinOp of INT st ( for i1, i2 being integer number holds b1 . (i1,i2) = i1 - i2 ) & ( for i1, i2 being integer number holds b2 . (i1,i2) = i1 - i2 ) holds
b1 = b2
from BINOP_2:sch 11();
func multint -> BinOp of
INT means :
Def22:
for
i1,
i2 being
integer number holds
it . (
i1,
i2)
= i1 * i2;
existence
ex b1 being BinOp of INT st
for i1, i2 being integer number holds b1 . (i1,i2) = i1 * i2
from BINOP_2:sch 16();
uniqueness
for b1, b2 being BinOp of INT st ( for i1, i2 being integer number holds b1 . (i1,i2) = i1 * i2 ) & ( for i1, i2 being integer number holds b2 . (i1,i2) = i1 * i2 ) holds
b1 = b2
from BINOP_2:sch 11();
end;
:: deftheorem defines compint BINOP_2:def 19 :
for b1 being UnOp of INT holds
( b1 = compint iff for i being integer number holds b1 . i = - i );
:: deftheorem Def20 defines addint BINOP_2:def 20 :
for b1 being BinOp of INT holds
( b1 = addint iff for i1, i2 being integer number holds b1 . (i1,i2) = i1 + i2 );
:: deftheorem defines diffint BINOP_2:def 21 :
for b1 being BinOp of INT holds
( b1 = diffint iff for i1, i2 being integer number holds b1 . (i1,i2) = i1 - i2 );
:: deftheorem Def22 defines multint BINOP_2:def 22 :
for b1 being BinOp of INT holds
( b1 = multint iff for i1, i2 being integer number holds b1 . (i1,i2) = i1 * i2 );
definition
func addnat -> BinOp of
NAT means :
Def23:
for
n1,
n2 being
natural number holds
it . (
n1,
n2)
= n1 + n2;
existence
ex b1 being BinOp of NAT st
for n1, n2 being natural number holds b1 . (n1,n2) = n1 + n2
from BINOP_2:sch 17();
uniqueness
for b1, b2 being BinOp of NAT st ( for n1, n2 being natural number holds b1 . (n1,n2) = n1 + n2 ) & ( for n1, n2 being natural number holds b2 . (n1,n2) = n1 + n2 ) holds
b1 = b2
from BINOP_2:sch 12();
func multnat -> BinOp of
NAT means :
Def24:
for
n1,
n2 being
natural number holds
it . (
n1,
n2)
= n1 * n2;
existence
ex b1 being BinOp of NAT st
for n1, n2 being natural number holds b1 . (n1,n2) = n1 * n2
from BINOP_2:sch 17();
uniqueness
for b1, b2 being BinOp of NAT st ( for n1, n2 being natural number holds b1 . (n1,n2) = n1 * n2 ) & ( for n1, n2 being natural number holds b2 . (n1,n2) = n1 * n2 ) holds
b1 = b2
from BINOP_2:sch 12();
end;
:: deftheorem Def23 defines addnat BINOP_2:def 23 :
for b1 being BinOp of NAT holds
( b1 = addnat iff for n1, n2 being natural number holds b1 . (n1,n2) = n1 + n2 );
:: deftheorem Def24 defines multnat BINOP_2:def 24 :
for b1 being BinOp of NAT holds
( b1 = multnat iff for n1, n2 being natural number holds b1 . (n1,n2) = n1 * n2 );
Lm1:
0 in NAT
;
then reconsider z = 0 as Element of COMPLEX by NUMBERS:20;
Lm2:
z is_a_unity_wrt addcomplex
Lm3:
0 is_a_unity_wrt addreal
reconsider z = 0 as Element of RAT by Lm1, NUMBERS:18;
Lm4:
z is_a_unity_wrt addrat
reconsider z = 0 as Element of INT by Lm1, NUMBERS:17;
Lm5:
z is_a_unity_wrt addint
Lm6:
0 is_a_unity_wrt addnat
Lm7:
1 in NAT
;
then reconsider z = 1 as Element of COMPLEX by NUMBERS:20;
Lm8:
z is_a_unity_wrt multcomplex
Lm9:
1 is_a_unity_wrt multreal
reconsider z = 1 as Element of RAT by Lm7, NUMBERS:18;
Lm10:
z is_a_unity_wrt multrat
reconsider z = 1 as Element of INT by Lm7, NUMBERS:17;
Lm11:
z is_a_unity_wrt multint
Lm12:
1 is_a_unity_wrt multnat
registration
cluster addcomplex -> having_a_unity ;
coherence
addcomplex is having_a_unity
by Lm2, SETWISEO:def 2;
cluster addreal -> having_a_unity ;
coherence
addreal is having_a_unity
by Lm3, SETWISEO:def 2;
cluster addrat -> having_a_unity ;
coherence
addrat is having_a_unity
by Lm4, SETWISEO:def 2;
cluster addint -> having_a_unity ;
coherence
addint is having_a_unity
by Lm5, SETWISEO:def 2;
cluster addnat -> having_a_unity ;
coherence
addnat is having_a_unity
by Lm6, SETWISEO:def 2;
cluster multcomplex -> having_a_unity ;
coherence
multcomplex is having_a_unity
by Lm8, SETWISEO:def 2;
cluster multreal -> having_a_unity ;
coherence
multreal is having_a_unity
by Lm9, SETWISEO:def 2;
cluster multrat -> having_a_unity ;
coherence
multrat is having_a_unity
by Lm10, SETWISEO:def 2;
cluster multint -> having_a_unity ;
coherence
multint is having_a_unity
by Lm11, SETWISEO:def 2;
cluster multnat -> having_a_unity ;
coherence
multnat is having_a_unity
by Lm12, SETWISEO:def 2;
end;
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem