:: ABSVALUE semantic presentation
:: deftheorem E1 defines |. ABSVALUE:def 1 :
theorem :: ABSVALUE:1
proof
let c
1 be
real number ;
per cases
not ( not c
1 >= 0 & not c
1 < 0 )
;
suppose
c
1 >= 0
;
hence
(
abs c
1 = c
1 or
abs c
1 = - c
1 )
by E1;
end;
suppose
c
1 < 0
;
hence
(
abs c
1 = c
1 or
abs c
1 = - c
1 )
by E1;
end;
end;
end;
E2:
for b1 being real number holds 0 <= abs b1
by COMPLEX1:132;
E3:
for b1 being real number holds
not ( b1 <> 0 & not 0 < abs b1 )
by COMPLEX1:133;
theorem :: ABSVALUE:2
canceled;
theorem :: ABSVALUE:3
canceled;
theorem :: ABSVALUE:4
canceled;
theorem :: ABSVALUE:5
canceled;
theorem :: ABSVALUE:6
canceled;
theorem :: ABSVALUE:7
theorem :: ABSVALUE:8
canceled;
theorem :: ABSVALUE:9
E4:
for b1, b2 being real number holds abs (b1 * b2) = (abs b1) * (abs b2)
by COMPLEX1:151;
theorem :: ABSVALUE:10
canceled;
theorem :: ABSVALUE:11
proof
let c
1 be
real number ;
per cases
not ( not c
1 < 0 & not 0
<= c
1 )
;
suppose E5:
c
1 < 0
;
end;
suppose E5:
0
<= c
1
;
end;
end;
end;
theorem :: ABSVALUE:12
E5:
for b1, b2 being real number holds abs (b1 + b2) <= (abs b1) + (abs b2)
by COMPLEX1:142;
theorem :: ABSVALUE:13
canceled;
theorem E6: :: ABSVALUE:14
theorem :: ABSVALUE:15
proof
let c
1 be
real number ;
per cases
not ( not c
1 = 0 & not c
1 <> 0 )
;
suppose E7:
c
1 = 0
;
end;
suppose E7:
c
1 <> 0
;
end;
end;
end;
E7:
for b1, b2 being real number holds abs (b1 / b2) = (abs b1) / (abs b2)
by COMPLEX1:153;
theorem :: ABSVALUE:16
canceled;
theorem :: ABSVALUE:17
canceled;
theorem :: ABSVALUE:18
canceled;
theorem :: ABSVALUE:19
canceled;
theorem :: ABSVALUE:20
theorem :: ABSVALUE:21
theorem :: ABSVALUE:22
canceled;
theorem :: ABSVALUE:23
theorem :: ABSVALUE:24
proof
let c
1, c
2 be
real number ;
assume E8:
0
<= c
1 * c
2
;
per cases
not ( not c
1 * c
2 = 0 & not 0
< c
1 * c
2 )
by E8, REAL_1:def 5;
suppose E9:
c
1 * c
2 = 0
;
per cases
( c
1 = 0 or c
2 = 0 )
by E9, XCMPLX_1:6;
suppose E10:
c
1 = 0
;
end;
suppose E10:
c
2 = 0
;
end;
end;
end;
suppose E9:
0
< c
1 * c
2
;
E10:
( ( c
1 < 0 & c
2 < 0 ) or ( 0
< c
1 & 0
< c
2 ) )
per cases
( ( 0
< c
1 & 0
< c
2 ) or ( c
1 < 0 & c
2 < 0 ) )
by E10;
suppose that E11:
0
< c
1
and E12:
0
< c
2
;
end;
suppose that E11:
c
1 < 0
and E12:
c
2 < 0
;
end;
end;
end;
end;
end;
theorem :: ABSVALUE:25
proof
let c
1, c
2 be
real number ;
assume that E8:
abs (c1 + c2) = (abs c1) + (abs c2)
and E9:
0
> c
1 * c
2
;
E10:
not ( c
1 * c
2 < 0 & not ( c
1 < 0 & 0
< c
2 ) & not ( 0
< c
1 & c
2 < 0 ) )
proof
assume E11:
c
1 * c
2 < 0
;
then E12:
( c
1 <> 0 & c
2 <> 0 )
;
E13:
not ( c
1 < 0 & c
2 < 0 & not 0
* c
1 < c
1 * c
2 )
by XREAL_1:71;
not ( 0
< c
1 & 0
< c
2 & not c
1 * 0
< c
1 * c
2 )
by XREAL_1:70;
hence
not ( not ( c
1 < 0 & 0
< c
2 ) & not ( 0
< c
1 & c
2 < 0 ) )
by E11, E12, E13, XXREAL_0:1;
end;
E11:
not ( c
1 < 0 & 0
< c
2 & c
1 + c
2 < 0 & not
abs (c1 + c2) <> (abs c1) + (abs c2) )
E12:
not ( c
1 < 0 & 0
< c
2 & 0
<= c
1 + c
2 & not
abs (c1 + c2) <> (abs c1) + (abs c2) )
E13:
not ( 0
< c
1 & c
2 < 0 & c
1 + c
2 < 0 & not
abs (c1 + c2) <> (abs c1) + (abs c2) )
not ( 0
< c
1 & c
2 < 0 & 0
<= c
1 + c
2 & not
abs (c1 + c2) <> (abs c1) + (abs c2) )
hence
not verum
by E8, E9, E10, E11, E12, E13;
end;
theorem :: ABSVALUE:26
proof
let c
1, c
2 be
real number ;
set c
3 =
abs c
1;
set c
4 =
abs c
2;
set c
5 =
abs (c1 + c2);
E8:
abs (c1 + c2) <= (abs c1) + (abs c2)
by E5;
E9:
0
<= abs c
1
by E2;
E10:
0
<= abs c
2
by E2;
E11:
0
<= abs (c1 + c2)
by E2;
E12:
0
+ 0
<= (abs c1) + (abs c2)
by E9, E10, XREAL_1:9;
then E13:
0
+ 0
< 1
+ ((abs c1) + (abs c2))
by XREAL_1:10;
E14:
0
< 1
+ ((abs c1) + (abs c2))
by E12, XREAL_1:10;
E15:
0
+ 0
< 1
+ (abs (c1 + c2))
by E11, XREAL_1:10;
E16:
0
+ 0
< 1
+ (abs c1)
by E9, XREAL_1:10;
E17:
0
+ 0
< 1
+ (abs c2)
by E10, XREAL_1:10;
for b
1, b
2 being
real number holds
( ( b
1 <= b
2 ) implies ( not 0
< 1
+ b
1 or not 0
< 1
+ b
2 or b
1 / (1 + b1) <= b
2 / (1 + b2) ) )
then E18:
(abs (c1 + c2)) / (1 + (abs (c1 + c2))) <= ((abs c1) + (abs c2)) / (1 + ((abs c1) + (abs c2)))
by E8, E14, E15;
((abs c1) + (abs c2)) / ((1 + (abs c1)) + (abs c2)) <= ((abs c1) / (1 + (abs c1))) + ((abs c2) / (1 + (abs c2)))
hence
(abs (c1 + c2)) / (1 + (abs (c1 + c2))) <= ((abs c1) / (1 + (abs c1))) + ((abs c2) / (1 + (abs c2)))
by E18, XXREAL_0:2;
end;
:: deftheorem E8 defines sgn ABSVALUE:def 2 :
for b
1 being
real number holds
( ( 0
< b
1 implies
sgn b
1 = 1 ) & ( b
1 < 0 implies
sgn b
1 = - 1 ) & ( ( not 0
< b
1 & not b
1 < 0 ) implies (
sgn b
1 = 0 ) ) );
theorem :: ABSVALUE:27
canceled;
theorem :: ABSVALUE:28
canceled;
theorem :: ABSVALUE:29
canceled;
theorem :: ABSVALUE:30
canceled;
theorem :: ABSVALUE:31
theorem :: ABSVALUE:32
theorem E9: :: ABSVALUE:33