let a, b be real number ; :: thesis: REAL \ (RAT a,b) = (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[
thus REAL \ (RAT a,b) c= (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[ :: according to XBOOLE_0:def 10 :: thesis: (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[ c= REAL \ (RAT a,b)
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in REAL \ (RAT a,b) or x in (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[ )
assume A1: x in REAL \ (RAT a,b) ; :: thesis: x in (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[
then A2: not x in RAT a,b by XBOOLE_0:def 5;
reconsider x = x as real number by A1;
per cases ( ( x <= a & x < b ) or ( x <= a & x >= b ) or ( x > a & x < b ) or ( x > a & x >= b ) ) ;
end;
end;
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[ or x in REAL \ (RAT a,b) )
assume A4: x in (].-infty ,a.] \/ (IRRAT a,b)) \/ [.b,+infty .[ ; :: thesis: x in REAL \ (RAT a,b)
then reconsider x = x as real number ;
A5: ( x in ].-infty ,a.] \/ (IRRAT a,b) or x in [.b,+infty .[ ) by A4, XBOOLE_0:def 3;
per cases ( x in ].-infty ,a.] or x in IRRAT a,b or x in [.b,+infty .[ ) by A5, XBOOLE_0:def 3;
end;