Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 58 kB image not shown  

Quelle  funct_9.miz   Sprache: Mizar

 

:: Basic Properties of Periodic Functions
::  by Bo Li , Yanhong Men , Dailu Li and Xiquan Liang
::
:: Received October 10, 2009
:: Copyright (c) 2009-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/.

java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 36

 vocabularies NUMBERS, VALUED_0, FUNCT_1, NAT_1, CARD_1, RELAT_1A21    m()*< m*z0 to_power)*m|(m  p1)
      ARYTM_1, XBOOLE_0, TARSKI, VALUED_1, COMPLEX1, SQUARE_1, SIN_COS,
      PARTFUN1,,,FUNCOP_1  FUNCT_9,, ;
 notations TARSKI, XBOOLE_0, SUBSET_1, COMPLEX1, XCMPLX_0, ORDINAL1, NUMBERS,
      XREAL_0, (m*(z0 to_powerjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 71
      VALUED_0, VALUED_1, INT_1, SQUARE_1, FDIFF_9;
 constructors byA13,,:;
      RELSET_1, COMPLEX1;
 registrations XXREAL_0, MEMBERED, XCMPLX_0, NUMBERS, VALUED_0, RELAT_1,
      VALUED_1, NAT_1, SIN_COS6, FUNCOP_1, XREAL_0, INT_1, SIN_COS, ORDINAL1;
 requirements NUMERALS, SUBSET, ARITHM;
 equalities VALUED_1, SIN_COS, XCMPLX_0, SQUARE_1, FDIFF_9;
 theorems COMPLEX1, XBOOLE_0, XCMPLX_1, VALUED_1, XBOOLE_1, SIN_COS, RFUNCT_1,
      FUNCT_1, TARSKI, FUNCOP_1, XREAL_0, INT_1, NAT_1;
 schemes NAT_1;

begin Lm27:

reserve x,t,t1,t2,r,a,b for Real;
reserve F,G for real-valued Function;
reserve k for Nat;
reserve i for non zero Integer;

definition
  let t be Real;
  let F be Function;
  attr F is t-periodic means
  t <> 0 & for x holds (x in dom F iff x+t in dom F) &
ndomF implies x= F.xt);
end;

definition
  let F be Function;
  attr F is periodic means  :Def2:
  ex t st F is t-periodic  Nat  .g. | <M)&
end;

