reserve x,x0, r, s, h for Real,

  n for Element of NAT,
  rr, y for set,
  Z for open Subset of REAL,

  f, f1, f2 for PartFunc of REAL,REAL;

theorem Th82:
  Z c= ].-1,1.[ implies arccot is_differentiable_on Z & for x st x
  in Z holds ((arccot)`|Z).x = -1/(1+x^2)
proof
  assume
A1: Z c= ].-1,1.[;
  then
A2: arccot is_differentiable_on Z by Th74,FDIFF_1:26;
  for x st x in Z holds ((arccot)`|Z).x = -1/(1+x^2)
  proof
    let x;
    assume
A3: x in Z;
    then
A4: -1 <= x by A1,XXREAL_1:4;
A5: x <= 1 by A1,A3,XXREAL_1:4;
    thus ((arccot)`|Z).x = diff(arccot,x) by A2,A3,FDIFF_1:def 7
      .= -1/(1+x^2) by A4,A5,Th76;
  end;
  hence thesis by A1,Th74,FDIFF_1:26;
end;
