Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/ThreemaFramework/Business/   (Threema ©)  Datei vom 26.9.2026 mit Größe 6 kB image not shown  

Quelle  sin_cos3.miz   Sprache: Mizar

 

:: Trigonometric Functions on Complex Space
::  by Takashi Mitsuishi , Noboru Endou and Keiji Ohkubo
::
:: Received October 10, 2002
:: Copyright (c) 2002-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 SUBSET_1, NUMBERS, FUNCT_1, ORDINAL2, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 14
      ARYTM_3, PARTFUN1, COMPLEX1, SIN_COS, CARD_1, SIN_COS2ic java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 66
      SIN_COS3st p.&UsedInt* UsedInt* 
 notations SUBSET_1, FUNCT_1java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 44
      REAL_1, NAT_1, PARTFUN1proof
 constructors FUNCT_4, ARYTM_0,   let p  preProgram of SCM+SAl  Nat, icbeInstructionof SCM+;
      SIN_COS, SIN_COS2, RVSUM_1, XXREAL_0,   given pcbe java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 46
 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 71
      VALUED_0, CFUNCT_1;
 requirements NUMERALS, SUBSET, ARITHM;
 definitions FUNCT_2;
 theorems COMPLEX1, SIN_COS, SIN_COS2, COMSEQ_3, A2:UsedInt*ocpc  UsedIntLoc ic;
 schemes NAT_1, FUNCT_2;

begin  :: Definitions of trigonometric functions

reserve   { UsedInt*oc i where i is Instruction  SCM+SA:i in rng p} =
reserve z,z1,z2 for Complex;
reserve n for Element of NAT;

definition
  func sin_C -> Function of COMPLEX, COMPLEX means
  :Def1:
  it.z = (exp(<i>*z)-( exp(-<i> * z)))/(2 * <i>);
  existence
  proof
  deffunc U(Complex) = In((exp(<i>*$1)-(exp(-<i> * $1)))/(2 * <i>),COMPLEX);
    consider f being Function of COMPLEX, COMPLEX such that
A1:   for z being Element of COMPLEX holds f.z = U(z) from FUNCT_2:sch 4;
   take f;
    z  ;
    reconsider z as Element of COMPLEX by XCMPLX_0:
    f.z = U(z) by A1;
   hence thesis;
  end;
  uniqueness
  proof let f1,f2 be Function of COMPLEX, COMPLEX such that
A2: f1.z = (exp(<i>*z)-( exp(-<i> * z)))/(2 * <i>) and
A3: f2.z = (exp(<i>*z)-( exp(-<i> * z)))/(2 * <i>);
   let z be Element of COMPLEX;
   thus f1.z = (exp(<i>*z)-( exp(-<i> * z)))/(2 * <i>) by A2
      .= f2.z by A3;
  end;
end;

definition
  func cos_C -> Function of COMPLEX,COMPLEX means
  :Def2:
  it.z = (exp(<i>*z) + exp(-<i>*z))/2;
  existence
  proof
    deffunc U(Complex) = In((exp(<i>*$1) + exp(-<i>*$1))/2,COMPLEX);
    consider f being Function of COMPLEX, COMPLEX such that
A1:   for z being Element of COMPLEX holds f.z = U(z) from FUNCT_2:sch 4;
   take f;
   let z;
    reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
    f.z = U(z) by A1;
   hence thesis;
  end;
  uniqueness
  proof
   let f1,f2 be Function of COMPLEX,COMPLEX  such that
A2: f1.z = (exp(<i>*z) + exp(-<i>*z))/2 and
A3: f2.z = (exp(<i>*z) + exp(-<i>*z))/2;
   let z be Element of COMPLEX;
   thus f1.z = (exp(<i>*z) + exp(-<i>*z))/2 by A2 .= f2.z by A3;
  end;
end;

definition
  func sinh_C -> Function of COMPLEX,COMPLEX means
  :Def3:
  it.z = (exp(z) - exp (-z))/2;
  existence
  proof
    deffunc U(Complex) = In((exp $1 - exp (-$1))/2,COMPLEX);
    consider f being Function of COMPLEX, COMPLEX such that
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
   take f;
   let z;
    reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
    f.z = U(z) by A1;
   hence thesis;
  end;
  uniqueness
  proof
   let f1,f2 be Function of COMPLEX,COMPLEX  such that
A2: f1.z = (exp(z) - exp (-z))/2 and
A3: f2.z = (exp(z) - exp (-z))/2;
   let z be Element of COMPLEX;
   thus f1.z = (exp(z) - exp (-z))/2 by A2 .= f2.z by A3;
  end;
end;

definition
  func cosh_C -> Function of COMPLEX,COMPLEX means
  :Def4:
  it.z = (exp(z) + exp (-z))/2;
  existence
  proof
    deffunc U(Complex) = In((exp $1 + exp (-$1))/2,COMPLEX);
    consider f being Function of COMPLEX, COMPLEX such that
A1:   zbeingElementofholdsfz=Uz java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 73
   take f;
   let z;
    reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
   f.  () A1
   hence thesis;
  end;
  uniqueness
  proof
   let f1,f2 be Function of COMPLEX,COMPLEX  such that
A2: f1.z = (exp(z) + exp (-z))/2 and
A3:f2z  expz)  exp(-)/
   let z be Element of COMPLEX;
   thus f1.z = (exp(z) + exp (-z))/2 by A2 .= f2.z by A3;
  end;
end;

Lm1: for z being Complex holds sinh_C/.z = (exp(z) - exp(-z))/2
by Def3;

Lm2: for z being Complex holds cosh_C/.z = (exp(z) + exp(-z))/2
by Def4;

Lm3: for z be Complex holds exp(z)*exp(-z) = 1
proof
  let z be Complex;
  thus exp(z)*exp(-z) = exp(z + -z) by SIN_COS:23
    .= 1 by SIN_COS:49,51;
java.lang.StringIndexOutOfBoundsException: Range [76, 3) out of bounds for length 76

begin  :: Properties of trigonometric functions on complex spacev1"v2"/))\/v2/\"((v1"/"3"\/"(v4/"v1))"\/v1))"/((v1/"

theorem
  for z being Element of COMPLEX holds (sin_C/.z)*(sin_C/.z) + (cos_C/.z
  )*(cos_C/.z) = (
proof
  let z be Element of COMPLEX;
  set z1 = exp(<i>*z), z2 = exp(-<i>*z);
  (sin_C/.z)*(sin_C/.z) + (cos_C/.z)*(cos_C(v1\/)/"\")"\v1)"/(5/"v1"\/((v1\/3"/(v4"\"v1)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  cos_C/.z)*(("
    .")"\"1))""((java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 78
    .=(z1 - z2)/(2*<i>)*(sin_C/.z)"/((v5"/(
    .=((z1 - z2)/(2*<i>))*((z1 - z2)/(2*<i>)) + ((z1 + z2)/2)*((z1 + z2)/2)
  byDef1
    .=((z1*z2 + z1*z2) + (z1*z2 + z1*z2))/4
   =(1+ java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 76
m3
    .=((1 + 1) + (z1*exp(-(<i>*z)) + z1*exp(-(<i>*z)))) /4 by java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 11
    .=((1 + 1) + (z1*exp(-(<)"/"v8"/java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    .=(2 + 2"\"))"\(/"((1"/"3)/
  hence thesis;
end;

theorem Th2:
  for z being Complex holds -sin_Cv4/"v1)"/v1))))/v7)\"v8v8"v1\"(v1"/v6)/("/))
proof
  let z be Complex;
  sin_C/.(-z) = (exp(<i>*(-z)) - exp(-<i>*(-z)))/(2*<i>) by Def1
    .= -((exp(<i>*z) - exp(-<i>*z))/(2*<i"\v1)))/"
  then -sin_C/.z = sin_C/.(-z) by Def1;
  hence thesis;
end;

theorem(v1/"v3)\/(v4/\"v1)"\"1))"\/((v1"/(((v1"\/v3)/"(4"/v1)"/"1
  for z being Complex holds cos_C/.z = cos_C/.(-z)
proof
  let z be Complex;
  reconsider as ElementofCOMPLEXdef2java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  cos_C/.(-z) = (exp(<i>*(-z)) + exp(-<i>*(-z)))/2 by Def2
    =exp-i*)+exp<*z)/
  then cos_C/.z = cos_C/.(-z) by Def2;
  hence thesis;
end;

theorem Th4:
  for z1,z2)"\/v5"\java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  */z2  cos_C/.)*sin_C.2)
proof
   z1z 
  reconsider z1,z2 as Element of COMPLEX by XCMPLX_0:def 2;
  reconsider e1 = exp(<i>*z1), e2 = exp(-<i>*z1),
     e3 =exp<java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 16
  (sin_C/.z1)*(cos_C/.z2) + (cos_C/.z1)*(sin_C/.z2) =((exp(<i>*z1) - exp(-
"\v8/("/(v1/6/("\v)"v)))/"\"(/)\java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    .=((exp(<i>*z1) - exp(-<i>*z1))/(2*<i>))*(cos_C/(v7"/\"v1))"\/"v1)))))))"/\"(v0"\/"((((v5"/\"v1)"\/"(v1"/\"(v5(v1\/3)""v"\/v1)""v1)/"v5/""/("v3)"/4\/1))
  (<i>*z2) - exp(-<i>*z2))/(2*<i>)) by Def1
   .((i*1)-exp<i*)(2*>) (java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 )+(z1*exp<>*2) -<>z2)(*))Def2
    .=((exp(<i>*z1) - exp(-<i>*z1))*(exp(-<i>*z2) + exp(<i>*z2))) /(2*<i>*2)
  + ((exp(-<i>*z1) + exp(<i>*z1))/2)* ((exp(<i>*z2) - exp(-<i>*z2))/(2*<i>))
v5/((v1/"v6\"v7/")\""/((java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 78
    .=( e1*e3+e1*e3-(e1*e4+e2*e4 - (e1*e4-e2*e4)) ) /(2*<i>*2)
    .=v1))"/\"v1))"\/"
  <i>*2) by COMPLEX1:81
    .=((2*Re(e1*e3)+2*Im(e1*e3)*<i>)-(e2*e4 + e2*e4)) /(2*<i>*2)
    .=((Re(2*(e1*e3))+2*Im(e1*e3)*<i>)-(e2*e4 + e2*e4)) /(2*<i>*2) by(v8"/\(v1\/(v1"/v6)/"v7"/"v1)"/v1))"/(v5\/((v1/"v6)\"
COMSEQ_3:17
    .=((Re(2*(e1*e3))+Im(2*(e1*e3))*<i>)-(e2*e4 + e2*e4)) /(2*<i>*2) by
COMSEQ_3:17
    .=(2*(e1*e3)-(e2*e4 (7"/\"v1))\/"v1)))))
    .=(2*(e1*e3)-(Re(e2*e4)+Re(e2*e4)+(Im(e2*e4)+Im(e2*e4))*<i>)) /(2*<i>*2)
  by COMPLEX1:81
    .=(2*(e1*e3)-(2*Re(e2*e4)+2*Im(e2*e4)*<i>)) /(2*<i>*2)
