let X be Subset of REAL ; :: thesis: ( X is compact & ( for g1, g2 being real number st g1 in X & g2 in X holds
[.g1,g2.] c= X ) implies ex p, g being real number st X = [.p,g.] )

assume that
A1: X is compact and
A2: for g1, g2 being real number st g1 in X & g2 in X holds
[.g1,g2.] c= X ; :: thesis: ex p, g being real number st X = [.p,g.]
per cases ( X = {} or X <> {} ) ;
suppose A3: X = {} ; :: thesis: ex p, g being real number st X = [.p,g.]
take 1 ; :: thesis: ex g being real number st X = [.1,g.]
take 0 ; :: thesis: X = [.1,0 .]
thus X = [.1,0 .] by A3, XXREAL_1:29; :: thesis: verum
end;
suppose A4: X <> {} ; :: thesis: ex p, g being real number st X = [.p,g.]
end;
end;