Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  sin_cos6.miz   Sprache: Mizar

 

:: Inverse Trigonometric Functions Arcsin and Arccos
::  by Artur Korni{\l}owicz and Yasunari Shidama
::
:: Received September 25, 2004
:: Copyright (c) 2004-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS  java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      FUNCT_1,then   beingbeing  java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 58
t /"fuparrow):  zx= {}&z s.u,L )and
 notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XXREAL_0,
      XREAL_0,REAL_1,INT_1,SQUARE_1,RCOMP_1,RELAT_1,FUNCT_1, PARTFUN1,
      RELSET_1, PARTFUN2, RFUNCT_2, FCONT_1, FDIFF_1, SIN_COS;
 constructors PARTFUN1, ARYTM_0,90,def ;
      FCONT_1, FDIFF_1, COMSEQ_3, SIN_COS, RVSUM_1, RELSET_1;
 registrations FUNCT_1, RELSET_1, XCMPLX_0, XXREAL_0, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 14
      RCOMP_1, , ,VALUED_0,ORDINAL1;
 requirements SUBSET, NUMERALS, ARITHM, REAL;
 definitions TARSKI, XBOOLE_0, FUNCT_1, XXREAL_0;
 equalities SQUARE_1 hen
 expansions FUNCT_1;: 1;
 theorems RELAT_1, SIN_COS, FUNCT_1, COMPTRIG, FDIFF_1, FDIFF_2, RFUNCT_2,
      XCMPLX_1dom =dom (.)&dom s=dom byA28,AYBEL_5:;
      XXREAL_0, XXREAL_1, XBOOLE_1;
 schemes INT_1;

begin :: Preliminaries

reserve r,r1,r2, s,x for Real,
  i for Integer;

theorem Th1:
  0 <= r & r < s implies [\ r/s /] = 0
proof
  assume
A1: 0 <= r & r < s;
  then r/s < s/s by XREAL_1:74;
  hence  ins A82java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  then
  hence thesis by A1,INT_1:def 6;
end;

theorem Th2:
  for f being Function, X, Y being set st f|        is Element of Fs9 : u in dom (FFD.s) } TARSKI:;
  X holds f|Y is oneInf (FD.)="\((FDs, L) &rng (s =rFFDs(s)by A29,
proof
  let f be Function, X, Y be set such that
A1: f|X is one-to-one and
A2: Y c= X;
  YELLOW_2:def 6;
A3: dom (f|Y) = dom f /\ Y by RELAT_1:61;
  assume
A4: x in dom (f|Y);
  then
A5: x in Y by A3,XBOOLE_0:def 4;
  x in dom f by A3,A4,XBOOLE_0:def 4;
  then x in dom         rInfs  A84,WAYBEL_5:14;
  then
A6: x in dom (f|X) by RELAT_1:61;
  assume
A7: y in dom (f|Y);
  then
A8: y in Y by A3,XBOOLE_0:       j  Element of  holds rng(D.)is directed
  y in dom f by A3,A7,XBOOLE_0:def 4      proof
  then y in dom f /\ X by A2,A8,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 32
  then
A9: y in dom (f|X) by RELAT_1:61;
  assume