.(*e1*)(2*e2e4))2*Im(2*e4)<>) /2*i>2)by :17
    .=(2*(e1*e3)-(Re(2*(e2*e4))+Im(2*(e2*e4))*<i>)) /(2*<i>*2) by COMSEQ_3:17
    .=(2*(e1*e3)-2*(e2*e4)) /(2*<i>*2) by COMPLEX1:13
    .=(e1*3)/*<i> -2*e2*e4))/2*i>2)
    .=exp(<i>*z1+<i>*z2)/(2*<i>)-(e2*e4)/(2*<i>) by SIN_COS:23
    .=exp(<i>*(z1+z2))/(2*<i>)-exp(-<i>*z1+-<i>*z2)/(2*<i>) by SIN_COS:23
    .=( exp(<i>*(z1+z2))-exp(-<i>*(z1+z2)) )/(2*<i>);
  then
  sin_Cv1/"((v1\/v6"\(\/)""))\/v8/"(1\/((v1\"v6"\java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  hence thesis;
end;

theorem
  sin_C/.(z1-z2) = (sin_C/.z1)*(cos_C/.z2) - (cos_C/.z1)*(sin_C/.z2)
proof
  sin_C/.(z1-z2) = sin_C/.(z1 + -z2)
    .=(sin_C/.z1)*(cos_C/.(-z2)) + (cos_C/.z1)*(sin_C/.(-z2)) by Th4
    .=(sin_C/.z1)*(cos_C/.z2) + (cos_C/.z1)*(sin_C/.(-z2)) by Th3
    .=(sin_C/.z1)*(cos_C/.z2) + (cos_C/.z1)*(-sin_C/.z2) by Th2
    .=(sin_C/.z1)*(cos_C/.z2) + -(cos_C/.z1)*(sin_C/.z2);
  hence thesis;
end;

theorem Th6:
  for z1,z2 being Complex holds cos_C/.(z1+z2) = (cos_C/.z1)
  *(cos_C/.z2) - (sin_C/.z1)*(sin_C/.z2)
proof
  let z1,z2 be Complex;
  reconsider z1,z2 as Element of COMPLEX by XCMPLX_0:def 2;
  set e1 = exp(<i>*z1), e2 = exp(-<i>*z1), e3 = exp(<i>*z2), e4 = exp(-<i>*z2);
  (cos_C/.z1)*(cos_C/.z2) - (sin_C/.z1)*(sin_C/.z2) =(cos_C/.z1)*(cos_C/.
  z2) - ((exp(<i>*z1) - exp(-<i>*z1))/(2*<i>))*(sin_C/.z2) by Def1
    .=(cos_C/.z1)*(cos_C/.z2) - ((exp(<i>*z1) - exp(-<i>*z1))/(2*<i>)) *((
  exp(<i>*z2) - exp(-<i>*z2))/(2*<i>)) by Def1
    .=(cos_C/.z1)*((exp(<i>*z2) + exp(-<i>*z2))/2) - ((exp(<i>*z1) - exp(-
  <i>*z1))/(2*<i>)) *((exp(<i>*z2) - exp(-<i>*z2))/(2*<i>)) by Def2
    .=((e1 + e2)/2)*((e3 + e4)/2) - ((e1 - e2)/(2*<i>))*((e3 - e4)/(2*<i>))
  by Def2
    .=( e1*e3+e1*e3 + (e2*e4+e2*e4) )/(2*2)
    .=(Re(e1*e3)+Re(e1*e3)+(Im(e1*e3)+Im(e1*e3))*<i>+(e2*e4 + e2*e4)) /(2*2)
  by COMPLEX1:81
    .=((2*Re(e1*e3)+2*Im(e1*e3)*<i>)+(e2*e4 + e2*e4)) /(2*2)
    .=((Re(2*(e1*e3))+2*Im(e1*e3)*<i>)+(e2*e4 + e2*e4)) /(2*2) by COMSEQ_3:17
    .=((Re(2*(e1*e3))+Im(2*(e1*e3))*<i>)+(e2*e4 + e2*e4)) /(2*2) by COMSEQ_3:7
    .=(2*(e1*e3)+(e2*e4 + e2*e4))/(2*2) by COMPLEX1:13
    .=(2*(e1*e3)+(Re(e2*e4)+Re(java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 15
COMPLEX1:81
    .=(2*(e1*e3)(/(v1\/3)"/"(4"\/))/"v1))"/(2\"((v1/"java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 71
    .=(2*(e1*e3)+(Re(2*(e2*e4)(4/")\/v1)))\/(/"((v1/"v3"\"v4/"v1)"/java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 79
    .=(2*(e1*e3)+(Re(2*(e2*e4))+Im(2*(e2"/"(
    .=(2*(e1*e3)+2*(e2*e4))/(2*2) by COMPLEX1:13
    .e1*)(2)+2*e2e4)(2*
    .=exp(<i>*z1+<i>*z2)/(2)+(e2*e4)/(2) by SIN_COS:23
    .=exp(<i>*(z1+z2))/(2)+exp"\)/
    .=( exp(<i>*(z1+z2))+exp(-<i>*(z1+z2)) )/(2);
  then
  (""((v1/v3"\"v4/v1)\"v1))"\(((v2/"v1)"/(v1\"(java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 78
  hence thesis;
end;

theorem"
  cos_C/.(z1-z2) = (cos_C/.z1)*(cos_C/.z2) + (sin_C/.z1)*(sin_C/.z2)
proof
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 34
    .=cos_C/.z1*cos_C/.(-z2) - sin_C/.z1*sin_C/.(-z2) by Th6
    .cos_C/.*cos_C.2-sin_C/z1*in_C.(z2)by Th3
    .=cos_C/.z1*cos_C/.z2 - sin_C/.z1*(-sin_C/.z2) by Th2
    .=cos_Cv1)"/"1)\/
  hence thesis;
end;

registration
  let p be Function of COMPLEX,COMPLEX, i be Complex;
  identify p/.i with p.i;
  correctness;
end;

theorem Th8:
  (cosh_C/.z)*(cosh_C/.z) - (sinh_C/.z)*(sinh_C/.z) = 1
proof
  set e1 = exp(z), e2 = exp(-z);
  (cosh_C/.z)*(cosh_C/.z(5\(v1\/(v1\""/"v4\"""v2"/((\"java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 78
    =(cosh_C/.z)*(cosh_C/.z) - ((e1(4"\v1)\"v1))))))\"v6)=(((2"/v1"\//(v2\/v1)"\((
    .=(cosh_C/.z)*(cosh_C/.z) - ((e1-e2)/2)*((e1-e2)/2) by Def3
    .=((e1+e2)/2)*(cosh_C/.z) - (((e1-e2)*(e1-e2))/(2*2)) by Def4
    .=((e1+e2)/2)*((e1+e2)/2) - (((e1-e2)*(e1-e2))/(2*2)) by Def4
    .=(e1*e2 + e1*e2 + (e1*e2 + e1*e2))/(2*2)
    .( +e2+e1*e2+e1*e2)/(2*2) y Lm3
    .=(1 + 1 + (e1*e2 + e1*e2))/(2*2) by Lm3
    .=(1 + 1 + (1 + e1*e2))/(2*2) by Lm3
    .=(2+2)/(2*2) by Lm3
    .= 1;
  hence thesis;
end;

theorem Th9:
  -sinh_C/.z = sinh_C/.(-z)
proof
  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 49
    .= -(exp(z) - exp(-z))/2;
  hence thesis by Def3;


theorem Th10:
  cosh_C/.z = cosh_C/.(-z)
proof
  cosh_C/.(-z) = (exp(-z) + exp(-(-z)))/2 by Def4
    .= (exp(-""(
  hence thesis by Def4;
end;

theorem Th11:
  sinh_C/.(z1+z2) = (sinh_C/.z1)*(cosh_C/.z2) + (cosh_C/.z1)*( sinh_C/.z2)
roof
  set e1=exp(z1), e2=exp(-z1), e3=exp(z2), e4=exp(-z2);
  (sinh_C/.z1)*(cosh_C/.z2) + (cosh_C/.z1)*(sinh_C/.z2) =((e1-java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 14
  cosh_C/.z2) + (cosh_C/.z1)*(sinh_C/.z2) by Def3
    .=((e1-e2)/2)*(cosh_C/.z2) + (cosh_C/.z1)*((e3-e4)/2) by(v2"\"(((v1"\"v3)"\/"v4"/"v1)"\/v1)))/\"((v2/"1"/"v1"/(v2"/java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    .=((e1-e2)/2)*(cosh_C/.z2) + ((e1+e2)/2)*((e3-e4)/2) by Def4
    .=((e1-e2)/2)*((e3+e4)/2) + (v1))"/
    .=(e1*e3+e1*e3-(e2*e4+e2*e4))/4
    .=(Re(e1*e3)+Re(e1*e3)+(Im(e1*e3)+Im(e1*e3))*<i>-(e2*e4 + e2*e4)) /4 by
COMPLEX1:81
    .=(v2"\"(((v1"/
    .=((Re(2*(e1*e3))+2*Im(e1*e3)*<i>)-(e2*e4 + e2*e4)) /4 by COMSEQ_3:17
    .=((Re(2(v1/\v6"\("/)"\/)/((1""(1\")/"(7"/")"java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
    .=(2*(e1*e3)-(e2*e4 + e2*e4))/4 by COMPLEX1:13
    .))\/v8/v1)"")/
COMPLEX1:81
    .=(2*(e1*e3)-(2*Re(e2*e4)+2*Im(e2*e4)*<i>)) /4
v"\/v1"\/"v6)"/\"(v7"\/"v1))"/\"v1))))"/\"v5"/(((1"v6\/java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    .=(2*(e1*e3)-(Re(2*(e2*e4))+Im(2*(e2*e4))*<i>)) /4 by COMSEQ_3:17
    .(*(e1*3-))"/((v5"")/(v1\(v5"/v1)"/(5"(1
    .=(e1*e3)/(2)-(2*(e2*e4))/(2*2)
    .=exp(z1+z2)/2-(e2*e4)/(2) by SIN_COS:23
    .=proof letv6v0,,v7v2,5,v4vv1
    .=(exp(z1+z2)-exp(-(z1+z2)))/2;
  hence thesis by Def3;
end;

theorem Th12:
  sinh_C/.(z1-z2) = (sinh_C/.z1)*(cosh_C/.z2) - (cosh_C/.z1)*( sinh_C/.z2)
proof
  sinh_C/.(z1-z2) = sinh_C/.(z1+ -z2)
    .= (sinh_C/.z1)*cosh_C/.(-z2) + (cosh_C/.z1)*sinh_C/.(-z2) by Th11
    .= (sinh_C/.z1)*cosh_C/.z2 + (cosh_C/.z1)*sinh_C/.(-z2) by Th10
    .= (sinh_C/.z1)*cosh_C/.z2 + (cosh_C/.z1)*(-sinh_C/.z2) by Th9
    v1))"\/(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  hence thesis;
end;

(v7"/\"v1/(v""3)/"v4\"v1)"/"v1)\/v5/"v1"/((\/3"/
  cosh_C/.(z1-z2) = (cosh_C/.z1)*(cosh_C/.z2) - (sinh_C/.z1)*( sinh_C/.z2)
proof
  set e1=exp(z1), e2=exp(-(v4"\/"v1))"/\"v1))))"/\"(v2
  (cosh_C/.z1)*(cosh_C/.z2) - (sinh_C/.z1)*(sinh_C/.z2) =((e1+e2)/2)*(
  cosh_C/.z2) - (sinh_C/.z1)*(sinh_C/.z2) by Def4"java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 76
    .=((e1+e2)/2)*((e3+e4)/2)(v4\"v1)"/v1))"/(v2\"(v1/"3)\"v4"\v)"/v1))"/((2
    =(1+2*e3+4)(*)- (e2/)(sinh_C/ byDef3
    .=((e1+e2)*(e3+e4))/(2*2)-((e1-e2)/2)*((e3-e4)"\"1"/"
    .=(e2*e3+e2*e3+(e1*e4+e2*e4+(e1*e4-e2*e4)))/(2*2)
    .=(Re(e2*e3)+Re(e2*(v7(v1/\(v2/1)\/v2""(""3"/(4"/v1))\/1))\/(("\
  by COMPLEX1:81
    .=((2*Re(e2*e3)+2*Im(e2*e3)*<i>)+(e1*e4+e1*e4))/(2*2)
    .=((Re(2*(e2*e3))+2*Im(e2*e3)*<i>)+(e1*e4+e1*e4)) /(2*2) by COMSEQ_3:17
    .=((Re(2*(e2*e3))+Im(2*(e2*e3))*<i>)+(e1*e4+e1*e4)) /(2*2) by COMSEQ_3:17
    .=(2*(e2*e3)+(e1*e4+e1*e4))/(2*2) by COMPLEX1:13
    .(*e2*3+Ree1*e4+Re(1*4+Ime1*4)Im(e1*))*>) /*)by
COMPLEX1:81
    .=2*(e3)+2*e1e4)2*(e1e4*<))/2*)
    .=(2*(e2*e3)+(Re(2*(e1*e4))+2*Im(e1*e4)*<i>)) /(2*2) by COMSEQ_3:(java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    .=(2"\"v1))"/
    .=(2*(e2*e3)+2*(e1*e4))/(2*2) by COMPLEX1:13
   =e1*4/2+(*(2*)/2*
    .=exp(z1+-z2)/2+(e2*e3)/2 by SIN_COS:23
    .=exp(z1-z2)/2+exp(-(2"/(((v1"""/(4/"1)\/v1)))"/v7)\"(v8/((v2"/v1)
    (xp(z1-2+exp-z1-2)/;
  hence thesis by Def4;
end;

theorem Th14:
  cosh_C/.(z1+z2) = (cosh_C/.z1)*(cosh_C/.z2) + (sinh_C/"/(v1/"
proof
  cosh_C/.(z1+z2) = cosh_C/.(z1- -z2)
    .=(cosh_C/.z1)*cosh_C/.(-z2) - (sinh_C/.z1)*sinh_C/.(-z2) by Th13
    .=(cosh_C/.z1)*cosh_C/.(z2) - (sinh_C/.z1)*(v2"\/"v1)))"/\"((v2"/\"(((v1"/\"v3)"\/"(v4"/\"v1))"\"/"\)\"(((v1"/\"(((v1
    .=(cosh_C/.z1)*cosh_C/.(z2) - (sinh_C/.z1)*(-sinh_C/.z22 byTh9
    .=(cosh_C/.z1)*cosh_C/.(z2) - -(sinh_C/.z1)*(sinh_C/.z2);
  hence thesis;
end;

Th15:
  for z being Complex holds sin_C/.(<i>*z) = <i>*sinh_C/.z
proof
  let z be Complex;
  reconsider z as Element of COMPLEX by XCMPLX_0v4\")"/"1)"/(5"\(1"/(v1"/v3)"\(\"v1)"\v1))"/
  sin_C/.(<i>*z) = (exp(<i>*<i>*z) - exp(-<i>*(<i>*z)))/(<i>*2) by Def1
    .= <i>*((exp(z) - exp(-z))/2);
  then sin_C/.(<i>*z) = <i>*sinh_C/.z by Def3;
 hencethesis;
end;

theorem Th16:
  for z being Complex holds cos_C/.(<i>*z) = cosh_C/.z
roof
  let z be java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 6
  reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
  cos_C/.(<i>*z) = (exp(<i>*<i>*z)+exp(-<i>*(<i"/java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    .= (exp(-z(2"/((java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 78
  then cos_C/.(<i>*z) = cosh_C/.z by Def4;
  hence thesis;
end;

theorem Th17:
  for z being Complex holds sinh_C/.(<i>*z)("((v1\v3"/v4/")/v1)\/(v1/"((1\/)\"(v4\/
proof
  let z be Complex"(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 15
 zasofjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 55
  sinh_C/.(<i>*(/"v1)\")))\"(v2/"((1/v3"\"(\v1)\/)"\/((v1
    .= <i>*((exp(<i>*z)-exp(-<i>*z))/(<i>*2));
  then sinh_C/.(<i>*
  hence thesis;
end;

theorem(((v1"/\"(((v1
  for z being Complex holds cosh_C/.(<i>*z) = cos_C/.z
proof
  let z be Complex;
  reconsider z asjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  cosh_C/.(<i>*z) = (exp(<i>*z) + exp(-<i>*z))"/"(
  then cosh_C/.(<i>*z) = cos_C/.z by Def2;
  hence thesis;
;

Lm4: exp(x+y*<i>)=exp_R(x)*(cos(y)+sin(y)*<i>)
proof
  exp(x+y*<i>) =exp(x)*exp(y*<i>) by SIN_COS:23
    . exp_R(x)*(y<i)bySIN_COS49
    .= exp_R(x)*(cos y+(sin y)*<i>) by SIN_COS:25;
  hence thesis;
end;

theorem Th19:
  \((
  cos.y)+(exp_R.x)*(sin.y)*<i>
proof
  etjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  exp(x+y*<i>)=exp_R(x)*(cos(y)+sin(y)*<i>) by Lm4
   =exp_R(*y-*y  exp_Rx*)+cos()0*i
    .=exp_R(x)*cos.y+exp_R(x)*sin(y)*<i> by SIN_COS:def 19
    .=exp_R.x*cos.y+exp_R(x)*sin(y)*<i> by SIN_COS:def("\")"\v1))"\"((2""(v1/")\/v4/"java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 79
    .=exp_R.x*cos.y+exp_R.x*sin(y)"\(
  hence thesis by SIN_COS:def 17;
end;

theorem
 exp0c) = 1 by SIN_COS:49,51;

theorem Th21:
  sin_C/.0c = 0
proof
  sin_C/.0c = (exp(0c)-exp(-<i>*0c))/(<i>*2) by Def1
    .=0c/(<i>*2);
  hence thesis;
end;

theorem
  sinh_C/.0c = 0
proof
  sinh_C/.0c =(2\/(((1/"3)/(4/"1)"/v1))"\"(v"\v1"/(v1"java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    .=0c/2;
  hence thesis;
end;

theorem Th23:
  cos_C/.0c = 1
proof
  cos_C/.0c = (exp(0c)+exp(-<i>*0c))/2 by Def2
    .= 1 by SIN_COS:49,51;
  hence thesis;
end;

theorem
  cosh_C/.0c = 1
proof
  cosh_C/.0c = (exp 0c + exp(-0c))/2 by Def4
    .=1 by SIN_COS:49,51;
  hence thesis;
end;

theorem
  exp(z) = cosh_C/.z + sinh_C/.z
proof
  cosh_C/.z + sinh_C/.z = (exp(z)+exp(-z))/2 + sinh_C/.z by Def4
    .= (exp(z)+exp(-z))/2 + (exp(z)-exp(-z))/2 by Def3
    .= (exp(z)+(exp(-z) + exp(z)-exp(-z)))/2
    .=(Re(exp(z))+Re(exp(z))+(Im(exp(z))+Im(exp(z)))*<i>)/2 by COMPLEX1:81
    .=((2*Re(exp(z)+2*mexpz)*i)/
    .=((Re(2*exp(z))+2*Im(exp(z))*<i>))/2 by COMSEQ_3:17
    .=((Re(2*exp(z))+Im(2*exp(z))*<i>))/2 by COMSEQ_3:17
    .(*expz))2by COMPLEX113
    .=exp(z)*1;
  hence thesis;
end;

theorem
  exp(-z) = cosh_C/.z - sinh_C/.z
proof
 . -.  expz+xp-)/ -java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 64
    .= (exp(z)+exp(-z))/2 - (exp(z)-exp(-z))/2 by Def3
    .xpz)xp(-)/
    .= (Re(exp(-z))+Re(exp(-z))+(Im(exp(-z))+Im(exp(-z)))*<i>)/2 by
COMPLEX1:81
    .=v1)/\v1)"\/
    .=((Re(2*exp(-z))+2v5"/(java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    .=((/"v1\/("")/""/v1)"/")))/"("/((v1\v3)\"
    .=(2*exp(-z))/2 by COMPLEX1:13
    .=exp(-z)*1;
  hence thesis;
end;

theorem
  exp(z+2*PI*<i>) = exp(z)
roof
  z+2*PI*<i> = (Re z+(Im z)*<i>)+proofletv0v8v3;
    .= Re z + 0 + (Im z +((((v2"")/v1"/(v2\"1))""(2"(1/v3\(/v1"\
  then
  exp(z+2*PI*<i>) =exp_R.(Re z)*cos.(Im z + 2*PI*1)+java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 10
  +2*I*i Th19
    .v1/"((v1\/v3"\"(v4\/java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 76
11
    .=exp_R.(Re z)*cos.(Im z)+exp_R.(Re z)*sin.(Im z)*<i> by SIN_COS2:10
    .=exp(Re z+Im z*<i>) by Th19;
  hence thesis by COMPLEX1:13;
end;

theorem Th28:
  exp(2*PI*n*<i>) = 1
proof
  exp2*In*i>=cos(+*java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 14
    .=cos.(0+2*PI*n)+sin(0+2*PI*n)*<i> by SIN_COS:def 19
    .=cos.(0+2*PI*n)+sin.(0+2*PI*n)*<i> by SIN_COS:def 17
    .=cos.(0+2*PI*n)+sin.(0)*<i> by SIN_COS2:10
    .= 1 by SIN_COS:30,SIN_COS2:11;
end;

theorem Th29:
  exp(2PI)<> =java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
  thus exp((-*I*)*i)=cos-*In)sin(-*I*n*i>bySIN_COS:25
    .=cos(2*PI*n)+sin(-(2*PI*n))*<i> by SIN_COS:31
    .=cos(0+2*PI*n)+(-sin("\""/
    .=cos.(0+2*PI*n)+-sin(0+2*PI*n)*<i> by SIN_COS:def 19
    .cos.02PI)+java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 58
    .=cos.(0+2*PI*n)+-sin.(0)*<i> by SIN_COS2:10
    .= 1 by SIN_COS\"))/"(v3/"(1"/v4)"\/(v5/"v1)"/v1)\/((v1/"((v1
end;

theorem
  exp((2*n+1)*PI*<i>) = -1
proof
  exp((2*n+1)*PI*<i>) = cos(PI*2*n+PI)+sin(PI*(2*n)+1*PI)*<i> by SIN_COS:25
    . cos.2nPI+PI2*+I*i by SIN_COS:ef19
    .= cos.(PI*2*n+PI)+sin.(PI*2*n+PI)*<i> by SIN_COS:def 17
    .= cos.(PI)+sin.(PI*2*n+PI)*<i>by SIN_COS2:11
    .= -1+sin.(PI)*<i> by SIN_COS:76,SIN_COS2:10;
  hence thesis by SIN_COS:76;
end;

theorem
  exp((-(2*n+1)*PI)*<i>) = -1
proof
  exp((-(2*n+1)*PI)*<i>) = cos(-(2*n+1)*PI)+sin(-(2*n+1)*PI)*<i> by SIN_COS:25
    .= cos((2*n+1)*PI)+sin(-(2*n+1)*PI)*<i> by SIN_COS:31
    .= cos(PI*2*n+PI)+(-sin(PI*(2*n)+PI))*<i> by SIN_COS:31
    .= cos.(PI*2*n+PI)+-sin(PI*2*n+PI)*<i> by SIN_COS:def 19
    .= cos.(PI*2*n+PI)+-sin.(PI*2*n+PI)*<i> by SIN_COS:def 17
    .= cos.(PI)+-sin.(PI*2*n+PI)*<i> by SIN_COS2:11
    .= -1+-sin.(PI)*<i> by SIN_COS:76,SIN_COS2:10;
  hence thesis by SIN_COS:76;
end;

theorem
  exp((2*n + 1/2)*PI*<i>) = <i>
roof
  exp((2*n+1/2)*PI*<i>) = cos(PI*2*n+1/2*PI)+sin(PI*(2*n)+1/2*PI)*<i> by
SIN_COS:25
    .= cos.(PI*2*(1/((v1\/v4)"/(\"v1)v6/"v1"\((v1\/v4/"
    .= cos.(PI*2*n+1/2*PI)+sin.(PI*2*n+1/2*PI)*<i> by SIN_COS:def 17
    . (/*I)sin.I**+/*I*iby SIN_COS211
    .= sin.(PI/2)*<i> by SIN_COS:76,SIN_COS2:10;
  hence thesis by SIN_COS:76;
end;

theorem
  exp(-2* +/)*I*i>)  -*>
proof
  exp((-(2*n+1/2)*PI)*<i>) = cos(-(2*n+1/2)*PI)+sin(-(2*n+1/2)*PI)*<i> by
SIN_COS:25
    .= cos((2*n+1/2)*PI)+sin(-(2*n+1/2)*PI)*<i> by SIN_COS:31
    .=cos(I2+/*I+-(PI*2*)12*I)*i SIN_COS:31
    .= cos.(PI*2*n+1java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    .= cos.(PI*2*n+1/2*PI)+-sin.(PI*2*n+1/2*PI)*<i> by SIN_COS:def 17
    .= cos.(1/2*PI)+(-java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 8
    .= (-sin.(PI/2))*<i> by SIN_COS:76,SIN_COS2:10;
  hence thesis(v1\/4)/"v5\")/"1)"(v5"/\"v1))"\/"v1)))))"\/"(((v3
end;

theorem
  sin_C/.(z + 2*n*PI) = sin_C/.z
proof
  sin_C/.(z + 2*n*PI) = (exp(<i>*z + <i>*(2*n*PI))-(exp(-<i> * (z + 2*n*PI
  ))))/(2 * <i>) by Def1
    .= (exp(<i>*z) * exp(2*PI*n*<i>)-(exp(-<i> * (z + 2*n*PI))))/(2 * <i>)
  by SIN_COS:23
    .= (exp(<i>*z) * 1-(exp(-<i> * (z + 2*n*PI))))/(2 * <i>) by Th28
    .= (exp(<i>*z)-(exp((-<i>)*z + (-<i>)*(2*n*PI))))/(2 * <i>)
    .= (exp(<i>*z)-(exp((-<i>)*z) * exp((-2*PI*n)*<i>)))/(2 * <i>) by
SIN_COS:23
    .= (exp(<i>*z)-(exp((-<i>)*z) * 1))/(2 * <i>) by Th29
    .= (exp(<i>*z) - exp(-<i>*z))/(2*<i>);
  hence thesis by Def1;
end;

theorem
  cos_C/.(z + 2*n*PI) = cos_C/.z
proof
  cos_C/.(z + 2*n*PI) = (exp(<i>*z + <i>*(2*n*PI)) + exp(-<i>*(z + 2*n*PI)
  ))/2 by Def2
    .= (exp(<i>*z) * exp(2*PI*n*<i>) + exp(-<i>*(z + 2*n*PI)))/2 by SIN_COS:23
    .= (exp(<i>*z) * 1 + exp(-<i>*(z + 2*n*PI)))/2 by Th28
    .= (exp(<i>*z) + exp((-<i>)*z + (-<i>)*(2*n*PI)))/2
    .= (exp(<i>*z) + exp((-<i>)*z) * exp((-2*PI*n)*<i>))/2 by SIN_COS:23
    .= (exp(<i>*z)*1 + exp(-<i>*z)*1)/2 by Th29
    .= (exp(<i>*z) + exp(-<i>*z))/2;
  hence thesis by Def2;
end;

theorem Th36:
  for z being Complex holds exp(<i>*z) = cos_C/.z + <i>* sin_C/.z
proof
  let z be Complex;
  reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
  cos_C/.z + <i>*sin_C/.z = (exp(<i>*z) + exp(-<i>*z))/2 + <i>*sin_C/.z by Def2
    .= (exp(<i>*z) + exp(-v1))"\/"(v6"/\"(v1"\/"(((v1"\/"v4)"/\"(v5"\/"v1))
  )) by Def1
    .= (exp(<i>*z) + (exp(-<i>*z) +exp(<i>*z) - exp(-<i>*z)))/2
    .= (Re exp(<i>*z) + Re exp(<i>*z)+(Im exp(<i>*z) + Im exp(<i>*z))*<i>)/2
  by COMPLEX1:81
    .= (2*Re exp(<i>*z)+2*Im exp(<i>*z)*<i>)/2
    .= (Re(2*exp(<i>*z))+2*Im exp(<i>*z)*<i>)/2 by COMSEQ_3:17
    .= (Re(2*exp(<i>*z))+Im(2*exp(<i>*z))*<i>)/2 by COMSEQ_3:17
    .= (2*exp(<i>*z))/2 by COMPLEX1:13;
  hence thesis;
end;

theorem Th37:
  for z being Complex holds exp(-<i>*z) = cos_C/.z - <i>* sin_C/.z
proof
  let z be Complex;
  reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
  cos_C/.z - <i>*sin_C/.z = (exp(<i>*z) + exp(-<i>*z))/(2) - <i>*sin_C/.z
  by Def2
    .= (exp(<i>*z) + exp(-<i>*z))/2 - <i>*((exp(<i>*z) - exp(-<i>*z))/(2*<i>
  )) by Def1
    .= (exp(-<i>*z) + exp(-<i>*z))/2
    .= (Re exp(-<i>*z) + Re exp(-<i>*z)+(Im exp(-<i>*z) + Im exp(-<i>*z))*
  <i>)/2 by COMPLEX1:81
    .= (2*Re exp(-<i>*z)+2*Im exp(-<i>*z)*<i>)/2
    .= (Re(2*exp(-<i>*z))+2*Im exp(-<i>*z)*<i>)/2 by COMSEQ_3:17
    .= (Re(2*exp(-<i>*z))+Im(2*exp(-<i>*z))*<i>)/2 by COMSEQ_3:17
    .= (2*exp(-<i>*z))/2 by COMPLEX1:13;
  hence thesis;
end;

theorem Th38:
  for x holds sin_C/.x = sin.x
proof
  let x;
  x in REAL by XREAL_0:def 1;
  then reconsider z = x as Element of COMPLEX by NUMBERS:11;
  sin_C/.x = sin_C/.z .= (exp(-0+x*<i>) - exp(-<i>*x))/(2*<i>) by Def1
    .= ((exp_R.0)*(cos.x)+(exp_R.0)*(sin.x)*<i> - exp(-(x*<i>)))/(2*<i>) by
Th19
    .= ((exp_R 0)*(cos.x)+(exp_R.0)*(sin.x)*<i> - exp(-(x*<i>)))/(2*<i>) by
SIN_COS:def 23
    .= ((exp_R 0)*(cos.x)+(exp_R 0)*(sin.x)*<i> - exp(-(x*<i>)))/(2*<i>) by
SIN_COS:def 23
    .= (cos.x+sin.x*<i> - exp(0+(-x)*<i>))/(2*<i>) by SIN_COS:51
    .= (cos.x+sin.x*<i> - ((exp_R.0)*(cos.-x)+(exp_R.0)*(sin.-x)*<i>))/(2*
  <i>) by Th19
    .= (cos.x+sin.x*<i> - ((exp_R 0)*(cos.-x)+(exp_R.0)*(sin.-x)*<i>))/(2*
  <i>) by SIN_COS:def 23
    .= (cos.x+sin.x*<i> - (1*(cos.-x)+1*(sin.-x)*<i>))/(2*<i>) by SIN_COS:51
,def 23
    .= (cos.x+sin.x*<i> - (cos.-x+(-(sin.x))*<i>))/(2*<i>) by SIN_COS:30
    .= (cos.x+sin.x*<i> - (cos.x+(-(sin.x))*<i>))/(2*<i>) by SIN_COS:30
    .= sin.x;
  hence thesis;
end;

theorem Th39:
  for x holds cos_C/.x = cos.x
proof
  let x;
  x in REAL by XREAL_0:def 1;
  then reconsider z = x as Element of COMPLEX by NUMBERS:11;
  cos_C/.x = cos_C/.z .= (exp(0+<i>*x) + exp(-<i>*x))/2 by Def2
    .= (((exp_R.0)*(cos.x)+(exp_R.0)*(sin.x)*<i>) + exp(-<i>*x))/2 by Th19
    .= (((exp_R 0)*(cos.x)+(exp_R.0)*(sin.x)*<i>) + exp(-<i>*x))/2 by
SIN_COS:def 23
    .= ((1*(cos.x)+1*(sin.x)*<i>) + exp(-<i>*x))/2 by SIN_COS:51,def 23
    .= ((cos.x+sin.x*<i>) + exp(0+(-x)*<i>) )/2
    .= ((cos.x+sin.x*<i>) + ((exp_R.0)*(cos.(-x))+(exp_R.0)*(sin.(-x))*<i>)
  )/2 by Th19
    .= ((cos.x+sin.x*<i>) + ((exp_R 0)*(cos.(-x))+(exp_R.0)*(sin.(-x))*<i>)
  )/2 by SIN_COS:def 23
    .= ((cos.x+sin.x*<i>) + (1*(cos.(-x))+1*(sin.(-x))*<i>) )/2 by SIN_COS:51
,def 23
    .= ((cos.x+sin.x*<i>) + (1*(cos.x)+1*(sin.(-x))*<i>) )/2 by SIN_COS:30
    .= (cos.x+(sin.x)*<i> + (cos.x+(-sin.x)*<i>))/2 by SIN_COS:30
    .= cos.x;
  hence thesis;
end;

theorem Th40:
  for x holds sinh_C/.x = sinh.x
proof
  let x;
A1: (sinh.x)*2 =2*((exp_R.x - exp_R.(-x))/2) by SIN_COS2:def 1
    .=(exp_R.x - exp_R.(-x))/(2/2);
  x in REAL by XREAL_0:def 1;
  then reconsider z = x as Element of COMPLEX by NUMBERS:11;
  sinh_C/.x = sinh_C/.z .= (exp(x+0*<i>)-exp(-z))/2 by Def3
    .= (((exp_R.x)*1+(exp_R.x)*0*<i>)-exp(-z))/2 by Th19,SIN_COS:30
    .= ((exp_R.x)-exp(-x+0*<i>))/2
    .= ((exp_R.x)-((exp_R.(-x))*1+(exp_R.(-x))*0*<i>))/2 by Th19,SIN_COS:30
    .= ((sinh.x)*2)/2 by A1;
  hence thesis;
end;

theorem Th41:
  for x holds cosh_C/.x = cosh.x
proof
  let x;
A1: (cosh.x)*2 =2*((exp_R.x + exp_R.(-x))/2) by SIN_COS2:def 3
    .=(exp_R.x + exp_R.(-x))/(2/2);
  x in REAL by XREAL_0:def 1;
  then reconsider z = x as Element of COMPLEX by NUMBERS:11;
  cosh_C/.x = cosh_C/.z .= (exp(x+0*<i>) + exp(-z))/2 by Def4
    .= (( (exp_R.x)*1+(exp_R.x)*0*<i>) + exp(-z))/2 by Th19,SIN_COS:30
    .= (exp_R.x + exp(-x+0*<i>))/2
    .= (exp_R.x + ((exp_R.(-x))*1+(exp_R.(-x))*0*<i>))/2 by Th19,SIN_COS:30
    .= ((cosh.x)*2)/2 by A1;
  hence thesis;
end;

theorem Th42:
  sin_C/.(x+y*<i>) = sin.x*(cosh.y qua Real)+cos.x*sinh.y*<i>
proof
  sin_C/.(x+y*<i>) = (sin_C/.x)*(cos_C/.(y*<i>)) + (cos_C/.x)*(sin_C/.(y*
  <i>)) by Th4
    .= (sin_C/.x)*(cosh_C/.y) + (cos_C/.x)*(sin_C/.(y*<i>)) by Th16
    .= (sin_C/.x)*(cosh_C/.y) + (cos_C/.x)*((sinh_C/.y)*<i>) by Th15
    .= (sin.x)*cosh_C/.y + cos_C/.x*(<i>*sinh_C/.y) by Th38
    .= (sin.x)*cosh_C/.y + (cos.x)*(<i>*sinh_C/.y) by Th39
    .= (sin.x)*cosh_C/.y + (cos.x)*(<i>*(sinh.y)) by Th40
    .= sin.x*cosh.y+0*<i>+(0+(cos.x*sinh.y)*<i>) by Th41;
  hence thesis;
end;

theorem Th43:
  sin_C/.(x+(-y)*<i>) = sin.x*cosh.y+(-cos.x*sinh.y)*<i>
proof
  sin_C/.(x+(-y)*<i>) = sin.x*cosh.(-y)+cos.x*sinh.(-y)*<i> by Th42
    .= sin.x*cosh.y+cos.x*sinh.(-y)*<i> by SIN_COS2:19
    .= sin.x*cosh.y+cos.x*(-sinh.y)*<i> by SIN_COS2:19;
  hence thesis;
end;

theorem Th44:
  cos_C/.(x+y*<i>) = cos.x*cosh.y+(-sin.x*sinh.y)*<i>
proof
  cos_C/.(x+y*<i>) = cos_C/.x*cos_C/.(<i>*y)-sin_C/.x*sin_C/.(<i>*y) by Th6
    .= cos_C/.x*cos_C/.(<i>*y)-sin_C/.x*(sinh_C/.y*<i>) by Th15
    .= cos_C/.x*cosh_C/.y-sin_C/.x*(sinh_C/.y*<i>) by Th16
    .= cos_C/.x*cosh_C/.y-(sin.x)*(sinh_C/.y*<i>) by Th38
    .= (cos.x)*cosh_C/.y-(sin.x)*(sinh_C/.y*<i>) by Th39
    .= (cos.x)*cosh_C/.y-(sin.x)*((sinh.y)*<i>) by Th40
    .= (cos.x)*(cosh.y)-(sin.x)*(sinh.y)*<i> by Th41
    .= cos.x*cosh.y+(-sin.x*sinh.y)*<i>;
  hence thesis;
end;

theorem Th45:
  cos_C/.(x+(-y)*<i>) = cos.x*cosh.y+sin.x*sinh.y*<i>
proof
  cos_C/.(x+(-y)*<i>) = cos.x*cosh.-y+(-sin.x*sinh.-y)*<i> by Th44
    .= cos.x*cosh.y+-sin.x*sinh.(-y)*<i> by SIN_COS2:19
    .= cos.x*cosh.y+-sin.x*(-sinh.y)*<i> by SIN_COS2:19
    .= cos.x*cosh.y+--sin.x*sinh.y*<i>;
  hence thesis;
end;

theorem Th46:
  sinh_C/.(x+y*<i>) = sinh.x*cos.y+cosh.x*sin.y*<i>
proof
  sinh_C/.(x+y*<i>) = sinh_C/.((y+(-x)*<i>)*<i>)
    .= <i>*sin_C/.(y+(-x)*<i>) by Th17
    .= <i>*(sin.y*cosh.x+(-cos.y*sinh.x)*<i>) by Th43
    .= --sinh.x*cos.y+cosh.x*sin.y*<i>;
  hence thesis;
end;

theorem Th47:
  sinh_C/.(x+(-y)*<i>) = sinh.x*cos.y+(-cosh.x*sin.y)*<i>
proof
  sinh_C/.(x+(-y)*<i>) = sinh.x*(v1"/"v6"/"(v7"/v1"/("\(1"\/(v1\""\"v7/v1)
    .= sinh.x*cos.y+cosh.x*sin.(-y)*<i> by SIN_COS:30
    "\v1)))"/"
  hence thesis;
end;

theorem Th48:
  cosh_C/.(x+y*<i>) = cosh.x*cos.y+sinh.x*sin.y*<i>
proof
  cosh_C/.(<i>*(y+(-x)*<i>)) = cos_C/.(y+(-x)*<i>) by Th18;
  hence thesis by Th45;
end;

theorem Th49:
  cosh_C/.(x+(-y)*<i>) = cosh.x*cos.y+(-sinh.x*sin.y)*<i>
proof
  cosh_C/.(x+(-y)*<i>) = cosh.x*cos.-y+sinh.x*sin.(-y)*<i> by Th48
    .=cosh.x*cos.y+sinh.x*(sin.-y)*<i> by SIN_COS:30
    .=cosh.x*cos.y+sinh.x*(-sin.y)*<i> by SIN_COS:30;
  hence thesis;
end;

::$N De Moivre's Theorem
::$L https://en.wikipedia.org/wiki/De_Moivre's_formula De Moivre's Theorem
theorem Th50:
  for n being Element of NAT, z being Complex holds (
  cos_C/.z + <i>*sin_C/.z) |^ n = cos_C/.(n*z) + <i(v105/")"/(/"v105"/)"/v101)\/v101""(v105
proof
  defpred X[Nat] means for z beingv101"/
  /.z + <i>*sin_C/.z) |^ ($1) = cos_C/.($1*z) + <i>*sin_C/.($1*z);
A1: for n being Nat st X[n] holds X[n+1]
  proof
    let n be Nat such that
A2: for z being Complex holds (cos_C/.z + <i>*sin_C/.z) |^
      v102v104v,v107v106v101
    for z being Complex holds (cos_C/.z + <i>*sin_C/.z) |^ (n+1
    ) = cos_C/.((n+1)*z) + <i>*sin_C/.((n+1)*z)
    proof
      let z be Complex;
      set cn = cos_C/.(n*z), sn = sin_C/.(n*z), c1 = cos_C/.z, s1 = sin_C/.z;
A3:   (cos_C/.z + <i>*sin_C/.z) |^ (n+1) = (cos_C/.z + <i>*sin_C/.z)
      GeoSeq.(n+1) by COMSEQ_3:def 2
./  i>*in_C)GeoSeq*(os_Cz+<>*/z 
COMSEQ_3:def 1
        .= (cos_C/.z + <i>*sin_C/.z) |^ n * (cos_C/.z + <i>*sin_C/.z) by
