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

theorem
  max(min(a,b),b) = b
by Th17,Def9;