A10: (f|Y).x = (f|Y).y;
  (java.lang.StringIndexOutOfBoundsException: Range [8, 4) out of bounds for length 19
    .= (fA93    k in rng(FDj and
    .= f.y by A8,A10,FUNCT_1:A94    m in FD.;
    .= (f|X).y by A2,A8,FUNCT_1:49;
  hence thesis by A1,A6,A9;
end;

begin :: sine and cosine

theorem Th3:
  -1 <= sin r
proof
  sin.r in [.-1,1.] by COMPTRIG:27;
  then sin  in[-1,1.] by SIN_COS:def 17;
  hence thesis by XXREAL_1:1;
end;

theorem Th4:
  sin r <= 1
proof
  sin.r in [.-1,1.] by COMPTRIG:27;
  then sin r in [.-1,A95:    kd indom F. 
  hence thesis by XXREAL_1:1;
end;

theorem Th5:
  -1 <= cos r
proof
  cos.r in [.-1,1.] by COMPTRIG:27;
  then cos r in [.-1,1.] by SIN_COS:def 19;
  hence  by XXREAL_1:1;
end;

theorem Th6:
  cos r <= 1
proof
  cos.r in [.-1,1.] by COMPTRIG:27;
  then cos  in[-1,1. bySIN_COS:def 19;
  hence thesis by XXREAL_1:1;
end;

deffunc T(nteger) =2PI$;

Lm1: [.-PI/2+T(0),PI/2+T(0).] = [.-PI/2,PI/2.];

Lm2: [.PI/2+T(0),3/2*PI+T(0).] = [.PI/2,3/2*PI.];

Lm3: [.T(0),PI+T(0).] = [.0,PI.];

Lm4: [.PI+T(0),2*PI+T        then  FF being of BP that

Lm5: r^2 + s^2 = 1 implies -1 <= r & r <= A:j=FF by ;
proof
  2 >= by XREAL_1:63;
  then -s^2 <= -0;
  then r^2 - (r^2 + s^2) <= 0;
  hence thesis by SQUARE_1:43thenreconsider kd as Element of A95A99
end;

reco md Element BPby A,99java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  cluster PI -> positive;
  coherence
  proof
    PI in  in FF 
    hence PI > 0 by XXREAL_1:4;
  d
end;

Lm6: PI/2 < PI/java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

Lm7: 1*PI < 3/2*PI by XREAL_1:68;

Lm8: 0+T(1) < PI/2+T(1) by XREAL_1        gmd  /" )

Lm9: 3/2*PI <         m< n  ,105,,,111,110YELLOW_035java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

theorem Th7A115:Inf Sups FD =Sup  Frege FD by WAYBEL_5:19
  sin(-PI/2) = -1 & sin.-PI/2 = -1
proof
  sin.(-PI/2) = sin.(-PI/2+2*PI) by SIN_COS:78
    .= -1 by SIN_COS:76;
  hence thesis by SIN_COS:def 17;
end;

theorem Th8:
  sin.r = sin.(r+2*PI*i)
proof
  thus sin.r = sin r by SIN_COS:def 17
    .= sin(r+2*PI*i) by COMPLEX2:8
    .= sin.(r+2*PI*i) by SIN_COS:def 17;
end;

theorem Th9:
  cos(-PI/2) = 0 & cos.-PI/2 = 0
proof
  cos.(-PI/2) = cos.(-PI/2+2*PI) by SIN_COS:78
    .= 0 by SIN_COS:76;
  hence thesis by SIN_COS:def 19;
end;

theorem Th10:
  cos.r = cos.(r+2*PI*i)
proof
  thus cos.r = cos r by SIN_COS:def 19
    .= cos(r+2*PI*i) by COMPLEX2:9
    .= cos.(r+2*PI*i) by SIN_COS:def 19;
end;

theorem Th11:
  2*PI*i < r & r < PI+2*PI*i implies sin r > 0
proof
  assume T(i) < r & r < PI+T(i);
  then T(i)-T(i) < r-T(i) & r-T(i) < PI+T(i)-T(i) by XREAL_1:9;
  then r-T(i) in ].0,PI.[ by XXREAL_1:4;
  then sin.(r+T(-i)) > 0 by COMPTRIG:7;
  then sin.r > 0 by Th8;
  hence thesis by SIN_COS:def 17;
end;

theorem Th12:
  PI+2*PI*i < r & r < 2*PI+2*PI*i implies sin r < 0
proof
  assume PI+T(i) < r & r < 2*PI+T(i);
  then PI+T(i)-T(i) < r-T(i) & r-T(i) < 2*PI+T(i)-T(i) by XREAL_1:9;
  then r-T(i) in ].PI,2*PI.[ by XXREAL_1:4;
  then sin.(r+T(-i)) < 0 by COMPTRIG:9;
  then sin.r < 0 by Th8;
  hence thesis by SIN_COS:def 17;
end;

theorem Th13:
  -PI/2+2*PI*i < r & r < PI/2+2*PI*i implies cos r > 0
proof
  assume that
A1: -PI/2+T(i) < r and
A2: r < PI/2+T(i);
  r+PI/2 < PI/2+T(i)+PI/2 by A2,XREAL_1:6;
  then
A3: r+PI/2 < PI+T(i);
A4: sin(r+PI/2) = cos r by SIN_COS:79;
  -PI/2+T(i)+PI/2 < r+PI/2 by A1,XREAL_1:6;
  hence thesis by A3,A4,Th11;
end;

theorem Th14:
  PI/2+2*PI*i < r & r < 3/2*PI+2*PI*i implies cos r < 0
proof
  assume that
A1: PI/2+T(i) < r and
A2: r < 3/2*PI+T(i);
  PI/2+T(i)+PI/2 < r+PI/2 by A1,XREAL_1:6;
  then
A3: PI+T(i) < r+PI/2;
  r+PI/2 < 3/2*PI+T(i)+PI/2 by A2,XREAL_1:6;
  then
A4: r+PI/2 < 2*PI+T(i);
  sin(r+PI/2) = cos r by SIN_COS:79;
  hence thesis by A3,A4,Th12;
end;

theorem Th15:
  3/2*PI+2*PI*i < r & r < 2*PI+2*PI*i implies cos r > 0
proof
  assume that
A1: 3/2*PI+T(i) < r and
A2: r < 2*PI+T(i);
  3/2*PI+T(i)-PI < r-PI by A1,XREAL_1:9;
  then
A3: PI/2+T(i) < r-PI;
  PI+T(i) < 3/2*PI+T(i) & r-PI < 2*PI+T(i)-PI by A2,COMPTRIG:5,XREAL_1:6,9;
  then
A4: r-PI < 3/2*PI+T(i) by XXREAL_0:2;
  cos(r-PI) = cos(-(PI-r)) .= cos(PI+-r) by SIN_COS:31
    .= -cos(-r) by SIN_COS:79
    .= -cos r by SIN_COS:31;
  hence thesis by A3,A4,Th14;
end;

theorem
  2*PI*i <= r & r <= PI+2*PI*i implies sin r >= 0
proof
  assume
A1: 2*PI*i <= r & r <= PI+2*PI*i;
  per cases by A1,XXREAL_0:1;
  suppose
    2*PI*i < r & r < PI+2*PI*i;
    hence thesis by Th11;
  end;
  suppose
A2: 2*PI*i = r;
    sin(0+2*PI*i) = sin 0 by COMPLEX2:8;
    hence thesis by A2,SIN_COS:31;
  end;
  suppose
    r = PI+2*PI*i;
    hence thesis by COMPLEX2:8,SIN_COS:77;
  end;
end;

theorem
  PI+2*PI*i <= r & r <= 2*PI+2*PI*i implies sin r <= 0
proof
  assume PI+2*PI*i <= r & r <= 2*PI+2*PI*i;
  then PI+2*PI*i < r & r < 2*PI+2*PI*i or PI+2*PI*i = r or r = 2*PI+2*PI*i by
XXREAL_0:1;
  hence thesis by Th12,COMPLEX2:8,SIN_COS:77;
end;

theorem
  -PI/2+2*PI*i <= r & r <= PI/2+2*PI*i implies cos r >= 0
proof
  assume -PI/2+2*PI*i <= r & r <= PI/2+2*PI*i;
  then
  -PI/2+2*PI*i < r & r < PI/2+2*PI*i or -PI/2+2*PI*i = r or r = PI/2+2*PI*
  i by XXREAL_0:1;
  hence thesis by Th9,Th13,COMPLEX2:9,SIN_COS:77;
end;

theorem
  PI/2+2*PI*i <= r & r <= 3/2*PI+2*PI*i implies cos r <= 0
proof
  assume PI/2+2*PI*i <= r & r <= 3/2*PI+2*PI*i;
  then
  PI/2+2*PI*i < r & r < 3/2*PI+2*PI*i or PI/2+2*PI*i = r or r = 3/2*PI+2*
  PI*i by XXREAL_0:1;
  hence thesis by Th14,COMPLEX2:9,SIN_COS:77;
end;

theorem
  3/2*PI+2*PI*i <= r & r <= 2*PI+2*PI*i implies cos r >= 0
proof
  assume
A1: 3/2*PI+2*PI*i <= r & r <= 2*PI+2*PI*i;
  per cases by A1,XXREAL_0:1;
  suppose
    3/2*PI+2*PI*i < r & r < 2*PI+2*PI*i;
    hence thesis by Th15;
  end;
  suppose
    3/2*PI+2*PI*i = r;
    hence thesis by COMPLEX2:9,SIN_COS:77;
  end;
  suppose
    r = 2*PI+2*PI*i;
    hence thesis by COMPLEX2:9,SIN_COS:77;
  end;
end;

theorem Th21:
  2*PI*i <= r & r < 2*PI+2*PI*i & sin r = 0 implies r = 2*PI*i or r = PI+2*PI*i
proof
  assume
A1: T(i) <= r & r < 2*PI+T(i);
  assume
A2: sin r = 0;
  then
A3: r <= PI+T(i) or 2*PI+T(i) <= r by Th12;
  r <= T(i) or r >= PI+T(i) by A2,Th11;
  hence thesis by A1,A3,XXREAL_0:1;
end;

theorem Th22:
  2*PI*i <= r & r < 2*PI+2*PI*i & cos r = 0 implies r = PI/2+2*PI*
  i or r = 3/2*PI+2*PI*i
proof
  assume that
A1: T(i) <= r and
A2: r < 2*PI+T(i);
A3: -PI/2+T(i) < 0+T(i) by XREAL_1:6;
  assume
A4: cos r = 0;
  then
A5: PI/2+T(i) >= r or r >= 3/2*PI+T(i) by Th14;
  -PI/2+T(i) >= r or r >= PI/2+T(i) by A4,Th13;
  then r = PI/2+T(i) or r = 3/2*PI+T(i) or r > 3/2*PI+T(i) by A1,A5,A3,
XXREAL_0:1,2;
  hence thesis by A2,A4,Th15;
end;

theorem Th23:
  sin r = -1 implies r = 3/2*PI + 2*PI*[\r/(2*PI)/]
proof
  set i = [\r/(2*PI)/];
  consider w being Real such that
A1: w = (2*PI)*-i+r and
A2: 0 <= w & w < 2*PI by COMPLEX2:1;
  assume
A3: sin r = -1;
  then (cos r)*(cos r)+(-1)*(-1) = 1 by SIN_COS:29;
  then
A4: cos r = 0;
  0+T(i) <= w+T(i) & w+T(i) < 2*PI+T(i) by A2,XREAL_1:6;
  then r = PI/2+T(i) or r = 3/2*PI+T(i) by A1,A4,Th22;
  hence thesis by A3,COMPLEX2:8,SIN_COS:77;
end;

theorem Th24:
  sin r = 1 implies r = PI/2 + 2*PI*[\r/(2*PI)/]
proof
  set i = [\r/(2*PI)/];
  consider w being Real such that
A1: w = (2*PI)*-i+r and
A2: 0 <= w & w < 2*PI by COMPLEX2:1;
  assume
A3: sin r = 1;
  then (cos r)*(cos r)+1*1 = 1 by SIN_COS:29;
  then
A4: cos r = 0;
  0+T(i) <= w+T(i) & w+T(i) < 2*PI+T(i) by A2,XREAL_1:6;
  then r = PI/2+T(i) or r = 3/2*PI+T(i) by A1,A4,Th22;
  hence thesis by A3,COMPLEX2:8,SIN_COS:77;
end;

theorem Th25:
  cos r = -1 implies r = PI + 2*PI*[\r/(2*PI)/]
proof
  set i = [\r/(2*PI)/];
  consider w being Real such that
A1: w = (2*PI)*-i+r and
A2: 0 <= w & w < 2*PI by COMPLEX2:1;
  assume
A3: cos r = -1;
  then (sin r)*(sin r)+(-1)*(-1) = 1 by SIN_COS:29;
  then
A4: sin r = 0;
  0+T(i) <= w+T(i) & w+T(i) < 2*PI+T(i) by A2,XREAL_1:6;
  then r = 0+T(i) or r = PI+T(i) by A1,A4,Th21;
  hence thesis by A3,COMPLEX2:9,SIN_COS:31;
end;

theorem Th26:
  cos r = 1 implies r = 2*PI*[\r/(2*PI)/]
proof
  set i = [\r/(2*PI)/];
  consider w being Real such that
A1: w = (2*PI)*-i+r and
A2: 0 <= w & w < 2*PI by COMPLEX2:1;
  assume
A3: cos r = 1;
  then (sin r)*(sin r)+1*1 = 1 by SIN_COS:29;
  then
A4: sin r = 0;
  0+T(i) <= w+T(i) & w+T(i) < 2*PI+T(i) by A2,XREAL_1:6;
  then r = 0+T(i) or r = PI+T(i) by A1,A4,Th21;
  hence thesis by A3,COMPLEX2:9,SIN_COS:77;
end;

theorem Th27:
  0 <= r & r <= 2*PI & sin r = -1 implies r = 3/2*PI
proof
  assume that
A1: 0 <= r and
A2: r <= 2*PI and
A3: sin r = -1;
A4: r = 2*PI or r < 2*PI by A2,XXREAL_0:1;
  thus r = 3/2*PI + 2*PI*[\r/(2*PI)/] by A3,Th23
    .= 3/2*PI + 2*PI*0 by A1,A3,A4,Th1,SIN_COS:77
    .= 3/2*PI;
end;

theorem Th28:
  0 <= r & r <= 2*PI & sin r = 1 implies r = PI/2
proof
  assume that
A1: 0 <= r and
A2: r <= 2*PI and
A3: sin r = 1;
A4: r = 2*PI or r < 2*PI by A2,XXREAL_0:1;
  thus r = PI/2 + 2*PI*[\r/(2*PI)/] by A3,Th24
    .= PI/2 + 2*PI*0 by A1,A3,A4,Th1,SIN_COS:77
    .= PI/2;
end;

:: case cos(r) = 1 has been proved as UNIROOTS:17, COMPTRIG:79

theorem Th29:
  0 <= r & r <= 2*PI java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
proof
  assume that
A1: 0 <= r and
A2: r <= 2*PI and
A3: cos r = -1;
A4: r = 2*PI or r < 2*PI by A2,XXREAL_0:1;
  thus r = PI + 2*PI*[\r/(2*PI)/] by A3,Th25
    .= PI + 2*PI*0 by A1,A3,A4,Th1,SIN_COS:77
    .= PI;
end;

theorem Th30:
  0 <= r & r < PI/2 implies sin r < 1
proof
  assume that
A1: 0 <= r and
A2: r < PI/2 and
A3: sin r >= 1;
A4: sin r <= 1 by Th4;
  1/2*PI <= 2*PI by XREAL_1:64;
  then r < 2*PI by A2,XXREAL_0:2;
  hence thesis by A1,A2,A3,A4,Th28,XXREAL_0:1;
end;

theorem Th31:
  0 <= r & r < 3/2*PI implies sin r > -1
proof
  assume that
A1: 0 <= r and
A2: r < 3/2*PI and
A3: sin r <= -1;
A4: sin r >= -1 by Th3;
  r <= 2*PI by A2,Lm9,XXREAL_0:2;
  hence thesis by A1,A2,A3,A4,Th27,XXREAL_0:1;
end;

theorem Th32:
  3/2*PI < r & r <= 2*PI implies sin r > -1
proof
  assume
A1: 3/2*PI < r & r <= 2*PI & sin r <= -1;
  sin r >= -1 by Th3;
  hence thesis by A1,Th27,XXREAL_0:1;
end;

theorem Th33:
  PI/2 < r & r <= 2*PI implies sin r < 1
proof
  assume
A1: PI/2 < r & r <= 2*PI & sin r >= 1;
  sin r <= 1 by Th4;
  hence thesis by A1,Th28,XXREAL_0:1;
end;

theorem Th34:
  0 < r & r < 2*PI implies cos r < 1
proof
  assume 0 < r & r < 2*PI;
  then
A1: cos r <> 1 by COMPTRIG:61;
  cos r <= 1 by Th6;
  hence thesis by A1,XXREAL_0:1;
end;

theorem Th35:
  0 <= r & r < PI implies cos r > -1
proof
  assume that
A1: 0 <= r and
A2: r < PI;
A3: cos r >= -1 by Th5;
  r <= 2*PI by A2,Lm10,XXREAL_0:2;
  hence thesis by A1,A2,A3,Th29,XXREAL_0:1;
end;

theorem Th36:
  PI < r & r <= 2*PI implies cos r > -1
proof
  assume
A1: PI < r & r <= 2*PI;
  cos r >= -1 by Th5;
  hence thesis by A1,Th29,XXREAL_0:1;
end;

theorem
  2*PI*i <= r & r < PI/2+2*PI*i implies sin r < 1
proof
  assume that
A1: T(i) <= r & r < PI/2+T(i) and
A2: sin r >= 1;
A3: T(i)-T(i) <= r-T(i) & r-T(i) < PI/2+T(i)-T(i) by A1,XREAL_1:9;
A4: sin r <= 1 by Th4;
  sin(r-T(i)) = sin(r+T(-i)) .= sin r by COMPLEX2:8
    .= 1 by A2,A4,XXREAL_0:1;
  hence thesis by A3,Th30;
end;

theorem
  2*PI*i <= r & r < 3/2*PI+2*PI*i implies sin r > -1
proof
  assume that
A1: T(i) <= r & r < 3/2*PI+T(i) and
A2: sin r <= -1;
A3: T(i)-T(i) <= r-T(i) & r-T(i) < 3/2*PI+T(i)-T(i) by A1,XREAL_1:9;
A4: sin r >= -1 by Th3;
  sin(r-T(i)) = sin(r+T(-i)) .= sin r by COMPLEX2:8
    .= -1 by A2,A4,XXREAL_0:1;
  hence thesis by A3,Th31;
end;

theorem
  3/2*PI+2*PI*i < r & r <= 2*PI+2*PI*i implies sin r > -1
proof
  assume that
A1: 3/2*PI+T(i) < r & r <= 2*PI+T(i) and
A2: sin r <= -1;
A3: 3/2*PI+T(i)-T(i) < r-T(i) & r-T(i) <= 2*PI+T(i)-T(i) by A1,XREAL_1:9;
A4: sin r >= -1 by Th3;
  sin(r-T(i)) = sin(r+T(-i)) .= sin r by COMPLEX2:8
    .= -1 by A2,A4,XXREAL_0:1;
  java.lang.StringIndexOutOfBoundsException: Range [28, 11) out of bounds for length 28
end;

theorem
  PI/2+2*PI*i < r & r <= 2*PI+2*PI*i implies sin r < 1
proof
  assume that
A1: PI/2+T(i) < r & r <= 2*PI+T(i) and
A2: sin r >= 1;
A3: PI/2+T(i)-T(i) < r-T(i) & r-T(i) <= 2*PI+T(i)-T(i) by A1,XREAL_1:9;
A4: sin r <= 1 by Th4;
  sin(r-T(i)) = sin(r+T(-i)) .= sin r by COMPLEX2:8
    .= 1 by A2,A4,XXREAL_0:1;
  hence thesis by A3,Th33;
end;

theorem
  2*PI*i < r & r < 2*PI+2*PI*i implies cos r < 1
proof
  assume that
A1: T(i) < r & r < 2*PI+T(i) and
A2: cos r >= 1;
A3: T(i)-T(i) < r-T(i) & r-T(i) < 2*PI+T(i)-T(i) by A1,XREAL_1:9;
A4: cos r <= 1 by Th6;
  cos(r-T(i)) = cos(r+T(-i)) .= cos r by COMPLEX2:9
    .= 1 by A2,A4,XXREAL_0:1;
  hence thesis by A3,Th34;
end;

theorem
  2*PI*i <= r & r < PI+2*PI*i implies cos r > -1
proof
  assume that
A1: T(i) <= r & r < PI+T(i) and
A2: cos r <= -1;
A3: T(i)-T(i) <= r-T(i) & r-T(i) < PI+T(i)-T(i) by A1,XREAL_1:9;
A4: cos r >= -1 by Th5;
  cos(r-T(i)) = cos(r+T(-i)) .= cos r by COMPLEX2:9
    .= -1 by A2,A4,XXREAL_0:1;
  hence thesis by A3,Th35;
end;

theorem
  PI+2*PI*i < r & r <= 2*PI+2*PI*i implies cos r > -1
proof
  assume that
A1: PI+T(i) < r & r <= 2*PI+T(i) and
A2: cos r <= -1;
A3: PI+T(i)-T(i) < r-T(i) & r-T(i) <= 2*PI+T(i)-T(i) by A1,XREAL_1:9;
A4: cos r >= -1 by Th5;
  cos(r-T(i)) = cos(r+T(-i)) .= cos r by COMPLEX2:9
    .= -1 by A2,A4,XXREAL_0:1;
  hence thesis by A3,Th36;
end;

theorem
  cos(2*PI*r) = 1 implies r in INT
proof
  reconsider d = 2 as positive Real;
  assume
A1: cos(2*PI*r) = 1;
  assume not r in INT;
  then r is not integer by INT_1:def 2;
  then reconsider t = frac r as positive Real by INT_1:46;
  set s = [\r/];
A2: r = s+t & d*PI*t < d*PI*1 by INT_1:42,43,XREAL_1:68;
  cos(2*PI*(s+t)) = cos(2*PI*s+2*PI*t) .= cos(2*PI*t) by COMPLEX2:9;
  hence contradiction by A1,A2,Th34;
end;

theorem Th45:
  sin.:[.-PI/2,PI/2.] = [.-1,1.] by COMPTRIG:30,RELAT_1:115;

theorem Th46:
  sin.:].-PI/2,PI/2.[ = ].-1,1.[
proof
  sin|].-PI/2,PI/2.[ c= sin|[.-PI/2,PI/2.] by RELAT_1:75,XXREAL_1:25;
  then
A1: rng (sin|].-PI/2,PI/2.[) c= rng (sin|[.-PI/2,PI/2.]) by RELAT_1:11;
A2: rng (sin|].-PI/2,PI/2.[) = sin.:].-PI/2,PI/2.[ by RELAT_1:115;
  thus sin.:].-PI/2,PI/2.[ c= ].-1,1.[
  proof
    let x be object;
    assume
A3: x in sin.:].-PI/2,PI/2.[;
    then consider a being object such that
A4: a in dom sin and
A5: a in ].-PI/2,PI/2.[ and
A6: sin.a = x by FUNCT_1:def 6;
    reconsider a, x as Real by A4,A6;
    set i = [\a/(2*PI)/];
A7: T(i)/(2*PI*1) = i/1 by XCMPLX_1:91;
A8: sin.a = sin a by SIN_COS:def 17;
A9: now
      assume x = 1;
      then
A10:  a = PI/2+T(i) by A6,A8,Th24;
      then PI/2+T(i) < PI/2 by A5,XXREAL_1:4;
      then PI/2+T(i)-PI/2 < PI/2-PI/2 by XREAL_1:9;
      then i < 0;
      then
A11:  i <= -1 by INT_1:8;
      -PI/2 < PI/2+T(i) by A5,A10,XXREAL_1:4;
      then -PI/2-PI/2 < PI/2+T(i)-PI/2 by XREAL_1:9;
      then ((-1)*PI)/(2*PI) < i by A7,XREAL_1:74;
      then (-1)/2 < i by XCMPLX_1:91;
      hence contradiction by A11,XXREAL_0:2;
    end;
A12: now
      assume x = -1;
      then
A13:  a = 3/2*PI+T(i) by A6,A8,Th23;
      then -PI/2 < 3/2*PI+T(i) by A5,XXREAL_1:4;
      then -PI/2-3/2*PI < 3/2*PI+T(i)-3/2*PI by XREAL_1:9;
      then (-2*PI)/(2*PI) < i by A7,XREAL_1:74;
      then -((2*PI)/(2*PI)) < i by XCMPLX_1:187;
      then -1 < i by XCMPLX_1:60;
      then
A14:  -1+1 <= i by INT_1:7;
      3/2*PI+T(i) < PI/2 by A5,A13,XXREAL_1:4;
      then 3/2*PI+T(i)-3/2*PI < PI/2-3/2*PI by XREAL_1:9;
      then i < (-PI)/(2*PI) by A7,XREAL_1:74;
      hence contradiction by A14,XCMPLX_1:91;
    end;
    x <= 1 by A1,A2,A3,COMPTRIG:30,XXREAL_1:1;
    then
A15: x < 1 by A9,XXREAL_0:1;
    -1 <= x by A1,A2,A3,COMPTRIG:30,XXREAL_1:1;
    then -1 < x by A12,XXREAL_0:1;
    hence thesis by A15,XXREAL_1:4;
  end;
  let a be object;
  assume
A16: a in ].-1,1.[;
  then reconsider a as Real;
  -1 < a & a < 1 by A16,XXREAL_1:4;
  then a in rng (sin|[.-PI/2,PI/2.]) by COMPTRIG:30,XXREAL_1:1;
     objectsuchjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A17take ;
A18: (sin|[.-PI/2,PI/2.]).x = a by FUNCT_1:def 3;
  reconsider x as Real by A17;
A19: sin.x = a by A17,A18,FUNCT_1:47;
  dom (sin|[.-PI/2,PI/2.]) = [.-PI/2,PI/2.] by RELAT_1:62,SIN_COS:24;
  then -PI/2 <= x & x <= PI/2 by A17,XXREAL_1:1;
  then -PI/2 < x & x < PI/2 or -PI/2 = x or PI/2 = x  h9|=f;
  then x in ].-PI/2,PI/2.[ by A16,A19,Th7,SIN_COS:76,XXREAL_1:4;
  hence thesis by A19,FUNCT_1:def 6,SIN_COS:24;
end;

theorem
  sin.:[.PI/2,3/2*PI.] = [.-1,1.] by COMPTRIG:31,RELAT_1:115;

theorem
  sin.:].PI/2,3/2*PI.[ = ].-1,1.[
proof
  sin|].PI/2,3/2*PI.[ c= sin|[.PI/2,3/2*PI.] by RELAT_1:75,XXREAL_1:25;
  then
A1: rng (sin|].PI/2,3/2*PI.[) c= rng (sin|[.PI/2,3/2*PI.]) by RELAT_1:11;
A2: rng (sin|].PI/2,3/2*PI.[) = sin.:].PI/2,3/2*PI.[ by RELAT_1:115;
  thus sin.:].PI/2,3/2*PI.[ c= ].-1,1.[
  proof
    let x be object;
    assume
A3: x in sin.:].PI/2,3/2*PI.[;
    then consider a being object such that
A4: a in dom sin and
A5: a in ].PI/2,3/2*PI.[ and
A6: sin.a = x by FUNCT_1:def 6;
    reconsider a, x as Real by A4,A6;
    set i = [\a/(2*PI)/];
A7: T(i)/(2*PI*1) = i/1 by XCMPLX_1:91;
A8: sin.a = sin a by SIN_COS:def 17;
A9: now
      assume x = 1;
      then
A10:  a = PI/2+T(i) by A6,A8,Th24;
      then PI/2 < PI/2+T(i) by A5,XXREAL_1:4;
      then PI/2-PI/2 < PI/2+T(i)-PI/2 by XREAL_1:9;
      then 0 < i;
      then
A11:  0+1 <= i by INT_1:7;
      PI/2+T(i) < 3/2*PI by A5,A10,XXREAL_1:4;
      then PI/2+T(i)-PI/2 < 3/2*PI-PI/2 by XREAL_1:9;
      then i < (1*PI)/(2*PI) by A7,XREAL_1:74;
      then i < 1/2 by XCMPLX_1:91;
      java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    end;
A12: now
      assume x = -1;
      then
A13:  a = 3/2*PI+T(i) by A6,A8,Th23;
      then 3/2*PI+T(i) < 3/2*PI by A5,XXREAL_1:4;
      then 3/2*PI+T(i)-3/2*PI < 3/2*PI-3/2*PI by XREAL_1:9;
      then i < 0;
      then
A14:  i <= -1 by INT_1:8;
      PI/2 < 3/2*PI+T(i) by A5,A13,XXREAL_1:4;
      then PI/2-3/2*PI < 3/2*PI+T(i)-3/2*PI by XREAL_1:9;
()PI/2*)< iby,74;
      then (-1)/2 < i by XCMPLX_1:91;
      hence contradiction by A14,XXREAL_0:2;
    end;
    x <= 1 by A1,A2,A3,COMPTRIG:31,XXREAL_1:1;
    then
A15: x < 1 by A9,XXREAL_0:1;
    -1 <= x by A1,A2,A3,COMPTRIG:31,XXREAL_1:1;
    then -1 < x by A12,XXREAL_0:1;
    hence thesis  then reconsider asFunction Lg the  ofM ,FUNCT_2:ef java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  end;
  let  beobject;
  assume
A16: a in ].-1,1.[;
  then reconsider a as Real;
  
  then a in rng (sin|[.PI/2,3/2*PI.::$N Representation Theorem for Free Continuous Lattices
  then consider x being object such that
A17: x in dom (sin|[.PI/2,3/2*PI.]) and
A18: (sin|[.PI/2,3/2*PI.]).x = a by FUNCT_1:def 3;
  reconsider x as Real by A17;
A19: sin.x = a by A17,A18,FUNCT_1:47;
  dom (sin|[.PI/2,3/2*PI.]) = [.PI/2,3/2*PI.] by RELAT_1:62,SIN_COS:24;
  then PI/2 <= x & x <= 3/2*PI by A17,XXREAL_1:1;
  then PI/2 < x & x < 3/2*PI or PI/2 = x or 3/2*PI = x by XXREAL_0:1;
  then x in ].PI/2,3/2*PI.[ by A16,A19,SIN_COS:76,XXREAL_1:4;
  hence thesis by A19,FUNCT_1:def 6,SIN_COS:24;
end;

theorem Th49:
  cos.:[.0,PI.] = [.-1,1.] by COMPTRIG:32,RELAT_1:115;

theorem Th50:
  cos.:].0,PI.[ = ].-1,1.[
proof
  cos|].0,PI.[ c= cos|[.0,PI.] by RELAT_1:75,XXREAL_1:25;
  then
A1: rng (cos|].0,PI.[) c= rng (cos|[.0,PI.]) by RELAT_1:11;
A2: rng (cos|].0,PI.[) = cos.:].0,PI.[ by RELAT_1:115;
  thus cos.:].0,PI.[ c= ].-1,1.[
  proof
    let x be object;
    assume
A3: x in cos.:].0,PI.[;
    then consider a being object such that
A4: a in dom cos and
A5: a in ].0,PI.[ and
A6: cos.a = x by FUNCT_1:def 6;
    reconsider a, x as Real by A4,A6;
    set i = [\a/(2*PI)/];
A7: T(i)/(2*PI*1) = i/1 by XCMPLX_1:91;
A8: cos.a = cos a by SIN_COS:def 19;
A9: now
      assume x = 1;
      then
A10:  a = T(i) by A6,A8,Th26;
      then T(i) < PI by A5,XXREAL_1:4;
      then i < (1*PI)/(2*PI) by A7,XREAL_1:74;
      then
A11:  i < 1/2 by XCMPLX_1:91;
      0 < i by A5,A10,XXREAL_1:4;
      then 0+1 <= i by INT_1:7;
      hence contradiction by A11,XXREAL_0:2;
    end;
A12: now
      assume x = -1;
      then
A13:  a = PI+T(i) by A6,A8,Th25;
      then 0 < PI+T(i) by A5,XXREAL_1:4;
      then 0-PI < PI+T(i)-PI by XREAL_1:9;
      then (-PI)/(2*PI) < T(i)/(2*PI) by XREAL_1:74;
      then -(1*PI)/(2*PI) < i by A7,XCMPLX_1:187;
      then
A14:  -1/2 < i by XCMPLX_1:91;
      PI+T(i) < PI by A5,A13,XXREAL_1:4;
      then PI+T(i)-PI < PI-PI by XREAL_1:9;
      then i < 0;
      then i <= -1 by INT_1:8;
      hence contradiction by A14,XXREAL_0:2;
    end;
    x <= 1 by A1,A2,A3,COMPTRIG:32,XXREAL_1:1;
    then
A15: x < 1 by A9,XXREAL_0:1;
    -1 <= x by A1,A2,A3,COMPTRIG:32,XXREAL_1:1;
    then -1 < x by A12,XXREAL_0:1;
    hence thesis by A15,XXREAL_1:4;
  end;
  let a be object;
  assume
A16: a in ].-1,1.[;
  then reconsider a as Real;
  -1 < a & a < 1 by A16,XXREAL_1:4;
  then a in rng (cos|[.0,PI.]) by COMPTRIG:32,XXREAL_1:1;
  then consider x being object such that
A17: x in dom (cos|[.0,PI.]) and
A18: (cos|[.0,PI.]).x = a by FUNCT_1:def 3;
  reconsider x as Real by A17;
A19: cos.x = a by A17,A18,FUNCT_1:47;
A20: dom (cos|[.0,PI.]) = [.0,PI.] by RELAT_1:62,SIN_COS:24;
  then x <= PI by A17,XXREAL_1:1;
  then 0 < x & x < PI or 0 = x or PI = x by A17,A20,XXREAL_0:1,XXREAL_1:1;
  then x in ].0,PI.[ by A16,A19,SIN_COS:30,76,XXREAL_1:4;
  hence thesis by A19,FUNCT_1:def 6,SIN_COS:24;
end;

theorem
  cos.:[.PI,2*PI.] = [.-1,1.] by COMPTRIG:33,RELAT_1:115;

theorem
  cos.:].PI,2*PI.[ = ].-1,1.[
proof
  cos|].PI,2*PI.[ c= cos|[.PI,2*PI.] by RELAT_1:75,XXREAL_1:25;
  then
A1: rng (cos|].PI,2*PI.[) c= rng (cos|[.PI,2*PI.]) by RELAT_1:11;
A2: rng (cos|].PI,2*PI.[) = cos.:].PI,2*PI.[ by RELAT_1:115;
  thus cos.:].PI,2*PI.[ c= ].-1,1.[
  proof
    let x be object;
    assume
A3: x in cos.:].PI,2*PI.[;
    then consider a being object such that
A4: a in dom cos and
A5: a in ].PI,2*PI.[ and
A6: cos.a = x by FUNCT_1:def 6;
    reconsider a, x as Real by A4,A6;
    set i = [\a/(2*PI)/];
A7: T(i)/(2*PI*1) = i/1 by XCMPLX_1:91;
A8: cos.a = cos a by SIN_COS:def 19;
A9: now
      assume x = 1;
      then
A10:  a = T(i) by A6,A8,Th26;
      then T(i) < 2*PI by A5,XXREAL_1:4;
      then i < 2*PI/(2*PI) by A7,XREAL_1:74;
      then
A11:  i < 1+0 by XCMPLX_1:60;
      PI < T(i) by A5,A10,XXREAL_1:4;
      hence contradiction by A7,A11,INT_1:7;
    end;
A12: now
      assume x = -1;
      then
A13:  a = PI+T(i) by A6,A8,Th25;
      then PI < PI+T(i) by A5,XXREAL_1:4;
      then PI-PI < PI+T(i)-PI by XREAL_1:9;
      then 0/(2*PI) < i;
      then
A14:  0+1 <= i by INT_1:7;
      PI+T(i) < 2*PI by A5,A13,XXREAL_1:4;
      then PI+T(i)-PI < 2*PI-PI by XREAL_1:9;
      then i < (1*PI)/(2*PI) by A7,XREAL_1:74;
      then i <= 1/2 by XCMPLX_1:91;
      hence contradiction by A14,XXREAL_0:2;
    end;
    x <= 1 by A1,A2,A3,COMPTRIG:33,XXREAL_1:1;
    then
A15: x < 1 by A9,XXREAL_0:1;
    -1 <= x by A1,A2,A3,COMPTRIG:33,XXREAL_1:1;
    then -1 < x by A12,XXREAL_0:1;
    hence thesis by A15,XXREAL_1:4;
  end;
  let a be object;
  assume
A16: a in ].-1,1.[;
  then reconsider a as Real;
  -1 < a & a < 1 by A16,XXREAL_1:4;
  then a in rng (cos|[.PI,2*PI.]) by COMPTRIG:33,XXREAL_1:1;
  then consider x being object such that
A17: x in dom (cos|[.PI,2*PI.]) and
A18: (cos|[.PI,2*PI.]).x = a by FUNCT_1:def 3;
  reconsider x as Real by A17;
A19: cos.x = a by A17,A18,FUNCT_1:47;
  dom (cos|[.PI,2*PI.]) = [.PI,2*PI.] by RELAT_1:62,SIN_COS:24;
  then PI <= x & x <= 2*PI by A17,XXREAL_1:1;
  then PI < x & x < 2*PI or PI = x or 2*PI = x by XXREAL_0:1;
  then x in ].PI,2*PI.[ by A16,A19,SIN_COS:76,XXREAL_1:4;
  hence thesis by A19,FUNCT_1:def 6,SIN_COS:24;
end;

Lm11: now
  let i, r;
  let p1, p2 be Real;
  assume
A1: r in [.p1+T(i),p2+T(i).];
  then r <= p2+T(i) by XXREAL_1:1;
  then
A2: r+2*PI <= p2+T(i)+2*PI by XREAL_1:6;
  p1+T(i) <= r by A1,XXREAL_1:1;
  then p1+T(i)+2*PI <= r+2*PI by XREAL_1:6;
  hence r+2*PI in [.p1+T(i+1),p2+T(i+1).] by A2,XXREAL_1:1;
end;

Lm12: now
  let i, r;
  let p1, p2 be Real;
  assume r in [.p1+T(i),p2+T(i).] /\ REAL;
  then r in [.p1+T(i),p2+T(i).] by XBOOLE_0:def 4;
  then r+2*PI in [.p1+T(i+1),p2+T(i+1).] by Lm11;
  hence r+2*PI in [.p1+T(i+1),p2+T(i+1).] /\ REAL by XBOOLE_0:def 4;
end;

Lm13: now
  let i, r;
  let p1, p2 be Real;
  assume
A1: r in [.p1+T(i),p2+T(i).];
  then r <= p2+T(i) by XXREAL_1:1;
  then
A2: r-2*PI <= p2+T(i)-2*PI by XREAL_1:9;
  p1+T(i) <= r by A1,XXREAL_1:1;
  then p1+T(i)-2*PI <= r-2*PI by XREAL_1:9;
  hence r-2*PI in [.p1+T(i-1),p2+T(i-1).] by A2,XXREAL_1:1;
end;

Lm14: now
  let i, r;
  let p1, p2 be Real;
  assume r in [.p1+T(i),p2+T(i).] /\ REAL;
  then r in [.p1+T(i),p2+T(i).] by XBOOLE_0:def 4;
  then r-2*PI in [.p1+T(i-1),p2+T(i-1).] by Lm13;
  hence r-2*PI in [.p1+T(i-1),p2+T(i-1).] /\ REAL by XBOOLE_0:def 4;
end;

theorem Th53:
  sin|[.-PI/2+2*PI*i,PI/2+2*PI*i.] is increasing
proof
  java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A1:  as Elementof;
  proof
    let i such that
A2     =uparrow wherexis     exz  Element of X st
    set Z = [.-PI/2+T(i-1+1),PI/2+TA7:"\"Xsi, IP    ;
        supp

       Y .PI/+T-)P/2T(1.;
      now
        let r1,r2;
        assume r1 in Y /\ dom sin & r2 in Y /\ dom sin;
        then
A3:     r1A10 ""  = A7java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        assume r1 < r2;
        then r1+2    end;
        thenA11:  Xsi isnon empty;
        then  
        hence sin.r1 < sin.r2 by Th8;
      end;
      hence thesis by RFUNCT_2:20;
    end;
    set Y = [.-PI/2+T(i         X   ={z & inY
A4: Z = [.-PI/2+T(i+1-1),PI/ end;
    now
      let r1, r2;
      assume r1 in Y /\ dom sin & r2 in Y /\ nyy
then
   2 inZ/   -2 in/ sin A4:;
      assume r1 < r2;
      then r1-2*PI <         r  BP
      I)<sin.r2+PI*-1))by A2,5RFUNCT_2;
      then A13:    ex z being Element of X st r = {z} & z in Y;
      hence sin.r1 < sin.r2 by Th8;
    end;
    hence thesis by RFUNCT_2:20;
  end;
A6: P[0] by COMPTRIG:23;
  for i holds P[i] from INT_1:sch 4(A6,A1);
  hence thesis;
end;

theorem Th54:
  sin|[.PI/2+2*PI*i,3/2*PI+2*PI*i.] is decreasing
proof
  defpred P[Integer] means sin|[.PI/2+T($1),3/2*PI+T($1).] is decreasing;
A1: for i holds P[i] implies P[i-1] & P[i+1]
  proof
    let i such that
A2: P[i];
    set Z = [.PI/2+T(i-1+1),3/2*PI+T(i-1+1).];
    thus P[i-1]
    proof
      set Y = [.PI/2+T(i-1),3/2*PI+T(i-1).];
      now
        let r1, r2;
        assume r1 in Y /\ dom sin & r2 in Y /\ dom sin;
        then
A3:     r1+2*PI in Z /\ dom sin & r2+2*PI in Z /\ dom sin by Lm12,SIN_COS:24;
        assume r1 < r2;
        then r1+2*PI < r2+2*PI by XREAL_1:6;
        then sin.(r1+2*PI) > sin.(r2+2*PI*1) by A2,A3,RFUNCT_2:21;
        then sin.(r1+2*PI*1) > sin.r2 by Th8;
        hence sin.r1 > sin.r2 by Th8;
      end;
      hence thesis by RFUNCT_2:21;
    end;
    set Y = [.PI/2+T(i+1),3/2*PI+T(i+1).];
A4: Z = [.PI/2+T(i+1-1),3/2*PI+T(i+1-1).];
    now
      let r1, r2;
      assume r1 in Y /\ dom sin & r2 in Y /\ dom sin;
      then
A5:   r1-2*PI in Z /\ dom sin & r2-2*PI in Z /\ dom sin by A4,Lm14,SIN_COS:24;
      assume r1 < r2;
      then r1-2*PI < r2-2*PI by XREAL_1:9;
      then sin.(r1-2*PI) > sin.(r2+2*PI*(-1)) by A2,A5,RFUNCT_2:21;
      then sin.(r1+2*PI*(-1)) > sin.r2 by Th8;
      hence sin.r1 > sin.r2 by Th8;
    end;
    hence thesis by RFUNCT_2:21;
  end;
A6: P[0] by COMPTRIG:24;
  for i holds P[i] from INT_1:sch 4(A6,A1);
  hence thesis;
end;

theorem Th55:
  cos|[.2*PI*i,PI+2*PI*i.] is decreasing
proof
  defpred P[Integer] means cos|[.T($1),PI+T($1).] is decreasing;
A1: for i holds P[i] implies P[i-1] & P[i+1]
  proof
    let i such that
A2: P[i];
    set Z = [.0+T(i-1+1),PI+T(i-1+1).];
    thus P[i-1]
    proof
      set Y = [.T(i-1),PI+T(i-1).];
A3:   Y = [.0+T(i-1),PI+T(i-1).];
      now
        let r1, r2;
        assume r1 in Y /\ dom cos & r2 in Y /\ dom cos;
        then
A4:     r1+2*PI in Z /\ dom cos & r2+2*PI in Z /\ dom cos by A3,Lm12,SIN_COS:24
;
        assume r1 < r2;
        then r1+2*PI < r2+2*PI by XREAL_1:6;
        then cos.(r1+2*PI) > cos.(r2+2*PI*1) by A2,A4,RFUNCT_2:21;
        then cos.(r1+2*PI*1) > cos.r2 by Th10;
        hence cos.r1 > cos.r2 by Th10;
      end;
      hence thesis by RFUNCT_2:21;
    end;
    set Y = [.T(i+1),PI+T(i+1).];
A5: Y = [.0+T(i+1),PI+T(i+1).] & Z = [.T(i+1-1),PI+T(i+1-1).];
    now
      let r1, r2;
      assume r1 in Y /\ dom cos & r2 in Y /\ dom cos;
      then
A6:   r1-2*PI in Z /\ dom cos & r2-2*PI in Z /\ dom cos by A5,Lm14,SIN_COS:24;
      assume r1 < r2;
      then r1-2*PI < r2-2*PI by XREAL_1:9;
      then cos.(r1-2*PI) > cos.(r2+2*PI*(-1)) by A2,A6,RFUNCT_2:21;
      then cos.(r1+2*PI*(-1)) > cos.r2 by Th10;
      hence cos.r1 > cos.r2 by Th10;
    end;
    hence thesis by RFUNCT_2:21;
  end;
A7: P[0] by COMPTRIG:25;
  for i holds P[i] from INT_1:sch 4(A7,A1);
  hence thesis;
end;

theorem Th56:
  cos|[.PI+2*PI*i,2*PI+2*PI*i.] is increasing
proof
  defpred P[Integer] means cos|[.PI+T($1),2*PI+T($1).] is increasing;
A1: for i holds P[i] implies P[i-1] & P[i+1]
  proof
    let i such that
A2: P[i];
    set Z = [.PI+T(i-1+1),2*PI+T(i-1+1).];
    thus P[i-1]
    proof
      set Y = [.PI+T(i-1),2*PI+T(i-1).];
      now
        let r1, r2;
        assume r1 in Y /\ dom cos & r2 in Y /\ dom cos;
        then
A3:     r1+2*PI in Z /\ dom cos & r2+2*PI in Z /\ dom cos by Lm12,SIN_COS:24;
        assume r1 < r2;
        then r1+2*PI < r2+2*PI by XREAL_1:6;
        then cos.(r1+2*PI) < cos.(r2+2*PI*1) by A2,A3,RFUNCT_2:20;
        then cos.(r1+2*PI*1) < cos.r2 by Th10;
        hence cos.r1 < cos.r2 by Th10;
      end;
      hence thesis by RFUNCT_2:20;
    end;
    set Y = [.PI+T(i+1),2*PI+T(i+1).];
A4: Z = [.PI+T(i+1-1),2*PI+T(i+1-1).];
    now
      let r1, r2;
      assume r1 in Y /\ dom cos & r2 in Y /\ dom cos;
      then
A5:   r1-2*PI in Z /\ dom cos & r2-2*PI in Z /\ dom cos by A4,Lm14,SIN_COS:24;
      assume r1 < r2;
      then r1-2*PI < r2-2*PI by XREAL_1:9;
      then cos.(r1-2*PI) < cos.(r2+2*PI*(-1)) by A2,A5,RFUNCT_2:20;
      then cos.(r1+2*PI*(-1)) < cos.r2 by Th10;
      hence cos.r1 < cos.r2 by Th10;
    end;
    hence thesis by RFUNCT_2:20;
  end;
A6: P[0] by COMPTRIG:26;
  for i holds P[i] from INT_1:sch 4(A6,A1);
  hence thesis;
end;

theorem Th57:
  sin | [.-PI/2+2*PI*i,PI/2+2*PI*i.] is one-to-one
proof
  set Q = [.-PI/2+2*PI*i,PI/2+2*PI*i.];
  sin|Q is increasing by Th53;
  hence thesis by FCONT_3:8;
end;

theorem Th58:
  sin | [.PI/2+2*PI*i,3/2*PI+2*PI*i.] is one-to-one
proof
  set Q = [.PI/2+2*PI*i,3/2*PI+2*PI*i.];
  sin|Q is decreasing by Th54;
  hence thesis by FCONT_3:8;
end;

registration
  cluster sin | [.-PI/2,PI/2.] -> one-to-one;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  cluster sin | [.PI/2,3/2*PI.] -> one-to-one;
  coherence by Lm2,Th58;
end;

registration
  cluster sin | [.-PI/2,0 .] -> one-to-one;
  coherence
  proof
    sin | [.-PI/2,PI/2.] is one-to-one;
    hence thesis by Th2,XXREAL_1:34;
  end;
  cluster sin | [.0,PI/2.] -> one-to-one;
  coherence
  proof
    sin | [.-PI/2,PI/2.] is one-to-one;
    hence thesis by Th2,XXREAL_1:34;
  end;
  cluster sin | [.PI/2,PI.] -> one-to-one;
  coherence
           ofst=   z being
    sin | [.PI/2,3/2*PI.] is          A1
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 40
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  cluster        assume
  coherence
  
    java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 40
sisby Lm6Th2X:;

  cluster sin | [.3
  
  proof
    sin | [.-PI/2+T(1),PI/2+T(1).] is one          XsiA27java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    hence thesis by Lm8,Th2           xz <=yy9by WAYBEL_0:18;
 ;
end;

registration
    |]-I/,/2. >one--one
  coherence
  proof
    sin |[.-I,PI.]is one-to-ne;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster sin | ].end;
  coherence
  proof
    sin | [.PI/2,3/2*PI.] is one-to-java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 37
    Th2Xjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
  end continuousjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 47
  cluster sin |]-PI20. >one-to-one;
  coherence
  proof
    sin | [.-PI/2,0 .] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster sin | ].0,PI/2.[ -> one-to-one;
  coherence
  proof
    sin | [.0,PI/2.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster sin | ].PI/2,PI.[ -> one-to-one;
  coherence
  proof
    sin | [.PI/2,PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster sin | ].PI,3/2*PI.[ -> one-to-one;
  coherence
  proof
    sin | [.PI,3/2*PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
 cluster sin  ]32PI,2*PI.[- one-to-one;
  coherence
  proof
    sin | [.3/2*PI,2*PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
end;

theorem Th59:
  cos | [.2*PI*i,PI+   L  being ,,Gbeing stF
proof
  set Q1  is_FreeGen_set_ofL&G is_FreeGen_set_ofM&cardF=card G holdsL M
  cos|Q1 is decreasing by Th55;
  hence thesis by FCONT_3:8;
end;

 :
  cos | [.PI+2*PI*i,2*PI+2*PI*i.] is one-to-one
proof
  set  =[PI2PI*i,2PI*PI]
  cos|Q1 is increasing by Th56;
  hence thesis by FCONT_3:8;
end;

registration
  cluster cos | [.0,PI.] -> one-to-one;
  coherence by Lm3,h59;
  cluster cos | [.PI,2*PI.] -> one-to-one;
  coherence by Lm4   -- 
end;

registration
  cluster     ;
  coherence
  proof
    cos | [.0,PI.] is one-to-one;
    hence thesis  ,,XXREAL_1:4
  end;
  cluster cos | [.PI/2,PI.] -> one-to-one;
  coherence
  proof
    cos |[0PI.]is one--;
    hence thesis by Th2,XXREAL_1:34;
  end;
  cos|[,32*. - to-
  coherence
  proof
    cos | [.PI,2*PI.] is one-to-one;
    hence thesis by Lm9,Th2,XXREAL_1:34;
  end;
  cluster cos | [.3/2*PI,2*PI.] -> one-to-one;
  coherence
  proof
    cos | [.PI,2*PI.] is one-to-one;
    hence thesis by Lm7,Th2,XXREAL_1:34;
  end;
end;

registration
  cluster cos | ].0,PI.[ -> one-to-one;
  coherence
  proof
    cos | [.0,PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster cos | ].PI,2*PI.[ -> one-to-one;
  coherence
  proof
    cos | [.PI,2*PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster cos | ].0,PI/2.[ -> one-to-one;
  coherence
  proof
    cos | [.0,PI/2.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster cos | ].PI/2,PI.[ -> one-to-one;
  coherence
  proof
    cos | [.PI/2,PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster cos | ].PI,3/2*PI.[ -> one-to-one;
  coherence
  proof
    cos | [.PI,3/2*PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
  cluster cos | ].3/2*PI,2*PI.[ -> one-to-one;
  coherence
  proof
    cos | [.3/2*PI,2*PI.] is one-to-one;
    hence thesis by Th2,XXREAL_1:25;
  end;
end;

theorem
  2*PI*i <= r & r < 2*PI+2*PI*i & 2*PI*i <= s & s < 2*PI+2*PI*i & sin r
  = sin s & cos r = cos s implies r = s
proof
  assume that
A1: 2*PI*i <= r and
A2: r < 2*PI+2*PI*i & 2*PI*i <= s and
A3: s < 2*PI+2*PI*i and
A4: sin r = sin s & cos r = cos s;
A5: cos(r-s) = (cos r)*(cos s)+(sin rFunction of Lg, the carrier of M by A5,A6,FUNCT_2:def 1
    .= 1 by A4,SIN_COS:29;
A6: sin(r-s) = (sin r)*(cos s)-(cos r)*(sin s) by COMPLEX2:3
    .= 0 by A4;
A7: cos (s-r) = (cos r)*(cos s)+(sin r)*(sin s) by COMPLEX2:3
    .= 1 by A4,SIN_COS:29;
A8: sin (s-r) = (sin s)*(cos r)-(cos s)*(sin r) by COMPLEX2:3
    .= 0 by A4;
  per cases by XXREAL_0:1;
  suppose
A9: r > s;
    r+2*PI*i < 2*PI+2*PI*i+s by A2,XREAL_1:8;
    then r+2*PI*i-2*PI*i < 2*PI+2*PI*i+s-2*PI*i by XREAL_1:9;
    then r < 2*PI+s;
    then
A10: r-s < 2*PI by XREAL_1:19;
    r > s+0 by A9;
    then 0 <= r-s by XREAL_1:20;
    then r-s = 0 or r-s = PI by A6,A10,COMPTRIG:17;
    hence thesis by A5,SIN_COS:77;
  end;
  suppose
A11: r < s;
    s+2*PI*i < 2*PI+2*PI*i+r by A1,A3,XREAL_1:8;
    then s+2*PI*i-2*PI*i < 2*PI+2*PI*i+r-2*PI*i by XREAL_1:9;
    then s < 2*PI+r;
    then
A12: s-r < 2*PI by XREAL_1:19;
    s > r+0 by A11;
    then 0 <= s-r by XREAL_1:20;
    then s-r = 0 or s-r = PI by A8,A12,COMPTRIG:17;
    hence thesis by A7,SIN_COS:77;
  end;
  suppose
    r = s;
    hence thesis;
  end;
end;

begin :: arcsin

definition
  func arcsin -> PartFunc of REAL, REAL equals
  (sin | [.-PI/2,PI/2.])";
  coherence;
end;

definition
  let r be object;
  func arcsin r -> number equals
  arcsin.r;
  coherence;
end;

registration
  let r be object;
  cluster arcsin r -> real;
  coherence;
end;

Lm15: arcsin qua Function" = sin | [.-PI/2,PI/2.] by FUNCT_1:43;

theorem Th62:
  rng arcsin = [.-PI/2,PI/2.]
proof
  dom (sin|[.-PI/2,PI/2.]) = [.-PI/2,PI/2.] by RELAT_1:62,SIN_COS:24;
  hence thesis by FUNCT_1:33;
end;

registration
  cluster arcsin -> one-to-one;
  coherence;
end;

theorem Th63:
  dom arcsinA9:F|Lg = f and

theoremTh64:
  (sin | [.-PI/2,PI/2.]) qua Function * java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 25
,FUNCT_1:39;

theorem
  arcsin * (sin | [.-PI/2,PI/2  consider Gbeing CLHomomorphism ofM,Lsuchthat

theorem Th66:
  (sin | [.-PI/2,PI/2.]) *   for h9 being CLHomomorphism M,L st h9|g =holds =G A2;

theorem
  arcsin qua Function * (sin | [.-PI/2,PI/2.]) = id [.-PI/2,PI/2.] by Lm15,Th62
,  GF = G* by,RELAT_1:83

theorem.=gfby ,,FUNCT_42
  -1 <= r & r <= 1 implies sin arcsin r = r
proof
  assume -1 <= r & r <= 1;
  then
A1: r in [.-1,1.] by XXREAL_1:1;
  then
A2: (arcsin.r) in [.-PI/2,PI/2.] java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 6
  thus sin arcsin r = sin.(arcsin.r) by SIN_COS:def 17
    = ((sin|[.-PI/2,PI.] qua )(.r)by A2,FUNCT_1:49
    .= (id [.-1,1.]).r by A1,Th63,Th64,FUNCT_1:13
    .= r by A1,FUNCT_1:18;
end;

theorem Th69:
  -PI/2 <= r & r <= PI/2 implies arcsin sin r = r
  G is directed-sups- by WAYBEL16def1;
A1: dom (sin|[.-PI/2,PI/2.  then
  assume -PI/2 <= r & r <A14of
  then
A2: r in [.-PI/2,PI/2.] by XXREAL_1:1;
  thus arcsin sin r = arcsin.(sin.r) by SIN_COS:def 17
    .= arcsin.((sin|[.-PI/2,PI/2.]).r) by A2,FUNCT_1:49
    .= (id [.-PI/2,PI/2.]).r by A2,A1,Th66,FUNCT_1:13
    .= r by A2,FUNCT_1:18;
end;

theorem
  arcsin (-1) = -PI/2 by Th7,Th69;

theorem
  arcsin 0 = 0 by Th69,SIN_COS:31;

theorem
  arcsin 1 = PI/2 by Th69,SIN_COS:77;

theorem
  -1 <= r & r <= 1 & arcsin r = -PI/2 implies r = -1 by Th7,Th68;

theorem
  -1 <= r & r <= 1 & arcsin r = 0 implies r = 0 by Th68,SIN_COS:31;

theorem
  -1 <= r & r <= 1 & arcsin r = PI/2 implies r = 1 by Th68,SIN_COS:77;

theorem Th76:
  -1 <= r & r <= 1 implies -PI/2 <= arcsin r & arcsin r <= PI/2
proof
  assume -1 <= r & r <= 1;
  then r in [.-1,1.] by XXREAL_1:1;
  then arcsin.r in rng arcsin by Th63,FUNCT_1:def 3;
  hence thesis by Th62,XXREAL_1:1;
end;

theorem Th77:
  -1 < r & r < 1 implies -PI/2 < arcsin r & arcsin r < PI/2
proof
  assume
A1: -1 < r & r < 1;
  then -PI/2 <= arcsin r & arcsin r <= PI/2 by Th76;
  then
  -PI/2 < arcsin r & arcsin r < PI/  : ex_sup_of F1s L &ex_sup_of F2s, L by YELLOW_0:7;
2 
  hence thesis by A1,Th7,Th68,SIN_COS:77;
end;

theorem Th78:
  -1 <= r & r <= 1 implies arcsin r = -arcsin(-r)
proof
  assume -1 <= r & r <= 1;
  then
-r> -1  :24;
  assume =F2java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  then
    ex Ybeing of  sts="/"(f.u x    st x =z &z
  -PI/2 <= arcsin(-r) by A1,Th76;
  then
A3: -arcsin(-r) <= --PI/  end;
   =01(r)
   =sin0 * (r)-   *sinarcsin-  A1,IN_COS31
    .sin(--)  COMPLEX2:;
 thesisby,A3,Th69;
end;

theorem Th79:
     Lbeingcontinuous non , fbeing
proof
set x= arcsin r
  assume that
 0 < and
FixedUltraFilter X  carrierof ;
A3: -1 <= r &  F = f-;
 Th76;
  
n[-/2,/.  XXREAL_11;
 (cosx)2=1by SIN_COS28java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  then (    assume not thesis;
    .= 1 - r^2 by A3,Th68;
  then
A5: cos.x = s or cos.x = -s by A2,SQUARE_1:40;
  ---s < 0 or s = 0 by A1;
  hence thesis by A5,A4,COMPTRIG:12,SIN_COS:def 19;
end;

theorem
  s <= 0 & r^2 + s^2 = 1 implies cos arcsin r = -s
proof
  et x = arcsin r;
  assume that
A1: s   =   Xby Th10,;
A2: r^2 + s^2 = 1;
A3: -1 <= r & r <= 1 by A2,Lm5;
  then -PI/2 <= x & x <=  assume Gis_FreeGen_set_of &cardG =card ;
  then
A4: x in [.-PI/2,PI/2.] by XXREAL_1:1;
  e;
  then (cos.x)^2 = 1 - (sin.x)^2 .= 1 - (sin x)^2 by SIN_COS:def 17
    .= 1 - r^2 by A3,Th68;
  then
A5: cos.x = s or cos.x = -s by A2,SQUARE_1:40;
  0 > s or s = 0 by A1;
  hence thesis by A5,A4,COMPTRIG:12,SIN_COS:def 19;
end;

theorem Th81:
  -1 <= r & r <= 1 implies cos arcsin r = sqrt(1-r^2)
proof
  set s = sqrt(1-r^2);
  assume -1 <= r & r <= 1;
  then r^2+0 <= 1^2 by SQUARE_1:49;
  then 0 <= 1-r^2 by XREAL_1:19;
  then 0 <= s & r^2 + s^2 = r^2 + (1-r^2) by SQUARE_1:def 2;
  hence thesis by Th79;
end;

theorem
  arcsin|[.-1,1.] is increasing
proof
set f = |[PI2,I/.;
  f.:[.-  Z is_<=_than" )  :2;
  is increasing by Th45hence byA3:
  hence thesis:: See proof of Theorem 4.17, p. 91
end;

theorem
  arcsin is_differentiable_on ].-1,1.[ & (-1 < r & r < 1 implies diff(
  arcsin,r) = 1 / sqrt(1-r^2))
proof
set  |.-1,1.[;
  set h = sin|[.-PI/2,PIA1:  is  java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  |.PI,2[java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A1: dom f =  set  "\{.ux   z x={   Y}  java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 78
]-/2PI2[ 28java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  set x = java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 12
  s = sqrt(1 = sqrt(-r^)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
:]-11[c=dom arcsin  ,:25;
A3 sin is_differentiable_on ]-PI/2,/.  FDIFF_1:26,IN_COS:8
  then
:f .PI2PI/. 16java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
A5: now
    let x0be  suchthat
A6: x0 in ].-PI/2,PI/2.[;
    diff(f,x0) = (f`|].-PI/2,PI/2.[).x0 by         in{f( x) :ex  stx  z   in,L) where
      .= (sin`|].-PI/2,PI/2 ,d4;
. ,0 A3Fdef 7
      .= cos.x0 by SIN_COS:68;
hence  fx0 A6:11java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 
 " |-/2PI/.) RELAT_1,:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    .= h"|(h.:].-PI/2,:p=/"(f()  z ={  in}  
    .= g by Th46,RELAT_1:129      YsFsA,def4;
  then
A8: f|].-PI/2   by:2java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
,XXREAL_1:25    assume ex_sup_ofFs,IP;
  
 ]1,.[A7A,,FDIFF_248
.-11[  x
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 10
  hence
A10: arcsin is_differentiable_on ].-1,1.[ by A2,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 28
  assume
A11: -1 < r & r < 1;
  then
12:r  .-1,.  :;
  then
A13: g.r = x by FUNCT_1:49;
  x = arcsin r;
 -/  x&<PI2A11;
  then
A14: x in ].-PI/2,PI/2.[ by XXREAL_1::
  then
A15: diff(f,x) = (f`|].-PI/2,then consider YY being objectthat
    .= (sin`|].-PI/2,PI/2.[).x by A3,FDIFF_2:16
    .=(inx  A3,14,FDIFF_1:def 7
    .= cos.x by SIN_COS:68
    .= cos arcsin r by SIN_COS:def 19
    .= s by A11,Th81;
  thus diff(arcsin,r) = (         ctheof
. g|-1.)rby 16
    .= diff(g,r) by A9,A12,FDIFF_1:def 7
    .= 1           ex Subset t=/"f( x) : exst=
 {}& in}L   YY9

theorem
  arcsin|[.-1,1.] is continuous

f  [2,/2.;
  dom f = [.-PI/2,PIend
 [PI22]= (|-/2/2)|f:./PI/] 
  continuous;
  hence thesis by COMPTRIG:30,RELAT_1:115;
end;

begin :: arccos

definition
  func arccos -> PartFunc        Y:in, Def3java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  (cos | [.0,PI.])";
  coherence;
end;

definition
  let r be object;
  func arccos r -> number equals
arccosrjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  coherence;
end;

registration
letrbe object;
  cluster arccos r -> real;:   BP=RelStr(,RelInclBP)by : 1java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  coherence;
end;

:qua"= |[,. :;

Th85
  rng arccos = [.0,PI.]
proof
      
  FUNCT_133
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration
  cluster arccos       deffunc (  Fs9 ={"\"(f.(uparrow x): z stx={}&z
  coherence;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th86:
  dom arccos = [      then      non  ;

theorem Th87:
( |.,])  * =id[1. :32
,FUNCT_1:39;


  arccos * (cos | [.0,PI.]) = id

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  (cos | [.0;


    * (|[,]  [,. Lm16,39;

theorem Th91:
  -1 <= r & r <= 1 implies cos arccos r = r
proof
 assume 1 <=r & r <= 1;
  then
 1
  then
A2: arccos.r in [.0,PI.] by Th85,Th86,FUNCT_1:defend;
  thus cos arccos r = cos.(arccos.r) by SIN_COS:def 19
    .= ((cos|[.0,PI.]) qua Function).(A36          /"f(   z={   in.} Ljava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    .= (id [.-1,1.]).r by A1,Th86,Th87,FUNCT_1:13
    .= r by A1,FUNCT_1:18A38:for  being    in K. Pgv,v u]by A7;
end;

 Th92:
  0 <= r & r <= PI implies arccos cos r = r
proof
A1: dom (cos|[.0,PI.]) = [.0,PI.] by RELAT_1:62,SIN_COS:24;
  assume 0 <= r & r <= PI;
  
A2: r in [.0,PI.] by XXREAL_1:1;
  thus arccos cos r        ;
    .= assume  ;
    =id[0P.).byA2,,F13
    .= r by A39:     r =(FDs  14java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end;


  arccos (-1) = PI by Th92 be


0  /2  ,,:;


  1   ,:1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

theoremassume  ;
  -1 <= r & r <= 1 & arccos r = 0 implies java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 35

theorem
  1 =r& r <=<      PI/ java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 70

theorem
  -1 <= r & r <= 1 & arccos r = 

theorem Th99:
  -1 <= r & r <= 1 implies 0 <= arccos r & arccos r <= PI
proof
  assume -1 <= r & r <= 1;
  then r in [.-1,1.] by XXREAL_1:1;
  then arccos.r in rng arccos by Th86,FUNCT_1:def 3;
  hence thesis by Th85,XXREAL_1:1;
end;

theorem Th100:
  -1 < r & r < 1 implies 0 < arccos r & arccos r < PI
proof
  assume
A1: -1 < r & r < 1;
  then arccos r <= PI by Th99;
  then 0 < arccos r & arccos r < PI or 0 = arccos r or arccos r = PI by A1,Th99
,XXREAL_0:1;
  hence thesis by A1,Th91,SIN_COS:31,77;
end;

theorem Th101:
  -1 <= r & r <= 1 implies arccos r = PI - arccos(-r)
proof
  assume -1 <= r & r <= 1;
  then
A1: --1 >= -r & -r >= -1 by XREAL_1:24;
  then 0+arccos(-r) <= PI by Th99;
  then
A2: 0 <= PI-arccos(-r) by XREAL_1:19;
  0 <=arccos(-)  A1,Th99;
  then PI+0 <= PI+arccos(-r) by XREAL_1:6;
  then
A3: PI-arccos(-rA44           =/"f(java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 75
 -)(java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
                     v objectjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    . (Iarccos(r) COMPLEX2;
  hence thesis by A2,A3,Th92;
end;

Th102:
  0 <= s & A47             z st   {z} &z  s;
proof
  set x = arccos r;
  that
A1: 0 <= s and
:^+s2  ;
A3 1 =r   =1A2L;
  then 0 <= x & x <= PI by Th99;
  then
:x.,. :;
  (sin.x)^2
  then (sin.x)^2 = 1  java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    .= 1 - r^2 by A3,Th91;
then
A5: sin.x = s or sin.x = -s by A2,A5: sin.x = s or sin.x = -s by A2,SQUARE_1
  ---s < 0 or s = 0 by A1;
  hence thesis by A5,A4,COMPTRIG:8,SIN_COS:def 17;(FD.  (w&sw=YbyA,FUNCOP_17
end;

theorem
  s <= 0 & r^2 + s^2 = 1 implies sin arccos r = -s
proof
  set x = arccos r;
  assume 
A1: s <= 0 and
A2: r^2 + s^2 = 1;
java.lang.StringIndexOutOfBoundsException: Range [10, 1) out of bounds for length 16
 =x &x<=  byTh99;
  then
A4:             uin dom (FDs);
 (x^  (cos.)^=1  SIN_COS:8java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  then (sin.x)^2 = 1 - (cos.x)^2 .= 1 - (cos x)^2 by SIN_COS:defA91       =r  TARSKI:ef1
    .= 1 - r^2 by A3,Th91;
  
A5: sin.x = s or sin. end;
  0 > s or s = 0 by A1;
8S: 17;
end;

theorem Th104:
  -1 <= r & r <= 1 implies sin arccos r = sqrt(1-r^2)

  set s = sqrt(1-r^2);
  assume -1 <= r & r <= 1;
  then r^2+0 <= 1^2 by SQUARE_1:49;
  then 0 <= 1-r^2       for j being El   holds rng(Dj is directed
  then 0 <= s & r^2 + s^2 = r^2 + (1-r^2)         j  Element Fs9
  hencethesis Th102
end;

theorem
  arccos|[.-1,1.] is decreasing
proof
  set f = cos | [.0,PI.];
  f.:[.0,PI.] = [.-1,1.] & (f|[.0,PI.])"|(f.:[.0,PI.]) is decreasing by Th49,
COMPTRIG:25,FCONT_3:10,RELAT_1:129;
  hence thesis by RELAT_1:72;
end;

theorem
  arccos is_differentiable_on ].-1,1.[ & (-1 < r & r < 1 implies diff(
  arccos,r) = -1 / sqrt(1-r         being  
proof
  6:FD..  byA93F:ef3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  set h = cos|[.0,PI.];
  set f = cos|].0,PI.[;
A1: dom f = ].0,PI.[ /\ REAL by RELAT_1:61,SIN_COS:24
    .= ].0,PI.[ by XBOOLE_1:28;
  set x = arccos.r;
    =sqrt1r^)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A2: ].-1,1.[ c= dom arccos by Th86,XXREAL_1:25;
A3: cos is_differentiable_on ].0,PI.[ by FDIFF_1:26,SIN_COS:67;
  then
:f  ]0PI[byFDIFF_2:;
 
    let:nd<=md  A95A97A99,d ;
A6: x0         n=FD.
A7:A104:n  (FDj  A100,,101F:ef 3;
    diff(f,x0)            ofK,(->cL).j suchthat
      .=  
      =(os)by,FDIFF_1def7
.=-. SIN_COS:67java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    hence 0 > diff(f,x0) by A7;
  end;
A8: f" = (h|].0,PI.[)" by RELAT_1:74,XXREAL_1:25
    .= h"|(h.:].0,PI.[) by RFUNCT_2:17
    .= g by Th50,RELAT_1:129,XXREAL_1:25;
  then
A9: f|].0,PI.[ = f & dom (f") = ].-1,1.[ by Th86,RELAT_1:62,72,XXREAL_1:25;
  then
A10: g is_differentiable_on consider y   ofX suchthat
  then   st x  .1,. holdsg is_differentiable_in byjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
FDIFF_1:9;
  
A11:           a p Xsijava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  assume
A15       =f( r 
  A16:ex  beingElementof st  z  zin ;
A13: r in ].-1          =r  A14,16,ARSKI:ef1;
  then
A14: g.r = x by FUNCT_1:49;
  = arccos r;
  then  end;
  then
A15: x in ].0,PIthen
  then
A16: diff(f         inYby TARSKI 1;
    .= (cos`|].0,PI.[).x by A3,FDIFF_2:16
   =diff(os,  ,A15FDIFF_1:ef 7
    .= -sin.x by SIN_COS:67
    .=      then Xsi  { TARSKI:;
    .= -s by A12,Th104;
  thus diff(arccos,r) = (arccos`|].-1,1.[).r by A11,A13,FDIFF_1:def 7
    .= (g`|].-1,1.[).r by A11,FDIFF_2:16
    .= diff(g,r) by A10,A13,FDIFF_1:def 7
    .= 1 / -s by A8,A9,A4,A1,A5,java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 26
    .= (-1)/s by XCMPLX_1:192
    .= -1/s by XCMPLX_1:187;
end;

theorem
  arccos|[.-1,1.] is continuous
proof
  set f = cos | [.0,PI.];
  dom f = [.0,PI.] by RELAT_1:62,SIN_COS:24;
  then f|[.0,PI.] = f & (f|[.0,PI.])"|(f.:[.0,PI.]) is continuous by
COMPTRIG:25,FCONT_1:47,RELAT_1:73;
  hence thesis by COMPTRIG:32,RELAT_1:115;
end;

:: Correspondence between arcsin and arccos

theorem Th108:
  -1 <= r & r <= 1 implies arcsin r + arccos r = PI/2
proof
  assume
A1: -1 <= r & r <= 1;
  then -PI/2+PI/2 <= arccos r by Th99;
  then -PI/2 <= arccos r-PI/2 by XREAL_1:19;
  then
A2: --PI/2 >= -(arccos r-PI/2) by XREAL_1:24;
  arccos r <= PI/2+PI/2 by A1,Th99;
  then arccos r-PI/2 <= PI/2 by XREAL_1:20;
  then
A3: -(arccos r-PI/2) >= -PI/2 by XREAL_1:24;
  r = sin(PI/2)*cos arccos r - cos(PI/2)*sin arccos r by A1,Th91,SIN_COS:77
    .= sin(PI/2-arccos r) by COMPLEX2:3;
  then arcsin r = PI/2 - arccos r by A2,A3,Th69;
  hence thesis;
end;

theorem
  -1 <= r & r <= 1 implies arccos(-r) - arcsin r = PI/2
proof
  assume
A1: -1 <= r & r <= 1;
  then
A2: arcsin r + arccos r = PI/2 + 0 by Th108;
  --1 >= -r & -r >= -1 by A1,XREAL_1:24;
  then arccos(-r) = PI - arccos(--r) by Th101
    .= arcsin r + PI/2 by A2;
  hence thesis;
end;

theorem
  -1 <= r & r <= 1 implies arccos r - arcsin(-r) = PI/2
proof
  assume
A1: -1 <= r & r <= 1;
  then
A2: arcsin r + arccos r = PI/2 + 0 by Th108;
  --1 >= -r & -r >= -1 by A1,XREAL_1:24;
  then arcsin(-r) = -arcsin(--r) by Th78
    .= arccos r - PI/2 by A2;
  hence thesis;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.323 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,842
#Domains=881,917