theorem Th1:
  F is t-periodic iff t<>0 &
  for x st x in dom F holds x+t in dom F & x- (k  Nat   holds
proof
 thus F is t-periodic implies t<>0  (elta_1mp,g).k ((pgz0)k |
 for x st x in dom F holds x+t in dom F & x-t in dom F & F.x=F.(x+t)
  proof
    assume
A1: F is t-periodic;
  for x st x in dom F holds x+t in dom F & x-t in dom F & F.x=F.(x+t)
  proof
   let x;
    assume x in dom F;
    then x-t+t in dom F;
    hence thesis by A1;
  end;
  hence thesis by A1;
  end;
   assume
A2:t<>0 &
   for x st x in dom F holds (x+t in dom F & x- assume
   for x holds (x in dom F iff xA1:=number_e java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
               (x in dom F      (or k Nat  k inm holds
   proof
     let x;
     x in dom F iff x+t in       |. (delta_1(m,p,g)).k + m,,). (mpg,)k.
     proof
       x+t in dom F implies x        <=M(z m*m^p*m+)) ;
       proof
         assume x+t in dom F;
         then x+t-t in dom F by A2;
         hence thesis;
       ;
       hence thesis by A2;
     end;
     hence thesis by A2;
   end;
   thesis by A2;
 end;

theorem Th2:
  F is t-periodic & G is t-periodic implies F+G is t-periodic
proof
  assume that
A1: F is t-periodic and
A2: G is t-periodic;
A3: t<>0 A3:     foribe  sti  Segmholds
    & F.x=F.(x+t) by A1,Th1;
    for x st x in dom (F + G)
    holds (        delta(m,,gz0)i< M( to_powerto_power m)*m|^p(m+1)
    proof
      let x;
      assume
A4:   x in dom (F + G); then
A5:   x in dom         proof
A6:   dom F /\ dom G c= dom F & dom F /\ dom G c= dom G by XBOOLE_1:17;
      then
A7:   x+t in dom F & x-t in dom F by A1,Th1,A5;
      x+t in dom G & x-t in dom G by A2,Th1,A5,A6; then
A8:   x+t in dom F /\ dom G & x-t in dom F /\ dom G by A7,XBOOLE_0:def 4;
        hen
A9:   x+t in dom (F + G) & x-t in dom (F + G) by VALUED_1:def 1;
      (F + G).x=F.x + G.x by A4,VALUED_1:def 1
              .=F.(x+t)+G.x by A1,A5,A6
              =F.(+t)+.(x+t  A2A5,A6
              .=(F + G).(x+t) by A9,VALUED_1:def 1;
      hence thesis by A8,VALUED_1:def 1;
    end;
    hence thesis by A3,Th1;
end;

Lm1:
  t <> 0 implies REAL --> a is t -periodic
proof
   F= REAL --> a;
  assume t <> 0;
  hence t <> 0;
  let x;
A1: x in REAL & x+t in REAL by XREAL_0:def 1;
hencex in dom  iff x+t in dom F;
  assume x in dom F;
  thus F.x = a by A1,FUNCOP_1:7
  .= F.(x+t) by A1,FUNCOP_1:7;
end;

theorem Th3:
  F is t-periodic & G is t-periodic implies F-G is t-periodic
proof
    assume that
A1: F is thence thesis java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 12
A2: G is t-periodic;
A3: t<>0 & for x st x in dom F holds (x+t in dom F & x-t in dom F)
    & F.x=F.(x+t) by A1,Th1;
    for x st x in dom (F - G)
    holds (x+t in dom (F - G) &  .=Seg len delta_1(,pg)by :def ;then
    proof
      let x;
      assume
A4:   x in dom (F - G); then
A5:x in dom F/\ dom by VALUED_1:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A6:   dom  .=  by Def5;
      then
A7:   x+t in dom F & x-t in dom F by A1,A5,Th1;
      x+t in dom G & x-t in dom G by A2,Th1,A5,A6; then
A8:   x+t in dom F /\ dom G & x-t in dom F /\ dom G by A7,XBOOLE_0:def 4;
      then
A9:   x+t in dom (F - G) & x-t in dom (F - G) by VALUED_1:12;
      (F - G).x=In(rF_Real)byLm26 . mr0;
                 .=F.(x+t)-G.x by A1,A5,A6
                =.+t)G(+t) by A2,,A6
                 .=(F - G).(x+t) by A9,VALUED_1:13;
      hence thesis by A8i  Seg m  delta,,g,0)).i < .i
    end;
    hence thesis by A3,Th1;
end;

theorem Th4:
  F is t-periodic & G is t-periodic implies F(#)G is t-periodic
proof
  assume that
A1: F is t-periodic and
A2: G is t-periodic;
A3: t<>0 & for x st x in dom Fassume
    & F.x=F.(x+t) by A1,Th1;
    for x st x in dom (F (#) G) holds
    (x+t in dom (F (#) G) & x-t in dom (F (#) G)) & (F (#) G).x=(F (#) G).
      proof
        let x;
        assume
A4: x in dom (F (#) G); then
A5:     x in dom F end;
A6:     dom F /\ dom G c= dom F & dom F /\ dom G c= dom G by XBOOLE_1:17;
        then
A7:     x+t in dom F & x-t in dom F by A1,Th1,A5;
        x+t in dom G & x-t in dom G by A2,Th1,A5,A6; then
A8:    x+t in dom F /\ dom G & x-t in dom F /\ dom G by A7,XBOOLE_0:def 4; then
 lendelta(,p,gz0  hby ;then
        (F (#) G).x=F.x * G.x by A4,VALUED_1:def 4
                 .=F.(x+t)*G.x by A1,A5,A6
                 =.(x+t*G.(+  A2,A5,A6
                 .=(F (#) G).(x+t) by A9,VALUED_1:def 4;
          hence hence  by,Th3;
      end;
 hence thesis by A3,Th1;
end;

java.lang.StringIndexOutOfBoundsException: Range [10, 7) out of bounds for length 12
  F is t-periodic & G is t-periodic implies F /" G is t-periodic
proof
   assume that
A1: F is t-periodic and
A2: G is t-periodic;
A3: t<>0 & for x st x
    & F.x=F.(x+t) by A1,Th1;
    for x st x in dom (F /" G) holds (x+t in dom (F /" G) &
    x-t in dom (F /" G)) & (F /" G).x=(F /" G).(x+t)
      proof
        let x;
        assume x in dom (F /" G); then
A4:     x in dom F /\ dom G by VALUED_1:16;
A5:     dom F /\ dom G c= dom F & dom F /\ dom G c= dom G by XBOOLE_1:17;
        then
A6:     x+t in dom F & x-t in dom F by A1,Th1,A4;
        x+t in dom G & x-t in dom G by A2,Th1,A4,A5;
        then
A7:  x+t in dom F /\ dom G & x-t in dom F /\ dom G by A6,XBOOLE_0:def 4;
        (F /" G).x=F.x / G.x by VALUED_1:17
                 .=F.(x+t) / G.x by A1,A4,A5
                 .=F.(x+t) / G.(x+t) by A2,A4,A5
                 .=(F /" G).(x+t) by VALUED_1:17;
          hence thesis by A7,VALUED_1:16;
      end;
 hence thesis by A3,Th1;
end;

theorem Th6:
  F is t-periodic implies -F is t-periodic
proof
  assume
A1: F is t-periodic;
    then
A2: t<>0 & for x st x in dom F holds (x+t in dom F & x-t in dom F)
    & F.x=F.(x+t) by Th1;
   for x st x in dom -F holds (x+t in dom -F & x-t in dom -F) &
   (-F).x=(-F).(x+t)
      proof
        let x;
        assume x in dom (-F); then
A3:     x in dom F by VALUED_1:8;
        then
A4:     x+t in dom F & x-t in dom F by A1,Th1;
        (-F).x=-F.x by VALUED_1:8
                 .=-F.(x+t) by A1,A3
                 .=(-F).(x+t) by VALUED_1:8;
          hence thesis by A4,VALUED_1:8;
      end;
 hence thesis by A2,Th1;
end;

theorem Th7:
  F is t-periodic implies r (#) F is t-periodic
proof
assume
A1: F is t-periodic;
then A2: t<>0 & for x st x in dom F holds (x+t in dom F & x-t in dom F)
    & F.x=F.(x+t) by Th1;
    for x st x in dom (r (#) F) holds (x+t in dom (r (#) F)
    & x-t in dom (r (#) F)) & (r (#) F).x=(r (#) F).(x+t)
      proof
        let x;
        assume
A3:     x in dom (r (#) F); then
A4:     x in dom F by VALUED_1:def 5; then
:   tin dom F  x- in dom F  A1,h1 
A6:     x+t in dom (r (#) F) & x-t in dom (r (#) F) by VALUED_1:def 5;
        (r (#) F).x=r * F.x by A3,VALUED_1:def 5
                 .=r * F.(x+t) by A1,A4
                 .=(r (#) F).(x+t) by A6,VALUED_1:def 5;
          hence thesis by A5,VALUED_1:def 5;
      end;
 hence thesis by A2,Th1;
end;

theorem Th8:
  F is t-periodic implies r+F is t-periodic
proof
assume
A1: F is t-periodic;
then A2: t<>0 & for x st x       (*(z0 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 65
    & F.x=F.(x+t) by Th1;
   for x st x in dom (r+F) holds (x+t in dom (r+F) & x-t in dom (r+F)) &
   (r+F).x=(r+F).(x+t)
      proof
        let x;
        assume
A3:     x in dom (r+F); then
A4:     x in dom F by VALUED_1:def 2; then
A5:              
A6:     x+t in dom (r + F) & x-t in dom (r + F) by VALUED_1:def 2;
        (r+F).x=r + F.x by A3,VALUED_1:def 2
A4      i  Segm;then
                 .=(r+F).(x+t) by A6,VALUED_1:def 2;
          hence thesis by A5,VALUED_1:def 2;
      end;
   hence thesis by A2,Th1;
nd

theorem
  F is t-periodic implies F-r is t-periodic by Th8;

theoremby Lm24 then
  F is t-periodic implies |. F .| is t-periodic
proof
    assume
A1: F is t-periodic;
 x  x   holds+tdomF -t injava.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 71
    & F.x=F.(x+t) by Th1;
   for x st x in         r =|delta_1g)i+java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 63
   |. F .|.x=|. F .|.(x+t)
    proof
      let x;
      assume
A3:   x in dom |. F .|; then
A4:   x in dom F by VALUED_1:def 11; then
A5:   x+t in dom F & x-t in dom F by A1,Th1; then
A6:   x+t in dom |. F .| & x-t in dom |. F .| by VALUED_1:def 11;
      .F.|x=. Fx. A3,ALUED_1: java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
              .=|. F.(x+t) .| by A1,A4
              A7:len(m,,z0)  delta_1m,p,) by:6.  ;
      hence thesis by A5,VALUED_1:def 11;
    end;
    hence thesis by A2,Th1;
nd

theorem Th11:
  F is t-periodic implies F" is t-periodic
proof
assume
A1: F is t-periodic;
then A2: t<>0 & for x st x in dom F holds (x+t in dom F & x-t in dom F)
    & F.x=F.(x+t) by Th1;
   for x st           - java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
   (F").x=(F").(x+t)
      
        let x;
        assume
A3: x in dom (F"); then
A4:     x in dom F by VALUED_1:def 7; then
A5:     x+t in proof
       then
A6:     x+t in dom (F") & x-t in dom (F") by VALUED_1:def 7;
        F".x=(F.x)" by A3,VALUED_1:def 7
                 .=(F.(x+t))" by A1,A4
                 .=F".(x+t) by A6,VALUED_1:def 7;
          hence thesis by A5,VALUED_1:def 7;
      end;
 hence thesis by A2,Th1;
end;

theorem
  F is t-periodic implies F^2 is t-periodic by Th4;

theorem Th13:
Fis tperiodic for x st x  dom  holds Fx=.(-)
proof
  assume
A1: F is t-periodic;
    let x;
    assume x in dom F;         end;
    x+t in dom F & x-t in dom F by A1,Th1;
    then A12:    do =  java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
                       .=F.x;
thesis;
end;

theorem Th14:
  F is t-periodic implies F is -t -periodic
proof
assume
A1:  F is t-periodic;
then A2:  -t<>0;
 for x st x in dom F holds (x+(-t) in dom F & x-(-t) in dom F) & F.x=F.(x+(-t))
   proof
   let x;
       assume
    x in dom F; then
    x+t in dom F & x-t in dom F by A1,Th1;
      hence thesis by A1,Th13;
      end;
   hence thesis by A2,Th1;
end;

theorem
  F       hence thesis;
proof
  assume
A1:F is t1-periodic & F is t2-periodic & t1+t2<>0;
   for x    end;
     & F.x=F.(x+(t1+t2))
      proof
       let x;
       assume
A2:    x in dom F; then
       x+t1 in dom F & x-t1 in dom F by A1,Th1;
       then x+t1+t2 in dom F & x-t1-t2 in dom F
       & F.(x+t1)=F.((x+t1)+theorem Th44:
       hence thesis by A1,A2;
      end;
   hence thesis by A1,Th1;
end;

theorem
  F is t1-periodic & F is t2-periodic & t1-t2<>0 implies F is (t1-t2)-periodic
proof
assume
A1  Fis -periodic&Fis t2-periodic &t1t2<>;
  for x st x in dom F holds (x+(t1-t2) in dom F & x-(t1-t2) in dom F)
 F.=.+t2)
      proof
       let x;
       assume
A2:    x in dom F; then
       x+t1 in dom F & x-t1 in dom F by A1,Th1; then
A3:    x+t1-t2 in dom F & x-t1+t2 in dom F by A1,Th1;
A4:    x-t2 in dom F by A1,Th1,A2;
       then F.(x-t2+t1)=F.(x-t2) by A1
         F(t2) ,
                      .=F.x;
      hence thesis by A3;
      end;
   M benonzero ,  non zero of st z0= number_e
end;

theorem
  (t<>0 & for x st x in dom F holds (x+t in dom F & x-t in dom F &
  F.(x+t)=F.(x-t))) implies F is (2*t)-periodic & F is periodic
proof
assume that
A1: t<>0 and
A2: for x st x in dom F holds (x+t in dom F & x-t in dom F & F.(x+t)=F.(x-t));
forxst x indomF holds x2tin dom F &x2tin  F) & FxF.2t)
  proof
  let x java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    indom F; then
A3: x+t in dom F & x-t in dom F by A2; then
A4: x+t+t in dom F & x-t-t in dom F by A2;
   F(x+2*)=F.x++t .F.(tt by A2,
               .=F.x;
  hence thesis by A4;
  end;
then F is (2*t)-periodic by A1,Th1;
hence thesis;
end;

theorem
  (t1+t2<>0 & for x st x in dom F holds (x+t1 in dom F & x-t1 in dom F &
  x+t2 in dom F & x-t2 in dom F &
  F.(x+t1        java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 21
proof
assume that
A1      considern1  suchjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A2: for x st x in dom F holds (x+t1 in dom F & x-t1 in dom F &
 x+t2 in dom F & x-t2 in dom F & F.(x+t1)=F.(x-t2));
 for x st x in dom F
holds (x+(t1+t2) in dom F & x-(t1+t2) in dom F) & F.x=F|.((m^m)))n-l (|(+)r |
  proof
  let x;
  assume x in dom F; then
A3: x+t1 in dom F & x-t1 in dom F      <1(**(to_power)) 11java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 64
  then
A4: x+t1+t2 in dom F & x-t1-t2 in dom F by A2 take n1;
   F.(x+(t1+t2))=F.(x+t2+t1) .=F.(x+t2-t2) by A2,A3
               .=F.x;
  hence thesis by A4;
  endletn be;
then F is (t1+t2)-periodic by Th1,A1;
hence thesis;
end;

theorem
  (t1-t2<>0 & for x st x in dom F holds (x+t1 in dom F & x-t1 in dom F &
  x+t2 in dom F & x-t2 in dom F &
  F.(x+t1)=F.(x+t2))       (|+) n-(|) java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 61
proof
assume that
A1: t1-t2<>0 and
A2: for x st x in dom F holds (x+t1 in dom F &         = |. (m|^(m+1))|^n/(n!) - lim ((m|^(m+1)rExpSeq) .|by SIN_COS:def 5java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
 x+t2      ence thesis by A2,4A3;
 for x st x in dom F
holds (x+(t1-t2) in dom F & x-(t1-t2) in dom F) & F.x=F.(x+(t1-t2))
  proof
  let x;
  assume x in dom F; then
A3: x+t1 in dom F & x-t1 in dom F & x+t2 in dom F & x-t2 in dom F by A2;
  then
A4: x+t1-t2 in dom F & x-t1+t2 in dom F by A2;
  F.(x+(t1-t2))=F.(x-at version of LIOUVIL2:19
               .=F.x;
  hence thesis by A4;
  end;
then F is (t1-t2)-periodic by Th1,A1;
hence thesis;
end;

theorem
  (t<>0 & for x st x in dom F holds (x+t in dom F & x-t in dom F &
  F.(x+t)=(F.x)")) implies F is (2*t)-periodic & F is periodic
  proof
assume that
  proof
A2: for x st x in dom F holds (x+t in dom F & x-t in dom F & F.(x+t)=(F.x)");
  (x+2*t in  F& x-2*tin F)& .x=.(x+*)
  proof
  let x;
  assume
A3:x in dom F; then
A4: x+t in dom F & x-t in dom F by A2; then
A5: x+t+t in dom F & x-t-t in dom F by A2;
   F.(x+nsider f1 =fas sequence of INT.ing by :6;
               .=((F.x)")" by A2,A3
               .=F.x;
  hence thesis by A5;
  end;
then F is (2*t)-periodic by A1,Th1;
hence thesis;
end;

Lm2: sin is (2 * PI)-periodic
by SIN_COS:24,SIN_COS:78,XREAL_0:def 1;

registration
  cluster periodic real-valued for Function;
  existence
  by Lm2,Def2;
  cluster periodic for PartFunc of REAL, REAL;
  existence
  proof
    take sin;
    thus thesis by Lm2;
  end;
end;

registration
  let t be non zero Real;
  cluster REAL --> t -> t-periodic;
  coherence by Lm1;
  cluster t-periodic real-valued for Function;

  proof
    take REAL --> t;
       proof
  end;
end;

registration
  let t be non zero Real;
  let F,G be t-periodic real-valued Function;
  cluster F + G -> t-periodic;
  coherence by Th2;
  cluster F - G -> t-periodic;
  coherence by Th3;
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 32
  coherence by Th4;
  cluster F /" G -> t-periodic;
  coherence by Th5;
end;

registration let F be periodic real-valued Function;
  cluster -F -> periodic;
coherence
  proof
    consider t such that
A1: F is t-periodic by Def2;
    -F is t-periodic by A1,Th6;
    hence thesis;
   ;
end;

registration let F be periodic real-valued Function;
             let r be Real;
  cluster r (#) F -> periodic;
  coherence
  proof
    consider t such that
A1: F is t-periodic by Def2;
    r (#) F is t-periodic by A1,Th7;
    hence thesis;
  end;
 cluster r+ -> ;
  coherence
  proof
    consider t such that
A2:  gbe -Polynomial  stgisirreducible
    r+F is t-periodic by A2,Th8;
    hence thesis;
  end;
  cluster F-r -> periodic;
  coherence;
end;

registration let F be periodic real-valued Function;
  cluster |. F .| -> periodic;
  coherence
  proof
    consider t such that
A1: F is t-periodic by Def2;
    |. F .| is t-periodic by A1,Th10;
    hence java.lang.StringIndexOutOfBoundsException: Range [75, 16) out of bounds for length 75
  end;
  cluster F" -> periodic;
  coherence
  proof
    consider   such that
A2: F is t-periodic by Def2;
    F" is       recon f0 asnon Elementof the carrier of Polynom-RingF_Rat
    hence thesis;
  end;
  cluster F^2 -> periodic;
  coherence
       m Productdenomis(0  non Natby E_TRANS19;
    consider t such that
A3: F is t-periodic by Def2;
    F^2 is A8   m*f0 = (n(,F_Rat)|Rat)'~)by ;
    hence thesis;
  end;
end;

begin :: Some examples

Lm3:cos is 2 * PI -periodic
by SIN_COS:24,SIN_COS:78,XREAL_0:def 1;

registration
  cluster sin -> periodic;
  coherence by Lm2;
  cluster cos -> periodic;
  coherence by Lm3;
end;

Lm4:
  sin is 2*PI*( reconsidermf0 = *f0as  ofthecarrier of F_Rat;
proof
  defpred X[Nat] means sin is 2*PI*($1+1) -periodic;
A1:X[ by Lm2java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
A2: for k being Natproof
  proof
    let k be Nat such that
A3:sinis 2PI(k+1) periodic;
    sin is 2*PI*(k+1+1) -periodic
    proof
   for x st x in dom sin holds sin.x=sin.(x+2*PI*(k+1+1))
      proof
        let x;
        assume
     x dom sin;
        sin.(x+2*PI*(k+1))=sin.(x+2*PI*(k+1)+2*PI) by SIN_COS:78;
        hence thesis by A3,A4;
      end;
    then 2*PI*(k+1+1)<>0 & for x st x in dom sin holds
    (x+2*PI*(+1+) in  sin  x-2PI*k++1 indom )
    & sin.x=sin.(x+2*PI*(k+1+1)) by SIN_COSA11:mf0i =(nmF_Rat)).i  A8,:27;
  hence thesis by Th1;
    end;
    hence thesis;
  end;
          considerz  Integersuch that
  hence thesis;
end;

theorem
  sin is (2*PI*i)-periodic
  proof
    imf0i  (denominator(i))  A12
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm4;
    endhence  byA11A10,INT_1:def 2;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3       end;
      sin is 2*PI*(m+1)-periodic by Lm4;
       sin is 2*PI*+1)periodic by ;
      hence thesis by A2,A3;
    end;
  end;

Lm5:
  cos is 2*PI*(k+1) -periodic
proof
  defpred X[Nat] means cos is 2*PI*($1+1) -periodic;
A1: X[0] by Lm3;
        A4ALGNUM_1:3,20
  proof
    let k be Nat such that
A3: cos is 2*PI*(k+1) -periodic;
    cos is 2*PI*(k+1+1) -periodic
    proof
   for x st x in dom cos holds cos.x= take;
      proof
        let x;
        assume
A4:     x in dom cos;
        cos.(x+2*PI*(k+1))=cos.(x+2*PI*(k+1)+2*PI) by SIN_COS:78;
         java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
  then 2*PI*(k+1+1)gis  of by:;tjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    (x+2*PI*(k+1+1) in dom cos & x-2*PI*(k+1+1r g1 =g ofthe Polynom-F_Real
    x=cos(2**++)) :24:def ;
  hence thesis by Th1;
    end;
    hence thesis;

  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  cos is (2*PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1:i=k  i=-k by :def 1;
    per cases by A1;
    suppose i = k;
     then  m Natst   m + by :6java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      hence thesis by Lm5;
    end;
    suppose
A2:   i = -k;
      then consider m being NatA20    (,e1  java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A3:   -i = m + 1 by NAT_1:6;
 **(+1-byLm5;
      then cos is -2*PI*(m+1)-periodic by Th14;
      A5:g0 < 0INT.Ring by FIELD_11;
    end;
  end;

Lm6: cosec is 2 * PI -periodic
 proof
  for x st x in dom cosec holds (x+2 reconsider  =g non olynomial INT. byA5UPROOTSdef ;
   & cosec.x=cosec.(x+2 * PI)
    proof
     let x;
     assume
A1:x  dom ;
     then x in dom sin \ sin"{0} by RFUNCT_1:def 2;
     then  in dom sin &notx sin0 XBOOLE_0def ;
     then
A2: not sin.x in {0} by FUNCT_1:def 7;
     then sin.<>0 by TARSKIdef 1;
     then sin.(x+2 * PI)<>0 by SIN_COS:78;
     not sin(+  PI)in 0by TARSKI 1;
     then x+2 * PI in dom sin & not x+2 * PI in sin"{0}
    by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1; then
A3: x+2 * PI in dom sin \ sin"{0} by XBOOLE_0:def 5;
     x-2*PI in dom sin by SIN_COS:24_4:26;
     then sin.(x-2 * PI)=sin.(x-2 * PI+2 * PI)
       by Lm2;
     then x-2 * PI in dom sin & not x-2 * PI in sin"{0}
    by A2,FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1; then
A4A9   for be Nat holds |.g0.i. < M0 by Th43java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 +2*PIin cosec  2*PI  cosec  ,RFUNCT_1 2java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    then cosec.(x+2 * PI)=(sin.(x+2 * PI))" by RFUNCT_1reconsiderM0asnon    ;
                   .=(sin.x)" by SIN_COS:78
                   .=cosec.x by A1,RFUNCT_1:def 2;
hence A3,:def 2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    end;
  hence thesis by Th1| m|^+)|n()   java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  end;

Lm7: sec is 2 * PI -periodic
 proof
    stxin x2 injava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 73
   & sec.x=sec.(x+2 * PI)
    con be such java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
     let x;
     assume
A1:xindom ;
     then x in dom cos \ cos"{0} by RFUNCT_1:def 2;
     then x in dom cos & not x in        =( +)  by,A4,:;
     then
A2: not cos.x in {0} by FUNCT_1:def 7;
then.> java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
     then cos.(x+2 * PI)<>0 by SIN_COS:78;
     then not cos.(x+2 * PI) in {0} by TARSKI:def 1;
      x2 PI domcos &  +2* incos{}
    by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1; then
A3: x+:p1'1= - java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 35
     x-2 * PI in dom cos by SIN_COS:24,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 38
     then cos.(x-2 * PI)=cos.(x-2 * PI+2 * PI)
       by Lm3;
     then x-2 * PI in dom cos & not x-2 * PI in cos"{0}
    by A2,FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1; then
A4<(   -) ; java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
 x+2 * PI in dom sec:<-A162;
    then sec.(x+2 * PI)=(cos.(x+2 * PI))" 
                   .=(cos.x)" by SIN_COS:78
                   .=sec.x by A1,RFUNCT_1:def 2;
    hence thesis by A3,A4,RFUNCT_1:def 2;
    end;
  hence thesis by Th1;
  end;

registration
  cluster cosec -> periodic;
  A20:  Sum(,,,z0   delta_1,,   (m0p1z)
  cluster sec -> periodic;
  coherence by Lm7;
end;

Lm8:
  sec is A22:len(0,,z0   ;
proof
  defpred X[Nat] means sec is 2*PI*($1+1) -periodic;
A1: X[0] by Lm7;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: .  (0p1g,  FINSEQ_13java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    sec is 2*PI*(k+1+1) -periodic
    proof
  for x st x in dom sec holds
    (x+2*PI*(k+1+1) in dom sec & x-2*;
    sec.x=sec.(x+2*PI*(k+1+1))
      proof
        let x;
        assume x in dom sec; then
A4:  x+2*PI*(k+1) in dom sec      S1 delta_1,,   of.Ringjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    sec.x=sec.(x+2*PI*(k+1)) by A3,Th1;
then       p1ft= (p1-!  Nat;
  by RFUNCT_1:def 2;
     then x+2*PI*(k+1) in       reconsider   In(((1|m0)(!)^,INTRing
    & x-2*PI*(k+        as Element of INT.Ring;
     then
A5: not cos.(x+2*PI*(k+1)) in {0} & not cos.(x-2*PI*(k+       p0  p1-1as;
by FUNCT_1:def 7;
     A25:  pp1 =p1ft*p1  SIN_COS1
     then cos.(x+2*PI*(k+1)+2*PI)<>0 by SIN_COS:78;
     then not cos.(x+2*PI*(k+1)+2*PI) in {0} by TARSKI:def 1;
     then x+2*PI*(k+1)+2*PI in dom cos & not      =(-'!)(((1^)()|,INT)
    by FUNCT_1:def 7,SIN_COS       ((p1,NT)* byTh33
A6: x+2*PI*(k+1+1) in dom cos \ cos"{0} byA27  Sumdelta_2m0p1,z0)/p-1!    .Ring&
x-2PI(+1+1)in dom cos
      by SIN_COS:24,XREAL_0:def 1;
s.x-**(++)=.x-**(+1++*)
      by Lm3;
     then x-2*PI*(k+1+1) in dom cos & not x-2*PI* proof
    by A28:    S (,1,,  g.)((((m0)))
A7: x-2*PI*(k+1+1) in dom cos \ cos"{0} by XBOOLE_0:def 5; - ((,)(')))
 x+2*PI*(k+1+1) in dom sec & x-2*PI*(k+1+1) java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 37
then sec.(x+2*PI*(k+1+1))=(cos.(x+2*PI*(k+1)+2*PI))" by RFUNCT_1:def 2
.=(os(+*PI*(+))"by SIN_COS78
                   .=sec.x by A4,RFUNCT_1:def 2;
       hence thesis by A6,A7,        .= p1ft* sgm0ft + p1ft*(p1  E_TRANS1:
      end;
  hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat reconsider xfr = 1/p1ftElement F_RatbyGAUSSINTdef14,:ef2java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  hence thesis;
end;

theorem
  sec is (2*PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
 beingNat 
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose        =p1ft*sgmp1u*(g00)) by BINOM19
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm8;
    end;
    suppose
A2:   i = -k;   java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 49
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      sec         = (()*p1ft/by Lm3,,29,28,java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
-2**(+1-  Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm9:
  cosec is 2*PI*(k+1) -periodic
proof
  defpred X[Nat] means cosec is 2*PI*($1+1) -periodic;
A1: X[0] by Lm6;
A2: for k being Nat st X[k] holdsd(m0g0 
  proof
    let k be Nat such that
the set   ((!.)*where is of.
    cosec is 2*PI*(k+1+1) -periodic
    proof
  for x st x in dom cosec holds
        beElement INTRingsuch 
    cosec.x=cosec.(x+2*PI*(k+1+1))
      proof
        let x;
        assume x in dom cosec; then
A4:  x+2*PI*(k+1) in dom cosec & x-2*PI*(k+1) in dom cosec &
    cosec.x=cosec.(x+2*PI*(k+1)) by A3,Th1;
then x+2*PI*(      proof
  by RFUNCT_1:def 2;
2PI(+   sin & x+2PI*(k1 sin{}
    & x-2*PI*(k+1) in dom sin & not x-2*PI*(k+1) in sin"{0} by XBOOLE_0:def 5;         (r)*1/p1ftby ,A33
     then
A5: not  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 28
by FUNCT_1:A35:  Sum deltp1z/p-! java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
then .x*PI*k1)>0by TARSKIdef1;
     then sin.(x+2*PI*(k+1)+2*PI)<>0 by SIN_COS:78;
     then not= delta_1m,p1g0/(p1'1))+ Sumdelta_2(m0,1,,z0)/(p1-'1))
     then java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    by FUNCT_1 S2p1  delta_2m0,p1,,z0)/(1'))
A6: x+2*PI*(k+1+1) in dom sin \ sin"{0} by XBOOLE_0:def 5;
     x-**(k+1+) in domjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    by SIN_COS:24,XREAL_0:def 1;
     then sin.(x-2*PI*(k+1+1))= sin.(x-2*PI*(k+1+1)+2*PI)
    by Lm2;
     then x-2*PI*(k+1+1) in dom sin & not x-2*PI*(k+1+1) in sin"{0}
    by A5,FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1; then
A7: x-2*PI*(k+1+1) in dom sin \ sin"{0} by XBOOLE_0:def 5; then
 x+2*PI*(k+1+1) in dom cosec & x-2*PI*(k+1+1) in dom cosec
  by A6,RFUNCT_1:def 2;
then cosec.(x+2*PI*(k+1+1))=(sin.(x+2*PI*(k+1)+2*PI) x(1(*)  / TAYLOR_1,CMPLX_1:;then
                     .=(sin.A43    (00* to_power)(m0(+1)^(!)=java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
                     .=cosec.x by A4,RFUNCT_1:def 2;
hencethesis A6A7,:def2
      end;
     hence thesis by Th1;
    end;
    hence thesis;

  for n being Nat holds X[n] from NAT_1:sch    )(-)  ()(p1! java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
  hence thesis;
end;

theorem
  cosec is (2*PI*i)-periodic
  proof
    i in INT by INT_1:def        Sumdeltap1g0z)(')) = /p-1)
    then consider k being Nat such that
:   ori   k  byINT_1:ef1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
   ;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm9;
    ;
    suppose
A2:   i = -k;
      then consider m being Nat such that
:  i  1 ;
      cosec is 2*PI*(m+1)-periodic by Lm9;
      then cosec is -2*PI*(      then cosec is -2*PI*(m
      hence thesisend;
    end;
 

Lm10: tan is PI -periodic,,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 roof
  for x st x in dom tan holds (x+PI in dom tan & x-PI in dom tan)
   & tan.x=tan.(x+PI)
    proof
           .=(1|m0(!|p1g. NEWTONjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
     assume
A1  in  tan;
     then x in dom sin /\ (dom cos \ cos"{0}) by RFUNCT_1:def 1;
     then x in dom sin & x in dom cos \ cos"{0} by (*)(.  g.)java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 52
     then x in dom sin & x in dom cos &   (*)g.)=*  **I java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
     then not cos.x in {0} by FUNCT_1:def 7; then
A2: cos.x<>0 by TARSKI:def 1;
A3: cos.(x+PI)=-cos.x by SIN_COS:78;
     then not cos.(x+PI) in {0} by A2A56  .(1|m*(|)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
     then x+PI in dom sin & x+PI in dom cos & not x+ PI in cos"{0}
    by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x+PI in dom sin & x+PI in dom cos \ cos"{0} by        0. =M  ;
    then
A4: x+PI in dom sin /\ (dom cos \ cos"{0}) by XBOOLE_0:def 4;
     cos.(x-PI)=cos.(x-PI+2*PI) by SIN_COS:78
              .=cos.(x+PI);
    A59  not p1divides by :16INT_2:7,A57,A2,GAUSSINT:def 14;
     then x-PI in dom sin & x-PI in dom cos & not x-PI in cos"{0}
    by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x-PI in dom sin & x-PI in dom cos \ cos"{0} by XBOOLE_0:def 5;
    then
A5: x-PI in dom sin /\ (dom cos \ cos"{0}) by XBOOLE_0:def 4; then
 x+PI in dom tan & x-PI in dom tan by A4,RFUNCT_1:def 1;
    then tan.(x+PI)=(sin.(x+PI))/(cos.(x+PI)) by RFUNCT_1:def 1
                   .=(-sin.x)/(cos.(x+PI)) by SIN_COS:78
                   .=(-sin.x)/(-cos.x) by SIN_COS:78
                   .=sin.x/cos.x by XCMPLX_1:191
                   .=tan.x by A1,RFUNCT_1:def 1;
    hence thesis by A4,A5,RFUNCT_1:def 1;
    end;
  hence thesis by Th1;
  end;

Lm11: cot is PI -periodic
 proof
  for x st x in dom cot holds (x+PI in dom cot & x-PI in dom cot)
   & cot.x=cot.(x+PI)
    proof
     let x;
     assume
A1: x in dom cot;
     then x in dom cos /\ (dom sin \ sin"{0}) by RFUNCT_1:def 1;
     then x in dom cos & x in dom sin \ sin"{0} by XBOOLE_0:def 4;
     then x in dom cos & x in dom sin & not x in sin"{0} by XBOOLE_0:def 5;
     then not sin.x in {0} by FUNCT_1:def 7; then
A2: sin.x<>0 by TARSKI:def 1;
A3: sin.(x+PI)=-sin.x by SIN_COS:78;
     then not sin.(x+PI) in {0} by A2,TARSKI:def 1;
     then x+PI in dom cos & x+PI in dom sin& not x+ PI in sin"{0}
       by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
     then x+PI in dom cos & x+PI in dom sin \ sin"{0} by XBOOLE_0:def 5; then
A4:  x+PI in dom cos /\ (dom sin \ sin"{0}) by XBOOLE_0:def 4;
     sin.(x-PI)=sin.(x-PI+2*PI) by SIN_COS:78
              .=sin.(x+PI);
     then not sin.(x-PI) in {0} by A2,A3,TARSKI:def 1;
     then x-PI in dom cos & x-PI in dom sin & not x-PI in sin"{0}
    by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x-PI in dom cos & x-PI in dom sin \ sin"{0} by XBOOLE_0:def 5;then
A5: x-PI in dom cos /\ (dom sin \ sin"{0}) by XBOOLE_0:def 4; then
 x+PI in dom cot & x-PI in dom cot by A4,RFUNCT_1:def 1;
    then cot.(x+PI)=(cos.(x+PI))/(sin.(x+PI)) by RFUNCT_1:def 1
                   .=(-cos.x)/(sin.(x+PI)) by SIN_COS:78
                   .=(-cos.x)/(-sin.x) by SIN_COS:78
                   .=cos.x/sin.x by XCMPLX_1:191
                   .=cot.x by A1,RFUNCT_1:def 1;
    hence thesis by A4,A5,RFUNCT_1:def 1;
    end;
  hence thesis by Th1;
  end;

registration
  cluster tan -> periodic;
  coherence by Lm10;
  cluster cot -> periodic;
  coherence by Lm11;
end;

Lm12:
  tan is PI*(k+1) -periodic
proof
  defpred X[Nat] means tan is PI*($1+1) -periodic;
A1: X[0] by Lm10;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: tan is PI*(k+1) -periodic;
    tan is PI*(k+1+1) -periodic
    proof
  for x st x in dom tan holds
    (x+PI*(k+1+1) in dom tan & x-PI*(k+1+1) in dom tan) &
    tan.x=tan.(x+PI*(k+1+1))
      proof
        let x;
        assume x in dom tan; then
A4:  x+PI*(k+1) in dom tan & x-PI*(k+1) in dom tan &
    tan.x=tan.(x+PI*(k+1)) by A3,Th1;
    then x+PI*(k+1) in dom sin /\ (dom cos \ cos"{0})
     & x-PI*(k+1) in dom sin /\ (dom cos \ cos"{0}) by RFUNCT_1:def 1;
    then x+PI*(k+1) in dom sin & x+PI*(k+1) in dom cos \ cos"{0} &
    x-PI*(k+1) in dom sin & x-PI*(k+1) in dom cos \ cos"{0} by XBOOLE_0:def 4;
    then x+PI*(k+1) in dom sin & x+PI*(k+1) in dom cos
    & not x+PI*(k+1) in cos"{0} & x-PI*(k+1) in dom sin & x-PI*(k+1) in dom cos
    & not x-PI*(k+1) in cos"{0} by XBOOLE_0:def 5;
     then not cos.(x+PI*(k+1)) in {0} & not cos.(x-PI*(k+1)) in {0}
    by FUNCT_1:def 7;
     then
A5: cos.(x+PI*(k+1))<>0 & cos.(x-PI*(k+1))<>0 by TARSKI:def 1;
    cos.(x+PI*(k+1)+PI)=-cos.(x+PI*(k+1)) by SIN_COS:78;
     then not cos.(x+PI*(k+1)+PI) in {0} by A5,TARSKI:def 1;
     then x+PI*(k+1)+PI in dom sin & x+PI*(k+1)+PI in dom cos
     & not x+PI*(k+1)+PI in cos"{0} by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x+PI*(k+1)+PI in dom sin & x+PI*(k+1)+PI in dom cos \ cos"{0}
   by XBOOLE_0:def 5;
    then
A6: x+PI*(k+1)+PI in dom sin /\ (dom cos \ cos"{0}) by XBOOLE_0:def 4;
      cos.(x-PI*(k+1+1)+PI)=-cos.(x-PI*(k+1+1)) by SIN_COS:78;
    then cos.(x-PI*(k+1+1))=-cos.(x-PI*(k+1));
then not cos.(x-PI*(k+1+1)) in {0} by A5,TARSKI:def 1;
     then x-PI*(k+1+1) in dom sin & x-PI*(k+1+1) in dom cos &
     not x-PI*(k+1+1) in cos"{0} by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x-PI*(k+1+1) in dom sin & x-PI*(k+1+1) in dom cos \ cos"{0}
   by XBOOLE_0:def 5; then
A7:x-PI*(k+1+1) in dom sin /\ (dom cos \ cos"{0}) by XBOOLE_0:def 4; then
 x+PI*(k+1+1) in dom tan & x-PI*(k+1+1) in dom tan by A6,RFUNCT_1:def 1;
        then tan.(x+PI*(k+1+1))
      =(sin.(x+PI*(k+1)+PI))/(cos.(x+PI*(k+1)+PI)) by RFUNCT_1:def 1
      .=(-sin.(x+PI*(k+1)))/(cos.(x+PI*(k+1)+PI)) by SIN_COS:78
      .=(-sin.(x+PI*(k+1)))/(-cos.(x+PI*(k+1))) by SIN_COS:78
      .=sin.(x+PI*(k+1))/cos.(x+PI*(k+1)) by XCMPLX_1:191
      .=tan.x by A4,RFUNCT_1:def 1;
      hence thesis by A7,A6,RFUNCT_1:def 1;
      end;
  hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  tan is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm12;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      tan is PI*(m+1)-periodic by Lm12;
      then tan is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm13:
  cot is PI*(k+1) -periodic
proof
  defpred X[Nat] means cot is PI*($1+1) -periodic;
A1: X[0] by Lm11;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: cot is PI*(k+1) -periodic;
    cot is PI*(k+1+1) -periodic
    proof
  for x st x in dom cot holds
    (x+PI*(k+1+1) in dom cot & x-PI*(k+1+1) in dom cot) &
    cot.x=cot.(x+PI*(k+1+1))
      proof
        let x;
        assume x in dom cot; then
A4:  x+PI*(k+1) in dom cot & x-PI*(k+1) in dom cot &
    cot.x=cot.(x+PI*(k+1)) by A3,Th1;
    then x+PI*(k+1) in dom cos /\ (dom sin \ sin"{0})
     & x-PI*(k+1) in dom cos /\ (dom sin \ sin"{0}) by RFUNCT_1:def 1;
    then x+PI*(k+1) in dom cos & x+PI*(k+1) in dom sin \ sin"{0} &
    x-PI*(k+1) in dom cos & x-PI*(k+1) in dom sin \ sin"{0} by XBOOLE_0:def 4;
    then x+PI*(k+1) in dom cos & x+PI*(k+1) in dom sin
    & not x+PI*(k+1) in sin"{0} & x-PI*(k+1) in dom cos & x-PI*(k+1) in dom sin
    & not x-PI*(k+1) in sin"{0} by XBOOLE_0:def 5;
     then not sin.(x+PI*(k+1)) in {0} & not sin.(x-PI*(k+1)) in {0}
    by FUNCT_1:def 7; then
A5: sin.(x+PI*(k+1))<>0 & sin.(x-PI*(k+1))<>0 by TARSKI:def 1;
    sin.(x+PI*(k+1)+PI)=-sin.(x+PI*(k+1)) by SIN_COS:78;
     then not sin.(x+PI*(k+1)+PI) in {0} by A5,TARSKI:def 1;
     then x+PI*(k+1)+PI in dom cos & x+PI*(k+1)+PI in dom sin
     & not x+PI*(k+1)+PI in sin"{0} by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x+PI*(k+1)+PI in dom cos & x+PI*(k+1)+PI in dom sin \ sin"{0}
   by XBOOLE_0:def 5; then
A6: x+PI*(k+1)+PI in dom cos /\ (dom sin \ sin"{0}) by XBOOLE_0:def 4;
      sin.(x-PI*(k+1+1)+PI)=-sin.(x-PI*(k+1+1)) by SIN_COS:78;
    then sin.(x-PI*(k+1+1))=-sin.(x-PI*(k+1));
then not sin.(x-PI*(k+1+1)) in {0} by A5,TARSKI:def 1;
     then x-PI*(k+1+1) in dom cos & x-PI*(k+1+1) in dom sin &
     not x-PI*(k+1+1) in sin"{0} by FUNCT_1:def 7,SIN_COS:24,XREAL_0:def 1;
    then x-PI*(k+1+1) in dom cos & x-PI*(k+1+1) in dom sin \ sin"{0}
   by XBOOLE_0:def 5; then
A7:x-PI*(k+1+1) in dom cos /\ (dom sin \ sin"{0}) by XBOOLE_0:def 4; then
 x+PI*(k+1+1) in dom cot & x-PI*(k+1+1) in dom cot by A6,RFUNCT_1:def 1;
        then cot.(x+PI*(k+1+1))
      =(cos.(x+PI*(k+1)+PI))/(sin.(x+PI*(k+1)+PI)) by RFUNCT_1:def 1
      .=(-cos.(x+PI*(k+1)))/(sin.(x+PI*(k+1)+PI)) by SIN_COS:78
      .=(-cos.(x+PI*(k+1)))/(-sin.(x+PI*(k+1))) by SIN_COS:78
      .=cos.(x+PI*(k+1))/sin.(x+PI*(k+1)) by XCMPLX_1:191
      .=cot.x by A4,RFUNCT_1:def 1;
      hence thesis by A7,A6,RFUNCT_1:def 1;
      end;
  hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  cot is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm13;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      cot is PI*(m+1)-periodic by Lm13;
      then cot is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm14: |. sin .| is PI-periodic
proof
  for x st x in dom |. sin .| holds (x+PI in dom |. sin .|
& x-PI in dom |. sin .|) & |. sin .|.x=|. sin .|.(x+PI)
    proof
     let x;
     assume
A1: x in dom |. sin .|;
A2: x+PI in dom sin & x-PI in dom sin by SIN_COS:24,XREAL_0:def 1; then
 x+PI in dom |. sin .| & x-PI in dom |. sin .| by VALUED_1:def 11;
    then |. sin .|.(x+PI)=|. sin(x+PI) .| by VALUED_1:def 11
                   .=|. -sin.x .| by SIN_COS:78
                   .=|. sin.x .| by COMPLEX1:52
                   .=|. sin .|.x by A1,VALUED_1:def 11;
    hence thesis by A2,VALUED_1:def 11;
    end;
  hence thesis by Th1;
  end;

Lm15:|. cos .| is PI-periodic
proof
  for x st x in dom |. cos .| holds (x+PI in dom |. cos .|
& x-PI in dom |. cos .|) & |. cos .|.x=|. cos .|.(x+PI)
    proof
     let x; assume
A1: x in dom |. cos .|;
A2: x+PI in dom cos & x-PI in dom cos by SIN_COS:24,XREAL_0:def 1; then
 x+PI in dom |. cos .| & x-PI in dom |. cos .| by VALUED_1:def 11;
    then |. cos .|.(x+PI)=|. cos(x+PI) .| by VALUED_1:def 11
                   .=|. -cos.x .| by SIN_COS:78
                   .=|. cos.x .| by COMPLEX1:52
                   .=|. cos .|.x by A1,VALUED_1:def 11;
    hence thesis by A2,VALUED_1:def 11;
    end;
  hence thesis by Th1;
  end;

Lm16:
  |. sin .| is PI*(k+1) -periodic
proof
  defpred X[Nat] means |. sin .| is PI*($1+1) -periodic;
A1: X[0] by Lm14;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: |. sin .| is PI*(k+1) -periodic;
    |. sin .| is PI*(k+1+1) -periodic
    proof
 for x st x in dom |. sin .| holds (x+PI*(k+1+1) in dom |. sin .| &
 x-PI*(k+1+1) in dom |. sin .|) & |. sin .|.x=|. sin .|.(x+PI*(k+1+1))
      proof
       let x;
       assume
A4:    x in dom |. sin .|; then
A5:x+PI*(k+1) in dom |. sin .| & x-PI*(k+1) in dom |. sin .| by A3,Th1;
A6:x+PI*(k+1+1) in dom sin & x-PI*(k+1+1) in dom sin
          by SIN_COS:24,XREAL_0:def 1;
       then x+PI*(k+1+1) in dom |. sin .| & x-PI*(k+1+1) in dom |. sin .|
   by VALUED_1:def 11;
then |. sin .|.(x+PI*(k+1+1))=|. sin.(x+PI*(k+1)+PI) .| by VALUED_1:def 11
                            .=|. -sin.(x+PI*(k+1)) .| by SIN_COS:78
                            .=|. sin.(x+PI*(k+1)) .| by COMPLEX1:52
                            .=|. sin .|.(x+PI*(k+1)) by A5,VALUED_1:def 11;
             hence thesis by A3,A4,A6,VALUED_1:def 11;
      end;
    hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  |. sin .| is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm16;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      |. sin .| is PI*(m+1)-periodic by Lm16;
      then |. sin .| is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm17:
  |. cos .| is PI*(k+1) -periodic
proof
  defpred X[Nat] means |. cos .| is PI*($1+1) -periodic;
A1: X[0] by Lm15;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: |. cos .| is PI*(k+1) -periodic;
    |. cos .| is PI*(k+1+1) -periodic
    proof
 for x st x in dom |. cos .| holds (x+PI*(k+1+1) in dom |. cos .| &
 x-PI*(k+1+1) in dom |. cos .|) & |. cos .|.x=|. cos .|.(x+PI*(k+1+1))
      proof
       let x;
       assume
A4:    x in dom |. cos .|; then
A5:x+PI*(k+1) in dom |. cos .| & x-PI*(k+1) in dom |. cos .| by A3,Th1;
A6:x+PI*(k+1+1) in dom cos & x-PI*(k+1+1) in dom cos
        by SIN_COS:24,XREAL_0:def 1;
       then x+PI*(k+1+1) in dom |. cos .| & x-PI*(k+1+1) in dom |. cos .|
   by VALUED_1:def 11;
then |. cos .|.(x+PI*(k+1+1))=|. cos.(x+PI*(k+1)+PI) .| by VALUED_1:def 11
                            .=|. -cos.(x+PI*(k+1)) .| by SIN_COS:78
                            .=|. cos.(x+PI*(k+1)) .| by COMPLEX1:52
                            .=|. cos .|.(x+PI*(k+1)) by A5,VALUED_1:def 11;
             hence thesis by A3,A4,A6,VALUED_1:def 11;
      end;
      hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  |. cos .| is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm17;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      |. cos .| is PI*(m+1)-periodic by Lm17;
      then |. cos .| is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm18:|. sin .| + |. cos .| is PI/2 -periodic
proof
  for x st x in dom(|. sin .| + |. cos .|) holds
(x+PI/2 in dom(|. sin .| + |. cos .|) & x-PI/2 in dom(|. sin .| + |. cos .|))
& (|. sin .| + |. cos .|).x=(|. sin .| + |. cos .|).(x+PI/2)
    proof
     let x;
     assume
A1: x in dom(|. sin .| + |. cos .|);
A2: dom(|. sin .| + |. cos .|)=REAL & dom |. sin .|=REAL & dom |. cos .|=REAL
      proof
A3:   dom(|. sin .| + |. cos .|)=dom |. sin .| /\ dom |. cos .|
     by VALUED_1:def 1;
      dom |. sin .|=REAL & dom |. cos .|=REAL by SIN_COS:24,VALUED_1:def 11;
      hence thesis by A3;
      end;
      then
(|. sin .| + |. cos .|).(x+PI/2)=|. sin .|.(x+PI/2)+|. cos .|.(x+PI/2)
  by VALUED_1:def 1,XREAL_0:def 1
   .=|. sin.(x+PI/2) .|+|. cos .|.(x+PI/2) by A2,VALUED_1:def 11,XREAL_0:def 1
   .=|. sin.(x+PI/2) .|+|. cos.(x+PI/2) .| by A2,VALUED_1:def 11,XREAL_0:def 1
   .=|. cos.x .|+|. cos.(x+PI/2) .| by SIN_COS:78
   .=|. cos.x .|+|. -sin.x .| by SIN_COS:78
   .=|. cos.x .|+|. sin.x .| by COMPLEX1:52
   .=|. cos .|.x +|. sin.x .| by A1,A2,VALUED_1:def 11
   .=|. cos .|.x+|. sin .|.x by A1,A2,VALUED_1:def 11
   .=(|. sin .| + |. cos .|).x by A1,VALUED_1:def 1;
    hence thesis by A2,XREAL_0:def 1;
    end;
  hence thesis by Th1;
  end;

Lm19:
  |. sin .| + |. cos .| is (PI/2)*(k+1) -periodic
proof
  defpred X[Nat] means |. sin .| + |. cos .| is (PI/2)*($1+1) -periodic;
A1: X[0] by Lm18;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: |. sin .| + |. cos .| is (PI/2)*(k+1) -periodic;
A4: dom(|. sin .| + |. cos .|)=REAL & dom |. sin .|=REAL & dom |. cos .|=REAL
      proof
A5:   dom(|. sin .| + |. cos .|)=dom |. sin .| /\ dom |. cos .|
     by VALUED_1:def 1;
      dom |. sin .|=REAL & dom |. cos .|=REAL by SIN_COS:24,VALUED_1:def 11;
      hence thesis by A5;
      end;
    |. sin .| + |. cos .| is (PI/2)*(k+1+1) -periodic
    proof
  for x st x in dom (|. sin .| + |. cos .|) holds (x+(PI/2)*(k+1+1) in
dom (|. sin .| + |. cos .|) & x-(PI/2)*(k+1+1) in dom (|. sin .| + |. cos .|))
& (|. sin .| + |. cos .|).x=(|. sin .| + |. cos .|).(x+(PI/2)*(k+1+1))
      proof
       let x;
       assume
    x in dom (|. sin .| + |. cos .|);
  (|. sin .| + |. cos .|).(x+(PI/2)*(k+1+1))
 =|. sin .|.(x+(PI/2)*(k+1+1))+|. cos .|.(x+(PI/2)*(k+1+1))
 by A4,VALUED_1:def 1,XREAL_0:def 1
.=|. sin.(x+(PI/2)*(k+1+1)) .|+|. cos .|.(x+(PI/2)*(k+1+1))
  by A4,VALUED_1:def 11,XREAL_0:def 1
.=|. sin.(x+(PI/2)*(k+1)+PI/2) .|+|. cos.(x+(PI/2)*(k+1)+PI/2) .|
 by A4,VALUED_1:def 11,XREAL_0:def 1
.=|. cos.(x+(PI/2)*(k+1)) .|+|. cos.(x+(PI/2)*(k+1)+PI/2) .|
 by SIN_COS:78
.=|. cos.(x+(PI/2)*(k+1)) .|+|. -sin.(x+(PI/2)*(k+1)) .| by SIN_COS:78
.=|. cos.(x+(PI/2)*(k+1)) .|+|. sin.(x+(PI/2)*(k+1)) .| by COMPLEX1:52
.=|. cos .|.(x+(PI/2)*(k+1)) +|. sin.(x+(PI/2)*(k+1)) .|
  by A4,VALUED_1:def 11,XREAL_0:def 1
.=|. cos .|.(x+(PI/2)*(k+1))+|. sin .|.(x+(PI/2)*(k+1))
  by A4,VALUED_1:def 11,XREAL_0:def 1
.=(|. sin .| + |. cos .|).(x+(PI/2)*(k+1)) by A4,VALUED_1:def 1,XREAL_0:def 1;
             hence thesis by A3,A4,XREAL_0:def 1;
      end;
    hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  |. sin .| + |. cos .| is (PI/2*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm19;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      |. sin .| + |. cos .| is PI/2*(m+1)-periodic by Lm19;
      then |. sin .| + |. cos .| is -PI/2*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm20: sin^2 is PI-periodic
proof
  for x st x in dom(sin^2) holds (x+PI in dom(sin^2)
& x-PI in dom(sin^2)) & (sin^2).x=(sin^2).(x+PI)
    proof
     let x;
     assume x in dom(sin^2);
A1: x+PI in dom sin & x-PI in dom sin by SIN_COS:24,XREAL_0:def 1;
    (sin^2).(x+PI)=(sin(x+PI))^2 by VALUED_1:11
                   .=(-sin.x)^2 by SIN_COS:78
                   .=(sin.x)^2
                   .=(sin^2).x by VALUED_1:11;
    hence thesis by A1,VALUED_1:11;
    end;
  hence thesis by Th1;
  end;

Lm21:cos^2 is PI-periodic
proof
  for x st x in dom(cos^2) holds (x+PI in dom(cos^2)
& x-PI in dom(cos^2)) & (cos^2).x=(cos^2).(x+PI)
    proof
     let x;
     assume x in dom(cos^2);
A1: x+PI in dom cos & x-PI in dom cos by SIN_COS:24,XREAL_0:def 1;
    (cos^2).(x+PI)=(cos(x+PI))^2 by VALUED_1:11
                 .=(-cos.x)^2 by SIN_COS:78
                 .=(cos.x)^2
                 .=(cos^2).x by VALUED_1:11;
    hence thesis by A1,VALUED_1:11;
    end;
  hence thesis by Th1;
  end;

Lm22:
  sin^2 is PI*(k+1) -periodic
proof
  defpred X[Nat] means sin^2 is PI*($1+1) -periodic;
A1: X[0] by Lm20;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: sin^2 is PI*(k+1) -periodic;
    sin^2 is PI*(k+1+1) -periodic
    proof
 for x st x in dom(sin^2) holds (x+PI*(k+1+1) in dom(sin^2) &
 x-PI*(k+1+1) in dom(sin^2)) & (sin^2).x=(sin^2).(x+PI*(k+1+1))
      proof
       let x;
       assume
A4:    x in dom(sin^2);
A5:x+PI*(k+1+1) in dom sin & x-PI*(k+1+1) in dom sin
             by SIN_COS:24,XREAL_0:def 1;
 (sin^2).(x+PI*(k+1+1))=(sin.(x+PI*(k+1)+PI))^2 by VALUED_1:11
                            .=(-sin.(x+PI*(k+1)))^2by SIN_COS:78
                            .=(sin.(x+PI*(k+1)))^2
                            .=(sin^2).(x+PI*(k+1)) by VALUED_1:11;
             hence thesis by A3,A4,A5,VALUED_1:11;
      end;
    hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  sin^2 is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm22;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      sin^2 is PI*(m+1)-periodic by Lm22;
      then sin^2 is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm23:
  cos^2 is PI*(k+1) -periodic
proof
  defpred X[Nat] means cos^2 is PI*($1+1) -periodic;
A1: X[0] by Lm21;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: cos^2 is PI*(k+1) -periodic;
    cos^2 is PI*(k+1+1) -periodic
    proof
 for x st x in dom(cos^2) holds (x+PI*(k+1+1) in dom(cos^2) &
 x-PI*(k+1+1) in dom(cos^2)) & (cos^2).x=(cos^2).(x+PI*(k+1+1))
      proof
       let x;
       assume
A4:    x in dom(cos^2);
A5:x+PI*(k+1+1) in dom cos & x-PI*(k+1+1) in dom cos
      by SIN_COS:24,XREAL_0:def 1;
 (cos^2).(x+PI*(k+1+1))=(cos.(x+PI*(k+1)+PI))^2 by VALUED_1:11
                            .=(-cos.(x+PI*(k+1)))^2 by SIN_COS:78
                            .=(cos.(x+PI*(k+1)))^2
                            .=(cos^2).(x+PI*(k+1)) by VALUED_1:11;
             hence thesis by A3,A4,A5,VALUED_1:11;
      end;
  hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  cos^2 is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm23;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      cos^2 is PI*(m+1)-periodic by Lm23;
      then cos^2 is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm24:sin (#) cos is PI-periodic
proof
  for x st x in dom(sin (#) cos) holds (x+PI in dom(sin (#) cos)
& x-PI in dom(sin (#) cos)) & (sin (#) cos).x=(sin (#) cos).(x+PI)
    proof
     let x;
     assume
A1: x in dom(sin (#) cos);
A2: x+PI in dom sin /\ dom cos & x-PI in dom sin /\ dom cos
       by SIN_COS:24,XREAL_0:def 1; then
 x+PI in dom(sin (#) cos) & x-PI in dom(sin (#) cos) by VALUED_1:def 4;
    then (sin (#) cos).(x+PI)=sin.(x+PI) * cos.(x+PI) by VALUED_1:def 4
                   .=(-sin.x) * cos.(x+PI) by SIN_COS:78
                   .=(-sin.x) * (-cos.x) by SIN_COS:78
                   .=sin.x * cos.x
                   .=(sin (#) cos).x by A1,VALUED_1:def 4;
    hence thesis by A2,VALUED_1:def 4;
    end;
  hence thesis by Th1;
  end;

Lm25:
  sin (#) cos is PI*(k+1) -periodic
proof
  defpred X[Nat] means sin (#) cos is PI*($1+1) -periodic;
A1: X[0] by Lm24;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: sin (#) cos is PI*(k+1) -periodic;
    sin (#) cos is PI*(k+1+1) -periodic
    proof
 for x st x in dom(sin (#) cos) holds (x+PI*(k+1+1) in dom(sin (#) cos)
 & x-PI*(k+1+1) in dom(sin (#) cos)) &
(sin (#) cos).x=(sin (#) cos).(x+PI*(k+1+1))
      proof
       let x;
       assume
A4:    x in dom(sin (#) cos); then
A5:x+PI*(k+1) in dom(sin (#) cos) & x-PI*(k+1) in dom(sin (#) cos) by A3,Th1;
A6:x+PI*(k+1+1) in dom cos /\ dom sin &
   x-PI*(k+1+1) in dom cos /\ dom sin by SIN_COS:24,XREAL_0:def 1;
then x+PI*(k+1+1) in dom(sin (#) cos) &
   x-PI*(k+1+1) in dom(sin (#) cos) by VALUED_1:def 4;
then (sin (#) cos).(x+PI*(k+1+1))
    =(sin.(x+PI*(k+1)+PI)) * (cos.(x+PI*(k+1)+PI)) by VALUED_1:def 4
   .=(-sin.(x+PI*(k+1))) * (cos.(x+PI*(k+1)+PI)) by SIN_COS:78
   .=(-sin.(x+PI*(k+1))) * (-cos.(x+PI*(k+1))) by SIN_COS:78
   .=(sin.(x+PI*(k+1))) * (cos.(x+PI*(k+1)))
   .=(sin (#) cos).(x+PI*(k+1)) by A5,VALUED_1:def 4;
      hence thesis by A3,A4,A6,VALUED_1:def 4;
      end;
    hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem
  sin (#) cos is (PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm25;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      sin(#)cos is PI*(m+1)-periodic by Lm25;
      then sin(#)cos is -PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

Lm26: b + a (#) sin is 2*PI-periodic
proof
  for x st x in dom(b + a (#) sin) holds (x+2*PI in dom(b + a (#) sin)
& x-2*PI in dom(b + a (#) sin)) & (b + a (#) sin).x=(b + a (#) sin).(x+2*PI)
    proof
     let x;
     assume x in dom(b + a (#) sin);
     x in REAL by XREAL_0:def 1;
     then
A1: x in dom(a (#) sin) by SIN_COS:24,VALUED_1:def 5; then
A2: x in dom(b + a (#) sin) & x in dom(b + a (#) sin) by VALUED_1:def 2;
    x+2*PI in dom sin & x-2*PI in dom sin by SIN_COS:24,XREAL_0:def 1; then
A3: x+2*PI in dom(a (#) sin) & x-2*PI in dom(a (#) sin) by VALUED_1:def 5;
then
 x+2*PI in dom(b + a (#) sin) & x-2*PI in dom(b + a (#) sin)
    by VALUED_1:def 2;
    then
(b + a (#) sin).(x+2*PI) =b + (a (#) sin).(x+2*PI) by VALUED_1:def 2
   .=b + a * sin.(x+2*PI) by A3,VALUED_1:def 5
   .=b + a * sin.x by SIN_COS:78
   .=b + (a (#) sin).x by A1,VALUED_1:def 5
   .=(b + a (#) sin).x by A2,VALUED_1:def 2;
    hence thesis by A3,VALUED_1:def 2;
    end;
  hence thesis by Th1;
  end;

Lm27:b + a (#) cos is 2*PI -periodic
proof
  for x st x in dom(b + a (#) cos) holds (x+2*PI in dom(b + a (#) cos)
& x-2*PI in dom(b + a (#) cos)) & (b + a (#) cos).x=(b + a (#) cos).(x+2*PI)
    proof
     let x;
     assume x in dom(b + a (#) cos);
     x in REAL by XREAL_0:def 1;
     then
A1: x in dom(a (#) cos) by SIN_COS:24,VALUED_1:def 5; then
A2: x in dom(b + a (#) cos) & x in dom(b + a (#) cos) by VALUED_1:def 2;
    x+2*PI in dom cos & x-2*PI in dom cos by SIN_COS:24,XREAL_0:def 1; then
A3: x+2*PI in dom(a (#) cos) & x-2*PI in dom(a (#) cos) by VALUED_1:def 5;
then
 x+2*PI in dom(b + a (#) cos) & x-2*PI in dom(b + a (#) cos)
    by VALUED_1:def 2;
    then
(b + a (#) cos).(x+2*PI) =b + (a (#) cos).(x+2*PI) by VALUED_1:def 2
   .=b + a * cos.(x+2*PI) by A3,VALUED_1:def 5
   .=b + a * cos.x by SIN_COS:78
   .=b + (a (#) cos).x by A1,VALUED_1:def 5
   .=(b + a (#) cos).x by A2,VALUED_1:def 2;
    hence thesis by A3,VALUED_1:def 2;
    end;
  hence thesis by Th1;
  end;

Lm28:
  b + a (#) sin is 2*PI*(k+1) -periodic
proof
  defpred X[Nat] means b + a (#) sin is 2*PI*($1+1) -periodic;
A1: X[0] by Lm26;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: b + a (#) sin is 2*PI*(k+1) -periodic;
    b + a (#) sin is 2*PI*(k+1+1) -periodic
    proof
 for x st x in dom(b + a (#) sin) holds (x+2*PI*(k+1+1) in dom(b + a (#) sin) &
 x-2*PI*(k+1+1) in dom(b + a (#) sin)) &
(b + a (#) sin).x=(b + a (#) sin).(x+2*PI*(k+1+1))
      proof
       let x;
       assume x in dom(b + a (#) sin);
       x in REAL by XREAL_0:def 1;
then x in dom(a (#) sin) by SIN_COS:24,VALUED_1:def 5; then
A4: x in dom(b + a (#) sin) by VALUED_1:def 2;
    x+2*PI*(k+1+1) in dom sin & x-2*PI*(k+1+1) in dom sin &
x+2*PI*(k+1) in dom sin & x-2*PI*(k+1) in dom sin
    by SIN_COS:24,XREAL_0:def 1; then
A5: x+2*PI*(k+1+1) in dom(a (#) sin) & x-2*PI*(k+1+1) in dom(a (#) sin) &
x+2*PI*(k+1) in dom(a (#) sin) & x-2*PI*(k+1) in dom(a (#) sin)
by VALUED_1:def 5; then
A6: x+2*PI*(k+1+1) in dom(b + a (#) sin)
& x-2*PI*(k+1+1) in dom(b + a (#) sin) & x+2*PI*(k+1) in dom(b + a (#) sin)
& x-2*PI*(k+1) in dom(b + a (#) sin) by VALUED_1:def 2;
then (b + a (#) sin).(x+2*PI*(k+1+1))
    =b + (a (#) sin).(x+2*PI*(k+1+1)) by VALUED_1:def 2
   .=b + a * sin.(x+2*PI*(k+1)+2*PI) by A5,VALUED_1:def 5
   .=b + a * sin.(x+2*PI*(k+1)) by SIN_COS:78
   .=b + (a (#) sin).(x+2*PI*(k+1)) by A5,VALUED_1:def 5
   .=(b + a (#) sin).(x+2*PI*(k+1)) by A6,VALUED_1:def 2;
   hence thesis by A3,A5,A4,VALUED_1:def 2;
      end;
    hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem Th33:
  b + a (#) sin is (2*PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm28;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      b+a(#)sin is 2*PI*(m+1)-periodic by Lm28;
      then b+a(#)sin is -2*PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

theorem
  a (#) sin - b is (2*PI*i)-periodic by Th33;

Lm29:
  b + a (#) cos is 2*PI*(k+1) -periodic
proof
  defpred X[Nat] means b + a (#) cos is 2*PI*($1+1) -periodic;
A1: X[0] by Lm27;
A2: for k being Nat st X[k] holds X[k+1]
  proof
    let k be Nat such that
A3: b + a (#) cos is 2*PI*(k+1) -periodic;
    b + a (#) cos is 2*PI*(k+1+1) -periodic
    proof
 for x st x in dom(b + a (#) cos) holds (x+2*PI*(k+1+1) in dom(b + a (#) cos) &
 x-2*PI*(k+1+1) in dom(b + a (#) cos)) &
(b + a (#) cos).x=(b + a (#) cos).(x+2*PI*(k+1+1))
      proof
       let x;
       assume x in dom(b + a (#) cos);
       x in REAL by XREAL_0:def 1;
       then x in dom(a (#) cos) by SIN_COS:24,VALUED_1:def 5;then
A4: x in dom(b + a (#) cos) by VALUED_1:def 2;
    x+2*PI*(k+1+1) in dom cos & x-2*PI*(k+1+1) in dom cos &
x+2*PI*(k+1) in dom cos & x-2*PI*(k+1) in dom cos
         by SIN_COS:24,XREAL_0:def 1; then
A5: x+2*PI*(k+1+1) in dom(a (#) cos) & x-2*PI*(k+1+1) in dom(a (#) cos) &
x+2*PI*(k+1) in dom(a (#) cos) & x-2*PI*(k+1) in dom(a (#) cos)
by VALUED_1:def 5; then
A6: x+2*PI*(k+1+1) in dom(b + a (#) cos)
& x-2*PI*(k+1+1) in dom(b + a (#) cos) & x+2*PI*(k+1) in dom(b + a (#) cos)
& x-2*PI*(k+1) in dom(b + a (#) cos) by VALUED_1:def 2;
then (b + a (#) cos).(x+2*PI*(k+1+1))
    =b + (a (#) cos).(x+2*PI*(k+1+1)) by VALUED_1:def 2
   .=b + a * cos.(x+2*PI*(k+1)+2*PI) by A5,VALUED_1:def 5
   .=b + a * cos.(x+2*PI*(k+1)) by SIN_COS:78
   .=b + (a (#) cos).(x+2*PI*(k+1)) by A5,VALUED_1:def 5
   .=(b + a (#) cos).(x+2*PI*(k+1)) by A6,VALUED_1:def 2;
   hence thesis by A3,A5,A4,VALUED_1:def 2;
      end;
    hence thesis by Th1;
    end;
    hence thesis;
  end;
  for n being Nat holds X[n] from NAT_1:sch 2(A1,A2);
  hence thesis;
end;

theorem Th35:
  b + a (#) cos is (2*PI*i)-periodic
  proof
    i in INT by INT_1:def 2;
    then consider k being Nat such that
A1: i = k or i = - k by INT_1:def 1;
    per cases by A1;
    suppose i = k;
      then ex m being Nat st i = m + 1 by NAT_1:6;
      hence thesis by Lm29;
    end;
    suppose
A2:   i = -k;
      then consider m being Nat such that
A3:   -i = m + 1 by NAT_1:6;
      b+a(#)cos is 2*PI*(m+1)-periodic by Lm29;
      then b+a(#)cos is -2*PI*(m+1)-periodic by Th14;
      hence thesis by A2,A3;
    end;
  end;

theorem
  a (#) cos - b is (2*PI*i)-periodic by Th35;

theorem
  t <> 0 implies REAL --> a is t -periodic by Lm1;

registration
  let a;
  cluster REAL --> a -> periodic;
  coherence
  proof
    take 1;
    thus thesis by Lm1;
  end;
end;

registration
  let t be non zero Real;
  cluster t-periodic for Function of REAL,REAL;
  existence
  proof
    take REAL --> the Element of REAL;
    thus thesis by Lm1;
  end;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.26 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland