:: MATHMORP semantic presentation

definition
let c1 be Nat;
let c2 be Point of (TOP-REAL c1);
let c3 be Subset of (TOP-REAL c1);
func c3 + c2 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 1
{ (b1 + a2) where B is Point of (TOP-REAL a1) : b1 in a3 } ;
coherence
{ (b1 + c2) where B is Point of (TOP-REAL c1) : b1 in c3 } is Subset of (TOP-REAL c1)
proof end;
end;

:: deftheorem Def1 defines + MATHMORP:def 1 :
for b1 being Nat
for b2 being Point of (TOP-REAL b1)
for b3 being Subset of (TOP-REAL b1) holds b3 + b2 = { (b4 + b2) where B is Point of (TOP-REAL b1) : b4 in b3 } ;

definition
let c1 be Nat;
let c2 be Subset of (TOP-REAL c1);
func c2 ! -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 2
{ (- b1) where B is Point of (TOP-REAL a1) : b1 in a2 } ;
coherence
{ (- b1) where B is Point of (TOP-REAL c1) : b1 in c2 } is Subset of (TOP-REAL c1)
proof end;
end;

:: deftheorem Def2 defines ! MATHMORP:def 2 :
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds b2 ! = { (- b3) where B is Point of (TOP-REAL b1) : b3 in b2 } ;

definition
let c1 be Nat;
let c2, c3 be Subset of (TOP-REAL c1);
func c2 (-) c3 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 3
{ b1 where B is Point of (TOP-REAL a1) : a3 + b1 c= a2 } ;
coherence
{ b1 where B is Point of (TOP-REAL c1) : c3 + b1 c= c2 } is Subset of (TOP-REAL c1)
proof end;
end;

:: deftheorem Def3 defines (-) MATHMORP:def 3 :
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds b2 (-) b3 = { b4 where B is Point of (TOP-REAL b1) : b3 + b4 c= b2 } ;

definition
let c1 be Nat;
let c2, c3 be Subset of (TOP-REAL c1);
func c2 (+) c3 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 4
{ (b1 + b2) where B is Point of (TOP-REAL a1), B is Point of (TOP-REAL a1) : ( b1 in a2 & b2 in a3 ) } ;
coherence
{ (b1 + b2) where B is Point of (TOP-REAL c1), B is Point of (TOP-REAL c1) : ( b1 in c2 & b2 in c3 ) } is Subset of (TOP-REAL c1)
proof end;
end;

:: deftheorem Def4 defines (+) MATHMORP:def 4 :
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds b2 (+) b3 = { (b4 + b5) where B is Point of (TOP-REAL b1), B is Point of (TOP-REAL b1) : ( b4 in b2 & b5 in b3 ) } ;

theorem Th1: :: MATHMORP:1
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds (b2 ! ) ! = b2
proof end;

theorem Th2: :: MATHMORP:2
for b1 being Nat
for b2 being Point of (TOP-REAL b1) holds {(0.REAL b1)} + b2 = {b2}
proof end;

theorem Th3: :: MATHMORP:3
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) st b2 c= b3 holds
b2 + b4 c= b3 + b4
proof end;

theorem Th4: :: MATHMORP:4
for b1 being Nat
for b2 being Point of (TOP-REAL b1)
for b3 being Subset of (TOP-REAL b1) st b3 = {} holds
b3 + b2 = {}
proof end;

theorem Th5: :: MATHMORP:5
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds b2 (-) {(0.REAL b1)} = b2
proof end;

Lemma5: for b1 being Nat
for b2, b3 being Point of (TOP-REAL b1) holds {b2} + b3 = {b3} + b2
proof end;

theorem Th6: :: MATHMORP:6
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds b2 (+) {(0.REAL b1)} = b2
proof end;

theorem Th7: :: MATHMORP:7
for b1 being Nat
for b2 being Subset of (TOP-REAL b1)
for b3 being Point of (TOP-REAL b1) holds b2 (+) {b3} = b2 + b3
proof end;

theorem Th8: :: MATHMORP:8
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st b3 = {} holds
b2 (-) b3 = REAL b1
proof end;

