:: SUPINF_1 semantic presentation

definition
func +infty -> set equals :: SUPINF_1:def 1
REAL ;
correctness
coherence
REAL is set
;
;
end;

:: deftheorem Def1 defines +infty SUPINF_1:def 1 :
+infty = REAL ;

theorem Th1: :: SUPINF_1:1
canceled;

theorem Th2: :: SUPINF_1:2
not +infty in REAL ;

definition
let c1 be set ;
attr a1 is +Inf-like means :Def2: :: SUPINF_1:def 2
a1 = +infty ;
end;

:: deftheorem Def2 defines +Inf-like SUPINF_1:def 2 :
for b1 being set holds
( b1 is +Inf-like iff b1 = +infty );

registration
cluster +Inf-like set ;
existence
ex b1 being set st b1 is +Inf-like
proof end;
end;

definition
mode +Inf is +Inf-like set ;
end;

theorem Th3: :: SUPINF_1:3
canceled;

theorem Th4: :: SUPINF_1:4
+infty is +Inf by Def2;

definition
func -infty -> set equals :: SUPINF_1:def 3
{REAL };
correctness
coherence
{REAL } is set
;
;
end;

:: deftheorem Def3 defines -infty SUPINF_1:def 3 :
-infty = {REAL };

theorem Th5: :: SUPINF_1:5
canceled;

theorem Th6: :: SUPINF_1:6
not -infty in REAL by TARSKI:def 1;

definition
let c1 be set ;
attr a1 is -Inf-like means :Def4: :: SUPINF_1:def 4
a1 = -infty ;
end;

:: deftheorem Def4 defines -Inf-like SUPINF_1:def 4 :
for b1 being set holds
( b1 is -Inf-like iff b1 = -infty );

registration
cluster -Inf-like set ;
existence
ex b1 being set st b1 is -Inf-like
proof end;
end;

definition
mode -Inf is -Inf-like set ;
end;

theorem Th7: :: SUPINF_1:7
canceled;

theorem Th8: :: SUPINF_1:8
-infty is -Inf by Def4;

definition
let c1 be set ;
attr a1 is ext-real means :Def5: :: SUPINF_1:def 5
a1 in REAL \/ {-infty ,+infty };
end;

:: deftheorem Def5 defines ext-real SUPINF_1:def 5 :
for b1 being set holds
( b1 is ext-real iff b1 in REAL \/ {-infty ,+infty } );

registration
cluster ext-real set ;
existence
ex b1 being set st b1 is ext-real
proof end;
end;

definition
func ExtREAL -> set equals :: SUPINF_1:def 6
REAL \/ {-infty ,+infty };
correctness
coherence
REAL \/ {-infty ,+infty } is set
;
;
end;

:: deftheorem Def6 defines ExtREAL SUPINF_1:def 6 :
ExtREAL = REAL \/ {-infty ,+infty };

registration
cluster -> ext-real Element of ExtREAL ;
coherence
for b1 being Element of ExtREAL holds b1 is ext-real
by Def5;
end;

definition
mode R_eal is Element of ExtREAL ;
end;

registration
cluster -> ext-real Element of REAL ;
coherence
for b1 being Real holds b1 is ext-real
proof end;
end;

theorem Th9: :: SUPINF_1:9
canceled;

theorem Th10: :: SUPINF_1:10
for b1 being Real holds b1 is R_eal by Def5;

theorem Th11: :: SUPINF_1:11
for b1 being set st ( b1 = -infty or b1 = +infty ) holds
b1 is R_eal
proof end;

definition
redefine func +infty as +infty -> R_eal;
coherence
+infty is R_eal
by Th11;
redefine func -infty as -infty -> R_eal;
coherence
-infty is R_eal
by Th11;
end;

theorem Th12: :: SUPINF_1:12
canceled;

theorem Th13: :: SUPINF_1:13
canceled;

theorem Th14: :: SUPINF_1:14
-infty <> +infty
proof end;

Lemma8: for b1 being R_eal holds
( b1 in REAL or b1 = +infty or b1 = -infty )
proof end;

