:: ARYTM_1 semantic presentation
theorem E1: :: ARYTM_1:1
reconsider c1 = one as Element of REAL+ by ARYTM_2:21;
E2:
for b1, b2, b3 being Element of REAL+ holds
( ( b1 *' b2 = b1 *' b3 ) implies ( not b1 <> {} or b2 = b3 ) )
theorem :: ARYTM_1:2
theorem E3: :: ARYTM_1:3
theorem E4: :: ARYTM_1:4
theorem E5: :: ARYTM_1:5
theorem E6: :: ARYTM_1:6
theorem E7: :: ARYTM_1:7
theorem E8: :: ARYTM_1:8
E9:
for b1, b2, b3 being Element of REAL+ holds
( ( b1 *' b2 <=' b1 *' b3 ) implies ( not b1 <> {} or b2 <=' b3 ) )
:: deftheorem E10 defines -' ARYTM_1:def 1 :
for b
1, b
2, b
3 being
Element of
REAL+ holds
( ( b
2 <=' b
1 implies ( b
3 = b
1 -' b
2 iff b
3 + b
2 = b
1 ) ) & ( not b
2 <=' b
1 implies ( b
3 = b
1 -' b
2 iff b
3 = {} ) ) );
E11:
for b1 being Element of REAL+ holds b1 -' b1 = {}
theorem E12: :: ARYTM_1:9
theorem :: ARYTM_1:10
theorem E13: :: ARYTM_1:11
E14:
for b1, b2 being Element of REAL+ holds
( b1 = {} implies b2 -' b1 = b2 )
E15:
for b1, b2 being Element of REAL+ holds (b1 + b2) -' b2 = b1
E16:
for b1, b2 being Element of REAL+ holds
( b1 <=' b2 implies b2 -' (b2 -' b1) = b1 )
E17:
for b1, b2, b3 being Element of REAL+ holds
( b1 -' b2 <=' b3 iff b1 <=' b3 + b2 )
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
per cases
not ( not c
3 <=' c
2 & c
3 <=' c
2 )
;
suppose
c
3 <=' c
2
;
then
(c2 -' c3) + c
3 = c
2
by E10;
hence
( c
2 -' c
3 <=' c
4 iff c
2 <=' c
4 + c
3 )
by E7;
end;
suppose E18:
not c
3 <=' c
2
;
end;
end;
end;
E18:
for b1, b2, b3 being Element of REAL+ holds
( b1 <=' b2 implies ( b3 + b1 <=' b2 iff b3 <=' b2 -' b1 ) )
E19:
for b1, b2, b3 being Element of REAL+ holds (b1 -' b2) -' b3 = b1 -' (b3 + b2)
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
per cases
not ( not c
4 + c
3 <=' c
2 & not c
4 = {} & not ( not c
3 <=' c
2 & c
4 <> {} ) & not ( not c
4 + c
3 <=' c
2 & c
3 <=' c
2 ) )
;
suppose E20:
c
4 + c
3 <=' c
2
;
c
3 <=' c
4 + c
3
by ARYTM_2:20;
then E21:
c
3 <=' c
2
by E20, E3;
then E22:
c
4 <=' c
2 -' c
3
by E20, E18;
((c2 -' c3) -' c4) + (c4 + c3) =
(((c2 -' c3) -' c4) + c4) + c
3
by ARYTM_2:7
.=
(c2 -' c3) + c
3
by E22, E10
.=
c
2
by E21, E10
;
hence
(c2 -' c3) -' c
4 = c
2 -' (c4 + c3)
by E20, E10;
end;
suppose E20:
c
4 = {}
;
end;
suppose that E20:
not c
3 <=' c
2
and E21:
c
4 <> {}
;
E22:
now
assume E23:
c
4 <=' c
2 -' c
3
;
c
2 -' c
3 = {}
by E20, E10;
hence
not verum
by E21, E23, E5;
end;
c
3 <=' c
3 + c
4
by ARYTM_2:20;
then E23:
not c
4 + c
3 <=' c
2
by E20, E3;
thus (c2 -' c3) -' c
4 =
{}
by E22, E10
.=
c
2 -' (c4 + c3)
by E23, E10
;
end;
suppose that E20:
not c
4 + c
3 <=' c
2
and E21:
c
3 <=' c
2
;
not c
4 <=' c
2 -' c
3
by E20, E21, E18;
hence (c2 -' c3) -' c
4 =
{}
by E10
.=
c
2 -' (c4 + c3)
by E20, E10
;
end;
end;
end;
E20:
for b1, b2, b3 being Element of REAL+ holds (b1 -' b2) -' b3 = (b1 -' b3) -' b2
theorem :: ARYTM_1:12
theorem E21: :: ARYTM_1:13
E22:
for b1, b2, b3 being Element of REAL+ holds
( b1 <=' b2 implies b3 -' (b2 -' b1) = (b3 + b1) -' b2 )
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume E23:
c
2 <=' c
3
;
per cases
not ( not c
3 -' c
2 <=' c
4 & c
3 -' c
2 <=' c
4 )
;
suppose E24:
c
3 -' c
2 <=' c
4
;
then E25:
c
3 <=' c
4 + c
2
by E17;
(c4 -' (c3 -' c2)) + (c3 -' c2) =
c
4
by E24, E10
.=
(c4 + c3) -' c
3
by E15
.=
(c4 + (c2 + (c3 -' c2))) -' c
3
by E23, E10
.=
((c4 + c2) + (c3 -' c2)) -' c
3
by ARYTM_2:7
.=
((c4 + c2) -' c3) + (c3 -' c2)
by E25, E21
;
hence
c
4 -' (c3 -' c2) = (c4 + c2) -' c
3
by ARYTM_2:12;
end;
suppose E24:
not c
3 -' c
2 <=' c
4
;
then E25:
not c
3 <=' c
4 + c
2
by E17;
thus c
4 -' (c3 -' c2) =
{}
by E24, E10
.=
(c4 + c2) -' c
3
by E25, E10
;
end;
end;
end;
E23:
for b1, b2, b3 being Element of REAL+ holds
( ( b1 <=' b2 & b3 <=' b1 ) implies ( b2 -' (b1 -' b3) = (b2 -' b1) + b3 ) )
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume that E24:
c
2 <=' c
3
and E25:
c
4 <=' c
2
;
thus c
3 -' (c2 -' c4) =
(c3 + c4) -' c
2
by E25, E22
.=
(c3 -' c2) + c
4
by E24, E21
;
end;
E24:
for b1, b2, b3 being Element of REAL+ holds
( ( b1 <=' b2 & b3 <=' b2 ) implies ( b1 -' (b2 -' b3) = b3 -' (b2 -' b1) ) )
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume that E25:
c
2 <=' c
3
and E26:
c
4 <=' c
3
;
thus c
2 -' (c3 -' c4) =
(c2 + c4) -' c
3
by E26, E22
.=
c
4 -' (c3 -' c2)
by E25, E22
;
end;
theorem :: ARYTM_1:14
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume that E25:
c
2 <=' c
3
and E26:
c
4 <=' c
2
;
thus c
3 -' (c2 -' c4) =
(c3 + c4) -' c
2
by E26, E22
.=
(c3 -' c2) + c
4
by E25, E21
;
end;
theorem :: ARYTM_1:15
theorem :: ARYTM_1:16
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume E25:
c
2 <=' c
3
;
per cases
not ( not c
3 <=' c
4 & c
3 <=' c
4 )
;
suppose E26:
c
3 <=' c
4
;
then E27:
c
2 <=' c
4
by E25, E3;
(c4 -' c3) + c
2 <=' (c4 -' c3) + c
3
by E25, E7;
then
(c4 -' c3) + c
2 <=' c
4
by E26, E10;
then
(c4 -' c3) + c
2 <=' (c4 -' c2) + c
2
by E27, E10;
hence
c
4 -' c
3 <=' c
4 -' c
2
by E7;
end;
suppose
not c
3 <=' c
4
;
then
c
4 -' c
3 = {}
by E10;
hence
c
4 -' c
3 <=' c
4 -' c
2
by E6;
end;
end;
end;
theorem :: ARYTM_1:17
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume E25:
c
2 <=' c
3
;
per cases
not ( not c
4 <=' c
2 & c
4 <=' c
2 )
;
suppose E26:
c
4 <=' c
2
;
then
c
4 <=' c
3
by E25, E3;
then
(
(c2 -' c4) + c
4 = c
2 &
(c3 -' c4) + c
4 = c
3 )
by E26, E10;
hence
c
2 -' c
4 <=' c
3 -' c
4
by E25, E7;
end;
suppose
not c
4 <=' c
2
;
then
c
2 -' c
4 = {}
by E10;
hence
c
2 -' c
4 <=' c
3 -' c
4
by E6;
end;
end;
end;
E25:
for b1, b2, b3 being Element of REAL+ holds b1 *' (b2 -' b3) = (b1 *' b2) -' (b1 *' b3)
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
per cases
not ( not c
4 <=' c
3 & not c
2 = {} & not ( not c
4 <=' c
3 & c
2 <> {} ) )
;
suppose E26:
c
4 <=' c
3
;
end;
suppose E26:
c
2 = {}
;
end;
suppose E26:
( not c
4 <=' c
3 & c
2 <> {} )
;
end;
end;
end;
:: deftheorem E26 defines - ARYTM_1:def 2 :
theorem :: ARYTM_1:18
theorem :: ARYTM_1:19
theorem :: ARYTM_1:20
theorem :: ARYTM_1:21
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume E27:
not c
2 <=' c
3
;
per cases
not ( not c
2 -' c
3 <=' c
4 & c
2 -' c
3 <=' c
4 )
;
suppose E28:
c
2 -' c
3 <=' c
4
;
then
c
2 <=' c
4 + c
3
by E17;
then
( c
4 - (c2 -' c3) = c
4 -' (c2 -' c3) &
(c4 + c3) - c
2 = (c4 + c3) -' c
2 )
by E28, E26;
hence
c
4 - (c2 -' c3) = (c4 + c3) - c
2
by E27, E22;
end;
suppose E28:
not c
2 -' c
3 <=' c
4
;
then E29:
not c
2 <=' c
4 + c
3
by E17;
(c2 -' c3) -' c
4 = c
2 -' (c4 + c3)
by E19;
hence c
4 - (c2 -' c3) =
[{} ,(c2 -' (c4 + c3))]
by E28, E26
.=
(c4 + c3) - c
2
by E29, E26
;
end;
end;
end;
theorem :: ARYTM_1:22
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume that E27:
c
2 <=' c
3
and E28:
not c
2 <=' c
4
;
c
2 -' c
4 <=' c
2
by E13;
then
c
2 -' c
4 <=' c
3
by E27, E3;
then
c
3 - (c2 -' c4) = c
3 -' (c2 -' c4)
by E26;
hence
c
3 - (c2 -' c4) = (c3 -' c2) + c
4
by E27, E28, E23;
end;
theorem :: ARYTM_1:23
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume that E27:
not c
2 <=' c
3
and E28:
not c
2 <=' c
4
;
per cases
not ( not c
2 <=' c
3 + c
4 & c
2 <=' c
3 + c
4 )
;
suppose
c
2 <=' c
3 + c
4
;
then
( c
2 -' c
4 <=' c
3 & c
2 -' c
3 <=' c
4 )
by E17;
then
( c
3 - (c2 -' c4) = c
3 -' (c2 -' c4) & c
4 - (c2 -' c3) = c
4 -' (c2 -' c3) )
by E26;
hence
c
3 - (c2 -' c4) = c
4 - (c2 -' c3)
by E27, E28, E24;
end;
suppose
not c
2 <=' c
3 + c
4
;
then E29:
( not c
2 -' c
4 <=' c
3 & not c
2 -' c
3 <=' c
4 )
by E17;
(c2 -' c4) -' c
3 = (c2 -' c3) -' c
4
by E20;
hence c
3 - (c2 -' c4) =
[{} ,((c2 -' c3) -' c4)]
by E29, E26
.=
c
4 - (c2 -' c3)
by E29, E26
;
end;
end;
end;
theorem :: ARYTM_1:24
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume E27:
c
2 <=' c
3
;
per cases
not ( not c
2 + c
4 <=' c
3 & not ( not c
2 + c
4 <=' c
3 & c
3 <=' c
2 ) & not ( not c
2 + c
4 <=' c
3 & not c
3 <=' c
2 ) )
;
suppose E28:
c
2 + c
4 <=' c
3
;
then
c
4 <=' c
3 -' c
2
by E27, E18;
then
( c
3 - (c2 + c4) = c
3 -' (c2 + c4) &
(c3 -' c2) - c
4 = (c3 -' c2) -' c
4 )
by E28, E26;
hence
c
3 - (c2 + c4) = (c3 -' c2) - c
4
by E19;
end;
suppose that E28:
not c
2 + c
4 <=' c
3
and E29:
c
3 <=' c
2
;
E30:
not c
4 <=' c
3 -' c
2
by E27, E28, E18;
E31:
c
3 = c
2
by E27, E29, E4;
E32:
c
3 -' c
3 = {}
by E11;
(c3 + c4) -' c
3 =
c
4
by E15
.=
c
4 -' (c3 -' c3)
by E32, E14
;
hence c
3 - (c2 + c4) =
[{} ,(c4 -' (c3 -' c2))]
by E28, E31, E26
.=
(c3 -' c2) - c
4
by E30, E26
;
end;
suppose that E28:
not c
2 + c
4 <=' c
3
and E29:
not c
3 <=' c
2
;
E30:
not c
4 <=' c
3 -' c
2
by E27, E28, E18;
(c2 + c4) -' c
3 = c
4 -' (c3 -' c2)
by E29, E22;
hence c
3 - (c2 + c4) =
[{} ,(c4 -' (c3 -' c2))]
by E28, E26
.=
(c3 -' c2) - c
4
by E30, E26
;
end;
end;
end;
theorem :: ARYTM_1:25
proof
let c
2, c
3, c
4 be
Element of
REAL+ ;
assume that E27:
c
2 <=' c
3
and E28:
c
4 <=' c
3
;
per cases
not ( not c
2 + c
4 <=' c
3 & not ( not c
2 + c
4 <=' c
3 & c
3 <=' c
2 ) & not ( not c
2 + c
4 <=' c
3 & c
3 <=' c
4 ) & not ( not c
2 + c
4 <=' c
3 & not c
3 <=' c
2 & not c
3 <=' c
4 ) )
;
suppose
c
2 + c
4 <=' c
3
;
then
( c
2 <=' c
3 -' c
4 & c
4 <=' c
3 -' c
2 )
by E27, E28, E18;
then
(
(c3 -' c4) -' c
2 = (c3 -' c4) - c
2 &
(c3 -' c2) -' c
4 = (c3 -' c2) - c
4 )
by E26;
hence
(c3 -' c4) - c
2 = (c3 -' c2) - c
4
by E20;
end;
suppose that E29:
not c
2 + c
4 <=' c
3
and E30:
c
3 <=' c
2
;
E31:
( not c
2 <=' c
3 -' c
4 & not c
4 <=' c
3 -' c
2 )
by E27, E28, E29, E18;
E32:
c
2 -' c
2 = {}
by E11;
E33:
c
2 = c
3
by E27, E30, E4;
then c
2 -' (c2 -' c4) =
c
4
by E28, E16
.=
c
4 -' (c2 -' c2)
by E32, E14
;
hence (c3 -' c4) - c
2 =
[{} ,(c4 -' (c3 -' c2))]
by E31, E33, E26
.=
(c3 -' c2) - c
4
by E31, E26
;
end;
suppose that E29:
not c
2 + c
4 <=' c
3
and E30:
c
3 <=' c
4
;
E31:
( not c
2 <=' c
3 -' c
4 & not c
4 <=' c
3 -' c
2 )
by E27, E28, E29, E18;
E32:
c
4 -' c
4 = {}
by E11;
E33:
c
4 = c
3
by E28, E30, E4;
c
2 -' (c4 -' c4) =
c
2
by E32, E14
.=
c
4 -' (c4 -' c2)
by E27, E33, E16
;
hence (c3 -' c4) - c
2 =
[{} ,(c4 -' (c3 -' c2))]
by E31, E33, E26
.=
(c3 -' c2) - c
4
by E31, E26
;
end;
suppose that E29:
not c
2 + c
4 <=' c
3
and E30:
( not c
3 <=' c
2 & not c
3 <=' c
4 )
;
E31:
( not c
2 <=' c
3 -' c
4 & not c
4 <=' c
3 -' c
2 )
by E27, E28, E29, E18;
c
2 -' (c3 -' c4) = c
4 -' (c3 -' c2)
by E30, E24;
hence (c3 -' c4) - c
2 =
[{} ,(c4 -' (c3 -' c2))]
by E31, E26
.=
(c3 -' c2) - c
4
by E31, E26
;
end;
end;
end;
theorem :: ARYTM_1:26
theorem E27: :: ARYTM_1:27
theorem :: ARYTM_1:28