Eine aufbereitete Darstellung der Quelle

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


Impressum quaterni.miz   Sprache: Mizar

 

:: The Quaternion Numbers
::  by Xiquan Liang and Fuguo Ge
::
:: Received November 14, 2006
:: Copyright (c) 2006-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS, XBOOLE_0, FUNCT_2, SUBSET_1, FUNCT_1, CARD_1, ORDINAL1,
      FUNCOP_1, RELAT_1, TARSKI, ZFMISC_1, XCMPLX_0, ARYTM_0, XREAL_0, ARYTM_3,
      ARYTM_2, ARYTM_1, COMPLEX1, REAL_1, SQUARE_1, XXREAL_0, QUATERNI,
      FUNCT_7;
 notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, ARYTM_3, NUMBERS, RELAT_1,
      FUNCT_1, FUNCT_2, FUNCT_4, ENUMSET1, COMPLEX1, ARYTM_0, ZFMISC_1,
      ARYTM_2, XCMPLX_0, XREAL_0, REAL_1, SQUARE_1, XXREAL_0, RELSET_1;
 constructors ENUMSET1, FUNCT_4, ARYTM_1, ARYTM_0, REAL_1, SQUARE_1, COMPLEX1,
      VALUED_1, RELSET_1;
 registrations XBOOLE_0, ORDINAL1, FUNCT_4, NUMBERS, XXREAL_0, XREAL_0,
      SQUARE_1, MEMBERED, VALUED_0, RELSET_1, FUNCT_7;
 requirements NUMERALS, SUBSET, BOOLE, REAL, ARITHM;
 definitions TARSKI;
 equalities SQUARE_1, TARSKI, ARYTM_3, XCMPLX_0, ORDINAL1, FUNCT_4;
 expansions ARYTM_3, ZFMISC_1;
 theorems FUNCT_2, XBOOLE_0, TARSKI, NUMBERS, ENUMSET1, FUNCT_4, XBOOLE_1,
      FUNCT_1, ZFMISC_1, RELSET_1, COMPLEX1, ARYTM_2, ARYTM_0, SQUARE_1,
      XREAL_0, CARD_1, XCMPLX_0, XREAL_1, ARYTM_3, ORDINAL3, ABSVALUE,
      SERIES_3, XTUPLE_0;

begin

reserve a,b,c,d,x,y,w,z,x1,x2,x3,x4 , X for set;
reserve A for non empty set;

definition
  func QUATERNION -> set equals
  Funcs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
  x.2 = 0 & x.3 = 0} \/ COMPLEX;
  coherence;
end;

definition
  let x be Number;
  attr x is quaternion means
  :Def2:
  x in QUATERNION;
end;

registration
  cluster QUATERNION -> non empty;
  coherence;
end;

registration
  cluster quaternion for Number;
  existence
  proof
    take the Element of QUATERNION;
    thus thesis;
  end;
end;

definition
  mode Quaternion is quaternion Number;
end;

::$CD
::$CT 4

Lm1: 0,1,2,3 are_mutually_distinct;

theorem
  {x1,x2,x3,x4} c= X iff x1 in X & x2 in X & x3 in X & x4 in X
proof
A1: x1 in {x1,x2,x3,x4} by ENUMSET1:def 2;
A2: x2 in {x1,x2,x3,x4} by ENUMSET1:def 2;
A3: x3 in {x1,x2,x3,x4} by ENUMSET1:def 2;
  x4 in {x1,x2,x3,x4} by ENUMSET1:def 2;
  hence {x1,x2,x3,x4} c= X implies x1 in X & x2 in X & x3 in X & x4 in X
    by A1,A2,A3;
  assume that
A4: x1 in X and
A5: x2 in X and
A6: x3 in X and
A7: x4 in X;
  let z be object;
  assume z in {x1,x2,x3,x4};
  hence thesis by A4,A5,A6,A7,ENUMSET1:def 2;
end;

definition
  let A,x,y,w,z;
  let a,b,c,d be Element of A;
  redefine func (x,y,w,z) --> (a,b,c,d) -> Function of {x,y,w,z},A;
  coherence
  proof
    set f=(x,y) --> (a,b),g=(w,z) --> (c,d),h = (x,y,w,z) --> (a,b,c,d);
A1: rng h c= rng f \/ rng g by FUNCT_4:17;
A2: dom h = {x,y,w,z} by FUNCT_4:137;
    rng h c= A by A1,XBOOLE_1:1;
    hence thesis by A2,FUNCT_2:def 1,RELSET_1:4;
  end;
end;

definition
  func <j> -> Number equals
  (0,1,2,3) --> (0,0,1,0);
  coherence;
  func <k> -> Number equals
  (0,1,2,3) --> (0,0,0,1);
  coherence;
end;

reconsider jj=1, zz = 0 as Element of REAL by XREAL_0:def 1;

Lm2: <i> = [*zz,jj*] by ARYTM_0:def 5;

registration
  cluster <i> -> quaternion;
  coherence by Lm2,XBOOLE_0:def 3;
  cluster <j> -> quaternion;
  coherence
  proof
    set X = { x where x is Element of Funcs(4,REAL): x.2=0 & x.3=0};
A1: now
      assume <j> in X;
      then ex x being Element of Funcs(4,REAL) st <j> = x & x.2=0 & x.3=0;
      hence contradiction by FUNCT_4:140;
    end;
    reconsider z=0,j=0,w=1,m=0 as Element of REAL by XREAL_0:def 1;
    <j> = (0,1,2,3) --> (z,j,w,m);
    then <j> in Funcs(4,REAL) by CARD_1:52,FUNCT_2:8;
    then <j> in Funcs(4,REAL) \ X by A1,XBOOLE_0:def 5;
    hence <j> in QUATERNION by XBOOLE_0:def 3;
  end;
  cluster <k> -> quaternion;
  coherence
  proof
    set X = { x where x is Element of Funcs(4,REAL): x.2=0 & x.3=0};
A2: now
      assume <k> in X;
      then ex x being Element of Funcs(4,REAL) st <k> = x & x.2=0 & x.3=0;
      hence contradiction by FUNCT_4:139;
    end;
    reconsider z=0,j=0,w=0,m=1 as Element of REAL by XREAL_0:def 1;
    <k> = (0,1,2,3) --> (z,j,w,m);
    then <k> in Funcs(4,REAL) by CARD_1:52,FUNCT_2:8;
    then <k> in Funcs(4,REAL) \ X by A2,XBOOLE_0:def 5;
    hence <k> in QUATERNION by XBOOLE_0:def 3;
  end;
end;

registration
  cluster -> quaternion for Element of QUATERNION;
  coherence;
end;

definition
  let x,y,w,z be Real;
  func [*x,y,w,z*] -> Element of QUATERNION means
  :Def5:
  ex x9, y9 being Element of REAL st
  x9 = x & y9 = y & it = [*x9,y9*] if w=0 & z=0
  otherwise it = (0,1,2,3) --> (x,y,w,z);
  consistency;
  existence
  proof
    reconsider x9 = x, y9 = y, w9 = w, z9 = z as Element of REAL
    by XREAL_0:def 1;
    thus w = 0 & z = 0 implies ex t being Element of QUATERNION st
    ex x9, y9 being Element of REAL st
    x9 = x & y9 = y & t = [*x9,y9*]
    proof
      assume that w = 0 and z = 0;
      set t = [*x9,y9*];
      reconsider t as Element of QUATERNION by XBOOLE_0:def 3;
      take t;
      take x9, y9;
      thus thesis;
    end;
    set e = (0,1,2,3) --> (x9,y9,w9,z9);
    thus w <> 0 or z <> 0 implies
    ex t being Element of QUATERNION st t = (0,1,2,3) --> (x,y,w,z)
    proof
      assume
A1:   w <> 0 or z <> 0;
A2:   e in Funcs(4,REAL) by CARD_1:52,FUNCT_2:8;
      now
        assume e in {r where r is Element of Funcs(4,REAL): r.2=0 & r.3=0};
        then ex r being Element of Funcs(4,REAL) st e = r & r.2=0 & r.3=0;
        hence contradiction by A1,FUNCT_4:139,140;
      end;
      then e in Funcs(4,REAL)
      \ { r where r is Element of Funcs(4,REAL): r.2=0 & r.3 = 0}
      by A2,XBOOLE_0:def 5;
      then reconsider e as Element of QUATERNION by XBOOLE_0:def 3;
      take e;
      thus thesis;
    end;
  end;
  uniqueness;
end;

Lm3: for x,y being Element of REAL holds [*x,y,0,0*] = [*x,y*]
proof
  let x,y be Element of REAL;
  ex x9, y9 being Element of REAL st ( x9 = x)&( y9 = y)&( [*x
  ,y,0,0*] = [*x9,y9*]) by Def5;
  hence thesis;
end;

::$CT

theorem Th2:
  for g being Quaternion
  ex r,s,t,u being Real st g = [*r,s,t,u*]
proof
  let g be Quaternion;
A1:g in QUATERNION by Def2;
  per cases;
  suppose g in COMPLEX;
    then consider r,s being Element of REAL such that
A2: g = [*r,s*] by ARYTM_0:9;
    take r,s,0,0;
    thus thesis by A2,Def5,A1;
  end;
  suppose not g in COMPLEX;
    then
A3: g in Funcs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
    x.2=0 & x.3=0} by A1,XBOOLE_0:def 3;
    then consider f being Function such that
A4: g = f and
A5: dom f = 4 and
A6: rng f c=::: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:0in:,ENUMSET1:efes/-a3.0/.
A8: 1 in 4 by CARD_1:52,ENUMSET1:def 2;
A9: 2 in 4 by CARD_1:52,ENUMSET1:def 2;
 by::def2
A11: f.0 in rng f by A5,A7,FUNCT_1:3;
A12:f. inrng f by A5,A8,FUNCT_1:3;
A13: f.2 in rng f by A5,A9,FUNCT_1:3;
    f.3 in rng f by A5,A10,FUNCT_1:3;
    then reconsider
    r = f.0, s = f.1, t=f.2, u=f.3 as Element of REAL by A6,A11,A12,A13;
A14: g =      ARYTM_2, ARYTM_1,COMPLEX1, REAL_1,SQUARE_1,XXREAL_0, QUATERNI,
    take r,s,t,u;
    now
      assume that
A15:  t=0 and
A16: u=0;
A17:  (0,1,2,3)-->(r,s,t,u).2 = 0 by A15,FUNCT_4:140;
(0,,,)->(r,s,t,). = 0 by A16,FUNCT_4:139;
      then g in { x where x is Element of Funcs(4,REAL):
      x.2=  x.=} byA3,A14,A17;
      hence contradiction by A3,XBOOLE_0:def 5;
    end;
    hence thesis by A14,Def5;
  VALUED_1, RELSET_1;
end;

reserve i,j,k forSQUARE_1,MEMBERED,VALUED_0,RELSET_1, FUNCT_7;
reserve a, requiremens NUMERALS,SUBSET,BOOLE, REAL, ARITHM;
reserve y,r,s,x,t,wfor Element of RAT+;

::$CT

Lm4: for x,y,z being object st [x,y] = {z} holds z = {x} & x  equalities SQUARE_1,TARSKI, java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 67
proof
  let x,y,z be object;
  assume
A1: [x,y] = {z};
  then
A2: {x,y} in{z} by TARSKI:def 2;
  {x} in {z} by A1,TARSKI:def 2;
  hence
A3: z = {x} by TARSKI x.  0 & x.3 = 0}\/COMPLEX;
  {x,y} = z by A2,TARSKI:def java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 12
  hence thesis by A3 :ef2:
end;

theorem
  for A being Subset  RAT+ st ex t st t in A & t< {} &
  for r,s st r coherence;
  ex r1,r2,r3,r4,r5 being java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 4
  r1 in A &r2 in A & r3 in  A  r5 in A java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  r1 <> r2 & r1 <> r3 & r1<>r4 & r1 <> r5 & r2<> r3 & r2<> r4 &
  r2<> r5& r3 <> r4 & r3 <> r5 & r4 <> r5
proof
  let A be ;
  given tdefinition
A1: t in A and
;
  assume
A3: for r,s st java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  consider x such that
A4: t
  consider y ,x2,: x3 in x1,x2,x3,x4}by ENUMSET1:
A5:x { [d]&{,} [,
  consider w such adictionbyA5,;
A6: y = w+w by ARYTM_3by A1,A2
  take {},w,y  A4: x1 inX 
A7: {} <=' t by ARYTM_3:A5: 2inA46 not f in {i] i,are_coprime&j<{}} java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
A8:x <= t by A4;
A9:y <= xa   in 12java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28
A10:w='y by A6
A11: y <=' t by A8,A9,ARYTM_3:67;
 by A9,,ARYTM_3:67;
  hence {} in A & w in A & y in A & x in A & t in A by A1,A3,A7,A8,A9,
ARYTM_3:67;
:}< x byA2A,ARYTM_3:50java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  then
A13: {} <> y by A5,ARYTM_3:50;
A14: x >t
  proof
    assume x = 
      set IR  {A where A isSubset of RAT+java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
contradictionA2,RYTM_3:
  end;
A15: y <> x
  proof
    assume y = java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 57
    x+{ =x+ byA5,ARYTM_3:;
    hence contradiction by A12,ARYTM_3:62;
  end;
  w <> y
  proof
    assume w = y;
    then y+{} = y+y by A6,ARYTM_3:50;
    hence contradiction by A13,ARYTM_3: ex s being Elementof RAT+st s in A&r<s}java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  end;
  hence thesis by A2,A4,A5,A6,A8,A9,A10,A11,A14,A15,ARYTM_3:50,66;
end;

Lm5: not (0,1,2,3) --> (a,b,c,d) in REAL
proof
  set f = (0,1,2,3)-->(a,b,c,d);
A1: f = {[0,a],[1,b],[2,c],[3,d]} by Lm1,FUNCT_4:145;
  now
    assume f in {[i,j]: i,j are_coprime & j <> {}};
    then consider i,j such that
A2: f = [i,j] and i,j are_coprime and j<> {};
A3: {i} in f by A2,TARSKI:def 2;
A4: {i,j} in f by A2,TARSKI:def 2;
A5: now
      assume i = j;
      then {i} = {i,j} by ENUMSET1:29;
      then
A6:   [i,j] = {{i}} by ENUMSET1:29;
      then
A7:   [0,a] in {{i}} by A1,A2,ENUMSET1:def 2;
A8:   [1,b] in {{i}} by A1,A2,A6,ENUMSET1:def 2;
A9:   [0,a] = {i} by A7,TARSKI:def 1;
      [1,b] = {i} by A8,TARSKI:def 1;
      hence contradiction by A9,XTUPLE_0:1;
    end;
    per cases by A1,A3,A4,ENUMSET1:def 2;
    suppose {i} = [0,a] & {i,j} = [0,a];
       hence contradiction by A5,ZFMISC_1:5;
    end;
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 7
A10:A48 [0,x],[1,][2,z,3,w}in IR;
A11:  {i,j} = [1,b];
A12:  i = {0} by A10,Lm4;
      i in {{1},{1,b}} by     consider A being Subset ofAbeingSubsetof RAT+such
      then i = {1,b} or i = {1} by TARSKI:def 2;
      then 1 in i by TARSKI:def 1,def 2;
        by A12,ARSKI:def ;
    end;
    suppose  exs  Elementof RAT+st s in A&r < s by A48;
A13:{}=[,a]and
A14:  {i,j}  for r, beingElement of RAT+st r in A & s = r holds s inA by A50;
A15:  i = {0} by A13,Lm4;
      i ,}}by A14,TARSKI:def ;
      thenA52 in Aand
      2iTARSKI:def ,def 2;
      hence contradiction by A15,TARSKI:def 1;
    end;