definition
let c1, c2 be R_eal;
pred c1 <=' c2 means :Def7: :: SUPINF_1:def 7
ex b1, b2 being Real st
( b1 = a1 & b2 = a2 & b1 <= b2 ) if ( a1 in REAL & a2 in REAL )
otherwise ( a1 = -infty or a2 = +infty );
consistency
verum
;
reflexivity
for b1 being R_eal holds
( ( b1 in REAL & b1 in REAL implies ex b2, b3 being Real st
( b2 = b1 & b3 = b1 & b2 <= b3 ) ) & ( ( b1 in REAL & b1 in REAL ) or b1 = -infty or b1 = +infty ) )
by Lemma8;
connectedness
for b1, b2 being R_eal st ( ( b1 in REAL & b2 in REAL & ( for b3, b4 being Real holds
( not b3 = b1 or not b4 = b2 or not b3 <= b4 ) ) ) or ( ( not b1 in REAL or not b2 in REAL ) & not b1 = -infty & not b2 = +infty ) ) holds
( ( b2 in REAL & b1 in REAL implies ex b3, b4 being Real st
( b3 = b2 & b4 = b1 & b3 <= b4 ) ) & ( ( b2 in REAL & b1 in REAL ) or b2 = -infty or b1 = +infty ) )
proof end;
end;