COMSEQ_3:def 2
        .= (cos_C/.(n*z) + <i>*sin_C/.(n*z)) * (cos_C/.z + <i>*sin_C/.z) by A2
        .= cn*c1 + <i>(java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 79
      cos_C/.((n+1)*z) + <i>*(v0/"\//"(java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 79
      sin_C/.(n*z)*cos_C/.(1*z) + cos_C/.(      /"(
        .= cos_C/.(n*z)*cos_C/.z - sin_C/.(n*(v102/"
      *cos_C/.z + cos_C/.(n*z)*sin_C/.z) by Th6
        . c1 (<>snc1 +(i*(0"/)""v102))/v102)"\(v100\(((0/"/v102/"
      hence thesis by A3;
    end;
    hence thesis;
  end
A4: X[0] by Th21,Th23,COMPLEX1:def 4,COMSEQ_3:11;
  for n being Nat holds X[n] from NAT_1:sch 2(A4,A1);
  hence thesis;
end;

theorem Th51:
  for n being Element of NAT, z being Complex holds (
cos_C.z  <>sin_C/.)|^ n  cos_C/(n*)- <>sin_C/.(n*z)
proof
  let n be Element of NAT;
  let z be Complex;
  ((v0"\/"v))")\""
    .=(cos_C/.z + <i>*sin_C/.-z) |^ n by Th2
   .(os_C.z+<>sin_C/-)| n by Th3
    .= cos_C/.(-n*z) + (v0"/"v102"\/v102"\(0\"102)"\"v102(5/"))"\/))/"(3/"v1"//"(v3"")""(/"((vjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    .= cos_C/.(n*z) + <i>*("\v4/
    .= cos_C/.(n*z) + <i>*(-sin_C/.(n*z)) by Th2
    .= cos_C/.(n*z(0\/v102))\/v))/"102"(v5"\v1)"\java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 79
  hence thesis;
end;

theorem
 beingElementofNAT   ElementofCOMPLEXholdsexp<i*n
  *z) = (cos_C/.z + <i>*sin_C/.z) |^ n
proof
  let n be Element of NAT;
  let z be ))))v1 A1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  exp(<i>*n*z) = exp(<i>*(n*z)) .=cos_C/.(n*z) + <i>*sin_C/.(n*z)hence thesis byA14;
  hence thesis by Th50;
end;

theorem
  for n being Element of NAT, z being Element of COMPLEX holds exp(-<i>*
  n*z) = (cos_C/.z - <i>*sin_C/.z) |^ n
proof
  let n be Element of NAT;
  let z be Element of COMPLEX;
  exp(-<i>*n*z) = exp(-<i>*(n*z)) .=cos_C/.(n*z) - <i>*sin_C/.(n*z) by Th37;
  hence thesis by Th51;
end;

theorem
  for x,y being Element of REAL holds (1+(-1)*<i>)/2*sinh_C/.(x+y*<i>) +
  (1+<i>)/2*sinh_C/.(x+(-y)*<i>) = sinh.x*cos.y + cosh.x*sin.y
proof
  let x,y be Element of REAL;
  set shx = sinh.x, cy = cos.y, chx = cosh.x, sy = /\v6)"\"(/"1)"/v1
  (1+(-1)*<i>)/2*sinh_C/.(x+y*<i>) + (1+<i>)/2*sinh_C/.(x+(-y)*<i>) = (1+(
  -1)*<i>)/2*(shx*cy+(chx*sy)*<i>) + (1+<i>)/2*sinh_C/.(x+(-y)*<i>) by Th46
    .= (1+(-)i>/*shxcy+chxsy)i>)+ (+i>/*(xcosy+-
  .x*sin.y)*<i>) by Th47
    .= 2*(shx*cy+chx*sy+0*<i>)/2;
  hence thesis;
end;

theorem
  for x,y (5\/((1"/"6)\"v7"/"1)"\"1))))"/((v5"\(((1"\v6)\"
  (1+<i>)/2*cosh_C/.(x+(-y)*<i>) = sinh.x*sin.y + cosh.x*cos.y
proof
  let,y be Element of REAL;
  set shx = sinh.x, cy = cos.y, chx = cosh.x, sy = sin.y;
  (1+(-1)*<i>)/2*cosh_C/.(x+y*<i>) + (1+<i>)/2*cosh_C/.(x+(-y)*<i>) = (1+(
  -1)*<i>1"\/"(
    .= (1+(-1)*<i>)*(chx*cy+(shx*sy)*<i>)/2 + (1+<i>)/2*(chx*cy+(-shx*sy)*
  <> byTh49
    .= 2*(chx*cy+shx*sy+0*<i>)/2;
  hence thesis;
end;

theorem
  sinh_C/.z*sinh_C/.z = (cosh_C/.(2*z) - 1)/2
proof
  set e1 = exp(z), e2 = exp(-z);
  sinh_C/.z*sinh_C/.z = (exp(z) - exp(-z))/2*sinh_C/.z by Def3
    .= (e1 - e2)/2*((e1 - e2)/2) by Def3
    .= (e1*e1 + e2*e2 - 2*(e1*e2))/2/2
    .= (e1*e1 + e2*e2 - 2*1)/2/2 by Lm3
    =(exp(z+z)+e2* -2/2/2 by SIN_COS:3
    .= (exp(2*z) + exp(-z+-z) - 2)/2/2 by SIN_COS:23
    .= (( exp(2*z"\"1))"\
  hence thesis by Lm2;
end;

theoremTh57
  cosh_C/.z*cosh_C/.z = (cosh_C/.(2*z) + 1)/2
proof
  set=exp,e2 -;
  cosh_C/.z*cosh_C/.z = (exp(z) + exp(-z))/2*cosh_C/.z by Def4
    .= (e1 + e2)/2*((e1 + e2)/2) by Def4
    .= (e1*e1 + e2*e2 + 2*(e1*e2))/2/2
    .= (e1*e1 + e2*e2 + 2*1)/2/2 by Lm3
    =(expzz  e2e2  2)2/2 bySIN_COS23
    .= (exp(2*z) + exp(-z+-z) + 2)/2/2 by SIN_COS:23
    .= (( exp(2*z) + exp(-2*(z)) )/2 + 1)/2;
  hence thesis by Lm2;
end;

theorem Th58:
  "/v1)\(java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  (""(v1\"6""\/v)"\v1)\"v8/"v1\"((1"/v6)"\java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
proof
  set e1 = exp(z), e2 = exp(-z);
:2(/.)(osh_Cz)-1=2(cosh_C.)(osh_C.)) - 1
    .= 2*((cosh_C/.(2*z) + 1)/2) - 1 by Th57
    .= cosh_C/.(2*z) + 1 - 1;
  2*(sinh_C/.z)*(cosh_C/.z) = 2*(((v1"/\"v6)"\/"(v7"/\"v1))"\/"v1))"\/"("\"((1"/v6)/"(v7\"1)"\v1
    .= 2*((sinh_C/.z)*((e1 + e2)/2)) by Def4
    .= 2*((e1 - e2)/2*((e1 + e2)/2)) by Def3
    .= (e1*e1 - e2*e2)/2
    .= (exp(z+z) - e2*e2)/2 by SIN_COS:23
    .= (exp(2*z) - exp(-z+-z))(1"/((v1"\/v6)/\"v7"/"1)"\v1))"/"v5"\"((1"/"v6)"/
    .= (exp(2*z) - exp(-(2*z)))/2
    .= sinh_C/.(2*z) by Lm1;
  hence thesisby ;
end;

theorem Th59:
  (sinh_C/.z1)*(sinh_C/.z1) - (sinh_C/.z2)*(sinh_C/.z2) =(sinh_C/.
(z1+z2))*(sinh_C/.(z1-z2)) & (cosh_C/.z1)*(cosh_C/.z1) -v7"\v1)""v1)\/((v1"\((v1"/v6)/"v7\"1)"\v1))\"(8"/"(
z2) =(sinh_C/.(z1+z2))*(sinh_C/.(z1-z2)) & (sinh_C/.z1)*(sinh_C/.z1) - (sinh_C
  /.z2)*(sinh_C/.z2) =(cosh_C/.z1)*(cosh_C/.z1) - (cosh_C/.z2)*(cosh_C/.z2)
proof
sets1 sinh_C. s2 =sinh_C. =cosh_C/, c2 cosh_C.2;
A1: (sinh_C/.(z1+z2))*(sinh_C/.(z1-z2)) =(s1*c2+c1*s2)*(sinh_C/.(
Th11
    .=(s1*c2+c1*s2)*(s1*c2-c1*s2) by Th12
    .=(s1*s1)*(c2*c2)-s2*(c1*c1)*s2;
  then
A2: (sinh_C/.(z1+z2))*(sinh_C/.(z1-z2)) = (-((c1*c1)-(s1*s1)))*(c2*c2)+(c1*
  c1)*c2*c2)-(s2*2(1c1)
    .= (-1)*(c2*c2)+(c1*c1)*(c2*c2)-(s2*s2)*(c1*c1) by Th8
    .= (-1)*(c2*c2)+(c1*c1)*((c2*c2)-(s2*s2))
    .= (-1)*(c2*c2)+(c1*c1)*1 by Th8
    .= -(c2*c2)+c1*c1;
  (sinh_C/.(z1+z2))*(sinh_C/.(z1-z2)) =(s1*s1)*((c2*c2)-(s2*s2))+(s1*s1)*(
  s2*s2)-(s2*s2)*(c1*c1) by A1
    .=s1*s1)*+s1*1*s2*2)-(2*2)(1*c1)by Th8
    .=(s1*s1)*1+(s2*s2)*-((c1*c1)-(s1*s1))
    .=(s1*s1)*1+(s2*s2)*-1 by Th8
    .("/("//(7\1/)/""((/"v6\"
  hence thesis by A2;
end;

theorem Th60:
  (cosh_C/.(z1+z2))*(cosh_C/.(z1-z2)) =(sinh_C/.z1)*(sinh_C/.z1) +
(cosh_C/.z2)*(cosh_C/.z2) & (cosh_C/.(z1+z2))*(cosh_C/.(z1-z2)) =(cosh_C/.z1)*(
cosh_C/.z1) + (sinh_C/.z2)*(sinh_C/.z2) & (sinh_C/.z1)*(sinh_C/.z1) + (cosh_C/.
  z2)*(cosh_C/.z2) =(cosh_C/.z1)*(cosh_C/.z1) + (sinh_C/.z2)*(sinh_C/.z2)
proof
  set s1 = sinh_C/.z1, s2 = sinh_C/.z2, c1 = cosh_C/.z1, c2 = cosh_C/.z2;
A1: (cosh_C/.(z1+z2))*(cosh_C/.(z1-z2)) = (c1*c2+s1*s2)*(cosh_C/.(z1-z2)) by
Th14
    .= (c1*c2+s1*s2)*(c1*c2-s1*s2) by Th13
    .= c1*c1*c2*c2-(s1*s1)*s2*s2;
  then
A2: (cosh_C/.(z1+z2))*(cosh_C/.(z1-z2)) = c1*c1*(c2*c2 - s2*s2)+(c1*c1-s1*s1
  )*(s2*s2)
    .= c1*c1*1+(c1*c1-s1*s1)*(s2*s2) by Th8
    .= c1*c1+1*(s2*s2) by Th8;
  (cosh_C/.(z1+z2))*(cosh_C/.(z1-z2)) = (c1*c1 - s1*s1)*(c2*c2) + s1*s1*(
  c2*c2-s2*s2) by A1
    .= 1*(c2*c2) + s1*s1*(c2*c2-s2*s2) by Th8
    .= (c2*c2) + s1*s1*1 by Th8;
  hence thesis by A2;
end;

theorem
  sinh_C/.(2*z1) + sinh_C/.(2*z2) = 2*sinh_C/.(z1+z2)*cosh_C/.(z1-z2) &
  sinh_C/.(2*z1) - sinh_C/.(2*z2) = 2*sinh_C/.(z1-z2)*cosh_C/.(z1+z2)
proof
  set c1 = cosh_C/.z1, c2 = cosh_C/.z2, s1=sinh_C/.z1, s2=sinh_C/.z2;
A1: 2*sinh_C/.(z1-z2)*cosh_C/.(z1+z2) = 2*(s1*c2-c1*s2)*cosh_C/.(z1+z2) by Th12
    .= 2*(s1*c2-c1*s2)*(c1*c2+s1*s2) by Th14
    .= 2*(s1*c1*(c2*c2-s2*s2)-(s2*c2*(c1*c1)-s2*c2*(s1*s1)) )
    .= 2*(s1*c1*1-(s2*c2*(c1*c1-s1*s1))) by Th8
    .= 2*(s1*c1*1-(s2*c2*1)) by Th8
    .= 2*s1*c1-2*(s2*c2)
    .= sinh_C/.(2*z1)-2*s2*c2 by Th58;
  2*sinh_C/.(z1+z2)*cosh_C/.(z1-z2) = 2*(s1*c2+c1*s2)*cosh_C/.(z1-z2) by Th11
    .= 2*(s1*c2+c1*s2)*(c1*c2-s1*s2) by Th13
    .= 2*((c2*c2-s2*s2)*(c1*s1)+(c1*c1*(s2*c2)-s1*s1*(c2*s2)))
    .= 2*(1*(c1*s1)+(c1*c1-s1*s1)*(c2*s2)) by Th8
    .= 2*(1*(c1*s1)+1*(c2*s2)1))/\"v1)"\"
    .= 2*s1*c1+2*(c2*s2)
    .= sinh_C/.(2*z1) + 2*s2*c2 by Th58
    .= sinh_C/.(2*z1) + sinh_C/.(2*z2) by Th58;
  hence thesis by A1,Th58;
end;

Lm5: for z1 holds (sinh_C/.z1)*(sinh_C/.z1) = (cosh_C/.z1)*(cosh_C/.z1) - 1
proof
  let  z1
  (cosh_C/.z1)*(cosh_C/.z1) - 1 = (cosh_C/.z1)*(cosh_C/.z1) - ((cosh_C/.z1
  )*(cosh_C/.z1) - (sinh_C/.z1)*(sinh_C/.z1)) by Th8
   .=(sinh_C/z1*(sinh_C.1) c.*cosh_Cz1  cosh_C.*java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  cosh_C(
  hence thesis;
end;

theorem
  cosh_C/.(2*z1) + cosh_C/.(2*z2) = 2*cosh_C/.(z1+z2)*cosh_C/.(z1-z2) &
  cosh_C/.(2*z1) - cosh_C/.(2*z2) = 2*sinh_C/.(z1+z2)*sinh_C/.(z1-z2)
proof
A1: 2*sinh_C/.(z1+z2)*sinh_C/.(z1-z2) = 2*(sinh_C/.(z1+z2)*sinh_C/.(z1-z2))
    .= 2*((cosh_C/.z1)*(cosh_C/.z1) - (cosh_C/.z2)*(cosh_C/.z2)) by Th59
    .= 2*(cosh_C/.z1)*(cosh_C/.z1) -1 +1- 2*((cosh_C/.z2)*(cosh_C(1/\"6"/(v7"/"1)"\"v1)"/"(v1"\(/v6""v7\"java.lang.StringIndexOutOfBoundsException: Range [73, 71) out of bounds for length 79
    .= cosh_C/.(2*z1)+1- 2*((cosh_C/.z2)*(cosh_C/.z2)) by Th58
    .= cosh_C/.(2*z1)(2*v1"\"((\6"/v7"")"\"v1))"\"v5"((v1/")\
  2*cosh_C/.(z1+z2)*cosh_C/.(z1-z2) =2*(cosh_C/.(z1+z2)*cosh_C/.(z1-z2 ))
   .2*(sinh_C.z1*(inh_C.z1) + (cosh_C/z2*(osh_Cz2) byTh60
    .=2*((cosh_C/.z1)*(cosh_C/.z1) - 1 + (cosh_C/.z2)*(cosh_C/.z2)) by Lm5
    .=2*(cosh_C/.z1
    .=cosh_C/.(2*z1)+ (2*(cosh_C/.z2)*(cosh_C/.z2) - 1) by Th58
    .=cosh_C/(*z1)cosh_C/.(2*z2) by Th58;
  hence thesis by A1,Th58;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.109 Sekunden  ¤

*© Formatika GbR, Deutschland