theorem Th9: :: MATHMORP:9
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 c= b3 holds
( b2 (-) b4 c= b3 (-) b4 & b2 (+) b4 c= b3 (+) b4 )
proof end;

theorem Th10: :: MATHMORP:10
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 c= b3 holds
( b4 (-) b3 c= b4 (-) b2 & b4 (+) b2 c= b4 (+) b3 )
proof end;

theorem Th11: :: MATHMORP:11
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st 0.REAL b1 in b2 holds
( b3 (-) b2 c= b3 & b3 c= b3 (+) b2 )
proof end;

theorem Th12: :: MATHMORP:12
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds b2 (+) b3 = b3 (+) b2
proof end;

theorem Th13: :: MATHMORP:13
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4, b5 being Point of (TOP-REAL b1) holds
( b2 + b4 c= b3 + b5 iff b2 + (b4 - b5) c= b3 )
proof end;

theorem Th14: :: MATHMORP:14
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds (b2 + b4) (-) b3 = (b2 (-) b3) + b4
proof end;

theorem Th15: :: MATHMORP:15
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds (b2 + b4) (+) b3 = (b2 (+) b3) + b4
proof end;

theorem Th16: :: MATHMORP:16
for b1 being Nat
for b2 being Subset of (TOP-REAL b1)
for b3, b4 being Point of (TOP-REAL b1) holds (b2 + b3) + b4 = b2 + (b3 + b4)
proof end;

theorem Th17: :: MATHMORP:17
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds b2 (-) (b3 + b4) = (b2 (-) b3) + (- b4)
proof end;

theorem Th18: :: MATHMORP:18
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds b2 (+) (b3 + b4) = (b2 (+) b3) + b4
proof end;

theorem Th19: :: MATHMORP:19
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) st b4 in b2 holds
b3 + b4 c= b3 (+) b2
proof end;

theorem Th20: :: MATHMORP:20
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds b2 c= (b2 (+) b3) (-) b3
proof end;

theorem Th21: :: MATHMORP:21
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds b2 + (0.REAL b1) = b2
proof end;

theorem Th22: :: MATHMORP:22
for b1 being Nat
for b2 being Subset of (TOP-REAL b1)
for b3 being Point of (TOP-REAL b1) holds b2 (-) {b3} = b2 + (- b3)
proof end;

Lemma18: for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds (b2 (-) b3) (+) b3 c= b2
proof end;

theorem Th23: :: MATHMORP:23
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (-) (b3 (+) b4) = (b2 (-) b3) (-) b4
proof end;

theorem Th24: :: MATHMORP:24
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (-) (b3 (+) b4) = (b2 (-) b4) (-) b3
proof end;

theorem Th25: :: MATHMORP:25
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (+) (b3 (-) b4) c= (b2 (+) b3) (-) b4
proof end;

theorem Th26: :: MATHMORP:26
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (+) (b3 (+) b4) = (b2 (+) b3) (+) b4
proof end;

theorem Th27: :: MATHMORP:27
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds (b2 \/ b3) + b4 = (b2 + b4) \/ (b3 + b4)
proof end;

theorem Th28: :: MATHMORP:28
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds (b2 /\ b3) + b4 = (b2 + b4) /\ (b3 + b4)
proof end;

theorem Th29: :: MATHMORP:29
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (-) (b3 \/ b4) = (b2 (-) b3) /\ (b2 (-) b4)
proof end;

theorem Th30: :: MATHMORP:30
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (+) (b3 \/ b4) = (b2 (+) b3) \/ (b2 (+) b4)
proof end;

theorem Th31: :: MATHMORP:31
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds (b2 (-) b3) \/ (b4 (-) b3) c= (b2 \/ b4) (-) b3
proof end;

theorem Th32: :: MATHMORP:32
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds (b2 \/ b3) (+) b4 = (b2 (+) b4) \/ (b3 (+) b4)
proof end;

theorem Th33: :: MATHMORP:33
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds (b2 /\ b3) (-) b4 = (b2 (-) b4) /\ (b3 (-) b4)
proof end;

