theorem Th6:
  RealOrd linearly_orders REAL
proof
  thus RealOrd is_reflexive_in REAL;
  thus RealOrd is_transitive_in REAL by Lm3;
  thus RealOrd is_antisymmetric_in REAL by Lm2;
  thus thesis by Lm4;
end;
