theorem Th22:
  x in rng p implies x..p - 1 is Element of NAT & len p - x..p is
  Element of NAT
proof
  assume x in rng p;
  then 1 <= x..p & x..p <= len p by Th21;
  hence thesis by INT_1:5;
end;