theorem Th34: :: MATHMORP:34
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds (b2 /\ b3) (+) b4 c= (b2 (+) b4) /\ (b3 (+) b4)
proof end;

theorem Th35: :: MATHMORP:35
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (+) (b3 /\ b4) c= (b2 (+) b3) /\ (b2 (+) b4)
proof end;

theorem Th36: :: MATHMORP:36
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds (b2 (-) b3) \/ (b2 (-) b4) c= b2 (-) (b3 /\ b4)
proof end;

theorem Th37: :: MATHMORP:37
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds ((b2 ` ) (-) b3) ` = b2 (+) (b3 ! )
proof end;

theorem Th38: :: MATHMORP:38
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds (b2 (-) b3) ` = (b2 ` ) (+) (b3 ! )
proof end;

definition
let c1 be Nat;
let c2, c3 be Subset of (TOP-REAL c1);
func c2 (O) c3 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 5
(a2 (-) a3) (+) a3;
coherence
(c2 (-) c3) (+) c3 is Subset of (TOP-REAL c1)
;
end;

:: deftheorem Def5 defines (O) MATHMORP:def 5 :
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds b2 (O) b3 = (b2 (-) b3) (+) b3;

definition
let c1 be Nat;
let c2, c3 be Subset of (TOP-REAL c1);
func c2 (o) c3 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 6
(a2 (+) a3) (-) a3;
coherence
(c2 (+) c3) (-) c3 is Subset of (TOP-REAL c1)
;
end;

:: deftheorem Def6 defines (o) MATHMORP:def 6 :
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds b2 (o) b3 = (b2 (+) b3) (-) b3;

theorem Th39: :: MATHMORP:39
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds ((b2 ` ) (O) (b3 ! )) ` = b2 (o) b3
proof end;

theorem Th40: :: MATHMORP:40
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds ((b2 ` ) (o) (b3 ! )) ` = b2 (O) b3
proof end;

theorem Th41: :: MATHMORP:41
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds
( b2 (O) b3 c= b2 & b2 c= b2 (o) b3 )
proof end;

theorem Th42: :: MATHMORP:42
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds b2 (O) b2 = b2
proof end;

theorem Th43: :: MATHMORP:43
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds
( (b2 (O) b3) (-) b3 c= b2 (-) b3 & (b2 (O) b3) (+) b3 c= b2 (+) b3 )
proof end;

theorem Th44: :: MATHMORP:44
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds
( b2 (-) b3 c= (b2 (o) b3) (-) b3 & b2 (+) b3 c= (b2 (o) b3) (+) b3 )
proof end;

theorem Th45: :: MATHMORP:45
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 c= b3 holds
( b2 (O) b4 c= b3 (O) b4 & b2 (o) b4 c= b3 (o) b4 )
proof end;

theorem Th46: :: MATHMORP:46
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds (b2 + b4) (O) b3 = (b2 (O) b3) + b4
proof end;

theorem Th47: :: MATHMORP:47
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being Point of (TOP-REAL b1) holds (b2 + b4) (o) b3 = (b2 (o) b3) + b4
proof end;

theorem Th48: :: MATHMORP:48
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 c= b3 holds
b4 (O) b3 c= (b4 (-) b2) (+) b3
proof end;

theorem Th49: :: MATHMORP:49
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 c= b3 holds
b4 (o) b2 c= (b4 (+) b3) (-) b2
proof end;

theorem Th50: :: MATHMORP:50
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds
( b2 (+) b3 = (b2 (o) b3) (+) b3 & b2 (-) b3 = (b2 (O) b3) (-) b3 )
proof end;

theorem Th51: :: MATHMORP:51
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds
( b2 (+) b3 = (b2 (+) b3) (O) b3 & b2 (-) b3 = (b2 (-) b3) (o) b3 )
proof end;

theorem Th52: :: MATHMORP:52
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds (b2 (O) b3) (O) b3 = b2 (O) b3
proof end;

theorem Th53: :: MATHMORP:53
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) holds (b2 (o) b3) (o) b3 = b2 (o) b3 by Th50;

theorem Th54: :: MATHMORP:54
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (O) b3 c= (b2 \/ b4) (O) b3
proof end;

theorem Th55: :: MATHMORP:55
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 = b2 (O) b3 holds
b4 (O) b2 c= b4 (O) b3
proof end;

definition
let c1 be real number ;
let c2 be Nat;
let c3 be Subset of (TOP-REAL c2);
func c1 (.) c3 -> Subset of (TOP-REAL a2) equals :: MATHMORP:def 7
{ (a1 * b1) where B is Point of (TOP-REAL a2) : b1 in a3 } ;
coherence
{ (c1 * b1) where B is Point of (TOP-REAL c2) : b1 in c3 } is Subset of (TOP-REAL c2)
proof end;
end;

:: deftheorem Def7 defines (.) MATHMORP:def 7 :
for b1 being real number
for b2 being Nat
for b3 being Subset of (TOP-REAL b2) holds b1 (.) b3 = { (b1 * b4) where B is Point of (TOP-REAL b2) : b4 in b3 } ;

theorem Th56: :: MATHMORP:56
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) st b2 = {} holds
0 (.) b2 = {}
proof end;

theorem Th57: :: MATHMORP:57
for b1 being Nat
for b2 being non empty Subset of (TOP-REAL b1) holds 0 (.) b2 = {(0.REAL b1)}
proof end;

theorem Th58: :: MATHMORP:58
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds 1 (.) b2 = b2
proof end;

theorem Th59: :: MATHMORP:59
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds 2 (.) b2 c= b2 (+) b2
proof end;

theorem Th60: :: MATHMORP:60
for b1 being Nat
for b2 being Subset of (TOP-REAL b1)
for b3, b4 being real number holds (b3 * b4) (.) b2 = b3 (.) (b4 (.) b2)
proof end;

theorem Th61: :: MATHMORP:61
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being real number st b2 c= b3 holds
b4 (.) b2 c= b4 (.) b3
proof end;

theorem Th62: :: MATHMORP:62
for b1 being Nat
for b2 being Subset of (TOP-REAL b1)
for b3 being Point of (TOP-REAL b1)
for b4 being real number holds b4 (.) (b2 + b3) = (b4 (.) b2) + (b4 * b3)
proof end;

theorem Th63: :: MATHMORP:63
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being real number holds b4 (.) (b2 (+) b3) = (b4 (.) b2) (+) (b4 (.) b3)
proof end;

theorem Th64: :: MATHMORP:64
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being real number st b4 <> 0 holds
b4 (.) (b2 (-) b3) = (b4 (.) b2) (-) (b4 (.) b3)
proof end;

theorem Th65: :: MATHMORP:65
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being real number st b4 <> 0 holds
b4 (.) (b2 (O) b3) = (b4 (.) b2) (O) (b4 (.) b3)
proof end;

theorem Th66: :: MATHMORP:66
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1)
for b4 being real number st b4 <> 0 holds
b4 (.) (b2 (o) b3) = (b4 (.) b2) (o) (b4 (.) b3)
proof end;

definition
let c1 be Nat;
let c2, c3, c4 be Subset of (TOP-REAL c1);
func c2 (*) c3,c4 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 8
(a2 (-) a3) /\ ((a2 ` ) (-) a4);
coherence
(c2 (-) c3) /\ ((c2 ` ) (-) c4) is Subset of (TOP-REAL c1)
;
end;

:: deftheorem Def8 defines (*) MATHMORP:def 8 :
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (*) b3,b4 = (b2 (-) b3) /\ ((b2 ` ) (-) b4);

definition
let c1 be Nat;
let c2, c3, c4 be Subset of (TOP-REAL c1);
func c2 (&) c3,c4 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 9
a2 \/ (a2 (*) a3,a4);
coherence
c2 \/ (c2 (*) c3,c4) is Subset of (TOP-REAL c1)
;
end;

:: deftheorem Def9 defines (&) MATHMORP:def 9 :
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (&) b3,b4 = b2 \/ (b2 (*) b3,b4);

definition
let c1 be Nat;
let c2, c3, c4 be Subset of (TOP-REAL c1);
func c2 (@) c3,c4 -> Subset of (TOP-REAL a1) equals :: MATHMORP:def 10
a2 \ (a2 (*) a3,a4);
coherence
c2 \ (c2 (*) c3,c4) is Subset of (TOP-REAL c1)
;
end;

:: deftheorem Def10 defines (@) MATHMORP:def 10 :
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (@) b3,b4 = b2 \ (b2 (*) b3,b4);

theorem Th67: :: MATHMORP:67
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 = {} holds
b3 (*) b2,b4 = (b3 ` ) (-) b4
proof end;

theorem Th68: :: MATHMORP:68
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st b2 = {} holds
b3 (*) b4,b2 = b3 (-) b4
proof end;

theorem Th69: :: MATHMORP:69
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st 0.REAL b1 in b2 holds
b3 (*) b2,b4 c= b3
proof end;

theorem Th70: :: MATHMORP:70
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st 0.REAL b1 in b2 holds
(b3 (*) b4,b2) /\ b3 = {}
proof end;

theorem Th71: :: MATHMORP:71
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st 0.REAL b1 in b2 holds
b3 (&) b2,b4 = b3
proof end;

theorem Th72: :: MATHMORP:72
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) st 0.REAL b1 in b2 holds
b3 (@) b4,b2 = b3
proof end;

theorem Th73: :: MATHMORP:73
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (&) b3,b4 = ((b2 ` ) (@) b4,b3) ` by SUBSET_1:33;

theorem Th74: :: MATHMORP:74
for b1 being Nat
for b2, b3, b4 being Subset of (TOP-REAL b1) holds b2 (@) b3,b4 = ((b2 ` ) (&) b4,b3) `
proof end;

theorem Th75: :: MATHMORP:75
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds
( b2 is convex iff for b3, b4 being Point of (TOP-REAL b1)
for b5 being real number st 0 <= b5 & b5 <= 1 & b3 in b2 & b4 in b2 holds
(b5 * b3) + ((1 - b5) * b4) in b2 )
proof end;

definition
let c1 be Nat;
let c2 be Subset of (TOP-REAL c1);
redefine attr a2 is convex means :Def11: :: MATHMORP:def 11
for b1, b2 being Point of (TOP-REAL a1)
for b3 being real number st 0 <= b3 & b3 <= 1 & b1 in a2 & b2 in a2 holds
(b3 * b1) + ((1 - b3) * b2) in a2;
compatibility
( c2 is convex iff for b1, b2 being Point of (TOP-REAL c1)
for b3 being real number st 0 <= b3 & b3 <= 1 & b1 in c2 & b2 in c2 holds
(b3 * b1) + ((1 - b3) * b2) in c2 )
by Th75;
end;

:: deftheorem Def11 defines convex MATHMORP:def 11 :
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) holds
( b2 is convex iff for b3, b4 being Point of (TOP-REAL b1)
for b5 being real number st 0 <= b5 & b5 <= 1 & b3 in b2 & b4 in b2 holds
(b5 * b3) + ((1 - b5) * b4) in b2 );

theorem Th76: :: MATHMORP:76
for b1 being Nat
for b2 being Subset of (TOP-REAL b1) st b2 is convex holds
b2 ! is convex
proof end;

theorem Th77: :: MATHMORP:77
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st b2 is convex & b3 is convex holds
( b2 (+) b3 is convex & b2 (-) b3 is convex )
proof end;

theorem Th78: :: MATHMORP:78
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st b2 is convex & b3 is convex holds
( b2 (O) b3 is convex & b2 (o) b3 is convex )
proof end;

theorem Th79: :: MATHMORP:79
for b1 being Nat
for b2 being Subset of (TOP-REAL b1)
for b3, b4 being real number st b2 is convex & 0 < b3 & 0 < b4 holds
(b4 + b3) (.) b2 = (b4 (.) b2) (+) (b3 (.) b2)
proof end;