let b be Real; :: thesis: Intersection (ext_half_open_sets b) = [.b,+infty.]
for c being object holds
( c in Intersection (ext_half_open_sets b) iff c in [.b,+infty.] )
proof
let c be object ; :: thesis: ( c in Intersection (ext_half_open_sets b) iff c in [.b,+infty.] )
A1: ( not c in [.b,+infty.] implies not c in Intersection (ext_half_open_sets b) )
proof
assume A2: not c in [.b,+infty.] ; :: thesis: not c in Intersection (ext_half_open_sets b)
per cases ( not c in ExtREAL or ( c in ExtREAL & not c in [.b,+infty.] ) ) by A2;
suppose ( c in ExtREAL & not c in [.b,+infty.] ) ; :: thesis: not c in Intersection (ext_half_open_sets b)
then reconsider c = c as ExtReal ;
W: c <> +infty
proof
reconsider b = b as Element of REAL by XREAL_0:def 1;
not b > +infty by XXREAL_0:9;
hence c <> +infty by A2, XXREAL_1:1; :: thesis: verum
end;
per cases ( c = -infty or c in REAL ) by W, XXREAL_0:14;
suppose c in REAL ; :: thesis: not c in Intersection (ext_half_open_sets b)
then reconsider c = c as Element of REAL ;
not for n being Element of NAT holds c in (ext_half_open_sets b) . n
proof
set bc = b - c;
KK: b - c > 0
proof
( c >= b implies c in [.b,+infty.] )
proof
assume ASS0: c >= b ; :: thesis: c in [.b,+infty.]
reconsider c = c as Element of ExtREAL by NUMBERS:31;
( b <= c & c <= +infty ) by XXREAL_0:3, ASS0;
then c in { a where a is Element of ExtREAL : ( b <= a & a <= +infty ) } ;
hence c in [.b,+infty.] by XXREAL_1:def 1; :: thesis: verum
end;
then c - b < 0 by XREAL_1:49, A2;
then (- 1) * (c + (- b)) > 0 ;
hence b - c > 0 ; :: thesis: verum
end;
consider n being Nat such that
W1: ( 1 / n < b - c & n > 0 ) by KK, PP;
reconsider spec = 1 / n as Real ;
F0: c <= b - (1 / n) by XREAL_1:11, W1;
n < n + 1 by NAT_1:13;
then (n + 1) " < n " by W1, XREAL_1:88;
then 1 / (n + 1) < n " by XCMPLX_1:215;
then 1 / (n + 1) < 1 / n by XCMPLX_1:215;
then f: b - (1 / n) < b - (1 / (n + 1)) by XREAL_1:10;
f1: not c in ].(b - (1 / (n + 1))),+infty.]
proof
( c in ].(b - (1 / (n + 1))),+infty.] implies c >= b - (1 / (n + 1)) )
proof
assume c in ].(b - (1 / (n + 1))),+infty.] ; :: thesis: c >= b - (1 / (n + 1))
then c in { e where e is Element of ExtREAL : ( b - (1 / (n + 1)) < e & e <= +infty ) } by XXREAL_1:def 3;
then consider e being Element of ExtREAL such that
E1: ( e = c & b - (1 / (n + 1)) < e & e <= +infty ) ;
thus c >= b - (1 / (n + 1)) by E1; :: thesis: verum
end;
hence not c in ].(b - (1 / (n + 1))),+infty.] by f, F0, XXREAL_0:2; :: thesis: verum
end;
not for n being Element of NAT holds c in (ext_half_open_sets b) . n
proof
take nn = n + 1; :: thesis: ( nn is Element of NAT & not c in (ext_half_open_sets b) . nn )
thus ( nn is Element of NAT & not c in (ext_half_open_sets b) . nn ) by ORDINAL1:def 12, f1, Def300; :: thesis: verum
end;
hence not for n being Element of NAT holds c in (ext_half_open_sets b) . n ; :: thesis: verum
end;
hence not c in Intersection (ext_half_open_sets b) by PROB_1:13; :: thesis: verum
end;
end;
end;
end;
end;
( c in [.b,+infty.] implies c in Intersection (ext_half_open_sets b) )
proof end;
hence ( c in Intersection (ext_half_open_sets b) iff c in [.b,+infty.] ) by A1; :: thesis: verum
end;
hence Intersection (ext_half_open_sets b) = [.b,+infty.] ; :: thesis: verum