let I be non empty Interval; :: thesis: ( sup I in I & inf I < sup I implies ex e being Real st
( e > 0 & [.((upper_bound I) - e),(upper_bound I).] c= I ) )

assume that
A1: sup I in I and
A2: inf I < sup I ; :: thesis: ex e being Real st
( e > 0 & [.((upper_bound I) - e),(upper_bound I).] c= I )

A3: sup I = upper_bound I by A1, Lm6;
I is non empty Subset of ExtREAL by Lm10;
then consider q being Element of ExtREAL such that
A4: ( q in I & q < sup I ) by A2, XXREAL_2:95;
reconsider q = q as Real by A4;
take e = (upper_bound I) - q; :: thesis: ( e > 0 & [.((upper_bound I) - e),(upper_bound I).] c= I )
thus e > 0 by A3, A4, XREAL_1:50; :: thesis: [.((upper_bound I) - e),(upper_bound I).] c= I
thus [.((upper_bound I) - e),(upper_bound I).] c= I :: thesis: verum
proof end;