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

theorem
  max(a,-infty) = a
proof
  a >= -infty by Def5,Lm4,Lm6;
  hence thesis by Def9;
end;
