reserve x for set;
reserve a,b,c,d for ExtReal;

theorem
  max(a,+infty) = +infty
proof
  a <= +infty by Def5,Lm3,Lm5;
  hence thesis by Def9;
end;
