reserve D for non empty set,
  f for FinSequence of D,
  g for circular FinSequence of D,
  p,p1,p2,p3,q for Element of D;
reserve f for non constant standard special_circular_sequence,
  p,p1,p2,p3,q for Point of TOP-REAL 2;
reserve z for clockwise_oriented non constant standard
  special_circular_sequence;

theorem
  z/.1 = W-min L~z & S-min L~z <> W-min L~z implies (S-max L~z)..z < (
  S-min L~z)..z
proof
  set g = Rotate(z,N-min L~z);
A1: L~z = L~g by REVROT_1:33;
  assume
A2: z/.1 = W-min L~z;
  for i be Nat st 1 < i & i < len z holds z/.i <> z/.1 by
GOBOARD7:36;
  then
A3: Rotate(g,W-min L~z) = z by A2,FINSEQ_6:181;
A4: S-min L~g in rng g & S-max L~g in rng g by SPRECT_2:41,42;
  N-min L~z in rng z by SPRECT_2:39;
  then
A5: g/.1 = N-min L~g by A1,FINSEQ_6:92;
  then
A6: W-min L~g in rng g & (S-max L~g)..g < (S-min L~g)..g by SPRECT_2:43,73;
  assume S-min L~z <> W-min L~z;
  then (S-min L~g)..g < (W-min L~g)..g by A1,A5,SPRECT_2:74;
  hence thesis by A1,A3,A4,A6,Th11;
end;