:: deftheorem Def7 defines <=' SUPINF_1:def 7 :
for b1, b2 being R_eal holds
( ( b1 in REAL & b2 in REAL implies ( b1 <=' b2 iff ex b3, b4 being Real st
( b3 = b1 & b4 = b2 & b3 <= b4 ) ) ) & ( ( not b1 in REAL or not b2 in REAL ) implies ( b1 <=' b2 iff ( b1 = -infty or b2 = +infty ) ) ) );

notation
let c1, c2 be R_eal;
antonym c2 <' c1 for c1 <=' c2;
end;

theorem Th15: :: SUPINF_1:15
canceled;

theorem Th16: :: SUPINF_1:16
for b1, b2 being R_eal st b1 is Real & b2 is Real holds
( b1 <=' b2 iff ex b3, b4 being Real st
( b3 = b1 & b4 = b2 & b3 <= b4 ) ) by Def7;

theorem Th17: :: SUPINF_1:17
for b1 being R_eal st b1 in REAL holds
not b1 <=' -infty by Def7, Th6, Th14;

theorem Th18: :: SUPINF_1:18
for b1 being R_eal st b1 in REAL holds
not +infty <=' b1 by Def7, Th2, Th14;

theorem Th19: :: SUPINF_1:19
not +infty <=' -infty by Def7, Th2, Th14;

theorem Th20: :: SUPINF_1:20
for b1 being R_eal holds b1 <=' +infty by Def7, Th2;

theorem Th21: :: SUPINF_1:21
for b1 being R_eal holds -infty <=' b1 by Def7, Th6;

theorem Th22: :: SUPINF_1:22
for b1, b2 being R_eal st b1 <=' b2 & b2 <=' b1 holds
b1 = b2
proof end;

theorem Th23: :: SUPINF_1:23
for b1 being R_eal st b1 <=' -infty holds
b1 = -infty
proof end;

theorem Th24: :: SUPINF_1:24
for b1 being R_eal st +infty <=' b1 holds
b1 = +infty
proof end;

scheme :: SUPINF_1:sch 1
s1{ P1[ R_eal] } :
ex b1 being Subset of (REAL \/ {-infty ,+infty }) st
for b2 being R_eal holds
( b2 in b1 iff P1[b2] )
proof end;

theorem Th25: :: SUPINF_1:25
canceled;

theorem Th26: :: SUPINF_1:26
ExtREAL is non empty set ;

theorem Th27: :: SUPINF_1:27
for b1 being set holds
( b1 is R_eal iff b1 in ExtREAL ) ;

theorem Th28: :: SUPINF_1:28
canceled;

theorem Th29: :: SUPINF_1:29
for b1, b2, b3 being R_eal st b1 <=' b2 & b2 <=' b3 holds
b1 <=' b3
proof end;

registration
cluster ExtREAL -> non empty ;
coherence
not ExtREAL is empty
;
end;

theorem Th30: :: SUPINF_1:30
canceled;

theorem Th31: :: SUPINF_1:31
for b1 being R_eal st b1 in REAL holds
( -infty <' b1 & b1 <' +infty )
proof end;

definition
let c1 be Subset of ExtREAL ;
canceled;
mode majorant of c1 -> R_eal means :Def9: :: SUPINF_1:def 9
for b1 being R_eal st b1 in a1 holds
b1 <=' a2;
existence
ex b1 being R_eal st
for b2 being R_eal st b2 in c1 holds
b2 <=' b1
proof end;
end;

:: deftheorem Def8 SUPINF_1:def 8 :
canceled;

:: deftheorem Def9 defines majorant SUPINF_1:def 9 :
for b1 being Subset of ExtREAL
for b2 being R_eal holds
( b2 is majorant of b1 iff for b3 being R_eal st b3 in b1 holds
b3 <=' b2 );

theorem Th32: :: SUPINF_1:32
canceled;

theorem Th33: :: SUPINF_1:33
for b1 being Subset of ExtREAL holds +infty is majorant of b1
proof end;

theorem Th34: :: SUPINF_1:34
for b1, b2 being Subset of ExtREAL st b1 c= b2 holds
for b3 being R_eal st b3 is majorant of b2 holds
b3 is majorant of b1
proof end;

definition
let c1 be Subset of ExtREAL ;
mode minorant of c1 -> R_eal means :Def10: :: SUPINF_1:def 10
for b1 being R_eal st b1 in a1 holds
a2 <=' b1;
existence
ex b1 being R_eal st
for b2 being R_eal st b2 in c1 holds
b1 <=' b2
proof end;
end;

:: deftheorem Def10 defines minorant SUPINF_1:def 10 :
for b1 being Subset of ExtREAL
for b2 being R_eal holds
( b2 is minorant of b1 iff for b3 being R_eal st b3 in b1 holds
b2 <=' b3 );

theorem Th35: :: SUPINF_1:35
canceled;

theorem Th36: :: SUPINF_1:36
for b1 being Subset of ExtREAL holds -infty is minorant of b1
proof end;

theorem Th37: :: SUPINF_1:37
canceled;

theorem Th38: :: SUPINF_1:38
canceled;

theorem Th39: :: SUPINF_1:39
for b1, b2 being Subset of ExtREAL st b1 c= b2 holds
for b3 being R_eal st b3 is minorant of b2 holds
b3 is minorant of b1
proof end;

definition
redefine func REAL as REAL -> non empty Subset of ExtREAL ;
coherence
REAL is non empty Subset of ExtREAL
by XBOOLE_1:7;
end;

theorem Th40: :: SUPINF_1:40
canceled;

theorem Th41: :: SUPINF_1:41
+infty is majorant of REAL by Th33;

theorem Th42: :: SUPINF_1:42
-infty is minorant of REAL by Th36;

definition
let c1 be Subset of ExtREAL ;
attr a1 is bounded_above means :Def11: :: SUPINF_1:def 11
ex b1 being majorant of a1 st b1 in REAL ;
end;

:: deftheorem Def11 defines bounded_above SUPINF_1:def 11 :
for b1 being Subset of ExtREAL holds
( b1 is bounded_above iff ex b2 being majorant of b1 st b2 in REAL );

theorem Th43: :: SUPINF_1:43
canceled;

theorem Th44: :: SUPINF_1:44
for b1, b2 being Subset of ExtREAL st b1 c= b2 & b2 is bounded_above holds
b1 is bounded_above
proof end;

theorem Th45: :: SUPINF_1:45
not REAL is bounded_above
proof end;

definition
let c1 be Subset of ExtREAL ;
attr a1 is bounded_below means :Def12: :: SUPINF_1:def 12
ex b1 being minorant of a1 st b1 in REAL ;
end;

:: deftheorem Def12 defines bounded_below SUPINF_1:def 12 :
for b1 being Subset of ExtREAL holds
( b1 is bounded_below iff ex b2 being minorant of b1 st b2 in REAL );

theorem Th46: :: SUPINF_1:46
canceled;

theorem Th47: :: SUPINF_1:47
for b1, b2 being Subset of ExtREAL st b1 c= b2 & b2 is bounded_below holds
b1 is bounded_below
proof end;

theorem Th48: :: SUPINF_1:48
not REAL is bounded_below
proof end;

definition
let c1 be Subset of ExtREAL ;
attr a1 is bounded means :Def13: :: SUPINF_1:def 13
( a1 is bounded_above & a1 is bounded_below );
end;

:: deftheorem Def13 defines bounded SUPINF_1:def 13 :
for b1 being Subset of ExtREAL holds
( b1 is bounded iff ( b1 is bounded_above & b1 is bounded_below ) );

theorem Th49: :: SUPINF_1:49
canceled;

theorem Th50: :: SUPINF_1:50
for b1, b2 being Subset of ExtREAL st b1 c= b2 & b2 is bounded holds
b1 is bounded
proof end;

theorem Th51: :: SUPINF_1:51
for b1 being Subset of ExtREAL ex b2 being non empty Subset of ExtREAL st
for b3 being R_eal holds
( b3 in b2 iff b3 is majorant of b1 )
proof end;

definition
let c1 be Subset of ExtREAL ;
func SetMajorant c1 -> Subset of ExtREAL means :Def14: :: SUPINF_1:def 14
for b1 being R_eal holds
( b1 in a2 iff b1 is majorant of a1 );
existence
ex b1 being Subset of ExtREAL st
for b2 being R_eal holds
( b2 in b1 iff b2 is majorant of c1 )
proof end;
uniqueness
for b1, b2 being Subset of ExtREAL st ( for b3 being R_eal holds
( b3 in b1 iff b3 is majorant of c1 ) ) & ( for b3 being R_eal holds
( b3 in b2 iff b3 is majorant of c1 ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def14 defines SetMajorant SUPINF_1:def 14 :
for b1, b2 being Subset of ExtREAL holds
( b2 = SetMajorant b1 iff for b3 being R_eal holds
( b3 in b2 iff b3 is majorant of b1 ) );

registration
let c1 be Subset of ExtREAL ;
cluster SetMajorant a1 -> non empty ;
coherence
not SetMajorant c1 is empty
proof end;
end;

theorem Th52: :: SUPINF_1:52
canceled;

theorem Th53: :: SUPINF_1:53
canceled;

theorem Th54: :: SUPINF_1:54
for b1, b2 being Subset of ExtREAL st b1 c= b2 holds
for b3 being R_eal st b3 in SetMajorant b2 holds
b3 in SetMajorant b1
proof end;

theorem Th55: :: SUPINF_1:55
for b1 being Subset of ExtREAL ex b2 being non empty Subset of ExtREAL st
for b3 being R_eal holds
( b3 in b2 iff b3 is minorant of b1 )
proof end;

definition
let c1 be Subset of ExtREAL ;
func SetMinorant c1 -> Subset of ExtREAL means :Def15: :: SUPINF_1:def 15
for b1 being R_eal holds
( b1 in a2 iff b1 is minorant of a1 );
existence
ex b1 being Subset of ExtREAL st
for b2 being R_eal holds
( b2 in b1 iff b2 is minorant of c1 )
proof end;
uniqueness
for b1, b2 being Subset of ExtREAL st ( for b3 being R_eal holds
( b3 in b1 iff b3 is minorant of c1 ) ) & ( for b3 being R_eal holds
( b3 in b2 iff b3 is minorant of c1 ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def15 defines SetMinorant SUPINF_1:def 15 :
for b1, b2 being Subset of ExtREAL holds
( b2 = SetMinorant b1 iff for b3 being R_eal holds
( b3 in b2 iff b3 is minorant of b1 ) );

registration
let c1 be Subset of ExtREAL ;
cluster SetMinorant a1 -> non empty ;
coherence
not SetMinorant c1 is empty
proof end;
end;

theorem Th56: :: SUPINF_1:56
canceled;

theorem Th57: :: SUPINF_1:57
canceled;

theorem Th58: :: SUPINF_1:58
for b1, b2 being Subset of ExtREAL st b1 c= b2 holds
for b3 being R_eal st b3 in SetMinorant b2 holds
b3 in SetMinorant b1
proof end;

theorem Th59: :: SUPINF_1:59
for b1 being non empty Subset of ExtREAL st b1 is bounded_above & not b1 = {-infty } holds
ex b2 being Real st
( b2 in b1 & not b2 = -infty )
proof end;

theorem Th60: :: SUPINF_1:60
for b1 being non empty Subset of ExtREAL st b1 is bounded_below & not b1 = {+infty } holds
ex b2 being Real st
( b2 in b1 & not b2 = +infty )
proof end;

theorem Th61: :: SUPINF_1:61
canceled;

theorem Th62: :: SUPINF_1:62
for b1 being non empty Subset of ExtREAL st b1 is bounded_above & not b1 = {-infty } holds
ex b2 being R_eal st
( b2 is majorant of b1 & ( for b3 being R_eal st b3 is majorant of b1 holds
b2 <=' b3 ) )
proof end;

theorem Th63: :: SUPINF_1:63
for b1 being non empty Subset of ExtREAL st b1 is bounded_below & not b1 = {+infty } holds
ex b2 being R_eal st
( b2 is minorant of b1 & ( for b3 being R_eal st b3 is minorant of b1 holds
b3 <=' b2 ) )
proof end;

theorem Th64: :: SUPINF_1:64
for b1 being Subset of ExtREAL st b1 = {-infty } holds
b1 is bounded_above
proof end;

theorem Th65: :: SUPINF_1:65
for b1 being Subset of ExtREAL st b1 = {+infty } holds
b1 is bounded_below
proof end;

theorem Th66: :: SUPINF_1:66
for b1 being Subset of ExtREAL st b1 = {-infty } holds
ex b2 being R_eal st
( b2 is majorant of b1 & ( for b3 being R_eal st b3 is majorant of b1 holds
b2 <=' b3 ) )
proof end;

theorem Th67: :: SUPINF_1:67
for b1 being Subset of ExtREAL st b1 = {+infty } holds
ex b2 being R_eal st
( b2 is minorant of b1 & ( for b3 being R_eal st b3 is minorant of b1 holds
b3 <=' b2 ) )
proof end;

theorem Th68: :: SUPINF_1:68
for b1 being non empty Subset of ExtREAL st b1 is bounded_above holds
ex b2 being R_eal st
( b2 is majorant of b1 & ( for b3 being R_eal st b3 is majorant of b1 holds
b2 <=' b3 ) )
proof end;

theorem Th69: :: SUPINF_1:69
for b1 being non empty Subset of ExtREAL st b1 is bounded_below holds
ex b2 being R_eal st
( b2 is minorant of b1 & ( for b3 being R_eal st b3 is minorant of b1 holds
b3 <=' b2 ) )
proof end;

theorem Th70: :: SUPINF_1:70
for b1 being non empty Subset of ExtREAL st not b1 is bounded_above holds
for b2 being R_eal st b2 is majorant of b1 holds
b2 = +infty
proof end;

theorem Th71: :: SUPINF_1:71
for b1 being non empty Subset of ExtREAL st not b1 is bounded_below holds
for b2 being R_eal st b2 is minorant of b1 holds
b2 = -infty
proof end;

theorem Th72: :: SUPINF_1:72
for b1 being non empty Subset of ExtREAL ex b2 being R_eal st
( b2 is majorant of b1 & ( for b3 being R_eal st b3 is majorant of b1 holds
b2 <=' b3 ) )
proof end;

theorem Th73: :: SUPINF_1:73
for b1 being non empty Subset of ExtREAL ex b2 being R_eal st
( b2 is minorant of b1 & ( for b3 being R_eal st b3 is minorant of b1 holds
b3 <=' b2 ) )
proof end;

definition
let c1 be non empty Subset of ExtREAL ;
func sup c1 -> R_eal means :Def16: :: SUPINF_1:def 16
( a2 is majorant of a1 & ( for b1 being R_eal st b1 is majorant of a1 holds
a2 <=' b1 ) );
existence
ex b1 being R_eal st
( b1 is majorant of c1 & ( for b2 being R_eal st b2 is majorant of c1 holds
b1 <=' b2 ) )
by Th72;
uniqueness
for b1, b2 being R_eal st b1 is majorant of c1 & ( for b3 being R_eal st b3 is majorant of c1 holds
b1 <=' b3 ) & b2 is majorant of c1 & ( for b3 being R_eal st b3 is majorant of c1 holds
b2 <=' b3 ) holds
b1 = b2
proof end;
end;

:: deftheorem Def16 defines sup SUPINF_1:def 16 :
for b1 being non empty Subset of ExtREAL
for b2 being R_eal holds
( b2 = sup b1 iff ( b2 is majorant of b1 & ( for b3 being R_eal st b3 is majorant of b1 holds
b2 <=' b3 ) ) );

theorem Th74: :: SUPINF_1:74
canceled;

theorem Th75: :: SUPINF_1:75
canceled;

theorem Th76: :: SUPINF_1:76
for b1 being non empty Subset of ExtREAL
for b2 being R_eal st b2 in b1 holds
b2 <=' sup b1
proof end;

definition
let c1 be non empty Subset of ExtREAL ;
func inf c1 -> R_eal means :Def17: :: SUPINF_1:def 17
( a2 is minorant of a1 & ( for b1 being R_eal st b1 is minorant of a1 holds
b1 <=' a2 ) );
existence
ex b1 being R_eal st
( b1 is minorant of c1 & ( for b2 being R_eal st b2 is minorant of c1 holds
b2 <=' b1 ) )
by Th73;
uniqueness
for b1, b2 being R_eal st b1 is minorant of c1 & ( for b3 being R_eal st b3 is minorant of c1 holds
b3 <=' b1 ) & b2 is minorant of c1 & ( for b3 being R_eal st b3 is minorant of c1 holds
b3 <=' b2 ) holds
b1 = b2
proof end;
end;

:: deftheorem Def17 defines inf SUPINF_1:def 17 :
for b1 being non empty Subset of ExtREAL
for b2 being R_eal holds
( b2 = inf b1 iff ( b2 is minorant of b1 & ( for b3 being R_eal st b3 is minorant of b1 holds
b3 <=' b2 ) ) );

theorem Th77: :: SUPINF_1:77
canceled;

theorem Th78: :: SUPINF_1:78
canceled;

theorem Th79: :: SUPINF_1:79
for b1 being non empty Subset of ExtREAL
for b2 being R_eal st b2 in b1 holds
inf b1 <=' b2
proof end;

theorem Th80: :: SUPINF_1:80
for b1 being non empty Subset of ExtREAL
for b2 being majorant of b1 st b2 in b1 holds
b2 = sup b1
proof end;

theorem Th81: :: SUPINF_1:81
for b1 being non empty Subset of ExtREAL
for b2 being minorant of b1 st b2 in b1 holds
b2 = inf b1
proof end;

theorem Th82: :: SUPINF_1:82
for b1 being non empty Subset of ExtREAL holds
( sup b1 = inf (SetMajorant b1) & inf b1 = sup (SetMinorant b1) )
proof end;

theorem Th83: :: SUPINF_1:83
for b1 being non empty Subset of ExtREAL st b1 is bounded_above & not b1 = {-infty } holds
sup b1 in REAL
proof end;

theorem Th84: :: SUPINF_1:84
for b1 being non empty Subset of ExtREAL st b1 is bounded_below & not b1 = {+infty } holds
inf b1 in REAL
proof end;

definition
let c1 be R_eal;
redefine func { as {c1} -> Subset of ExtREAL ;
coherence
{c1} is Subset of ExtREAL
by ZFMISC_1:37;
end;

definition
let c1, c2 be R_eal;
redefine func { as {c1,c2} -> Subset of ExtREAL ;
coherence
{c1,c2} is Subset of ExtREAL
by ZFMISC_1:38;
end;

theorem Th85: :: SUPINF_1:85
for b1 being R_eal holds sup {b1} = b1
proof end;

theorem Th86: :: SUPINF_1:86
for b1 being R_eal holds inf {b1} = b1
proof end;

theorem Th87: :: SUPINF_1:87
canceled;

theorem Th88: :: SUPINF_1:88
canceled;

theorem Th89: :: SUPINF_1:89
canceled;

theorem Th90: :: SUPINF_1:90
canceled;

theorem Th91: :: SUPINF_1:91
for b1, b2 being non empty Subset of ExtREAL st b1 c= b2 holds
sup b1 <=' sup b2
proof end;

theorem Th92: :: SUPINF_1:92
for b1, b2, b3 being R_eal st b1 <=' b3 & b2 <=' b3 holds
sup {b1,b2} <=' b3
proof end;

theorem Th93: :: SUPINF_1:93
for b1, b2 being R_eal holds
( ( b1 <=' b2 implies sup {b1,b2} = b2 ) & ( b2 <=' b1 implies sup {b1,b2} = b1 ) )
proof end;

theorem Th94: :: SUPINF_1:94
for b1, b2 being non empty Subset of ExtREAL st b1 c= b2 holds
inf b2 <=' inf b1
proof end;

theorem Th95: :: SUPINF_1:95
for b1, b2, b3 being R_eal st b3 <=' b1 & b3 <=' b2 holds
b3 <=' inf {b1,b2}
proof end;

theorem Th96: :: SUPINF_1:96
for b1, b2 being R_eal holds
( ( b1 <=' b2 implies inf {b1,b2} = b1 ) & ( b2 <=' b1 implies inf {b1,b2} = b2 ) )
proof end;

theorem Th97: :: SUPINF_1:97
for b1 being non empty Subset of ExtREAL
for b2 being R_eal st ex b3 being R_eal st
( b3 in b1 & b2 <=' b3 ) holds
b2 <=' sup b1
proof end;

theorem Th98: :: SUPINF_1:98
for b1 being non empty Subset of ExtREAL
for b2 being R_eal st ex b3 being R_eal st
( b3 in b1 & b3 <=' b2 ) holds
inf b1 <=' b2
proof end;

theorem Th99: :: SUPINF_1:99
for b1, b2 being non empty Subset of ExtREAL st ( for b3 being R_eal st b3 in b1 holds
ex b4 being R_eal st
( b4 in b2 & b3 <=' b4 ) ) holds
sup b1 <=' sup b2
proof end;

theorem Th100: :: SUPINF_1:100
for b1, b2 being non empty Subset of ExtREAL st ( for b3 being R_eal st b3 in b2 holds
ex b4 being R_eal st
( b4 in b1 & b4 <=' b3 ) ) holds
inf b1 <=' inf b2
proof end;

theorem Th101: :: SUPINF_1:101
for b1, b2 being Subset of ExtREAL
for b3 being majorant of b1
for b4 being majorant of b2 holds sup {b3,b4} is majorant of b1 \/ b2
proof end;

theorem Th102: :: SUPINF_1:102
for b1, b2 being Subset of ExtREAL
for b3 being minorant of b1
for b4 being minorant of b2 holds inf {b3,b4} is minorant of b1 \/ b2
proof end;

theorem Th103: :: SUPINF_1:103
for b1, b2, b3 being Subset of ExtREAL
for b4 being majorant of b1
for b5 being majorant of b2 st b3 = b1 /\ b2 holds
inf {b4,b5} is majorant of b3
proof end;

theorem Th104: :: SUPINF_1:104
for b1, b2, b3 being Subset of ExtREAL
for b4 being minorant of b1
for b5 being minorant of b2 st b3 = b1 /\ b2 holds
sup {b4,b5} is minorant of b3
proof end;

theorem Th105: :: SUPINF_1:105
for b1, b2 being non empty Subset of ExtREAL holds sup (b1 \/ b2) = sup {(sup b1),(sup b2)}
proof end;

theorem Th106: :: SUPINF_1:106
for b1, b2 being non empty Subset of ExtREAL holds inf (b1 \/ b2) = inf {(inf b1),(inf b2)}
proof end;

theorem Th107: :: SUPINF_1:107
for b1, b2, b3 being non empty Subset of ExtREAL st b3 = b1 /\ b2 holds
sup b3 <=' inf {(sup b1),(sup b2)}
proof end;

theorem Th108: :: SUPINF_1:108
for b1, b2, b3 being non empty Subset of ExtREAL st b3 = b1 /\ b2 holds
sup {(inf b1),(inf b2)} <=' inf b3
proof end;

definition
let c1 be non empty set ;
mode bool_DOMAIN of c1 -> set means :Def18: :: SUPINF_1:def 18
( a2 is non empty Subset-Family of a1 & ( for b1 being set st b1 in a2 holds
b1 is non empty set ) );
existence
ex b1 being set st
( b1 is non empty Subset-Family of c1 & ( for b2 being set st b2 in b1 holds
b2 is non empty set ) )
proof end;
end;

:: deftheorem Def18 defines bool_DOMAIN SUPINF_1:def 18 :
for b1 being non empty set
for b2 being set holds
( b2 is bool_DOMAIN of b1 iff ( b2 is non empty Subset-Family of b1 & ( for b3 being set st b3 in b2 holds
b3 is non empty set ) ) );

definition
let c1 be bool_DOMAIN of ExtREAL ;
func SUP c1 -> Subset of ExtREAL means :Def19: :: SUPINF_1:def 19
for b1 being R_eal holds
( b1 in a2 iff ex b2 being non empty Subset of ExtREAL st
( b2 in a1 & b1 = sup b2 ) );
existence
ex b1 being Subset of ExtREAL st
for b2 being R_eal holds
( b2 in b1 iff ex b3 being non empty Subset of ExtREAL st
( b3 in c1 & b2 = sup b3 ) )
proof end;
uniqueness
for b1, b2 being Subset of ExtREAL st ( for b3 being R_eal holds
( b3 in b1 iff ex b4 being non empty Subset of ExtREAL st
( b4 in c1 & b3 = sup b4 ) ) ) & ( for b3 being R_eal holds
( b3 in b2 iff ex b4 being non empty Subset of ExtREAL st
( b4 in c1 & b3 = sup b4 ) ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def19 defines SUP SUPINF_1:def 19 :
for b1 being bool_DOMAIN of ExtREAL
for b2 being Subset of ExtREAL holds
( b2 = SUP b1 iff for b3 being R_eal holds
( b3 in b2 iff ex b4 being non empty Subset of ExtREAL st
( b4 in b1 & b3 = sup b4 ) ) );

registration
let c1 be bool_DOMAIN of ExtREAL ;
cluster SUP a1 -> non empty ;
coherence
not SUP c1 is empty
proof end;
end;

theorem Th109: :: SUPINF_1:109
canceled;

theorem Th110: :: SUPINF_1:110
canceled;

theorem Th111: :: SUPINF_1:111
canceled;

theorem Th112: :: SUPINF_1:112
for b1 being bool_DOMAIN of ExtREAL
for b2 being non empty Subset of ExtREAL st b2 = union b1 holds
sup b2 is majorant of SUP b1
proof end;

theorem Th113: :: SUPINF_1:113
for b1 being bool_DOMAIN of ExtREAL
for b2 being Subset of ExtREAL st b2 = union b1 holds
sup (SUP b1) is majorant of b2
proof end;

theorem Th114: :: SUPINF_1:114
for b1 being bool_DOMAIN of ExtREAL
for b2 being non empty Subset of ExtREAL st b2 = union b1 holds
sup b2 = sup (SUP b1)
proof end;

definition
let c1 be bool_DOMAIN of ExtREAL ;
func INF c1 -> Subset of ExtREAL means :Def20: :: SUPINF_1:def 20
for b1 being R_eal holds
( b1 in a2 iff ex b2 being non empty Subset of ExtREAL st
( b2 in a1 & b1 = inf b2 ) );
existence
ex b1 being Subset of ExtREAL st
for b2 being R_eal holds
( b2 in b1 iff ex b3 being non empty Subset of ExtREAL st
( b3 in c1 & b2 = inf b3 ) )
proof end;
uniqueness
for b1, b2 being Subset of ExtREAL st ( for b3 being R_eal holds
( b3 in b1 iff ex b4 being non empty Subset of ExtREAL st
( b4 in c1 & b3 = inf b4 ) ) ) & ( for b3 being R_eal holds
( b3 in b2 iff ex b4 being non empty Subset of ExtREAL st
( b4 in c1 & b3 = inf b4 ) ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def20 defines INF SUPINF_1:def 20 :
for b1 being bool_DOMAIN of ExtREAL
for b2 being Subset of ExtREAL holds
( b2 = INF b1 iff for b3 being R_eal holds
( b3 in b2 iff ex b4 being non empty Subset of ExtREAL st
( b4 in b1 & b3 = inf b4 ) ) );

registration
let c1 be bool_DOMAIN of ExtREAL ;
cluster INF a1 -> non empty ;
coherence
not INF c1 is empty
proof end;
end;

theorem Th115: :: SUPINF_1:115
canceled;

theorem Th116: :: SUPINF_1:116
canceled;

theorem Th117: :: SUPINF_1:117
for b1 being bool_DOMAIN of ExtREAL
for b2 being non empty Subset of ExtREAL st b2 = union b1 holds
inf b2 is minorant of INF b1
proof end;

theorem Th118: :: SUPINF_1:118
for b1 being bool_DOMAIN of ExtREAL
for b2 being Subset of ExtREAL st b2 = union b1 holds
inf (INF b1) is minorant of b2
proof end;

theorem Th119: :: SUPINF_1:119
for b1 being bool_DOMAIN of ExtREAL
for b2 being non empty Subset of ExtREAL st b2 = union b1 holds
inf b2 = inf (INF b1)
proof end;

theorem Th120: :: SUPINF_1:120
for b1, b2 being R_eal
for b3, b4 being real number st b1 = b3 & b2 = b4 holds
( b3 <= b4 iff b1 <=' b2 )
proof end;