theorem
  for f,g being Function of X,X st g*f = f & rng f = X holds g = id X
proof
  let f,g be Function of X,X;
  dom g = X by Th51;
  hence thesis by FUNCT_1:23;
end;