A54:r3 in A and
A16:  {i} = [:r4 inA and
A17:  {i,j} = [3,d];
java.lang.StringIndexOutOfBoundsException: Range [12, 3) out of bounds for length 25
       {{3,{,d} byA17,def ;
      then i = {3,java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 15
      then 3 in i by TARSKI:def 1,def 2;
      <>r5 and
    end;
    suppose that
A19:  {: r3 >r4and
 < r5and
 [,wjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      bA52java.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 31
      then i = {0,a} or i = {0} by TARSKI:def 2
then  ibyTARSKI:1def2;
      hence contradiction by A21,TARSKI:def 1;
    end;
    suppose r  0x] orr4  1y]or
      hence contradiction
hence byA49A56A57A58A59A62A64A65A66A67
    suppose that,A68,69ENUMSET1def ;
e;
A23:  {i,then not f in DEDEKIND_CUTS by A1,def1java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
A24:  i = {java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
      i in {{2},{2,c}} by A23,TARSKIthen consider x,being objectsuch that
      thenA72   x,]by ZFMISC_184;
       22 i y TARSKIdef1def ;
      hence contradiction byf = {[0,a],[1,b],[2,c],[3]}  Lm1F:45;
    end;
cases A72A73A74TARSKIdef2;
A25:  {suppose{{1,b,1}} ={;
A26:  {i,j} = [3,d];
A27:  i = {1} by A25,Lm4;
      iin{3},{,}
      then i = {3,d} ordef2;
      then 3 in i by  
      A27def1;
    end;
    suppose that
A28:  {i} = [2,c] and
A29:  {i,j} = [0,a];
A30:  i = {2} by A28,Lm4;
      i in {{0},{0,a}}s ff =(,,,)>(bc,;
        0   0  java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
      then 0 in i by TARSKI:def 1,    then dom f = {0,1} by FUNCT_2:92;
      hence contradiction{,1}\ 23 c 01} byENUMSET1:
    
    suppose that
A31:  {i} = [2,c] and
A32:  {i,j} = [1,b];
A33:  i = {2} by A31,Lm4;
      i in {{1},{1,b}} by A32,TARSKI:def 2;
      end;
      then 1 in i by TARSKI:def 1,def 2;
      hence for x1,x2,x3,x4,y1,y2,y3,y4 being Real st [*x1,x2,x3,x4*]
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
supposei= 2c]& {,}=[2,c]
hence byA5,java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    end;
    suppose that
A34:  {i} = [2,c] and
A35:  {i,j} = [3,d]      then[xx1xx2* = (0,1,,)->(1y2,y3, by A1A,;
A36:  i = {2} by A34,Lm4;
      i [*1,y2,y3,y4]=[yy1,yy2* byLm3;
      then i = {3,d} or i = {3} by TARSKI:def 
      then 3 java.lang.StringIndexOutOfBoundsException: Range [13, 6) out of bounds for length 6
      hence contradiction by A36,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 8
    end;
    suppose that
A37:  {i} = [3,d] and
A38:  {i,j} = [0,a];
A39:  i = {3} by A37,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 11
      i in {{0},{0,a}} by A38,TARSKIhence contradiction by A5,Th4;
      then i = {0,a} or i = {0} by TARSKI:def 2;
      then 0 in i by TARSKI:def 1,def 2;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    end;
    suppose that
A40:  {i} = [3,d] and
A41:  {i,j} = [1,b];
A42:  i = {3} by A40,Lm4;
      i {{1,1b}}by A41,TARSKIdef 2;
      java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 43
      then 1 in i by A2  = [y,y3,y4* by Th2
      hence contradiction by A42,TARSKI:def 1;
    nd;
    suppose that
A43  i  3,] and
A44:  {i,j} = [2,  it= [*x1+1,x2+2,3+3x4+*;
A45:  i = {3} by A43,Lm4;
      i in {{2}, ake [x1+1x2+,x3+3x4+y4*];
      then i = {2,c} or  java.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 25
      then 2 in i by TARSKI:def 1,def    c1c2
      hence contradiction by A45,TARSKI:def 1;
    end;
    suppose {i} = [3,d] & {i,j} = [3,d];
      hence contradiction by A5,ZFMISC_1:5;
    end;
  end;
  then
A46: not f in {[i,j]: i,j are_coprime & j <> {}} \
   the set of all [k,1];
  now
    assume f in omega;
    then f is non empty ordinal;
    then {} in f by ORDINAL3:8;
    hence contradiction by A1,ENUMSET1:def 2;
  end;
  then
A47: not f in RAT+ by A46,XBOOLE_0:def 3;

  set IR = { A where A is Subset of RAT+:
  for r being Element of RAT+ st r in A holds
  (for s being Element of RAT+ st s <=' r holds s in A) &
  ex s being Element of RAT+ st s in A & r < s};

  not ex x,y,z,w being object st {[0,x],[1,y],[2,z],[3,w]} in IR
  proof
    given x,y,z,w being object such that
A48: {[0,x],[1,y],[2,z],[3,w]} in IR;
    consider A being Subset of RAT+ such that
A49: {[0,x],[1,y],[2,z],[3,w]} = A and
A50: for r being Element of RAT+ st r in A holds
    (for s being Element of RAT+ st s <=' r holds s in A) &
    ex s being Element of RAT+ st s in A & r < s by A48;
A51: [0,x] in A by A49,ENUMSET1:def 2;
    for r,s being Element of RAT+ st r in A & s <=' r holds s in A by A50;
    then consider r1,r2,r3,r4,r5 being Element of RAT+ such that
A52: r1 in A and
A53: r2 in A and
A54: r3 in A and
A55: r4 in A and
A56: r5 in A and
A57: r1 <> r2 and
A58: r1 <> r3 and
A59: r1<>r4 and
A60: r1 <> r5 and
A61: r2<> r3 and
A62: r2<> r4 and
A63: r2<> r5 and
A64: r3 <> r4 and
A65: r3 <> r5 and
A66: r4 <> r5 by A51,Th3;
A67: r1 = [0,x] or r1 = [1,y] or r1 = [2,z] or r1 = [3,w]
     by A49,A52,ENUMSET1:def 2;
A68: r2 = [0,x] or r2 = [1,y] or r2 = [2,z] or r2 = [3,w]
     by A49,A53,ENUMSET1:def 2;
A69: r3 = [0,x] or r3 = [1,y] or r3 =2z orr3 =[3,]
     by
      [x or r4 =[1,y] r4  2z  >java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 50

     hence java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
,69,UMSET1ef 2;
  end;
  then x + - yassume thatw= and z 0;
  then
A70_2:def2,XBOOLE_0:def 3java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  now
    assume f in java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 8
    then consider x,y being object such that
A71: x in {{}} and y in  w <> 0 or z <> 0 implies
A72 f =[x,yby ZFMISC_1:84
A73: x = 0 by A71,TARSKI:def     proof
    f = {[0,a],[1,b],[2,cA2:   e in Funcs( 
    then
A74: [1,b] in f by ENUMSET1:def 2;
ercasesA72,,,def ;
    suppose {{1,b},{1}} = {0};
      then0in 1b,{} java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 44
     contradiction;
    t +*+*3**java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    pose1b,}  0}
      then 0  x,ytake[*java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
      java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 6
::$CT
  end;
  ex r c1,c2 beNumber;
letg  Quaternion;

theorem Th4:g in QUATERNION by Def2;
  not (,p cases;
proof
3)--(a,b,c,d);
A1: not fA2: g :c1=[x1*1x2*2*y3-*,xy22*3-y3,
  not f in Funcs({0,1},REAL)
  t thesis  A2,ef5,A1;
    assume f not g in COMPLEX;
    then dom f = {0,1} by    then
    then 0,1,,}c:y=[19y29y39,y49*
    then {,}\/2,3 c =*19x29*29-*-*,x19*+x29*+*9-y,
    hence contradiction by A4  =x19y39*y29*9-* x4919*9-39**;
  end;
  hen not fin{1,REAL\
  { x where x is  ElementA6:rngf=by FUNCT_2 ;
  ,java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 27
;

::$CT

theorem=y29  ,7h5;
  forx1x2,x3,x4y,,y3y4  Real st [*1,x2,x3,x4*
  = [*y1,y2,y3,y4*] holds x1 = y1 then reconsider
proof
  let y ={z;
A1: [*x1,x2,x3,x4*] = [*y1,y2,y3,y4*];
   reconsiderxx1=1 x2 y,yy2y2 asElementofREAL
            by XREAL_0:def 1;
  per cases;
  suppose
A2: x3=0 & x4=0;
    then
A3: *x1,x2x,]=[xx1,xx2* ;
A4;
      Th3hencethesisbyA58A9A,
  Abeing Subsetjava.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
      hence contradiction by Th4;
    end
    then[y1,,y3,y4*] = [yy1,y2* by Lm3
     A2,A3
  A1  inA ,3x4,y3,beingst
  x3> >0;
    :forr=*+,java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 49
A5: [*y1,y2, schthat
    now
      assume that
A6:   y3= +wby
A7  proof't:
      [*y1,y2,y3;
      hence contradiction by A5,A11:y <' ,x2x3,x4*&z9 =[[*,,y4*

    then [*y1,y2,      hence
    hence thesis byjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  end;
end;

definition
  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 24
  consider x1,x2,x3,x4 redefine func <>- Elementof QUATERNION equals
1x=[*,x3,4* java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 31
  consider y1,y2,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  <i> *<i>=-1
  func>* i  [**0-*0*-*,01+*0*-*,
  :  00+00+*-*,00+*0+1*-1 ] byDef9
  ex x1,x2,x3,ex x2,x4,y1- [j]byef;
  x = [  hencethesis by 1Lm3;
  
  existence
  proof
    take [*x1+y1,x2+y2,x3+y3,x4+y4*];
    java.lang.StringIndexOutOfBoundsException: Range [2, 8) out of bounds for length 7
  end;
  uniqueness
  A15: y >x
    let c1,c2 be Number;
    given x1,x2,x3,x4,y1,y2, 
A3: x = proof
A4:y [*1,y2,theorem
A5: c1 = [*x1+y1  <>*<>=-
    given x19,x29,x39,x49,y19,y29,y39,    byproof
[,x29x49 and
A7: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A8:x.0& x.=}by A5,XBOOLE_0:def 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A9: x1 = x19 by A3,A6,Th5;
A10   byA3,6Th5
A11: thus thesis;
A12:x4=x49 byA3,6Th5;
A13: y1 = y19 java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    y3=y39 it = 0 if z COMPLEXotherwise
   hencethesis by A4,A5AA8,A9,10,11,12A,14Th5;
  end;
  commutativity;
end;

Lm6: 0 existence
proof
  ex x9, y9 being Element of REAL st ( x9 = 0)&( y9    thus z COMPLEX impliesex IT being Numberst IT =0;
Def5;
  hence thesis by ARYTM_0:def 5;
end;

definition
  let z be Quaternion;
  consider v,w,x,y being Real such that
   *,,x,*by Th2;
  func - z -> Quaternion means
  :Def7:
  z + it = 0;
  existence
  proof
    reconsider z9 = [*- v, - w, - x, - y*] as Quaternion;
    take 
e zzbejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A3: 0 = w+ -w;
A4: 0 A4 err4and
; java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 25
6java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  end;
  uniqueness
  proof
    letA68 r2 =[0,x    
:then f 4,REALst(z  )(Reaz =f. by Def12;
A6: z + c2 = 0;
    consider x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
  byA49,54,ENUMSET1:def 2
:=y3y4 
A9  = *1+java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    consider x,x39x49,y19p casesjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  end;
:    sup z inCOMPLEXjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A12: 0 = [*x19+y19,x29+y29,x39+y39,x49+y49*] by A6,Def6;
,Th5
A14java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
 thenconsiderx,y  such that
A16: x4 = x49 by A71  in{{} andyin and
A17: x1+y1 = 0 by A9,Lm6,: x = 0 by A71,TARSKI:def
18 x1y19 =    not  in 
A19: x2+y2 = 0 by A9,Lm6java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 8
A20 1,b]in f :def2;
A21: x3+y3 = 0 by A9,Lm6,Th5;
A22: end;
A23: x4+y4 = 0 by A9,Lm6,Th5;
    x4+y49 = 0 by A12,A16,Lm6,Th5;
     A11,17A18,,A2021AA23
  end;
  involutiveness;
ndcasesjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14

efinition
  hence thesisjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 42
x +yjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  coherence;
end;

definition
  let x,y be Quaternion;
  ,x2x3,4 beingRealsuch 
A1: x = [*x1,x2,x3,x4*] by Th2;
  considery1,2y3, beingReal uchthat
A2: y = [*y1,y2,y3,y4*] by Th2;
  func A9:not [*a,b,c,d*] inCOMPLEX by
  :Def9:
  ex x1,x2,x3,x4,y1,y2,y3,y4 being Real st
  x =[*1,x2,x3,x4*] & 
  x1*x2*1x3*4-4y3   x1*y2+x2*y1+x3*y4-x4*y3, x1
  x1*y4+x4*y1+x2*y3-x3*y2 *];
  existence
      then [*a,b,d*java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    take [* x1*y1-x2*y2-x3*y3-x4*y4, x1*y2+x2*y1+x3*y4-x4*y3,
    let zz9 be Quaternion;
      cluster z + z9 -> quaternion;
  end;
  uniqueness
  proof
, Number;
    given x1,x2,x3,x4,y1,y2,y3,y4 being Real such    given x1,x2,x3,x4,y1,y2,y3,y4 being Real such ,REAL byjava.lang.StringIndexOutOfBoundsException: Range [0, 68) out of bounds for length 48
A3: x=[*1,hence;
A4: y = [*y1,y2,y3,y4*] end
A5: c1 = [* x1*y1-x2*y2-x3*y3-x4*y4, x1*y2+x2*y1+x3*y4-x4*y3,
*+1x3+*4-*2,,x1
    given x19,java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 4
A6: x = [*x19,x29,x39,x49*] and
A7: y = [*y19,y29,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A8: =[ x19*-
    x19*y39+y19*java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 14
A9:x1=x19byA3A6z [z , z  z*java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 51
 x3 = 
A12: x4 = x49 java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
:  = y19by,java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 27
A14i i=1
A15: y3 = y39 by A4,A7,Th5;
    y4 = y49 by A4,A7,Th5;
    hence hesis byA5A8A9,10,,,A13A14A15;
  end;
end;

registration
  let z,z9 be Quaternion;
  cluster zA6  z9and
  coherence
  proof
    ex x1,2x3r ReazImz I   Elementofjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 75
    z = [*x1,x2,x3,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  z+z9  *
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
  end;
z9- 
  coherence
  proof
    ex x1,x2,x3,x4,y1A:ex  being Functionjava.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 20
     ARYTM_0
    z
    x1*y3+y1*x3+y2*x4-y4*x2tjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    hence z*z9 in QUATERNION;
  end;


definition
  redefine func.[*1,0,0,0*;
  [0,10*;
  coherence by Def2;
   
  redefine func <k> -> Element of QUATERNION equals
  [*0,tz(,,,-(bc)by;
  coherence by Def2;
  compatibility by Def5;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
  <i> * <i> = -1
proof
  <i> = [*zz,jj,zz,zz*] by Lm2,Lm3; then
1 i>  <i> *0*-1*1-0*0-0*0,0       ,,def3
  0*0+0: zin {x x is Element ofFuncs(,):
    .= [*-1,0x.=0&x3=0 XBOOLE_0d ;
  -1 = [*-jj,zz*] by ARYTM_0java.lang.StringIndexOutOfBoundsException: Range [65, 14) out of bounds for length 76
  hence thesis by A1Lm3;
end;

theorem
  <j> * <j> = -1
proof
A1: <j> * <j> = [* 0*0-0*0-1*1-0*0, 0*0+0*0+0
    . [*,,,1*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= [*-1,0,0,0*];
  [*-,0,,* = *-j,zz* byLm3;
  hence thesis by A1,ARYTM_0:def 5;
end;

theorem
  <k> * <k> = -1
proof
:<>*<> = [* 0*0-0*0-0011 *+*+*11*,
  0*0+0*A:Im1z1=Im1 z2 and
    .= [*-1,0,0,0*];
  -1  *j,zz*by ARYTM_0:ef ;
  hence thesis by A1,Lm3;
end;

theorem
  <i> * <j> = <k . z2 by Th17;
proof
 <i> = [*0,1,,0*] by Lm2,Lm3;
  then <i> * <j> = [* 0*0-1*0-0*1-0*0, 0*0+1*0+0*0-0*1,
  0*1+0*0+0*0-0*1, 0*0+0*0+1*1-0*0 *] by Def9
    .java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 4
  hence thesis;
end;;

 func 1q-Quaternion equals
  <j> * <k> = <i>
proof
  <j> * <k> = [* 0*0-0*0-1*0-0*1, 0*
 m3
    .= [*0,1,0,0*];
  hence thesis by Lm2,Lm3;
end;

theorem
< *i>=j
proof
  <i> = [*0,1,0,0*]proof
  let a b,ct<><=*0*--- *0*+*0
  0*0+0*011* 01*+0*b
    .== [00,,0]
  hence thesis;
end;

theorem
  <i> * <j> = - <j> * <i>
proof
A1: <i> = [*zz,jj,zz,zz*] by Lm2,Lm3;
  then
A2: <i> * <j> = [* 0*0-1*0-0*1-0*0, 0*0+1*0+0*0-0*1,
  0*1+0*0+0*0-0*1, 0*0+0*0+1*1-0*0 *] by Def9
    .= [*zz,zz,zz,jj*];
  <j> * <i> = [* 0*0-0*1-1*0-0*0, 0*1+0*0+1*0-0*0,
  0*0+0*1+1*0-0*0, 0*0+0*0+0*0-1*1 *] by A1,Def9
    .= [*zz,zz,zz,-jj*];
  then <i> * <j> + <j> * <i> = [*0+0,0+0,0+0,1+ -1*] by A2,Def6
    .= 0 by Lm6;
  hence thesis by Def7;
end;

theorem
  <j> * <k> = - <k> * <j>
proof
A1: <j> * <k> = [* 0*0-0*0-1*0-0*1, 0*0+0*0+1*1-0*0,
  0*0+0*1+0*0-1*0, 0*1+0*0+0*0-1*0 *] by Def9
    .= [*zz,jj,zz,zz*];
  <k> * <j> = [* 0*0-0*0-0*1-1*0, 0*0+0*0+0*0-1*1,
  0*+0*00*-0*0, 0*0+1*00*-*0*] by Def9
    .= [*zz,-jj,zz,zz*]end;
  then <j> * <k> + <
    .= 0 by Lm6;
  hence thesis by Def7;
end;

theorem
  <k> * <i> = - <i> * <k>
proof
A1: <i> = [*zz,jj,zz,A1: z  0;then
  then
A2: <k> * <i>A2 Rea z= 0by Lm6,Th16;
  0*0+0*0+1*1-0*0, 0*0+1*0+0*0-0*1A3:Im1 z = 0 by A1,Lm6,Th16;
    .= [*zz,java.lang.StringIndexOutOfBoundsException: Range [5, 14) out of bounds for length 5
  <i> * <k> = [* 0A2 m  *m1,2m,m4*and
  *+*+*-*,0100+0-0* A1,Def9
    .= [*zz,zz,-jj,zz*];
  then k  i>+ <i> * <>=[00001 100]by A2,ef6
    .= 0 by Lm6;
  hence thesis by Def7;
end;

definition
  let z be Quaternion;
  func Rea z -> Number means
  :Def12:A6: y =[*y1,2,3,y4*and
  ex z9 being Complex st z=z9 & it = Re z9 if z in COMPLEXx + java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 51
  ex f being Function of 4,REAL st z=f & it =f;
  existence
  proof
    thus z in COMPLEX implies ex IT being Number,
    z9 z=z9  IT  Re z9
    proof
      assume z  COMPLEX;
      then consider r,s being Element A13: x= x2byA5Th16java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
A1:   z = [*r,A16 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
       x=x3  A5Th16java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      take Re z9,z9;
s byA1;
    end;
    assume
A2: not z in COMPLEX;
    z in QUATERNION by Def2;
    java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 70
    x.2=0 & x.3=0} by A2,XBOOLE_0:def 3;
   reconsiderf = z asFunction of 4, REAL by FUNCT_2:66;
    take f.0, f;
    thus thesis;
  end;
  uniqueness;
  onsistency;
  func Im1 z -> Number means
  :Def13:
  ex z9 being Complex st z=z9endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
  ex fbeingFunction of4,EAL z  f&=f.;
  existence
  proof
    thus z in COMPLEX implies ex IT being Number,
    z9 being Complex st z=z9 & IT = Im z9
    let xyz Quaternion    end
      assume z in COMPLEX z=x in COMPLEX;
      then rs Element of REAL such that
 z =[*,s* by ARYTM_0:;
     setz9[*s*;
      take Im ,z9;
      thus:x+ *1x22x3+,x4byDef6
    ;
    assume
A4: not z in COMPLEXtake f., ;
ERNIONby
enz  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 70
    x.2e
    then reconsider f = z as Function of 4,    z  COMPLEXi exIT  java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
    take f.1, f;
    thesis;
  end;
  uniqueness;
  consistency;
  func Im2 z -> Number means
  :Def14:
  it = 0 if z in COMPLEX otherwise
  exend;
  existence
  proof
    thus z in COMPLEX A4: not  in java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
    assume
A5:notzin COMPLEX;
    z in QUATERNION by Def2;
    then z in Funcs(4,REAL) \ { x where java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 40
    x.2=0 & x.3=0} by A5,XBOOLE_0:def 3;
        takef., f;
    take f.2thusthesis
    thus thesis;
  end;
  uniqueness;
  consistency;
  func Im3 z - Number meansA11:Im3 x = x4by A2,Th16;
  ::
  it = 0 if z in COMPLEX otherwise
 4,REAL stz   it=.3
  existence
  proof
    thus z in COMPLEX impliesp
    assume
A6: not z in COMPLEX;
    z in QUATERNION by Def2;reserve x for Real;
    then z in Funcs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
    x.2=  x.=}by A6,XBOOLE_0:def  3;
    then reconsider f = z as Function of 4, REAL by FUNCT_2:66;
    take f.3, f;
    thus thesis;
  end;
  uniqueness;
  consistency;
end;

registration
  let z be Quaternion;
  cluster Rea z -> real;
  coherence
  proof
    per cases;
    suppose z in COMPLEX;
      then ex z9 being Complex st ( z = z9      
      hence thesis;
    end
    suppose not z in COMPLEX;
      then ex f being Function of 4,REAL st ( z = f)&( Rea z = f.0) by Def12;
      hence thesis;
    end;
  end;
  cluster Im1 z -> real;
  coherence
  proof
    per cases;
    suppose z in COMPLEX;
      then ex z9 being Complex st ( z = z9)&( Im1 z = Im z9) by Def13;
      hence thesis;
    end;
    suppose not z in COMPLEX;
      then ex f being Function of 4,REAL st ( z = f)&( Im1 z = f.1)      nsider a = f.,b f.   ., d = f. Element of REAL
      ence thesis;
    end;
  end;
  cluster Im2 z -> real;
  coherence
  proof
    per cases;
    suppose z in COMPLEX;
      hence thesis by Def14;
    end;
    suppose not z in COMPLEX
      then ex f being Function ofA1:z1 =x
      hence thesis;
    end;
  end;
  cluster Im3 z -> real;
    - Im3z1 *Im3 <>byLm17;
  proof
    ;
    suppose z in COMPLEX;
      hence thesis by Def15;
   end;
    suppose not z in COMPLEX;
      thenex f being Function of REAL st ( z =f&(Im3 z  f.)by Def15;
      -Im2 z1*Im1 <>by Lm17;
    end;
  end;
end;

theorem Th15:
  for f being Function of 4,REAL ex a,b,c,d st f = (0,1,2,3)-->(a,b,c,d)
proof
  let f be Function   let f be Function ofnt of REAL;
  reconsider a = f. reconsider a9 =, b9 = b as lement  REAL;
       y:1
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 15
  dom f = {0,1,2,3} by CARD_1:52,FUNCT_2:def 1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 7
  hence   Im1 (z1*<j> =0 & Im2 z1*j> =  ;
end;

Lm7: for a,b being Element of REAL holds java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 5
proof let a,b be Element of *Rea- z1Im1jIm2 >
  reconsider a9 =a, b9 = b as Element of REAL;
  thus Re [*,b*] = a proof percases;
    suppose b = 0;
      then [*a,b*] = a by ARYTM_0:def 5;
      hencethesis by:def1=implies Rea z1*k> 0&
    end;
    suppose b <> 0;
      then
A1:   [*a,b*] = (0,1)-->(a9,b9) by ARYTM_0:def 5;
      java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      not [*A2: Rea (z1 *
a2:   not [*a,b*] is realLm8-z1  kby 
      f.0A3:Im1 z1 * <k>) = Rea z1 * Im1 <k> + Im1 z1 * Rea <k> + java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 19
      hence thesis by a2,COMPLEX1:def 1;
    end;
  end;
  per casesjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
  suppose
A3: b = 0;
    then [*,b*] = a byARYTM_0:def 5
    hence thesis by A3,COMPLEX1:def 2;
    then Im
  suppose b <> 0;
    then
A4: [*a,b*] = (0,1)-->(a9A 9=[xy1*y2,*** Def20
    java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 68
    not [*a,b*] in REAL by A4,ARYTM_0:8; then
a5:  *a,b* isreal by XREAL_0:def 1c;
    f.1java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
    hence thesis by a5,COMPLEX1:def 2;
  end
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43

Lm8: for z being Complex holds [*Re z, Im z*] = z. [*0z,*;
proof
  let z be Complex;
A1:zin COMPLEX java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 14
  per cases;
  suppose
A2:  in x+i  [x+,,0,*
    then Im z bA7,.x0*
    hence [*Re z, Im z*] = Re z by ARYTM_0:def 5
      .z byA2,OMPLEX1ef1
  end;
  suppose
A3 02)-(,bc,)byA13;
a3: not z is real by A15: Rea z = a by A10,A14,FUNCT_4:142;
    then
A4: ex f being Function of 2,REAL st ( z    ReaA16 Im1z bbyA14,:41java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
) Rez f.)bya3
COMPLEX1:def 1;
    consider a,b being Element of REAL such that
A6: z = (0,1)-->(a,b) by A4,COMPLEX1:2;
A7:Re z :63java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A8: Im z = b by A4,A6,FUNCT_4:63;
    z in Funcs(2,REAL) \ { x where x is;
by A13,:50,:def 2XBOOLE_0:ef 3java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    then
A9:notz   xwhere  is Element of Funcs2REAL):x1=0
     XBOOLE_0def ;
    reconsider f = z as Element of Funcs(2,REAL) by A6,CARD_1:50,FUNCT_2:8;
    f. <>  by A9;
    then b <> 0 by A6,FUNCT_4:63;
    hence thesis by A6,A7,A8,ARYTM_0:def 5;
  end;
endof

theorem Th16  let c beQuaternion;
  ,b,,d*:0  *n,,0]byjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 51
  Im2 [*a,b,c,d*] =that
proof
  reconsider aa = a, bb = b, c9 = c, d9 java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 23

  thus Rea [*a,b,c,d*] = a
  
    per cases;
    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
      then
A1:   [*a,b
       - java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 30
      hence thesis by A1,Def12;
    end;
    suppose c <  or dcoherence
      then
A2:   [* *0,]=*,*java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      then reconsider f = [*a,b,c,d*] as
A3:   not [*a,b,c,d*] in COMPLEX by A3:   not [*a,b,c,d*] in COMPLEX by A2by Def20
      A2: z1*z2=[*In(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      hence thesis by A3,Def12;
    end;
:<=[y12y,]&
  thus Im1 [*a,b,
  proof
    per cases;
    suppose c = 0 & d = 0;
      then
A4:   [A5<> *1y,3y4*&
      Im [*aa,bb*] = b by Lm7;
      hence thesis A4: 0 <= cA z1k>= [z1*y1z1*21*,z1*4*  Def20
    end;
    suppose c <> 0 or d <> 0;
      then
1,3 - aa,bb,,d9d9)by Def5;
      then reconsider f = [*a,b,c,java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 4
A6:   not [*theorem
      f.   byA5,FUNCT_4:;
        Im1 z1   &Im1 z2 hence by45
    end;
  end;
  thus Im2 [*a,b,c,d*] = c
  proof
    cases;
    suppose
A7:   c = 0 & d = 0;
      then [*,b,c,*]=[*athen   c^2+^  A5,SQUARE_1:12XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
hence thesis y A7,ef14;
    end;
    suppose c <proof
      then
a,,c,d* = 0,1,2,3) -->(aa,bb,,d9) by Def5;
      then reconsider f = [*a,b,c,d*] as Function of 4, REAL by CARD_1:52;
A9A2:z1*2=
      f.2 = c by A8,FUNCT_4:140;
      hence thesis by A9,Def14;
    end
  end;
  per cases    hence contradiction   (Rea z1 * Im1 z2 + Im1 z1 * Rea z2 +Im2z1 * Im3 z2 - Im3 z1 * Im2 z2)*<i> +
  suppose
A10: c =   endend;
    then [*a,b,c,d*] = [*
    hence thesis by A10,Def15;
  end;
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 27
    hen
A11: [*a,b,c,d*] = (0,1,2,3) --> (aa,bb,c9,d9) by Def5;
onsiderf  [*end;
A12: not [*a,b,c,d*] in COMPLEX by A11,Th4;
A3:0=theoremTh19:
    hence   z=0 &Im1z = 0 &Im2 z =   Im3 z = 0 implies z     eaz1*ea +0 [Reaz1 Reaz2+1,2y3,*]by Def18;
  end    reconsider RR = Rea z1 * Rea z2, zz = 0 as  assume that
end;

reserve z,z1,z2,z3,z4 for Quaternion;

theorem Th17j *,0,* java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 4
  z java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof
A1: z

  suppose
A2: z in COMPLEX;
    . z1 +-+(m1 z1 +Im1(z2)*i +
A3: Im2 z = 0 by Def14;
:Im3=0by A2,ef15;
A5: ex z9 being Complex st ( z = z9)&( Rea z = Re z9) by A2,Def12.=Rea  +-Rea +(m1z1 -Im1 *i>+
 z9  Complex such that
A6: z = z9 and
A7: Im1 z = Im z9 by A2,Def13;
    reconsider Rz = Rea z (m2 z1  -Im2 z2)*j>+(m3 z1 +Im3  Th34
    [*Rz, Imz*] =      =(:z=m   + java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 22
    hence thesis by A3,A4,A6,Lm3;
  end;
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 4
A8: not z in COMPLEX;
    then
A9: ex f being Function of 4,REAL st ( z = f)&( Im1 z = f.1) Rea(z1 - z2) = Rea z1 - Rea z2 & Im1(z1 - z2) = Im1 z1 - Im1 z2 =Rea z1 -Rea 2&Im1(1-z2)=Im1 z1 -Im1 z2 &
A10: ex f being unction  of ,REAL st (z  f)&( Rea z  .)A8Def12;
A11: ex f being Functionproof
A12: ex f being Function of 4,REAL st ( z = f)&( Im3 z = f.3) by A8,Def15;
    consider a,b,c,d being Real such that
A13: z = (0,1,2,3)-->(a,b,c,d) by A9,Th15;
    reconsider a,b,c,d as Element of REAL by XREAL_0:def 1;
A14: z = (0,1,2,3)-->(a,b,c,d) by A13;
A15: Rea z = a by A10,A14,FUNCT_4:142;
A16:Im1 =  1;
A17onsider x1,2x3,4,y1,2,y  Realsuch that
( - Im2 z2)j +(Im3 z1 -Im3 z2)*by then
    z in Funcs(4,REAL) \ {   z1 -z2 =[  z2, java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 47
    x.2 = 0 & x.3 = 0} by A1,A8,XBOOLE_0:def 3;
    then
A19: not z in { x where x is Element of Funcs(4,REAL):
    x.2 = 0 & x.3 = 0} by XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    reconsider f = z as Element of Funcs(4,REAL) by A14,CARD_1:52,java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 31
;
    then c <> 0 or d <> 0 by A14,FUNCT_4:139,140;
    henceend;
  end;
;

theorem   letz Quaternion
  Rea z1 = Rea z2 & Im1 z1 = Im1 z2 & Im2 z1 = Im2 z2 redefinefuncz*-of
  A8: R n = n1 by A3,Th16;
proof
  assume that
A1: Rea z1 =A9: Rea x ;
A2: Im1 z1 = Im1 A10:Rea  = y1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A3 Im2 z1 = Im2 z2 and
4 z1 = Im3 z2;
  thus z1 =* ,Im1 2,Im2z2Im3z2]by A1A2,A4,Th17
    .= z2 by Th17;
end;

definition
  func 0q -> Quaternion equals
  ;
  coherence by Lm6;
  func 1q  +(Im2 z*j>+(Im3 z)*<k by Def20
  ;
  coherence
  proof
    [*1,:Im2 y =   [*-m2 z)*,(-m2 z)0(-m2 )*1(-m20* (z*>
    hence thesis by ARYTM_0:def 5;
  end;
end;

Lm9: for a b,c,d  Real st a2+b^ + 2+d^2
a = 0 & b = 0 & c = 0 & d = 0
proof
  let a, b, c, d be Real;
  assume
A1: a^2 + b^2 + c^2 + d  + *0,0,0(-m3 z)* by 
A2    =[*Rea z+0,-Im1 z+,+-m2 z),+0*] [*,,,-m3 z)*by Def6
A3: 0 <= b^2 by XREAL_1:63;
A4: 0 <= c^2 by XREAL_1:63;
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 27
  assume
A6:a >0or b <> 0 or c <> 0 or d <> 0;
  per cases by A6;
  suppose a <> 0;
    then 0 < a^2 + b^2 by A3,SQUARE_1:12,XREAL_1:34;
    contradictionby A1,A4,A5;
  end;
  suppose b <> 0;
        0< a^ +b^2java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
     hence contradiction byA1,4A5;
  ;*2)
  suppose c <> 0;
    then 0 < c^2 + d^2 by A5,SQUARE_1:12,XREAL_1:34;
    then 0 < (a^2 + b^2) + (c^2 + ( -* z1 Im1)- 1-) (z*
    hence contradiction by A1;
  Rea z*Im2z2+z1 z2+Im3 z1  z2  Im1 z1 * m3 z2 
  suppose d > 0;
    then 0 < c^2 + d^2 by A4,SQUARE_1:12,XREAL_1:Rea z1   z2,- z1z1+m1 z2,
    then 0 < (  (, -( *java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 11
    Rea z1 z2 + Im1z1 *Rea z2* by 
    hence java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 21
end;

theorem Th19:
   z =0&Im3 z=0implies = 0q
proof
  assume that
A1: Reahence thesis by java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
A2: Im1 z = 0 and
A3: Im2 z = 0 and
A4: java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A5:Rea    *,00*  A1,h16;
A6: Im1 z = Im1 [*0,0,0  Im1 (z1+z2 +z3  z4)=Im1 z1 +Im1z2  Im1 z3 + Im1 z4 &
A7:   Im2 (z1 + z2 + z3 + z4) = Im2 z1 + Im2 z2 + Im2 z3 + Im2 z4 &
Im3 z = Im3 [*0,0,0,0*] by A4,Th16;
  hence thesisproof
end;

theorem
 z =0 java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 63
proof
  assume
A1: z = 0  Im3 z1 +Im3 z2 +Im3z3+Im3    z1)(Im3z2 - z1*-Im2 ),
A2:  Rea z1)(-Im2z2  R z2*-Im2 z1) 
A3: Im1 z = 0 by A1,Lm6,Th16;
  Im2 z = 0 by A1,Lm6,Th16;
  R z1)*-Im3 z2)+(-Im3z1)*Rea z2) +
end;

theorem
  (Rea z)^2 + (Im1 z)^2 +(Im2 z)^2 + (Im3 z)^2 = 0 implies z = 0q
proof
  assume
A1:(Rea z)^A1: (Rea z)^2
  then
A2: Rea zjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A3: Im1  =  by A1,Lm9;
A4(m2* z2)Im3z1* )
  Im3 z = 0 by A1,Lm9;
  hence byA3A4,;
end;

Lm10: [*jj,zz,zz,zz*] = 1
proof
  [*1,0,0,0*] = [*jj,zz*] by Lm3;
  hence thesis by ARYTM_0:def 5;
end;

theorem
  Rea (1q) = 1 & Im1(1q) = 0 & Im2 (1q) = 0  Im1  Im1z1*Im2z2)-( )*m1  ;
 by java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

theorem Th23:
  z*>  z1Reai -java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 75
proof
  [*zzjj* = *,,0,0*] by Lm3;
  hence thesisby Lm2=ea *z2 -   z2 Im2 java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 78
end;

theorem Th24:

  Rea <k> = 0 & Im1 <k> = 0 & Im2 <k> = 0 &  -Im1 z1     =Rea z1*ea 2-Im1 z1*Im1 -m2 z1 *m2  Im3 java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 78
 by Th16;

Lm11: for m,n,x,y,z being Quaternion-Im2*Im2z2 Im2z1  +Im3 z1*m1z2 Im1z1 *m3 ,
holds Rea z = Rea m +Rea n +Rea x + Rea y &
Im1 z = Im1 m + Im1 n + Im1 x + Im1 y &
Im2 z = Im2 m + Im2 n + Im2 x + Im2 y & Im3 z = Im3 m + Im3 n + Im3 x + java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
proof
  let m,n,x,y,z be Quaternion such that
A1: z = m (Reaz1*  z1*z2+m3 z1 Im1z2  Im1 z1,
  consider m1,m2,m3,m4,n1,n2,n3,n4 java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 5
A2: m = [*m1,m2,m3,m4*] and
A3: n = [*n1,n2,n3,n4*] and
A4: m + n = [*m1+n1,A1: z1  x;
 A2  *<>)=ea * Rea <j>-Im1 z1*Im1< <j>- Im2  z1* Im2<>>
A5: x = [*x1,x2,x3,x4*] and
A6: y = [*y1,y2,y3,y4*] and
    x + y = [*x1+y1, x2+y2, x3+y3, x4+y4*] by Def6;
A7: Rea m = m1 by A2,Th16;
A8: Rea n = n1 by A3,Th16;
A9: Rea x = x1 by A5,Th16;
A10: Rea y = y1 by A6,Th16;
A11: Im1 m = m2 by A2,Th16;
A12: Im1 n = n2 by A3,Th16;
A13: Im1 x = x2 by A5,Th16;
A14: Im1 y = y2 by A6,Th16;
A15: Im2 m = m3 by A2,Th16;
A16: Im2 n = n3 by A3,Th16;
A17: Im2 x = x3 by A5,Th16;
A18: Im2 y = y3 by A6,Th16;
A19: Im3 m = m4 by A2,Th16;
A20: Im3 n = n4 by A3,Th16;
A21: Im3 x = x4 by A5,Th16;
A22: Im3 y = y4 by A6,Th16;
  m+n+x =[*m1+n1+x1, m2+n2+x2, m3+n3+x3, m4+n4+x4*] by A4,A5,Def6;
  then z = [*m1+n1+x1+y1, m2+n2+x2+y2,
  m3+n3+x3+y3, m4+n4+x4+y4*] by A1,A6,Def6;
  hence thesis by A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19,A20,A21,A22
,Th16;
end;

Lm12: for x,y,z being Quaternion st z = x + y
holds Rea z = Rea x + Rea y & Im1 z = Im1 x + Im1 y &
Im2 z = Im2 x + Im2 y & Im3 z = Im3 x + Im3 y
proof
  let x,y,z be Quaternion such that
A1: z = x + y;
  consider x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
A2: x = [*x1,x2,x3,x4*] and
A3: y = [*y1,y2,y3,y4*] and
A4: x + y = [*x1+y1, x2+y2, x3+y3, x4+y4*] by Def6;
A5: Rea x = x1 by A2,Th16;
A6: Rea y = y1 by A3,Th16;
A7: Im1 x = x2 by A2,Th16;
A8: Im1 y = y2 by A3,Th16;
A9: Im2 x = x3 by A2,Th16;
A10: Im2 y = y3 by A3,Th16;
A11: Im3 x = x4 by A2,Th16;
  Im3 y = y4 by A3,Th16;
  hence thesis by A1,A4,A5,A6,A7,A8,A9,A10,A11,Th16;
end;

Lm13: z1 + z2 = [* Rea z1 + Rea z2, Im1 z1 + Im1 z2,
Im2 z1 + Im2 z2, Im3 z1 + Im3 z2 *]
proof
  set z = [*  y19 by A2,A4,Th5;
  Im2 z1 + Im2 z2, Im3 z1 + Im3 z2 *];
  reconsider z9 = z1 + z2 as Quaternion;
A1: Rea z = Rea z1 + Rea z2 by Th16
    .= Rea z9 by Lm12;
A2: Im1 z = Im1 z1 + Im1 z2 by Th16
    .= Im1 z9 by Lm12;
A3: Im2 z = Im2 z1 + Im2 z2 by Th16
    .= Im2 z9 by Lm12;
  Im3 z = Im3 z1 + Im3 z2 by Th16
    .= Im3 z9 by Lm12;
  hence thesis by A1,A2,A3,Th18;
end;

Lm14: for x,y,z being Quaternion st z = x * y
holds Rea z = Rea x * Reay - Im1 x *Im1y- Im2 x * Im2 y - Im3 x * Im3 y &
Im1 z = Rea x * Im1 y + Im1 x * Rea y + Im2 x * Im3 y - Im3 x * Im2 y &
Im2 z = Rea x * Im2 y + Im2 x * Rea y + Im3 x * Im1 y - Im1 x * Im3 y &
Im3 z = Rea x * Im3 y + Im3 x * Rea y + Im1 x * Im2 by A2,A4,h5
proof
  letx,yzbeQuaternion such that
A1: z = x * y;
  consider x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
A2: x = [*x1,x2,x3,x4*] and
A3: y = [*1,y2y3y4* and
A4: x * y = [* x1*y1-x2*y2-x3  end;
  x1*y3+y1*x3+y2*x4-y4*x2, x1*y4+x4*y1+x2*y3-x3*y2 *] by Def9;
A5: Rea x = x1 by A2,Th16;
A6: Rea y = y1 by A3,Th16;
A7: Im1 x = x2 by A2,Th16;
A8:Im1 y  = y2  by A3 A3,Th16;
A9: Im2 x = x3 by A2,Th16;  cluster x+9 - quaternion;
A10: Im2 y = y3 by A3,Th16;
A11: Im3 x = x4 by A2,Th16;
  Im3 y = y4 by A3,Th16;
  hence thesis by A1,A4,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 7
end;

Lm15: z1 +z2 +z3 +z4 = [* Rea z1 +Reaz2+ Rea z3 +Rea z4,
Im1 z1 + Im1 z2 + Im1 z3 + Im1 z4, Im2 z1 + Im2 z2 + Im2 z3 + Im2 z4,
Im3 z1 + Im3 z2 + Im3 z3 + Im3 z4 *]
proof
  set z = [*   :y<>= **0y*,*,y**by Def20
    .. [y,00*java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  Im3 z1 + Im3 z2 + Im3 z3 + Im3 z4 *];
    .[*0,0z0*]java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
:Rea z=Reaz1 +Reaz2 +z3+Rea z4 by Th16
    .= Rea z9 by Lm11;
A2: Im1 z = Im1 z1 + Im1 z2 + Im1 z3 + Im1 z4 by Th16
    .= Im1 z9 by Lm11;
A3: Im2 z = Im2 z1 + Im2 z2 + Im2 z3 + Im2 z4 by Th16
    .= Im2 z9 by Lm11;
  Im3 z = Im3 z1 + Im3 z2 + Im3 z3 + Im3 z4 by Th16
    .= Im3 z9 by Lm11;
  hence thesis by A1,A2,A3,Th18;
end;

Lm16: z1 * z2 =
[*Rea z1 * Rea z2 - Im1 z1     . [0,00w*]
Rea   m1  Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2,
Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2,
Rea  *Im3 z2 + Im3 z1 * Rea z2+ Im1 z1 *Im2  - Im2 z1 *Im1 z2 *
proof
  set z =
[*ea z1 *z2-Im1 *Im1 z2-Im2  * m2 z2 -Im3 z1*Im3 z2,
  Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2,
  Rea z1 * Im2 z2 end;
  Rea z1 * Im3 z2 +java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 asQuaternionjava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 47
  Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2 by Th16
    .= Rea z9 by Lm14;
A2: Im1 z = java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
  Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 by Th16
    .=Im1 z9 by Lm14;
A3: Im2 z = Rea z1 * Im2 z2 + Im2 z1 * Rea z2 +
  Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2 by Th16
    .= Im2 z9 by Lm14;
  Im3 z =Rea z1  Im3 z2 +Im3 z1*Rea  +
  Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2 byproof
    . z9byLm14;
  hence thesis by A1,A2,A3,Th18;
end;

Lm17  byLm19java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2 &
Im1 (z1 * z2) =
Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 &
Im2 (z1 * z2) =
Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2 &
Im3 (z1 * z2) =
Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2
proof
  z1 * z2 =
  [*Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2,
  Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2,
  Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2,
  Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2 *]
  by Lm16;
  hence thesis by Th16;
end;

theorem
  Rea (z1 + z2 + z3 + z4) = Rea z1 + Rea z2 + Rea z3 + Rea z4 &
  Im1 (z1 + z2 + z3 + z4) = Im1 z1 + Im1 z2 + Im1 z3 + Im1 z4 &
  Im2 (z1 + z2 + z3 + z4) = Im2 z1 + Im2 z2 + Im2 z3 + Im2 z4 &
  Im3 (z1 + z2 + z3 + z4) = Im3 z1 + Im3 z2 + Im3 z3 + Im3 z4
proof
  (z1 + z2 + z3 + z4) = [* Rea z1 + Rea z2 + Rea z3 + Rea z4,
  Im1 z1 + Im1 z2 + Im1 z3 + Im1 z4, Im2 z1 + Im2 z2 + Im2 z3 + Im2 z4,
  Im3 z1 + Im3 z2 + Im3 z3 + Im3 z4*] by Lm15;
  hence thesis by Th16;
end;

 reserve x for Real;

Lm18: z = x implies Rea z = x & Im1 z = 0 & Im2 z = 0 & Im3 z = 0
proof
  assume
A1: z = x;
   reconsider xx=x, zz=0 as Element of REAL by XREAL_0:def 1;
A2: x = [*xx,zz*] by ARYTM_0:def 5;
  [*xx,zz*] = [*x,0,0,0*] by Lm3;
  hence thesis by A1,A2,Th16;
end;

theorem
  z1 = x implies Rea (z1*<i>) = 0 &
  Im1 (z1*<i>) = x & Im2 (z1*<i>) = 0 & Im3 (z1*<i>) = 0
proof
  assume
A1 z1  x
A2: Rea (z1 * <i>) = Rea z1 * Rea <i> - Im1 z1 * Im1   z=-Rea z+ (-Im1 z)<i>+ (-- z)*k> by Lm24;
  - Im3 z1 * Im3 <i> by Lm17;
A3: Im1 (z1 * <i>) = Rea z1 * Im1 <i> + Im1 z1 * Rea <i> + Im2 z1 * Im3 <i>
  - Im3 z1 * Im2 <i> by Lm17;
A4: Im2 (z1 * <i>) = Rea z1 * Im2 <i> + Im2 z1 * Rea <i> + Im3 z1 * Im1 <i>
  - Im1 z1 * Im3 <i> by Lm17;
  Im3 (z1 * <i>) = Rea z1 * Im3 <i> + Im3 z1 * Rea <i> + Im1 z1 * Im2 <i>
  - Im2 z1 * Im1 <i> by Lm17;
  hence thesis by A1,A2,A3,A4,Lm18,Th23;
end;

theorem
  z1 = x implies Rea (z1*<j>) = 0 &
  Im1 (z1*<j>) = 0 & Im2 (z1*<j>) = x & Im3 (z1*<j>) = 0
proof
  assume
A1: z1 = x;
A2: Rea (z1 * <j>) = Rea z1 * Rea <j> - Im1 z1 * Im1 <j> - Im2 z1 * Im2 <j>
  -Im3 z1 *Im3 j
A3: Im1 (z1 * <j>) = Rea z1 * Im1 <j> + Im1 z1 * Rea <j> + Im2 z1 * java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 50
  - Im3 z1 *Im2 <j> byLm17;
A4: Im2 (z1 * <j>) = Rea z1 * Im2 <j> + Im2 z1 * Rea <j> + Im3 z1 * Im1 <j>
  - Im1 z1 * Im3 <j> by Lm17;
   <j> + Im1 z1 * <java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
-Im2z1 *Im1 j byLm17java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
  hence thesis by A1,A2,A3,A4,Lm18,Th24;
end;

theorem
  z1 = x implies Rea (z1*<k>) = 0 &
  Im1 (z1*<k>) = 0 & Im2 (z1*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
  assume
A1: z1 = x;
  Im2( +') =0&Im3(z+*')= 0
  - Im3 z1 * Im3 <k> by Lm17;
A3: Im1 (z1 * <k>) = Rea z1 * Im1 <k> + Im1 z1 * Rea <k> + Im2 java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 47
  - Im3 z1 * Im2 <k> by Lm17;
A4: Im2 (z1 * <k>) = Rea z1 * Im2 <k> + Im2 z1 * Rea <k> +   then z + z*' = [*Rea z+Rea z, Im1 z+ -Im1 z, Im2 z+ -Im2 z, Im3z*java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  - Im1 z1 * Im3 <k> by Lm17;
  Im3 (z1 * <k>) = Rea z1 * Im3 <k> + Im3 z1 * Rea <k> + Im1 z1 * Im2 <k>
  - Im2 z1 * Im1 <k> by Lm17;
  hence thesis by A1,A2,A3,A4,Lm18,Th24;
end;

definition
  let x be Real, y be Quaternion;
  consider y1,y2,y3,y4 being Real such that
A1: y = [*y1,y2,y3,y4*] by Th2;
  func x + y -> Number means
  :Def18:
  ex y1,y2,y3,y4 being Real st y = [*y1,y2,y3,y4*] &
  it = [*x+y1,y2,y3,y4*];
  Lm23:0*i> =0& 0<j>= 0&0*  java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    set z1=0, z2 =<i;
    take [*x+y1,y2,y3,y4*];
    thus thesis by A1;
  end;
  uniqueness
  proof
    let c1,c2 be Number;
    given y1,y2,y3,y4 being Real such that
A2: y = [*y1,y2,y3,y4*] and
A3: c1 = [*x+y1,y2,y3,y4*];
    given y19,y29,y39,y49 being Real such that
A4: y = [*y19,y29,y39,y49*] <j  *java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 28
A5: c2 = [*x+y19,y29,y39,y49*];
A6:y1  A2,Th5;
A7: y2 = y29 by A2,A4,Th5;
    y3 = y39 by A2,A4,Th5;
    hence thesis by A2,A3,A4,A5,A6,A7,Th5;
  end;
end;

definition
  let x be   z1*<k> = [*z1
  func x - y -> Number equals
  x + -y;
  coherence;
end;

definition
let  be, ;
  consider y1,y2,y3,  *)  z1 *z2 -Im1z1*Im3 &
A1 = *1y2,y4* Th2
  func x * y ->java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
D:
  ex  z1z2 =
  it = [*x*y1( *Rea - Im1 z1 * Im1 z2 -Im2z1  z2-Im3  z2 +
  existence
  
    take [*x*y1,x*y2,x*y3,x*y4*];
   = -Rea ,- , - z,Im3z*
  end;
uniqueness
  proof
    let c1,c2 be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
    given y1,y2,y3,y4 being Real such that
A2: y = [*y1,y2,y3,y4*] and
A3: c1 = [*x*y1,x*y2,x*y3,x*y4*];
      by ,Def6
A4: y=[y19,y29y39,49*java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 16
A5: c2 = [*x*y19,x(z1 *Rea z2)+0q= Reaz1 *Rea bydef5
A6: y1 = y19 by A2,      Lm18,A1
A7: y2 = y29 by A2java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    y3 = y39 by A2,A4,Th5theorem
    hencejava.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 4
  end;
end


  letx 
  cluster x+  z*h 
  coherence
  proof
    ex y1,y2,y3,y4 being Real st z9 = [*y1,y2,y3,y4*] &
    x+z9 = [*x+y1,y2,y3,y4*] by Def18;
    hence thesis;
  end;
  cluster x*z9 -> quaternion;
  coherence
  proof
    ex y1,y2,y3,y4 being Real st z9 = [*y1,y2,y3,y4*] &
    x*z9 = [*x*y1,x*y2,x*y3,x*y4*] by Def20;
    hence x*z9 in QUATERNION;
  end;
  cluster x-z9 -> quaternion;
  coherence;
end;

Lm19: for x,y,z,w being Real
  holds [*x,y,z,w*] = x + y*<i> + z*<j> + w*<k>
proof
  let x,y,z,w be Real;
 <i> = [*zz,jj,zz,zz*] by Lm2,Lm3; then
A1: y*<i> = [*y*0,y*1,y*0,y*0*] by Def20
    .= [*0,y,0,0*];
A2: z*<j> = [*z*0,z*0,z*1,y*0*] by Def20
    .= [*0,0,z,0*];
A3: w*<k> = [*w*0,w*0,w*0,w*1*] by Def20
    .= [*0,0,0,w*];
  x + y* <i> = [*x+0,y,0,0*] by A1,Def18
    .= [*x,y,0,0*];
  then x + y*<A6: ea z = 0by Lm9;
    .= [*x,y,z,0*];
  then x + y*<i> + z*<j> + w*<k> = [*x+0,y+0,0+z,0+w*] by A3,Def6;
  hence thesis;
nd

definition
  let z1,z2 be Quaternion;
  redefine func z1 + z2 -> Element of QUATERNION;
  coherence by Def2;
end;

java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
  (Im2 z1 + Im2 z2)*<jjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
  z1 + z2 = [* Rea z1 + Rea z2, Im1 z1 + Im1 z2,
  Im2 z1 + Im2 z2, Im3 z1 + Im3 z2 *] by Lm13;
  hence thesis by Lm19;
end;

theorem Th29:
  Rea (z1 + z2) = Rea z1 + Rea z2 & Im1(z1 + z2) = Im1 z1 + Im1 z2 &
  Im2 (z1 + z2) = Im2 z1 + Im2 z2 & Im3(z1 + z2) = Im3 z1 + Im3 z2
proof
  (z1 + z2) = [* Rea z1 + Rea z2, Im1 z1 + Im1 z2,
  Im2 z1 + Im2 z2, Im3 z1 + Im3 z2*] by Lm13;
  hence thesis by Th16;
end;

definition
  let z1,z2 be Quaternion;
  redefine func z1 * z2 -> Element of QUATERNION;
  coherence by Def2;
end;

Lm21: z1*z2 =
 (Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2) +
  (Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2)*<i> +
(Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2) *<j> +
  (Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2)*<k>
  proof
    z1 * z2 =
    [* Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2,
    Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2,
    Rea z1 * Im2 z2 + Im2 z1* Rea z2 +Im3 z1*Im1 z2 - Im1 z1* Im3 z2,
    Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1* Im1 z2 *]
    by Lm16;
    hence thesis by Lm19;
end;

theorem
z z z)*<i> + (Im2 z)*<j> + (Im3end
proof
  [*Rea z, s< qbyA1Th3
  hence thesis java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4

forcQuaternion c0=java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
proof
end
A1: 0q = [*In(0,REAL),In(0,java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 0
    .= [*0java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 36
A2: c = [*x,y,w,z*] by Th2;
  c + 0q *x+,+,+,+0*by A1,2,ef6
    .=A1 =  by ;
  hence thesis < ;
end;

Lm23: 0*i>= 0 & 0*j>=0&0<>= 0
let a,,c Real;
  set z1 = 0hjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
  .r,r. {}
:i  *1,,y3]
  z1*z2 java.lang.StringIndexOutOfBoundsException: Range [2, 0) out of bounds for length 0
(,,(,* end
  y1,,,beingsuchthat
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  z1*<jna a  <aa<r
A4z1*jk> -;
  consider y1
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 z1*k>=[z1*,z1*,z1z1  z2)*'=java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
  ,In0R)* ,Lm3.= 0by :
  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 24
end;

theorem
  Im1 z1 = 0 & Im1 z2 = 0 & Im2 z1 = 0 & Im2 z2 = 0 &
   z1=0&Im3z2= 0  Rea(z1*2)= Reaz1 *Reaz2 java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  Im1(z1*z2) = Im2 z1 * Im3 z2 - Im3 java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 10
  Im2(z1*z2) = Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2 &
  Im3(z1*z2) = Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2
proof
  assume A1: Im1 z1 = 0 & Im1 z2 = 0 & Im2 z1 = 0 & Im2 z2 = 0 &
       Im3  =0&Im3 z2 =0
A2:z1z2 =
  (Rea z1 * Rea z2 - Im1   -(Im2 z1 + m2z2), -( z1 + Im3 z2)*] by   - (Im2 z1 + Im2 z2), - (Im3 z1 + Im3 z2)*] by Th29
  (Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 4
 (Rea z1 *Im2z2+ Im2 z1 * ea z2+ Im3z1*Im1 z2  -Im1 z1 * Im3 
  (Rea z1 * Im3 z2 + Im3   (Rea z1 * Im3 z2 + Im3 z1Real holds cz2)* yTh29
    by Lm21
    .= Rea z1 * Rea z2 + 0q + 0q by Lm22,Lm23,A1
ea  *Rea z2) + 0q by Lm22;
    consider y1,,y3,4 being Real such that
A3: 0q = [*y1,y2,y3,y4*] &
    Rea *Rea  +q *Rea *Rea )+,y2y,*]by ;
    reconsider RR = Rea z1 * Rea z2, zz = 0 as java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 36
          by XREAL_0:def 1;
    y1 = 0 & y2 = 0 & y3 = 0 & y4 = 0 by Th5,A3,Lm6; then
    (Rea z1 * Rea z2) +0q=[*R,* A3Lm3;then
    (Rea z1 *   Im2 z1+2,-(Im3 z1 +z2)]by ;
    java.lang.StringIndexOutOfBoundsException: Range [16, 9) out of bounds for length 31
end;

theorem
  Rea z1 = 0 & Rea
  Rea(z1*z2) = - Im1 z1 * Im1 z2 - Im2 z1   -z)*  -z
  Im1(z1*z2) = Im2 z1 * Im3 z2 - Im3 z1 * Im2proof
  Im2(z1*z2) = Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2 &
  Im3(z1[Rea -,-m1 -z,-m2 -) Im3 -z*  ;
proof
  assume A1: Rea z1 = 0 & Rea z2 = 0;
    Rea (z1 * z2) =
Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2 &
Im1 (z1 * z2) =
Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 &
Im2 (z1 * z2) =
Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 27
Im3 (z1 * z2) =
Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2
  by Lm17;
    thesisbyA1;
end;

java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
  Rea(z*)=(Rea z)2-(Im1z)^2-(z^ -(z)^ &
  Im1(*  *Rea   z  (zz  * *Im2z 
  Im3thenex  stst p<s &s <q 227;
proof
  Rea (z * z) =
    Rea z * Rea z - Im1 z * Im1 z - Im2 z * Im2 z - Im3 z * Im3 z &
  Im1 (z * z) =
    Rea z * Im1 z + Im1 z * Rea z + Im2 z * Im3 z - proof
  Im2 (z * zlett
    Rea z * Im2 z + java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 6
 Th1;
    Rea z * Im3 z;
   
end;

definition
  let z be Quaternion;
  redefine func -z -> Element of QUATERNION;
  Def2;
end;

Lm24: -z = -Rea z + hencethesis by A1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  proof
    set z9 = [* -java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 13
A1: z9 = -Rea 
p<   < qimplies].,s[c= [.q.]
    [* java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      .= [*A3 s<=q;
      [r,.  [.,q
      .= .,. hencejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      .= [* 0, 0,- Im2;
      =[*0, ,0,-z+java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      .=0 by Lm6;
   assume that
end;

theorem Th34:
  Rea(-z) = -(Rea z) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  
proofpq.c=[p,q.]by Th24;
  -z = -Rea z + (-Im1 z)*<i> + (-Im2 z)*<j> + (-Im3 z)*<k> by Lm24; then
-  *-z,-m2z,-m3 z*byLm19;
  hence thesis by Th16;
end;

definition
  ,2be;
inefunc z1 -z2 - Element of QUATERNION;
  coherence by Def2;
end;

-=z1- z2 Im1z1-Im1z2)*i>+
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
    z1 - z2 =Rea z1 + Rea(-2 +Im1 +Im1 (-z2)*i>+
    (Im2 z1 + Im2h p <  by,h53;
      .= Rea  hence thesis by A2,Th3 (-)]by Th35
    (:
      .= Rea z1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    ]pq. c= .pq. y Th23
      . Reaz1  -ea +(Im1z1  Im1 z2)i> +
    (Im2 z1 + -Im2 z2)*<jhencep<r by ,java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
.R z1- z2)+(Im1z1 - Im1 z2Im1 z2)*<i> +
    (Im2 z1 proof
    hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th35:
  Rea(z1 - z2) = Rea z1 - Rea z2java.lang.StringIndexOutOfBoundsException: Range [32, 4) out of bounds for length 4
  Im2hence thesis by A4
proof
z   =  z1-Rea z2 +(Im1z1 -Im1 z2)*<i> +
( z1Im2 j>+  - z2*k>by Lm25; then
  z1 - z2 = [*Rea:r < sand
    java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 26
  hence thesis by Th16;
end;


  letz java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
z*- Quaternion equals
  Rea then java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
coherence;
end;

theorem :: INTEGRA1:6 ??
  let z be Quaternion;
   funcz'- Element QUATERNION;
  coherence;
end;

theorem Th36:
  z <s by A1A,;
proof
 <i>hencethesis  by A3A4,6XXREAL_01
  then z*java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 7
   +-z)<> +-Im3z)* byDef20
    .= :].. .,java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 22
(*,-m2z)0,(-Im2)1,-m2 z)0] +(-z)<k> Def20
    .= Rea t
  [*java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
    .= [*Rea z+0,-Im1 z,0,  suppose
  + [*,0,,(-Im3 z)* by Def18
0,0+-m2 z)0+]+*,0,,-Im3z)]by Def6
    .= [*Rea z+0 < q by A1A3,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  hence thesis;
;

theorem
  Rea (z*') = Rea z & Im1end;
  Im2 (z*') = -Im2 z & Im3 (z*') = -Im3 z
proof
  zjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  hence thesis by Th16;
end;

theorem
  z = 0 implies z*' = 0
proof
  assume
A1: z = 0; then
A22 java.lang.StringIndexOutOfBoundsException: Range [26, 7) out of bounds for length 26
A3: Im1 z = 0 by A1,Lm6,Th16;
A4: Im2 z = 0 by A1,Lm6,Th16;
  Im3 z = 0 by A1,,Th16;
  hence thesis by A2,A3,A4,Lm6,Th36;
end;

theorem
  z*' = 0 implies z = 0
proof
  assume
A1: z*' = 0;
A2: z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z  p <r or <>q by 
A3: Rea z*' = 0 by A1,Lm6,;
A4: Im1 z*' = 0 by A1,Lm6,Th16;
A5: Im2 z*'= 0 by A1,Lm6,Th16;
A6: Im3 *=0by ,,;
A7: Rea z*' = Rea z by A2,Th16;
:I z*'= - z by A2Th16;
A9: Im2 z*'= -Im2 z by A2,Th16;
  Im3 z*' = -Im3 z by A2,  Im3 z*' = -Im3 z by A2,Th16
  hence thesis by A3,A4,A5,A6,A7,A8,A9,Th19;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4


  1q*' = 1q
proof
  [*jj,zz*] = [*1,0,0,0*] by Lm3; then
A1: 1q= [*1,0,0,0*] by ARYTM_0:def 5;
:Rea [*,,zz
A3: Im1 [*jj,zz,zz,zz*] = 0 by Th16;
A4:Im2 [*jj,zz,zz,zz*] = 0 by Th16;
  Im3 [*jj,zz,zz,zz*] = 0 by Th16;
  hence thesis by A1,A2,A3,A4,Th36;
end;

theorem
    suppose
proof
  <>'= [ jj zz,*]by Th23,Th36;
      then  <
end;

theorem
&Im1j>'  0& <jjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
proof
  <j>*' = [*zz,r < s implies [,p. = ].,p[.=[Rea * z2z2(Im1z1*m1 z2)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  hence thesis by Th16;
end;

theorem
  Rea (<k>h*z2  *z2 
proof
 k'=*z,,jj byTh24,
  hence thesis by   assume
end;

theorem
  <i>*' = -<i

theorem
  <j>*' = -<j> by Th24,Lm24;

theorem
  <k>*eore

theorem
  (z1 + z2)*' = z1*' + z2*'
proof
A1: z1*' = [*Rea z1A1java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 4
A2:   t<  A1XXREAL_02;
A3: (z1+z2)*' = [*Rea (z1+z2), -Im1 (z1+z2), -Im2 (z1+z2), -Im3 (z1+z2)*]
  by Th36;
  z1*' + z2*' = [* Rea z1 + Rea z2, - Im1 z1 + - Im1 z2,
  - Im2 z1 + - Im2 z2, - Im3 z1 + - Im3 z2*] by A1,A2,Def6
    .= [* Rea (z1 + z2), - (Im1 z1 + Im1 z2),
  - (Im2 z1 + Im2 z2), - (Im3 z1 + Im3 z2)*] by Th29
    .= [* Rea (z1 + z2), - Im1 (z1 + z2),
   (Im2  +
    .= [* Rea (z1Rea , zz = 0 as  Element of by :def1
-Im2 z1+2) -(Im3 z1  Im3 * byTh29;
  hence thesis by A3,Th29;
end;

mTh48
  (-z)*' = -(z*')
proof
A1: z*' = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  (-z)
thenz'* z-()-2()-()]byTh34
    .= java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    .= [*-Rea z, Im1 z, - - Im2 z, -Im3 (-  -z = -Rea z + (-Im1 z)*<i> + (-Im2 z)*<j> z + (-Im1 z)*<i> + (-Im2 z)*<j> + (-Im3 z)*<k> by Lm24;
    =*-ea z, Im1 z, Im2 z, - -Im3 z*] by Th34
    .= [*-Rea z, Im1 z, Im2 z, Im3 z*];
  then z*' + (-z)*' = [*Rea z+ -Rea z, -Im1 z+ Im1 z,
  -Im2 z+ Im2 z, -Im3 z+Im3 z*] by A1,Def6 .= 0 by Lm6;
  hence thesis by Def7;
end;

theorem
  (z1 - z2)*' = z1*' - z2*'
proof
A1: z1*' = [*Rea z1, -Im1 z1, -Im2 z1, -Im3 z1*] by java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 21
A2: (-z2)*' = [*Rea (-z2), -Im1 (-z2), -Im2 (-z2), -Im3 (-z2)*] by Th36;
A3: (z1-z2)*' = [*Rea (z1-z2), -Im1 (z1-z2), -Im2 (z1-z2), -Im3 (z1-z2)*]
  by Th36;
A4: z1*' - z2*' = z1*' + (- z2)*' by Th48
    .= [*Rea z1+Rea (-z2), -Im1 z1+ -Im1(-z2),
  -Im2 z1+ - Im2 (-z2), -Im3 z1+ - Im3 (-z2)*] by A1,A2,Def6
    .= [*Rea z1+- Rea     .= [*Rea z1+- Rea z2
  -Im2 z1+ - Im2 (-A1: |.z1.| >= 0 by Th;
    .= [*Rea z1- Rea z2, -Im1 z1- - Im1 z2,
   (-z2) Im3  Reaz**)=(z)+ ^+ )+Im3 z)2 &
    .= [*Rea z1- Rea z2, -Im1 z1
  -Im2 z1 - - Im2 z2, -Im3 z1+ - Im3 (-z2)*] by Th34
    . *ea z1-Reaz2,- z1+Im1*z*= &Im2(**)=  (z*  0
  -Im2 z1 + Im2 z2, -Im3 z1 - -Im3 z2*] by Th34
.=* -Rea , Im1 z1+Im1 z2, Im2 z1  Im2 z2,-m3 z1 java.lang.StringIndexOutOfBoundsException: Range [0, 72) out of bounds for length 47
  (z1-z2)*' = [*Rea z1-Rea z2, -Im1 (  2*sqrt((m1^2 + m2^2 + m3^2 + m4^2) *n1^2+n2^ +n3^ +n4^2)by Lm32;
  by A3,Th35
    . *z1Rea ,-Im1 z1-Im1 z2) -m2 (z1-z2), -m3 (z1-z2)]
  by Th35
    = [*ea z1-ea z2, -m1 z1+Im1z2
  -(Im2 z1- Im2 z2), -Im3 (z1-z2)*] by Th35
    .= [*Rea z1-Rea z2, -Im1 z1+ Im1 z2,
  -Im2 z1+ Im2 z2, -(Im3 z1- Im3 z2)*] by Th35;
   thesis by A4;
end;

theorem
  (z1*z2)*' = z1*' * z2*' implies (Im2 z1 * Im3 z2) = (Im3 z1)*(Im2 z2)
proof
  assume
A1: (z1*z2 .   Lm6;
A2: z1*' = [*Rea z1, -Im1 z1, -Im2 z1, -Im3 z1*] by Th36;
A3: z2*' = [*Rea z2, -Im1 z2,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A4: (z1*z2)*' = [*Rea (z1*z2), -Im1 (z1*z2), -Im2 (z1*z2), -Im3 (z1*z2)*]
  by Th36;
A5: z1*' * z2*' = [*(Rea z1)*(Rea z2) - (- Im1 z1)*(- Im1 z2) -
  (- Im2 z1)*(- Im2 z2) - (-Im3 z1)*(-Im3 z2),
  (Rea z1)*(- Im1 z2) + (- Im1 z1)*(Rea z2) +
  (- Im2 z1)*(-Im3 z2) - (-Im3 z1)*(- Im2 z2),
  (Rea z1)*(- Im2 z2) + (Rea z2)*(- Im2 z1) +
  (- Im1 z2)*(-Im3 z1) - (-Im3 z2)*(- Im1 z1),
  (Rea z1)*(-Im3 z2) + (-Im3 z1)*(Rea z2) +
  (- Im1 z1)*(- Im2 z2) - (- Im2 z1)*(- Im1 z2) *] by A2,A3,Def9
    .= [*(Rea z1)*(Rea z2) - (Im1 z1)*(Im1 z2) -
  (Im2 z1)*(Im2 z2) - A1 z1 =[*ea z1 Im1z1 z1,Im3 z1*]by Th17;
  -(Rea z1)*( Im1 z2) - ( Im1 z1)*A:z2 =[* z2z2 Im1  Im2 z2 Im3 z2* by Th17;
  (Im2 z1)*(Im3 z2) - (Im3 z1)*(Im2 z2),
  -(Rea z1)*(Im2 z2) - (Rea z2)*(Im2 z1) +
  (Im1 z2)*(Im3 z1) - (Im3z2)*Im1 z1,
  ) - (Im3 z1*Rea z2 +
  (Im1 z1)*(Im2 z2) - (Im2 z1)*java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 16
A6: (z1*z2)*' =
[*ea  *Rea  - Im1 z1 *Im1  - m2z1 * z2  Im3 z1 *Im3z2java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
  -Im1 (z1*z2), -Im2 (z1*z2), -Im3 (z1*z2)*] by A4,Lm17
    .=[*Rea z1 * Rea z2 - Im1 z1 * Im1 z2 -java.lang.StringIndexOutOfBoundsException: Range [43, 7) out of bounds for length 7
  -(Rea z1 * Im1 z2 + Im1 z1 * Rea   Im2(-z*)=2Im2 z  Im3(z -z*)=2* z
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
*   z1*   z1*Im3java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  -(Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2'=- zby,
-Rea  *Im2  +Im2  *Rea z2  Im3 z1* m1 -Im1 z1  Im3z2),
  -Im3 (z1*z2)*] by Lm17
    .=[*Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 15
  -(Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2then-  *zIm1zIm2zI z  A3,4A5java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
  -(ea z1*m2z2  Im2 +  * *Im3)
  -(Rea z1 * 2(*1 ] A1A1Def6
  by Lm17
    .=[*Rea z1 * Rea z2 - (Im1 z1 * Im1 z2) -
  (Im2 z1 *Im2 z2) -(Im3 z1 * m3z2),
  -(Rea z1 * Im1 z2) - (
  (Im2 z1 * Im3 z2) + (Im3 z1 * Im2 z2),
  -(Rea z1 * Im2 z2) - (Im2 z1 * Rea z2) -
  (Im3 z1 * Im1 z2) + (Im1 z1 * Im3 z2),
   z2) -
  (Im1 z1 * Im2 z2) + (Im2 z1 * Im1 z2)*];
A7: Im1 (z1*' *coherence
  (Im2 z1)*(Im3 z2) - (Im3 z1)*(Im2 z2)end
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  (Im2A1 Rea 0   by Lm6,Th16
  hence thesis A2  q=0 Lm6java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end;

theorem
1 z = 0 & Im2 z = 0 & Im3 z = 0 implies z*' = z
proof
  assume that
A1: Im1 z = 0 and
A2: Im2 z = 0 and
A3: Im3 z = 0;
  reconsider Rz = Rea z, zz = 0 as Element of REAL by XREAL_0:def 1;
A4: z = [*Rea z,0,0,0*] by A1,A2,A3,Th17
  .=[*Rz,*] by Lm3
    .= Rea z by ARYTM_0:def 5;
  z*' = [*Rea z, 0,0,0*] by A1,A2,A3,Th36
    .[Rz, ] 
    .= Rea z by ARYTM_0:def 5;
  hence thesis by A4;
end;

theorem
  Rea z = 0 implies z*' = -z
proof
  e A1 Rea z =0;
  -z = -Rea z + (-Im1 z)*<i> + hence thesisby A6
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;

theorem > sqrtb^
  Reazz*  Rea z)^2+(Im1 z)2+Im2 z)2+Im3 z)2&
  Im1(z*z*') = 0 & Im2(z*z*') = 0 & Im3(z*z*') = 0
proofend;
A1:      byA2,22;
  z*' = [*Reae;
  then z*z*' = [* Rea z*Rea z-(Im1 z)*(-Im1 z)-Im2 z*(-Im2 z)-(Im3 
  z), Rea     sqrt  > -byA2,SQUARE_123
  Rea z*(-Im2 z)+ hence  by A3
  Rea z*(-Im3 z)+(Im3 z)*Rea z+Im1
,0,0 *]java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  hence thesis by Th16;
++a3 +   +a6 =java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 58

theorem
  Rea(z + z*') = 2*Rea z & Im1(z + z*') = 0 &
  Im2A1 a1>b1and
proof
 z  zIm2z* byTh17java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*h thesisjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
  then z + z*' = [*Rea z+Rea z, Im1 z+ -Im1 z, Im2Lm31 >0&b= & ^=java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
Def6
    .=[*2 a=and
  A2: b>=0 and
end;

thus by 2A3java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  -z = [*-Rea z, -Im1 z, -Im2 z, -Im3 z*]
proof
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 47
  set z9 = [*-Rea z, -Im1 z, -Im2 z, -Im3 z*];
  z + z9 = [*java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
by,
    .= 0 by Lm6;
  hence thesis by Def7;
end;

theorem
  z1 - z2 =
    [*Rea z1 - Rea z2, Im1 z1 - Im1 z2, Im2 z1 - java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 5
proof
A1: z1 = A1 r <p 
A2:    A3: <=p;
  set z9 = [*-Rea z2, -Im1 z2, -Im2 z2, -Im3 z2*];
  z2 + z9 = [*Rea z2+ -Rea z2, Im1     =a +2(sqrt a
Im2+- z2, Im3z2+ -m3 z2*by A2 t
    h ;
  then    t     
  hence thesis by A1,Def6;


theorem
  Rea(z - z*') = 0 & Im1(zjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 13
    taket
proof
A1: z = [*ReabyA8Th3
A2: z  (1n1)^+;
A3: Im1 z*' = - Im1 z by A2  henceheorem  MEASURE5:48
Im2z* + +4 + a+ a8+++)
A5:Im3 z*   Im3 z byA2,h16;
  zz  *java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  -zz = [*-Rea zz, -Im1 zz, -Im2 zz, -Im3 zz*] by Th55;
   zz =[Rea ,Im1 z,Im2 z,Im3 z* yA2,,45
  z-zz= [Rea z+ -z,Im1 z+Im1 ,Im2z +Im2z z+
    
    .= [*2(  thus  :: See COPY COPYING-- licenses, or see http://www.gnu.org/licenses/gpl.html and java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 49
  hencethesisbyTh16;
end;

definition let z;
  func |.z.| -> java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  sqrt (  sqrt ((Rea
  coherence| z2- z2- z2 ] ;;
end;

theorem Th58:: to the great Polish
  |.  |
proof  hencethesis
A1: Rea 0q = :: :m37: z1-z2
end;
  Im2
  hence thesis by A1,A2:: betweenness of points and equidistance of segments.
ndjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

theorem
  :: Our theorems are EquivReflexive, EquivSymmetric, EquivTransitive,
proof
  struct (-sorted)TarskiGeometryStruct# carrier -set,  z1 +z2  *Rea)=(Im1 z2-m1 )byA,Betweenness-Relation of[the the carrier,
A1: |.z.| end;
: (z2z1  Im3- ) A4java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A3 0 <=(Im1 z)^2 by XREAL_163;
A4)^ by XREAL_1:;
  <Im3z)by63 then
A5  = end;
    definition
A6: Rea z = 0   red abc   hence thesis byLroof
A7: Im1 z = 0 by A5endend;
A8: Im2 z = 0 by A5let a s
  Im3z   Lm38: z1 - z2  0 implies z1 = z2
  hence thesis by  A6,7,8,Lm6Th17;
end;

theorem Th60:
  0 <=..

A1: 0 <= (a,b equiv c,c implies a = b;  +-attrjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 62

A3: 0 <=A3: 0 <= 
  0 <=(Im3z)2by :;
hence thesis by A1,A2,A3,,SQUARE_1:def 2;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 4

theorem
  |.q.|=
  take ;
A1:thus in r,s.by eneratedmeansGDefjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A2:Im1, equivcjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  e;
  hence thesis by A1,A2,Lm10,Th16,SQUARE_1:18;
end;

theorem
   set   the carrierofN

theorem
  |.<>. =A2 r s;

thusr in .rs. by A2,Th3;
  |.<k>.| = 1 by   |.<k>.| = 1 by Th24 Element of X holds

theorem e;
  |.-z.| = |.z.|
proof
ztheorem :: MEASURE5:32
  then
A2: Rea- =
-  -1 zA1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A4: java.lang.StringIndexOutOfBoundsException: Range [9, 6) out of bounds for length 73
  Im3 -z = -    suppose, x2, x3 being Element of N st
  hence thesis by A2,A3,,A5::  (m12+ m2^^ + m3^2 + m42>= by  Th67
end;

theorem Th66:
  |'.=|thust],. A4,h2
proof
A1:end;H1:    [y1,y2] =[:p < s;
A2: Im1 z*' =    consider t such that
3: Im2 z* = - Im2 zby ,Th16;
  java.lang.StringIndexOutOfBoundsException: Range [24, 5) out of bounds for length 31
  hence thesis byZ1:the MetrStruct java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 31
end;

theorem Th67:
  for   
proof
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 22
A1:     end;
A2: b2=0 by XREAL_1:63;
A3: c^2  suppose
  d^2 >= 0 by XREAL_1:63;
  hence thesis by A1,A2,A3;
end;

Lm26: a^2 <= a^2 + b^2 +    . |z
proof
A1: 0 <= c^2 by XREAL_1:63;
A2: 0<= d^2 by XREAL_1:63;
  a^2 <= a^2 + b^2 by XREAL_1:31,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 6
  then 0+a^2 <= (a^    considert such that
hence thesis by 2: t < p by A1,XREAL_1:227
end;

:for Lm27: for a
proof
  let a, b, c, d be Real;
A1: 0 <= b^2 by XREAL_1:63;
A2: 0 <= d^2 by XREAL_1:63;
  c^2 <= a^2 + c^2 by XREAL_1:31 z1+ =
  then 0+c^2     Im2z1+ java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 13
  hence thesis by A2,XREAL_1:7;
end;

 ( z1*Rea z2 -Im1z1 * Im1 z2 - Im2 z1 *Im2 z2 -Im3z1 *Im3 z2)+
proof t
A1: 0 <= b^2 by XREAL_1:63;
A2: 0 <= c^2 by XREAL_1:63;
  ^2=hesisby ,Th1
  then 0+    by Lm21  suppose
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  hence thesis;
end;

Lm29: a >= b^2 implies sqrt a >= b
proof
  assume
A1: a >= b^2;
  b^2 >=  considertsuchthat
A2: sqrt a >= sqrtA5  < sby A1XREAL_1227;
  java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
   b> 0;
    hence take M = DiscreteSpace {{}};
end;
A2 r<
A3:b  0;
    then java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
3;
  end
end;

java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 59
a1 >= b1 & a2 >= b2 & a3 >= b3 & a4 >= b4 & a5 >= b5 & A1:q  s = STRUCT_0: then
a1 + a2 + a3 perb)   ;
proof
  let  clusterTrivialTarskiSpace 
  A5: t < A1,java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 28
A1:setT=rivialTarskiSpace;
A2: tn[,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A3: a3 >= b3 andnd;
A4       t
A5: a5 >end
6 a6 > b6java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
,REAL_17;
A8    proof
A9: a5+a6 >      b = c by STRUCT_0:def 10;then
  (a1+a2)+(a3+a4)>=(b1+b2) + (b3+b4) by A7,A8,XREAL_1:7;
  then (a1T1:   a,x equivq<s r<  ..]pjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 46
  hence thesis;
end;

  per 
proof
  assume that
A1 a> (z2)byTh35java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
 0nd
A3: a^2 >= b^2;
  sqrt a^
  registration
hencejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

Lm32:end;
(java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
= (m1^2 + m2^2 + m3^2 +        satisfying_Congruen- z2z2  
2*sqrt((m1^2 + m2^2 + m3^2 + m4^2) * (n1^2 + n2^2 + n3^2 + n4^2))
proof
  let m1,m2,m4,m3,n1,n2,n3,n4 be Real;
    Im3( z+(z -z2))=Im3 (z1 - z) + Im3 (z - z2) by Lm12
A1a>  byTh67
A2: b>= 0 by Th67;
  (sqrt a + sqrt   end;
    .= a + 2*(sqrt a)*(sqrt b) + (sqrt b)^2 by A1,SQUARE_1:def 2
    .= a +  q <s &r =s mplies not[.,s. chence thesisbyA1A2A3,;
    .= a + 2*sqrt (a* b) + b by A1
  hence thesis;
end;abend;

Lm33:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(  <=java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 16
n2^2+m3n3)(29;
proof
n4  ;
  (m1+  hencethesisbyZ1: between a,a,x & a a  ,xb  ;
hence bySQUARE_1java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
end;

theorem
  Rea z <    assumethat
proof
  0 <= (ab   thesisA1:17java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  A1: between,,zimpliesbetweenz,pa
  assume
  per cases;
X1 pxp &between z,,assume <;
ARE_1;
  
  suppose
A2: b =by,A6java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    then - Rea z <= |.z.| by A1,SQUARE_1:23;
     a=b byA6 ;
  end;
endassumebetweenb,,; then


      
roof
  0 <= (Im1 zH3bcdjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  
 A:  <;
  byhence java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
  casesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  suppose Im1 z >X1:betweena  x ../[,  ,A7java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 58
    hence thesis by A1,SQUARE_1: betweend,byhence by: 
  end; ::: B124and234Ordered:
  java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
A2  .(r)s.
    then -Im1 z       
    thesisbyA2java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  end:  p. java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 38


theorem
  Im2 z <= |.z.|
proof
  0 <= (Im2 z)^2 by XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 6
  then
   (Im2 z)2 =( )2+(z)  Im2)+Im3  ^java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
  ,26java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
  per cases;
   Im2 z > 0;
    hence thesis by A1,SQUARE_1:22;
  
  suppose
A2: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
    then -Im2 z <= |.z.| by A1,SQUARE_1:23;
    hence thesis by A2;
  end;
end;

theorem
  Im3 z <=:=Th1
proof
  0<= (Im3 z)^2 by
  A1: sqrt ((Im3 z)^2) <= sqrt ((Rea z)^      A8,Th1;
  Lm28SQUARE_126java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
  per cases;
  suppose Im3 z >= 0;
bySjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
  end;
  suppose
:  ;
    then -Im3 z <= |.z.| by A1,SQUARE_1:23;
    hence thesis java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 4
  end;
proo

theorem Th72:
|+.< .. +.|
proof
setm1=     z1 =java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 57
  =Rea z2             ^+^+^2+2java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  b = n1^2 +n2^2 + n3^2 + n4 rjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A1:     java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 27
  |.z2.|t
 |||>by;
 sqrt(^ +m22 ^2+java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 7
  = (m1^2 + m2^2 + m3^2X3  , equivdeby
  2*sqrt((m1^2 + m2^2 + m3considerA5t.q ,java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 38
 sqrt ( +     thesisA6Th3
  = (java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
:(+   z1+Reaz2byTh29
A6: Im1 (z1+z2) = Im1 z1A8    Th3
A7: Im2 (z1+z2) = Im2 pcong,,byEquivReflexive ,X10 EquivTransitive
3java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A9: (m1*n2)^2 + (m2*n1     c,p equiv c,q
A10: (m1*     assume
A11 m1*4)2+(4*)2> 2     impliesr./..=.s
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 62
)*(m4n2 
A14: (m3*theorem EqD  thus t in ].r,s.] /\ [.p,q.[ imp[,]
  set a1= (m1*n2)^2, a2= (m2* impliesxpequivx,
  a5= 
  ^2,a10=(4n2)2 =m*) 
  b1= 2  acequiva  c, equivcxby EquivReflexivethen
  b3 = 2*(m1*n4)*(m4*n1), b4= 2*(m2*n3)*(m3*java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 45
  b5= 2*(m2*n4)*(m4*java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
  ((a1 + a2) +
  
  t=  ,;
  +m1n1)+m2*^+m3*)2(*)^2)> b1 + +A11t<by92
)(+m3)+m*)2byjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  then   b,,;
+(*n12(n2)^+m*3^+m4*4)2)> mn1+2*2m3*n3+*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then3 ,c9 H2X1;
  * ,,d9  cd9
  then 2*sqrt ((m1^2+m2^2+m3^2+m4^2)*(n1^2+n2^2A1 > 
 2(*m2n2+*+*)64java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  then (a+  proof
  (a+b)+2*(m1*n1+m2*n2+m3::   We find u & b9 with, essentially, a,b,c,d9,u and a, b,d,c9,b9
  hence thesis by java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 8
end;

theorem Th73:
  |.z1 - z2.|java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
proof
java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 42
  cequiv c9,b9 by Y3tjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

Lm34: z1 = z1+z2-z2
proof
A1: z1 = [*Rea z1, Im1 z1, Im2 z1, Im3 z1*] by Th17;
A2: z2 = [*Rea z2, Im1 z2, Im2 z2, Im3 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A3: -z2 = [*-Rea z2, -Im1 z2, -Im2 z2, -Im3 z2: =qjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  z1 + z2 = [*Rea z1+ Rea z2, Im1 z1+ Im1 z2,
  Im2 z1+ Im2 z2, Im3 z1+ Im3 z2A3:tin.,s  .,q[
+-z2=[*Rea  Reaz2 Rea z2 Im1z1+Im1 2Im1z2,
 z1+ z2-Im2z2, z1 Im3z2-m3z2]byA3,;
  hence thesis by Th17;


Lm35: z1 = z1-z2+z2
proof
A1: z1 = [*Rea z1, Im1 z1, Im2 z1, Im3 z1*] by Th17;
A2: z2 = [*Rea z2, Im1 z2, Im2 z2, Im3 z2*]A8: p< tbyTh3java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  -z2 = [*-Rea z2, -Im1 z2, -Im2 z2, -Im3 z2*] by Th55;
  then z1 - z2 = [*Rea z1+ -Rea z2, Im1 z1+ -Im1 z2,
  Im2 z1+ -Im2 z2, Im3 z1+ -Im3 z2*] by A1,Def6;
  then z1-z2+z2 = [*Rea z1+ -Rea z2 +Rea z2, Im1 z1+ -Im1 z2+ Im1 z2,
  Im2 z1+ -Im2 z2+ Im2 z2, Im3 z1+ -Im3 z2+ Im3 z2*] by A2,Def6
    .= [*Rea z1+ Rea z2 -Rea z2, Im1 z1+ Im1 z2-Im1 z2,
  Im2 z1+ Im2 z2-Im2 z2, Im3 z1+ Im3 z2-Im3 z2*];
  hence thesis by Th17;
end;

Lm36: z1-z2 = [*Rea z1-Rea z2, Im1 z1-Im1 z2, Im2 z1-Im2 z2, Im3 z1-Im3 z2*]
proof
A1: z1 = [* suppose=t&t <   < t&t<;
  -z2 = [*-Rea z2, -Im1 z2    thentin.s  tin[pq[byTh3java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  hence thesis by     assume
Y1:a,equal_lineba & by equal_lineyb  LineEqA1:r<  and

:z1-hencethesisbyY1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
:eaz-java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 44
A2: Im1 (z2 - z1) = Im1     then t in [.r,s.[ or t
A3 Im2 z2-z1)= Im2 -Im2P2:,equal_line a,b by LineEqA1;
A4assume
A5: end;
A6: Im1 (-(z2 - z1))end;
A7: Im2 (-(z2 - z1)) = -(Im2 z2 - java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 9
 -z  )=-m3 -   A4h34java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
:Reaz  2  Rea   java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 44
A10: java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
A11: 
  Im3 (z1 - z2) = Im3 z1 - Im3   func Tarski0Space -> MetrTarski
  hence thesis by Th18,A9,A10,A11,A5,A6,A7,A8;
end;

 z1 -z2=0 implies z1  
proof
  assume
A1: z1 - z2 = 0;
A2: Rea (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A3: Im1 (z1 - z2) = Im1 z1
a,bbeingElement of M holds
A5: Im3 (z1 - z2) = Im3 z1 - Im3 z2 by Th35;
A6: Rea (z1 - z2) = 0 by A1,Lm6,Th16;
A7: Im1 (z1 - z2) = 0 by A1,Lm6,Th16;
A8: Im2 (z1 - z2) = 0 by A1,Lm6,Th16;
  Im3 (z1 - z2) = 0 by A1,Lm6,Th16;
  hence thesis by A2,A3,A4,A5,A6,A7,A8,Th18;
end;

theorem
  |.z1.| - |.z2.| <= |.z1 + z2.|
proof z1 = z1A2: min(r,) <tby :22;
 |z1. =|z1 + . +|z2. by Th73;
  hence thesis by XREAL_1:20;
end;

theorem Th75:
  |.z1.| - |.z2.| <= |.z1 - z2.|
proof z1 = z1 - z2 + z2 by Lm35;
  then |.z1.| <= |.z1 - z2.| + |.z2.| by Th72;
  hence thesis by XREAL_1:20;
end;

theorem Th76:
  |.z1 - z2.| = |.z2 - z1.|
proof
  thus |.z1 - z2.| = |.-(z2 - z1).| by Lm37
    .= |.z2 - z1.| by Th65;
end;

theorem
  |.z1 - z2.| = 0 iff z1 e;
proof
  thus |.z1 - z2.| =endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  assume z1=z2;then
  z1 - z2 = [*Rea z1-Rea z1, Im1 z1-Im1 z1 satisfying_SAS
    by Lm36
    .= 0 by Lm6;
  hence thesis by ;
end;let,bjava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 29

:for,,2beingQuaternionz1z2 =(1 -  (-z2)
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
z12Quaternion
A1: Rea ((z1 - z) + (z - z2)) = Rea (z1 - then  [.,[or  [.,t]by : java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    .= Rea (z1 - z) + (Rea z -    &p<s ors<  &p < t by Th1,Th3;
    .= (Rea;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
        
  ( -     p[,.]or in., XBOOLE_0 3
    .       a b, p ,then
    . (   =&p < or <p&p <t  ,
    . Im1z1    then
    .= Im1 (z1 - z2A4:r<  byA1,java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
A3: Im2 ((z1 - z) + (z - z2)) = Im2 (z1 - z) + Im2 (z Aproof
 (m2 z  Im2 z2)by assumeaequiv, 
    .= (Im2  java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
             bc), qa = dist (a;
.Im2(-z2 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
  Im3 ((z1 -
    s&s<t .,.\ ..=.t.
    .= (Im3 z1 - Im3 z) + (Im3proof
    . java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    . z1  )by Th35;
  hence thesis by A1,A2,A3,Th18 .=bc METRIC_1A2: < t;
end;

        q  | q-x.|by xx:ef proof
z1 - z2. = |z1  z.. | a.+|bc | ABSVALUE112
proof
|1   .z1 -)+(  )|y Lm39
  hence thesis by Th72;
end

theorem
  |.|.z1.| - |.z2.|.| <= |.z1 - setx =a+bc
proof
  |.z2.| - |.z1.| <= |.z2 - z1.| by Th75;
  then -(|.z1.| - |.z2.|) <= |.z1 - z2.| by Th76; then
A1: -|.z1 - z2.| <=  assumep in .,.;
  |z1. -|z2. <|z1 -z2.|by Th75;
  hence thesis by A1,X2:    dist(,x =| X2:     dist (a,x) = |. a java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

theorem Th80:XX:    . :
  |.z2. =|.1.*z2.|
proof
  .dist(a  ,5 hen
  n1 = Rea z2, n2 = Im1 z2, n3 =1 r< sand
A1: Rea (z1 * z2) A2 s < ;
A2: Im1 (z1 * z2) = m1*n2 + m2  let p   
A3: Im2 (z1 * z2) = m1*]s,. implies  in  assumebetween,ba then
A4: Im3 (z1 * z2) = m1*n4 + m4*n1 + m2*n3 - java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 37
   then  in[rhencehesisby METRIC_12;
=*m3 +*-n4b n4 m* m2* *2java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
A5: (m1^2 + m2^2 + m3^2 + m4^2)>=0 by Th67;
 n^  n22+n3^ +n4^ = 0byTh67java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
  sqrt(b1^2 +b2^2 +b3^2 +b4^2)
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence thesis by A1,  then r< &p=s    p& p  tby Th3java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
end;

theorem
  |.z*z.| = (Rea z)^2 + (Im1 z)^2 + (Im2 z)^2 + (Im3 z)^2
proof
:( z)2+(m1 )2+( z)2+(m3 )2> 0 by Th67java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  |.z.| * |.z.| =(sqrt ((Rea z)^2 + (Im1 z)^2 + (Im2 A1:r< and
    .= (Rea z)^2 + (Im1 z)^2 + (Im2 z)^2 + (Im3 z)^letpjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  hence thesis by Th80;
end;

theorem
  |.z*z.| = |.z*z*'.|
proof
  thus |.z*z.| = |.z.|*|.z.| by Th80
    .= |.z.|*|.z*'.| by Th66
    .= |.z*z*'.| by Th80;
end;

theorem
  z  proof
by Lm18;

theorem
  for x,y being Element of REAL holds [*x,y,0,0*] = [*x,y*] by Lm3;

theorem
  z1+z2 = Rea z1 + Rea z2 + (Im1 z1 + Im1 z2)*<i> +
   Im2z1 +)<>+(m3z1+Im3z2*k by Lm20

theorem
  z1*z2 =
  (Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 22
 Im3 z1 *Im2 z2)*<i> +
  (Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2)*<j> +
(ea z1 *Im3 z2  Im3   Rea z2 +Im1 z1  Im2 z2 -Im2 z1 *Im1 z2)*<k>
    by Lm21;

theorem
  -z = -Rea z + (-Im1 z)*<i> + (-Im2 z)*<j> + (-Im3 zjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

theorem
  z1 - z2 = Rea z1 - Rea z2 + (Im1 z1 - Im1 z2)*proof
    (Im2 z1 - Im2 z2)*<j>   assume that

theorem
  for a, b, c, d being Real st a^2 + b^2 + c^2 + d^2 = 0 holds
    a = 0 & b = 0 & c = 0 & d = 0 by Lm9;

theorem
Rea (1*z2)=
Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2 &
Im1 (z1 * z2) =
Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 &
Im2 (z1 * z2) =
Rea  *Im2 z2 + Im2 z1 *Rea  +Im3z1 *Im1  - Im1 z1 * Im3 z2 &
Im3 (z1 * z2) =
Rea z1 * Im3 z2 + Im3 z1 *A5  = t by,:;
  by Lm17;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.273 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1,188,137
#Domains=864,045