let x be ext-real number ; :: thesis: x + 0 = x
per cases ( x in REAL or x = -infty or x = +infty ) by XXREAL_0:14;
suppose x in REAL ; :: thesis: x + 0 = x
then reconsider r = x as real number ;
r + 0 = r ;
hence x + 0 = x ; :: thesis: verum
end;
suppose ( x = -infty or x = +infty ) ; :: thesis: x + 0 = x
hence x + 0 = x by Def3; :: thesis: verum
end;
end;