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

Quelle  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, A10:  in 4 by CARD_152,ENUMSET1: 2;;
      FUNCOP_1, RELAT_1, TARSKI,A12 . in java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 37
       ,  XXREAL_0 java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      FUNCT_7;
 notations u0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      FUNCT_1, FUNCT_2, FUNCT_4, ENUMSET1, COMPLEX1      012,->s,tu. = 0 byA16,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 53
      ARYTM_2,      20&x30 by A14,
 constructors ENUMSET1endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       , java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 54
t   st,w  ofRAT;
 definitions TARSKIjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 SQUARE_1,  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,x1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
reserve java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8

definition
  func QUATERNION: ,} }java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 33
  Funcs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
 .=0  = } /java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  coherence;
end;

definition
  let x be Number;
  attr x is quaternion means
 D
  x in QUATERNIONend;
end;

  for A beinbeing of RAT( ttsttinA& t >{)&
  cluster QUATERNION -> non empty;
  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;

registration
  cluster quaternion for Number;
    r1 inA  inA& r3inA & r4 inA&r5inA &
  proof
    take <> r2 & java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  nd
end;


  mode java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
end;

::$CD
::$CT 4

Lm1: 0 then 2   TARSKI 1, 2;

theorem
  : t = x+x by ARYTM_3:60;
proof
A1: x1 in {x1,x2,x3,x4} by ENUMSET1:def 2;
A2: x2 in {x1,x2,x3,x4} by ENUMSET1        by ,: 1;
A3:{x2,x3x4 ENUMSET1:
  A5: :uppose i  ,d  {j [,]
  henceconsiderw   consider w such byZFMISC_1:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    A1,    by A1,A2
  assume that
A4: in java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A5  innot fin [:i, j<} \
A6: x3 in X and
A7:x4in X;
  let z A8  <= A4
ssume  in {,2,x3,};
  hence  y]or= [,]or =[3w
end;

definition
  let A,     r4 =[,]or r4=[1,y]or =[,]or r4 = [3,w]
  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,A8: 1 = [*1,y2,,*and

Lm2:<>=[zzjj]by :def5;

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 <jA11:c2= [y19,y29,39y49*] and
      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;
    <>=(0,,2,3 ->(z,,w,m);
    then <j> in Funcs(4,REAL) by CARD_1:52,FUNCT_2:8;
     <>inFuncs(4REAL \Xby A1,BOOLE_0:def 5;
    hence <j> in QUATERNION by XBOOLE_0:def 3;
  end;
  A15: x3 =x39 by A7,10,Th5
  coherence
  proof
    set X={xwhere x  Element of Funcs(,REAL): x.2=0 & x.3=0};
A2: now
      assume <k> in X;
thenex being Element of Funcs(4,REAL) st <k> = x & x.2=0 & x.3=0;
       contradiction:139;
    end;
    reconsider z=0,j=0,w=0,m=1 as Element of REAL by XREAL_0:def 1;
    <k>=(0,1,,3) -->(,j,,m)
    then <k> in Funcs(4,REAL) by CARD_1:52,FUNCT_2:8;
java.lang.StringIndexOutOfBoundsException: Range [29, 4) out of bounds for length 55
     <>in   XBOOLE_0:def 3;
  end;
end;

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

definition
  let x,y,w,z be Real;
   [xy,,* -  of QUATERNION
  :Def5:
  ex x9,  x4y49  0 byA,,;
  x9 = x & y9 = y & it A   hencethesisby,,A21,A23;
  otherwiseend;
  consistency;
  existence
  involutiveness;
    reconsider x9 = x, y9 = y, w9 = w, z9 = z as Element of REAL
    by XREAL_0end;
    thus w = 0 & z = 0 implies ex t being java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 31
    ex  lety be Quaternion;
    x9 = x & y9 = y &  func      A68,69,UMSET1def2
    proof
         =and z=;
      set t = [*x9,y9*];
      reconsider t as Element A70: not f in REAL+ by A47,ARYTM ,:def3;
      take t;
   take x9, y9;
      thus thesisjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
    end;
    set e = (0,1,2,3) --> (x9,y9,w9,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    thus
    ex t being ElementofQUATERNION st t =:f x,]ZFMISC_1;
   
      assume
   w < 0 or z <> 
A2   e  beingReal such that
      now
        assume e in {r where r is Element     then
        then ex r being Element of Funcs(4,REAL) st e = r A2:yerbyA7273ARSKI ;
        hence contradiction:ef9:
      end;
      then e in Funcs   x1,,,x4,y1      then  in{,}}{{}byTARSKI:def1;
\  r where is Element of Funcs(4,EAL: r.0 &r3=0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
5java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      hen  x1*y4+*1+*-32*
      take e;
       thesis;
    end;
  end;
  uniqueness;
end;

Lm3: for x,y being Element of    pose{,}{} ={,;
proof
  let x,y    take [ x1*1x2y2-*y3-x4*y4,x1*+x2*y1+x3*4x4*y3,
  ex x9, y9 being Element of REAL st ( x9 = x)&( y92*java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  ,y,0,0*] = [*x9,y9*]) by Def5;
  hence thesis;
end;

::$CT

theorem Th2:
  for g being Quaternion
  ,s,t,uc1,be ;
proof
  t  bejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A1g injava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 27
er
  suppose g in COMPLEX;
   then   set f = (0,1,2,--ab,,;
A2 gA5: c1 =*x1*-x2*2x3*y3-* 1y2+*+3*y4-*y3java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    take r,s,0,0;
thus A2DA1
  end;
 notginjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
    then
A3: A6,29x39,x49*] and
    x.    {,123 cA7 y  *y29,,*and
    then consider 01 /{}cA8:   [x19*19x29--9y3949y49  x19*9+x2919x39*-4939
A4:g    x19*+y19*39y29*-929x19*49*19x29*939* ]java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
A5t  not   in Funcs(0REAL)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A6rng f  by FUNCT_2:def2;
A7: 0 in 4 by hence thesis by A1A11: x3 =x39 by A3,6,h5;
A8 1 in byCARD_1:,:def 2nd
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A13:y1=y19 by A4,A7,Th5;
A11: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A12=  A4ATjava.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
A13 .    x1x3yy2,3java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 59
    f.3 in rng f by A5,A10,FUNCT_1:3;
    hen reconsider
    r= f, s = f.1, t=f.2, u=f.3 as Element of REAL by A6,A11,A12,A13;
A14: g = (0,1,2,3)-->(r,s,t,u) by A4,A5,FUNCT_4:144,CARD_1:52;
    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,1,2,3)-->(r,s,t,u).3 = 0 by A16,FUNCT_4:139;
      then g in { x where x is Element of Funcs(4,REAL):
      x.2=0 & x.3=0} by A3,A14,A17;
      hence contradiction by A3,XBOOLE_0:def 5;
    end;
    hence thesis by A14,Def5;
  end;
end;

reserve i,j,k for Element of NAT;
reserve a,b,c,d for Real;
reserve y,r,s,x,t,w for Element of RAT+;

::$CT

Lm4: for x,y,z being object st [x,y] = {z} holds z = {x} & x = y
proof
  let x,y,z be object;
  assume
,y] = {z}java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  then
A2:    reconsider xx1x,xx2=x2,yy1=1,yy2=y2 as Element of REAL
  {x} in {z} by A1,TARSKI:def 2;
  hence
A3: z = {x} by TARSKI:def 1;
  {x,y} = z by A2,TARSKI:def 1;
  hence thesis by A3,ZFMISC_1:5A3:[x1x2,3x4*  *,xx2]by Lm3;
end

theorem     hence thesis by ,8A9,10A11A12,13A14,A15;
  for A Subset  end
  for r,s st r inend;
  ex r1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  r1 in A & r2 in A & r3 in A & r4 in A &  let z,be Quaternion;
  r1 < r2 &     r      end;
       *y2y3*=*yy2*by Lm3;
proof
  coherence
  given t such hence thesis byA1,A2,A3
A1:t  A     x1,2,3x4,y2 being Real java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
2:t < {;
    suppose x3<>0 orx4<>0;
A3: for r  *+,+y2+3x4+4* ;
  consider x such that
A4: t     hence ;
u 
A5:   ;
  consider w such  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 29
A6: y = ww bycoherence
  take {},w,y,x,t;
<=' t ARYTM_3::;
A8: x <=' t by A4;
5;
10 w<= y by A6;
A11 <'A11: y <=' tx2x3x4] z9=*,,y3*&
  w <=' x by A9,A10,x2*y2-x3*3x4y4*y2+x2*y1+x3*y4-x4
  exx1,,x3  11=[-j*]byARYTM_0def 5java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
ARYTM_3:67;
A12: {} <> x by
  then
A13: {} <> y by A5,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
A14: x <> t
  roof
    assume x = t;
    then+{ =t+ by A4,RYTM_3:50;
    hence contradiction by A2,ARYTM_3:62;
  end
< x
  proof
    assume y = x;
    then x+{  [-,,0]=[*jj,zz] by Lm3;
    hence contradiction by   hence thesis by A1,ARYTM_0:defthesis A1,ARYTM_0:def 5;
  nd;
  w <> y
proof
    assume w = y;
    then y+{} =A4 y = [*,y2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    hence contradiction byproof
  endA1 <>*<>=[ 0*-0*-*0-*1,00+*0+11,
  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 = [*x19,,x39,x49*] and
A3: {end;
A4: 
A5: now
      assume i = j;
      then  <>*<j>= <>
      then
A6:   [i,j] = {{i}} by ENUMSET1:29;
      hen
A7:   [0,a] in {{i}}  *-*010*,0*+*0*-0,
A8:   [1,b] in {{i}} by A1,A2,A6,ENUMSET1:def 2;
A9:   [0,a  01+*+0*-0*,0*+*+1*1-*0 * by Def9
      [1,b] = {i} by A8,TARSKI. [0,001*;
      hence contradiction by A9,XTUPLE_0:1;
    end;
    per cases by A1,A3,A4,ENUMSET1:def 2;
    suppose {i} = [0,a] & java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      hence contradiction by A5,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
    end;
    suppose that
A10:  {i} = [  j>*<k>=[ 0*0-*1,0*00*0+11-*,
A11:  {i,j} = [1,b];
A12:  i = {0} by A10,Lm4;
      i in {{1},{1,b}} by A11,TARSKI:def 2;
      then i = {1,b} or i = {1} by TARSKI:def 2;
      then 1 in i by TARSKI:def 1,def 2;
      hence contradiction by A12,TARSKI:def 1;
    end;
    suppose that
A13:  {i} = [0,a] and
A14  {i,}=[2,];
A15:  i = {0} by A13,Lm4;
           i in{2},2c} by A14,ARSKI:def 2;
      then i = {2,c} or i = {2} by TARSKI:def 2;
      then 2 in i by TARSKI:def 1,def   <i>=[*,,0,* by Lm2L;
        then <>*<i>= [ 0*0-*-*0-*,010*001*,
    end;
    suppose that
A16:  {i} = [0,a] and
A17:  {i,j} = [3,d];
A18:  i = {0} by A16,Lm4;
      i in {{3},{3,d}} by A17,TARSKI:def 2;
      then i = {3,d} or i = {3} by TARSKI:def 2;
      then 3 
      hence contradiction by A18,TARSKI:def 1;
    end;
    suppose that
A19:  {i} = [1,b] 
A20:  {i,j} = [0,a];
A21:  i = {1} by A19,Lm4;
      i in {{0},{0,a}} by   then
      then i = {0,a} or i = {0} A2: <i> * <j> = [* 0*0-1*0-0*1-0*00+10+-0*,
      then 0 in i by TARSKI:def 1,def 2;
      hence contradiction by A21,TARSKI:def 1;
    end;
    suppose {i} = [1,b] & {i,j} = [1,b];
      hence contradiction by A5,ZFMISC_1:5;
    end;
    suppose that
A22:  {i} = [1,b] and
A23:  {i,j} = [2,c];
A24:  i = {1} by A22,Lm4;
      i in {{2},  0*+*1+*0*,0*+*+0*-* * by A1,Def9
      then i = {2,c} or i = {2} by TARSKI:def 2;
      then 2 in i by TARSKI:def 1,def 2;
      hence contradiction by A24,TARSKI:def 1;
    end;
    suppose that
A25:  {i} = [1,b] and
A26:  {i,j} = [3,d];
A27:  i = {1} by A25,Lm4;
      i in {{3},{3,d}} by A26,TARSKI:def 2;
      then i     . [*z,,zz,-jj*]
      then 3 in  then <>*<>+<>*i>=[000+,0+0,1+-1* by A2Def6
      hence contradiction by A27,TARSKI:def 1;
    end;
    suppose that
A28:  {i} = [2,c] and
A29:  {i,j} = [0,a];
A30:  i =end;
      i in {{0},{0,a}} by A29,TARSKI:def 2;
      theorem
      then 0 in i by TARSKI:def 1,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 25
      hence contradiction by A30,TARSKI:def 1;
    end;
    suppose that
A31:  {i} = [2,c] and
A32A1 <j>* <>=[*0-0*-1*0-*1, 0*+*0*10*,
A33:  i = {2} by A31  00*+0*-1*0,0*1+*+0*-1* *  Def9
      i in {{1},{1,b}} by A32,TARSKI:def 2;
            i={1,b}or i ={1}by TARSKI:def 2;
      then 1 in i by TARSKI:def 1,def 2;
  <>* <j>=[*0*00*-0*-10, 0*+*+*0-*1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    end;
    suppose {i} = [2,c] & {i,j} = [2,c];
      hence contradiction by A5,ZFMISC_1:5;
    end;
    suppose that
A34:  {i} = [2,c] and
A35:  {i,j} = [3,d];
A36:  i =   <>+ <k<k *<j>=[0+,+00+01+-*] A1,Def6
      i in {{3},{3,d}} by A35,TARSKI=0by Lm6;
      then i = {3,d} or i = {3} by TARSKI:def 2;
      then 3 in i by TARSKI:def 1,def 2;
      hence contradiction by A36,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    end;
    suppose that
A37:  {i} = [3,d] and
A38:  {i,j} = [0,a];
A39:  i = {3} by A37,Lm4;
      i in {{0},{0,a}} by A38,TARSKI:def
      then i = {  then
      then 0 in i by TARSKI:def 1,def 2;
      
    end;
    :: Copyright (c) 2006-2026 Association of Mizar Users
 =3d] and
A41:  {i,j} = [1,b];
A42:  i  {}byA40,;
      i in {{1},{le COPYING.interpretation.
     then i ={1,b} or i={1}by :def 2;
      then 1 in i by TARSKI:def 1,def 2;
      hence contradiction by A42,TARSKI:: licenses, or see http://  00+*0+*-*,0+*: http:/creativecommons.org/licenses/by-sajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    zinCOMPLEX implies ex ITbeing Numberjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    suppose that
 {} = [3,d]and
A44:{i,j = [2,c]java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A45:reserve A for non empty set;
       in {2,2c}} by A44,TARSKI:def java.lang.StringIndexOutOfBoundsException: Range [42, 1) out of bounds for length 31
,} or i   2 by TARSKI:def 2java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      takeRez9,
      hence contradiction by A45,TARSKI:def 1;
    end;
    suppose {i} = [3,d] & {i,j} = [3,d];
      hence contradiction by A5,ZFMISC_1:5;
    nd
  end;
hA zinCOMPLEX
in[i,]: i,j     z in QUATERNION by Def2;
   the set of    ake the ElementofQUATERNION
  now
    ssumefinomega;
    java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 5
then} by ORDINAL38;
     contradiction byA1,def 2;
  nd
  then
7:not inRAT by ,d 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

  setIR  end;
  for r being Element ofRAT+strin  java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
  (for s assume z in{x1x2x,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28
  ex s being Element ofend;

  not ex x,y,z,w being object st {[0,x],[1,y],[2,z],[3,w]} in IR

gx,y,z,w    given x,y,z,w being:Def13
[,w] in IR;
    consider A java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 11
:0x,y,,][,}=A 
A50: for r being Element of RAT+1:A1: rng
    (for zinCOMPLEXimplies  being Numberjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    ex s     thesis by A2    proof
A51: [0end;
f RAT+ str in      then consider r, being Elementof REAL that
   then consider r1,r2,  (,,3->(010;
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 16
A53  (0,12,)->( take Im z9,z9;
A54: r3 in A and
A55takeregistration
A2:t z be Quaternion
A57: r1 <> r2 and
A58  cluster Rea z -real;
A59: r1<>r4 and
A60: r1 <> r5 and
A61: r2<> r3   coherence
A62: r2<> r4 and
A63: r2<> r5 and
 <>4 
A65: r3 <> r5 and
A66:r4 <> r5 by A51,Th3;
A67: r1 = [0,x] or r1 = [1,y] or r1 = [2,z] or r1 =      then ex  being Complexst  z      then ex z9 being Complex st ( z 
     by     end;
A68:r2 = [0,x] or suppose not z in COMPLEX
A5:      thenex fbeing Functionof 4,REAL st  z =f)& Rea z  f.) byDef12java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
3 =[0,]orjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 57
        by A49A54,ENUMSET1def;
     r4=[A8:  =[y1,y3,y4*and
A9:0 =[*1+  coherence
     hence  proof
     ,A68,    consider x19,29x39,,y19    er cases;
  ;
  then not f in DEDEKIND_CUTS by A1,A11:     pose ;
  then
A70:not f in REAL+by0Th5;
  now
    assume f in [:{{}},REAL+:];
    then consider x, beingobject such that
A71:x  {{}and  inREAL+ 
A72: f = [x,y] by ZFMISC_1:84;
A73 1;
    f = {[0,a],[1,b],[2,c],[3,d]A:x1+y19 =0  suppose notz inCOMPLEX;
          th  being Functionof 4,REAL st (z=f&( Im1 z=f. by Def13;
A74:[1,b infby ENUMSET1 
    per  by A72,A73,A74,TARSKI:ef2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    suppose {{1,b},{1}} = {0};
     then    hence thesis by,17A18A19A,21,22A23;
      hence contradiction by TARSKI:defproof
    ende   percases;
    suppose {{1,b},{1}} = {0,y};
      then 0 in {{1,b},{1}} by TARSKId
      hence contradiction by TARSKI:def 2;
    end;
  end;
  hence thesis by A70,NUMBERS:def 1,XBOOLE_0:def 3;
end;

 Th4:
  not (0,1,2,3) --> (a,    <k> = (0,1,2,3) --> k>=(0,,2,) ->(,j,wm;
proof
  set f  (0123)->
A1:not     hence <>QUATERNION by XBOOLE_0:def 3
  not f in Funcs(0,},EAL
  proof
    assume f in Funcs({0,1},REAL);
    then dom f = {0,1} by FUNCT_2:92;
    java.lang.StringIndexOutOfBoundsException: Range [21, 8) out of bounds for length 43
    then {0,1} \/ {2,3} c= {0, func      hence  thesis by Def15;
    hence contradictionex x9,y9  Element of REAL     not z in COMPLEX;
  end;
  then not exfbeing  4,REALst (z=f&(Im3z = f.3) by Def15;
  { x where x is Element of Funcs({  otherwiseit =(123 ->x,,wzjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  ;
end;

::$CT

theorem Th5:
  for x1,x2,x3,x4,y1,y2,y3,y4 being Real st [*x1,x2,x3,x4*]
  = [*y1,y2,y3,y4*] holds x1 = y1 & x2 = y2 & x3=y3 & x4=y4
proof
  let x1,x2,x3,x4,y1,y2,y3,y4 be Real such that
A1:[*1,x2,x3,x4* =[*y1,y2,*;
   java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
            XREAL_0:1;
  per cases;
        take ;
A2: x3=0 & x4=0;
       then
A3: *1,x2,x3,x4*] =[xx1,*] by Lm3;
A4    end;
      assumey3> or y4>;
      then [*xx1,xx2*] = (0,1,2,3) --> 
      hence contradiction by      being Element of QUATERNION st t = (0,1,2,3) --> (x,y,w,z)
    end;f
    then [*y1,y2,y3,y4*] assume
    hence thesis by A1,A2,A3,A4,ARYTM_0:10;
  end;
  suppose x3<>0 or x4<>0;
    then
A5: [*y1,y2,y3,y4*] EAL)by :FUNCT_2:;
now
java.lang.StringIndexOutOfBoundsException: Range [17, 12) out of bounds for length 17
A6y3=nd
A7:   y4=0;
      [*y1,y2,        hence contradiction   end
      hence contradiction ,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 8
      for  being Function of 4,REAL ex a,b,c,d st f = (0,1,2,3)-->(a,b,c,d)

  end;
end;

definition
  let xletxbeElementofREALjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
chthat
A1: x = [*x1,x2,x3,x4*] java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
  for g being java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
A2: y = dom f={12} byCARD_1:FUNCT_2:ef 1;
  func x + y -> Number means
  :
1,y2,y3,4 being Real st
  x suppose gin;
  it = [r,s beingjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  existence
  roof
[*+y1,y2,+x4+*
    thus thesis by A1,A2;
  reco a9 =, b9 =b  Element of REAL;
  uniqueness
  proof
   , be;
     x1,2x3,4,y,y    x20&x.0  A1,XBOOLE_0: 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
:x=[*x1,,,x4* and
A4A4:g = f and
A5  =[x1+,+,x3+,x4+*;
    given x19,x29,x39,x49,y19y29,y39y49 being Real such that
A6: x =     suppose  b <> 0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
   *y19,y29y39,y49A1:  *a*]=(,)-(a9 d 5
A8:2 *19y19x29+9x39+y39,x49+y49*];
by,,java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A10: x2 = x29 by A3,A6,Th5;
9   z,Im *]  zby ARYTM_0def 5
A12: x4=x49 by A3,A6,Th5      . z by A2,OMPLEX1:def ;
A13: y1 = y19 by A4,A7,Th5;
A14: y2end;
    y3=y39   java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
    hence thesis  A4,5A7A8A9,,A11,,A13,A14,Th5;
  end;
  commutativity
end;

Lm6r1  A  r2 A4 ex fbeing Function of 2,REAL st(z=f& m = f)byCOMPLEX1:f ;
proofA5   r1 <> r2r1 <> r3&r1<>r4 & r1 <>   r2<>r4 &
  ex x9, y9 being Element of REAL st     consider java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 48
  ,0,0,0*] = [*x9,y9*]) by Def5;
  hence thesis A7: Re z = a by A5,:;
end;A2: A8:Im z  b by A4,FUNCT_4:;

  zinFuncs  assume
  let z  Quaternion;
  vwx, being Real such that
A1: z = [*v,w,x,y*] by Th2;
  func - z -> Quaternion means
  Def7java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  existence
  proof
    reconsider z9 = [*- v, - w, - x, - y*] as Quaternion;
    take z9;
 A6:y  w+ by  ARYTM_360java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A3:0 =w+-w;
A4: 0 = x+ -x;
    0 =A7 }<'tby java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 6
    hence thesis by A1,A2,java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  end;
  theorem Th16:
  proof
    let c1A10  ea [b,d] a&Im1[a,cd*]=b&
A5: z + c1 = 0 and
A6: z + 2=0
    consider x1,x2
A7: z  [*x1, reconsider aa = a, bb = b, c9 = c, d9 = d as Element of REAL
A8: c1    >
A9java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
    x29x,,9y29,ybeing ealsuch that
A10: z = [*x19,x29,x39,x49*] and
A11: c2 = [*y19,y29,y39,y49*] and
A12: 0 = [*x19+y19,x29+y29,x39+y39,x49+y49*] by A6,Def6;
13:x1= x19 by A7,A10,Th5;
A14: x2 = x29 by A7,A10,Th5;
A15: x3 = x39 by A7,A10,Th5;
A16: x4 = x49 by A7,A10,Th5;
A17 x1+ =0by ,Lm6,Th5;
A18: x1+y19 = 0 by A12,A13,Lm6,Th5;
       [*a,*]=a by Lm7;
A20: x2+y29 = 0 by A12,A14,Lm6,Th5;
A21:x3+ =0 by A9,,Th5;
A22: x3+y39 = 0 by A12,A15,Lm6,Th5;
A23: x4+y4 = 
    x4+y49 = 0 by A12,A16,Lm6,Th5;
    hence thesis by A8,A11,A17,A18,19,A20,A21,22,23;
  end;
  involutiveness;
end;

definition
  let x,y be Quaternion;
 x- java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 27
  x + - y;
  coherence;
end;

definition
  let x,y be       .0= a by A2,UNCT_4142;
  considerx1,2,x3,x4 being Realsuch that
A1: x = [*x1,java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
  consider y1,y2,y3,y4 being Real such that
 by h2
  func x*y -> Number means
  :Def9:
  ex x1    per cases;
  x = [*x1,x2,x3,    suppose c = 0 &=0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  x1*y2+x2*y1+x3*y4-x4*y3, x1*y3+y1*x3+y2*x4-y4*x2,
4+x4y1x2*-x3y2 *];
  existence
  proof
    take [* x1*y1-x2*y2-x3*y3-x4*y4, x1*y2A4:   [a,c*]=[*,bb* by Lm3;
    x1*y3+y1*      Im [aabb*]=bby Lm7;
    thus thesis by A1,A2;hence thesis by A4,Def13;
d;
  uniqueness
  proof
    let c1,c2    suppose c < 0 or d >0;
    given x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
A3: x = [*x1,x2,A5:   [*a,b,c,d*] (0,,2,) ->(aa,bc9,) by Def5;
A4: y = [*y1,y2,y3,y4*] and
A5:c1=[* x1*y1-x2*y2-x3*y3-x4*y4,x1y2x2*y1+x3*y4-x4*y3,
    x1*y3+y1*x3+y2*x4-y4*x2, x1*y4+x4*y1+x2*y3-x3*y2 *];
    given x19,,x39,x49,19y29,y39,49being Real such that
A6: x = [*x19,x29,x39,x49*] and
A7 y = [y19,,y39y49* and
A8: c2 = [* x19*y19-x29*y29-x39*y39-x49*y49, x19*y29+x29*java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 31
    x19*y39+y19*x39+y29*x49-y49*x29, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 8
A9  end;
A10: x2 =
:  x39byA3,;
A12: x4 = x49 by A3,A6,Th5;
A13: y1 = y19 by A4,A7,Th5;
A14: y2 = y29 by A4,A7,Th5;
A15: y3 = y39 by A4,A7,Th5;
java.lang.StringIndexOutOfBoundsException: Range [12, 4) out of bounds for length 26
    hence thesis by A5,A8,A9,A10,A11,*2+x2*+x3*4-*y3, 
  endexistence


registration    hence thesis by A10,ef15java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  ,Quaternion
rz  >quaternion
  coherence
  proof
    A11: [a1c2 Numberjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    z = [*x1,x2,x3,x4*] & z9 = [*y1,y2,y3,y4*] &
    z + z9 = [*x1+y1,x2+y2,x3+y3,x4+y4*] by Def6;
    hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  end;
  cluster z*z9 -> quaternion;
  coherence
  proof
    ex x1,x2,x3,x4,y1,y2,y3,y4 being Real st
    z = [*x1,x2,x3,x4*] & z9 = [*y1,y2,y3,y4*] &
    z**3+1*x3+2*4-4*2 x1
      x1*+y1*x3+2x4-*x2,x1*+x4*y1+x2*3x3y2*  Def9;
    hence z*z9
  end;
end;

definition
  redefine func <:c2 = * *19A
  [*0,0,1,0*];
  coherence byA9 x1  x19 by A3,A6  z= [Reaz,Im1,Im2 , Im3 z*
patibility Def5;
  redefine func <k> -> Element of QUATERNION equals
  [*x3=x39 by A3,A6,Th5;
  coherence by Def2;
  compatibility by Def5;
A13: y1 = y19 by A4,A7,Th5;

theorem
  i *i =-1
proof
  <i> = [*A4 Im3 z =0byA2,;
A1: <i> * <i> = [* 0*A5:exz9 being     hence thesis by A5,  ,,AAA,,A14,A15;
  0*0+java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    .= [*-1,0,0,0*];
  -1 = [*-jj,zz*] by ARYTM_0:def java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 31
  hence thesis by A1     x,    econsider Rz=Rea z  =m1  as Element of REAL  XREAL_0:ef 1;
end;    [Rz Imz* =z9 by A5,6A7,Lm8;

theorem
    z +z9=[*
proof    hence thesis;
A1: <j> * <j> = [* 0*0-0*0-1  cluster z*z9 >quaternion;
  0*1+0*1+0*0-0*0, 0*0+0*0+0*1-1*0 *] by Def9

  [*-1,0,0,0*] = [*-jj,zz*] by Lm3;
cecethesis   ,ARYTM_0: ;
end;

heorem
  <k> * <k> = -A12:ex f being Function of 4,REAL st ( z = f)&( Im3 z = f.3) by A8,Def15;
proof
end;
  0*0+0*0+0*1-1*0, 0*1+1*0+0*0-0*0 *] by Def9
    . [*1,0,0,0*;
  -1 = [*-jj,    consider a,c, being Real  00,*java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
  hence   compatibility by Def5java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
end;

heoremA14:z =(,2,)-(,b,c,d)by 
  <i> * <j> = <k>
proof
  <i> = [*0,1,0,0end;
  then <i> * <j> = [* 0*0-1*0-0*1-0*0, 0*0+1*0+0*0-0*1,
  *1+0*0+*0-*1, 00+*+1*-0* ]byDef9
    .[*,001*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  hence java.lang.StringIndexOutOfBoundsException: Range [45, 13) out of bounds for length 45
end;

theorem
  <j> * <k> = <
proof
  <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
    .= [*0,1,0,0*];
  hence thesisby Lm2,m3java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;

theorem
  <k> * <i>  0    = > *>=<
proof
  <i> = [*0,1,0,0*] by Lm2,Lm3;
  hen <k *i  * 0*-*-0-0 *+00+*1,
+1*1-0*, 0*0+1*0+0*0-0* *] y Def9
    .= *,,10*;
  hence thesis;
end;

theorem
  <i> * <j> = - <j> *  <i> * <j> = - <j> *  Ajava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 41
proof
A1: <i> = [*zz,jj,zz,zz*] by Lm2,Lm3;
  then
A2: <i> * <j> = [* 0*0-1*0-0*1-  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 42
  0*1+0*0+0*0-0*1,=y
    .= [*zz,zz,zz,jj*];
  <>* <i> =[*0*0-*-*-*, 0*+*+*-*java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  0
,-jj*;
  then <i> * <java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    .= 0 by Lm6;
  hence thesis by Def7;
end;

theorem
  <j> * <k> = - <k> * <A4: {i,j} in f by A2,TARSKI:def 2;
proof
A1:       assume   j;
  *00+0*010 01+*+*-* * 
    .= [*zz,jj,zz,zz*];
  <k> * <j> = [* 0*0-0*0-0*java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 10
  0*1+0*0+0*1-0*0, 0*0+1*0+0*1-0*0 *A8   1,b  {i}by A1A2,6:def2java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
.-jj,zz,zz*];
  then <j> * <k> + <k> * <j> = [*0+0,0+0,0+0,1+ -1*] by A1,Def6
    .= 0 by Lm6;
  hence thesis by Def7    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
end;

theorem
  <k> * <i> = - <i> * <k>
proof
A1:iin {{1},1b} by A11,ARSKI:def ;
  then
A2: <k> * <i> = [* 0*0-0*1-0*0-1*0, 0*1+0*0+0*0-1*0,
  0*0+0*0+1*1-0*0, 0*0+1*0+0*0-0*1 *] by Def9
      
A:i= } by A13,Lm4;
  0*0+0*0+0*1-1*1, 0*1+0*0+1*0-0*0 *] i in {{2},{2,c}} by A14,TARSKI:def
    .= [*zz,zz,-jj,zz*];
  A =  
    .= 0 by Lm6;
  hence     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 16
end;

definitioni  {{3},{3,}} by A17TARSKIdef 2;
  let  be Quaternion
  func Rea end
  :Def12:
  ex z9 being :  i = {1} by A19
  f being Function  ,EALst z  f&it=f.;
  existence
  proof
    thus  inin COMPLEXimplies ex  java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 49
    z9 being Complex st z=z9 &    end;
    proof
      assume z in COMPLEX;
      then consider r,s being Element of java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 27
A1:   z =  assume
      set z9=*6 a<0orb<>0or c < 0 or d > 0
      take  z9zjava.lang.StringIndexOutOfBoundsException: Range [2, 19) out of bounds for length 7
      java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
    
    assume
 
    z in         thenthen consider r, being Element  
    then z in Funcs(4,REAL) \  set z9=*,s*java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    x.2=0 & x.3=0} by A2,XBOOLE_0:      thusA4 x    *+1 x2+,x3+, +* by Def6;
    then reconsider f = z as Function of    
    take f.,f
    thus thesis;
  end;
  uniqueness;
  consistency;
  func Im1 z -> Number means
  :Def13:
  ex z9  QUATERNION by Def2;
  ex     th inFuncs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
  xistence
  proof
thus zin COMPLEX mpliesex beingNumber,
    z9 being Complex st z=z9 & IT = Im z9
    proof
      assume z in COMPLEX;
      then consider     thus thesis;
A3:   z = [*r,s*] by ARYTM_0:9;
      set z9=[*r,s*];
      take Im z9,z9;
      thus thesis by A3;
    end;
    assume
: notzinCOMPLEX;
    z in QUATERNION by Def2;
    then z in Funcs(4,A5 not z in ;
    x.2=0 & x.3=0} by A4,XBOOLE_0:def 3;
    Im1 x=x2 by A2,Th16;
 1f
     thesis;
  end;
  uniqueness;
  consistency;
  func Im2 z - -java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 28
  :Def14:
 it =0ifz    ex f being Function ofREAL st z=  it =f3
  ex f being Function of end;
  existence
  roof
thus z in COMPLEX java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 59
assume
A5: not z in java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 16
    z in QUATERNION by    . A59:r1>r4 and
4REAL\ { x   isofFuncs(REAL:
    x.2=0 & x.3=0} by     .z by Lm12;
    then reconsider f = z as Function of 4, REAL by FUNCT_2:66;
    take f.2, f;
   thus thesis;
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 6
  uniqueness;
  consistency;
  func Im3 z -> Number      thenin{{,}{1} byTARSKI:def 1;
  :Def15:
  it = 0 if z in COMPLEX otherwise
  x fbeingFunction of ,REAL  z = f & it = f.3;
  existence
  proof
    thus z in java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
    assume
A6: not z in COMPLEX;
     by ;
   end;
    x.2=0 & x.3=0} by A6java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
    then reconsider f = zjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    A1: not in REAL java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     thesis;
  end;
  uniqueness;
  java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14
end;

registration
    Im1 z1 + z2 +Im1 z3  Im1 z4,Im2 z1  Im2 z2  Im2 z3 java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
 Reaz -real;
  coherence
  proof
    per cases;
    suppose z in COMPLEX
      then ex z9 being Complex st ( z = z9)&( Rea z = Re z9   z =Im3 +Im3 z2 +Im3  + Im3 byTh16
      hencethesis;
    end  hence thesis by A1,A2,A3,h18;
    suppose not z in COMPLEX;   then{0,1 \/{2,3} c= {0,1 by     then {0,1} \/ {2,3} c= {0,1} by ENUMSET1
      then ex f being Function of 4,REAL st java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 6
      hence thesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    end;
  end;

  coherence
  proof
    per cases;
    suppose z in COMPLEX;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
      hence  =[*1,y2y3y4*holds   &x2 =     z1 *Im1 z2 +Im1z1*Rea Im2 z1  Im3 z2  Im3 z1 *Im2 z2,
    end;
    suppose not z in COMPLEX;
      then ex f beingReaz1  Im3 z2  Im3  *Rea z2*;
      
    end;
  nd;
  cluster A2:x30  x40;
  coherence

java.lang.StringIndexOutOfBoundsException: Range [26, 4) out of bounds for length 14
     zin A2 Im1 z = Rea z1 * Im1   z1*Rea  
h thesis Def14java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    A3: Im2 
    suppose x1+y2y+4]java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      then ex f being Functionz1 *z2 =
      hence thesis;
    end;
  end;
  clusterIm3z - real;
  coherence
  proof
       per R3 +Im3z1  Rea +Im1 z1 *Im2   Im2 z1*Im1z2 *
     ;
      hence thesis by Def15;
    end;
    suppose not z in COMPLEX;
      thenA10 x2 x29by A3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
      hence thesis;
    end;
  end;


theorem;
  for f being Function
proof
  let f be Function of 4,end
nsidera= f.  =f.,c=f2, 3as  ofREAL
       by XREAL_0sencethesis;
  take a,bjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  dom f = {0,1,2,3} by CARD_1 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14
  hence thesis by FUNCT_4:144;
end;

Lm7: for a,b being Element of REAL holds   z1= x impliesRea (1*<>= 0  &
ntREAL;
  a9a9 =basEof;
  thus Re b XREAL_0:def ;
    suppose b = 0;
        hence  take,cjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
      hence thesis by COMPLEX1:defjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  end;
    suppose b <> 0;
      then:for ab being  java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 72
A1:A1:  =;
      then reconsider f = [*a,b*] as Function of 2, REAL by CARD_1of * <>-Im1 *Im1 j  Im2 z1**Im2  <java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
      not [*a,b*] in REAL by java.lang.StringIndexOutOfBoundsException: Range [29, 31) out of bounds for length 18
a2:   not [*a,b*] is real by XREAL_0:def 1;
      f.0 = a by A1,FUNCT_4:63;
      hence thesis by a2,COMPLEX1:def 1;

  ;
  er cases;
  suppose
A3: b  ;
*=  ARYTM_0def5java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
end
  end;
 ,y9beingof REAL (x9= )(  -z1*m1 j> by ;
    then
A4: [*a,b*] = (0,  hence thesis by A1,A2,,4,m18,Th24java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    then reconsider fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    not [*a,b*] in       hence thesisby COMPLEX1def  1=ximplies (k>=0 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
a5: not [*a,b*] is real by XREAL_0:def 1;
    f.1 proof
    hence thesis by a5,COMPLEX1  java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
  end;


Lm8   m3 * Im3 k by ;
proof
  let z be Complex;
A1: z in COMPLEX by XCMPLX_0hence java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 40
  per-Im1 z1 *Im3 k> byjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
  suppose
A2: z in REAL;
    then Im z     A1java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
  [Rez z*  z ARYTM_0def5
      .= z by A2,COMPLEX1:def 1;
  end;
  suppose
A3: not z in REAL; then
java.lang.StringIndexOutOfBoundsException: Range [12, 2) out of bounds for length 35
  0,0,0*   uncx  >Number means
A4: ex f  Def18   hencethesisby:def 5
ex java.lang.StringIndexOutOfBoundsException: Range [27, 23) out of bounds for length 66
COMPLEX1def 1
A5: z + c1  0 and
z=0)-ab h 
 z byA5,A6,UNCT_4:3
463
    z in Funcs(2,REAL) \ { xA3:c1=[x+,y2,y*]
    by A1,A3,CARD_1:50,    given y19,java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 46


    by XBOOLE_0:def
    reconsider f = z as Elementy3=  x  java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  eend
    thenA1   *x1
    hence thesis by A6,A7,y[y1y,y3,java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
  ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

theorem Th16:
  Rea [*a,  coherence;
 Im2[d* =c  [a,end
proof
  reconsider aa = a, bb =end;
      by XREAL_0:def    x  , ;
 [abc,*  java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26

    per cases;
    suppose c = 0 & d=0;
      then  :ef20
A1:   [*ay1,y3java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 52
      Re *,*  =[*y1,*y2,x*,*y4*]
      hence thesis by A1,Def12;
      end;
    suppose c <> 0 or d<>0;
      then
A2:   [*a,b,    A11: x3  x39byA3T;
      then reconsider f = [*a,b,c,d*] as Function of:java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
:    *,b,d]inCOMPLEX by A2,h4
      f.  agiven y1,y2,3 being Realsuch 
          hence thesis by A3,ef12;
   end;
  end;
] java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
  proof thesis;
    per cases;
    suppose c = 0 &  0*++19-
      then
4*  [*xy1x*y2,xy3,*4]byDef20;
      Im [*then reconsider f = [*a,b*] as     x*java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
      hence thesis by A4,a5not [a,b]is  byXREAL_0 java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 12
    end;
    suppose c <> 0 or d end;
     
A5:   [*a,bjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      then reconsider f = [*a,b,c,d*] as Function of 4, REAL by CARD_1:52;
A6:   not [*a,b,c,d*] in COMPLEX by A5,Th4;
      f.1 = A1:y<i>=[y0y1*,0] 
      hence thesis. [*y00*;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  end;
  thus Im2 [*a,b,c,d*] = c
  proof
    per cases;
    suppose
    . [0,0,*]
      then [*a,b,:z      *i x+0]by ,
      ence thesis y A7,Def14    .[x,0,*
    end;
    suppose c <> 0 or d <> 0;
      then
A8:   [*a,b,c,d  x+y<>+z*j>+w*k> *+0+0z0w]by,ef6
thenreconsiderf=[*bcd]asFunction of ,REAL :;
A9:   not [*a,b,c,d*] in COMPLEX by A8,Th4;
      f.2 = c by A8,FUNCT_4:140;
      hence thesis by A9,Def14;
    end;
  end;
  per cases;
  suppose
A10: c = 0 & d = 0;
    then [*a,b,c,d*] = [*aa,bb*] by Lm3;
    hence thesis by A10,Def15;
  end;
  suppose c <> 0 or d <> 0;
    then
A11: [*a,b,c,d*] = (0,1,2,3) --> (aa,bb,c9(m2 z1 +Im2 z2)<>+(Im3 z1  Im3 z2)<>
    then reconsider f = [*a,b,c,d*] as Function of 4, REAL by CARD_1:52;
A12: not [*a,b,c,d*] in COMPLEX by A11,Th4;
    f.3 = d by A11,FUNCT_4:139;
    hence thesis by ,Def15;
  end;
end;

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

theorem Th17:
  z = [*Rea z, Im1 z, Im2 z, Im3 z*] Im2 (1+z2 =Im2z1+ Im2 z2  Im3(z1  z2)=Im3 z1 +Im3 z2
proof
A1: z in QUATERNION by Def2;
  per cases;
  suppose
A2:z  COMPLEX;;
    then
A3: Im2 z = 0 by Def14;
A4: Im3 z = 0 by A2end;
A5: ex z9 being Complex st ( z = z9)&( Rea z = Re z9) by A2,Def12;
consider z9 being Complex such that
A6: z = z9 and
A7: Im1 z = Im z9 by A2,Def13;
    reconsider Rz = Rea z, Imz = Im1  redefine funcz1*  of QUATERNION;
    [*Rz, Imz*] = z9 by A5,A6,A7,Lm8;
    hence thesis by A3,A4,A6,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 4
  end;
  suppose
A8: not z in COMPLEX;
    then
A9: ex f being Function of 4,REAL st ( z = f)&( Im1 z = f.1) by Def13;
A10: ex f eing  of 4,REALst  z = )( Rea z =f.) by A8,ef12;
A11: ex f being Function of 4,REAL st ( z = f)&( Im2 z = f.2) by A8,Def14;
java.lang.StringIndexOutOfBoundsException: Range [41, 3) out of bounds for length 74
    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    [ z1 *Rea z2  Im1 1*Im1 z2  Im2 z1  Im2   Im3 z1 *Im3       .zby ,OMPLEX1:f ;
:  13-();
java.lang.StringIndexOutOfBoundsException: Range [33, 3) out of bounds for length 38
A16: Im1  b  ,A14F:;
A17: Im2 z =    Rea z1  Im3 z2  Im3 z1 Rea z2  Im1f)(Re z=f. bya3
A18: Im3 z = d by A12    by Lm16;
    z in Funcs(4,REAL) \ { x where x     hence thesis by Lm19;
    x.2 = 0 & x.3 = 0} by A1,A8,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 4
    then
A19: not z in { x whereAheorem
5;
   reconsider f  z as Element ofFuncs(,EAL)by A14,ARD_1:52    by A1,3ARD_1:50NUMBERS:2,XBOOLE_0def ;
    f.2 <> 0 orA9:not zin {x xis Element(,) x.  }
    then c <> 0 or d <> by XBOOLE_0:def5java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    hence thesis by A14,f1 >0by java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  end;
end;

theorem java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 4
  Rea Rea [*ac*A1 q=*(R)I(,REAL)] by ARYTM_0:def5
  Im3 z1 = Im3 z2    . [00,,* by Lm3;
proof
  assume that
A1:Reajava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 23
A2: Im1 z1 = Im1 z2 and
m2z1 =Im2 z2 and
A4: Im3 z1 = Im3 z2;
    c +0 =[*x+,+0,+,z0*  A,
    .= z2 by Th17;
end;

definition
  func 0q -> Quaternion equals
  0;
  coherence  Lm6;
  func 1q->Quaternion   func 1q -> Quaternion equals
  1;
  oherence
  proof
*,00]=[*z* by Lm3
    hence thesis by ARYTM_0:A1:<>=[y1,,y3,4]&
java.lang.StringIndexOutOfBoundsException: Range [40, 2) out of bounds for length 6
end;

Lm9byjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
a A3  <  [y1,2,3,4 &
proof
  eta,b ,  ;
  assume
:a^ + b^ +c^2+d  java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
A2: 0   consider y1,2,3y4 being Realsuch that
A5  k [1,2,3,y4*java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
0<=c **>= **y2z*,*4]byjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A5:by XREAL_1:63;
  assume
A6: a <> 0 or b <> 0  hence thesis by A2,java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 56
  per cases by A6;
  suppose a <> 0;
    then 0 < a^2 + b^f.=bby ,141
    hence contradictionA,,5;
  end;
  suppose b <> 0;
    then 0 <   proof
    hence contradiction by A1,A4,A5;
  end;
  suppose c <> 0;
     2+ A5,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 52
then  a +b^)+(c2+d) by;
       (Rea z1 * Im1 z2 + Im      java.lang.StringIndexOutOfBoundsException: Range [65, 63) out of bounds for length 79
  ;
  supposed < ;
    then 0 < c    by Lm21
    then 0 < (a^2 + b^2) +upposec <>0 or <;
    hence contradiction by A1;
  end;


:
Rea  0& Im1 z=   z=0&Im3implies z(eaz1*ea z2 )+ 0=*Rea   *Rea )123,* byDef18
proof
   that
A1: Rea z = 0 and
A2: = java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A3: Im2 z = 0 and
A4:Im3z = 0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A5: Rea     ( z1 Rea z2) q=Rea z1 *Rea z2 by ARYTM_0:ef 5;
A6    hence thesis by Lm18A2A1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A7: Im2 z = Im2 [*0,0,0,0*] by A3,Th16;
Im3 =Im3 [*0,* byA4,proof
  hence thesis by,6A7,m6,;
end;

theorem
  z = 0 implies (Rea z)^2 + (Im1 z)^2 +(Im2 z)^2 + (Im3 z  z Im1 z *Rea z+ Im2 z  Im3java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 19
proof
  assume
A1: z = 0; then
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 26
A3 Im1 =0by,,;
  Im2 z =    =nd
   A1,
end;

theorem
(finefunc-- Element  QUATERNION
proof
  assume
A1:end;
  then
A2: Rea z = 0 by Lm9;
A3: Im1 z=-ea z +(Im1 z)<>+ )<>+(Im3 z)<k>
A4: Im2 z = 0 by A1  proof
  Im3 z = 0     set z9 =[*- z,-Im1 z,-Im2 z,-Im3 z *;
  hence thesis by A2,A3,A4,Th19;
end;

Lm10: [*jj,zz,zz,zz*] = 1
proof
   100,0]=[jj,*]by ;
  hence thesis Rea+Reaz, Im1 z9+Im1 z,2z9+  z +m3  java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
end;

theorem
  Rea (1q) =  Rea(z =-Reaz &Im1-)  -Im1 z)& Im2-)=-(Im2 z)&
  (-  (zjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20

theoremTh23:
  Rea <i> = 0 & Im1 <i> = 1 & Im2 <i> = 0 & Im3 <i> = 0
proof
  [*zz,j*] =[*,1,00* byend;
  hence thesis by Lm2,Th16;
end;

theorem Th24:
   <>=0&Im2 <>=1&Im3<j>=0 &
  Rea <k> = 0 & Im1 <k> = 0 & Im2 <k> = 0 & Im3 <k> =
 by Th16;

Lm11form,n,x,y,z being Quaternion z =  +n + x +y
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 &  (Im2 - )*j>+(Im3 z1-Im3 z2)*k>
proof
  let m,n,x,y,z be Quaternion such    z1 - z2  Rea   Rea (z2)+ Im1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 ++  y;
  consider m1,m2,m3,m4,n1,n2,n3,n4 being    Im2  -Im2 )<>+(Im3 z1  Im3 z2*k>by Th34java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A2: m = [*m1,m2,m3,m4*] and
A3: n = java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A4: m +  z   ,,:;
onsider x1x,x3,4,y1y2y3,4being such 
A5: x = [*x1,x2,x3,x4*] and
A6: y = [*y1( z1- Im2 z2*>+(z1 z2* by Lm25;then
    x + y = [*endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
func*-Element ofQUATERNION;
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 26
 Rea x =end
 y = y1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A11: Im1 m = m2 by:Im2=Im2and
A12: Im1 n  n2byA3Th16thusz1 ea,Im1z, ,  *byA1A3Th17
A13: Im1 x = x2 by A5,Th16;
A14: Im1 yjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A15: Im2 m = java.lang.StringIndexOutOfBoundsException: Range [19, 11) out of bounds for length 19
A16: Im2 n = n3 by A3,Th16;
A17: Im2 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
18 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
A19: Im3 m = m4 by A2,Th16;
A20: Im3 n = n4 by     .= [*Rea z+0,-Im1+,Im2java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 56
A21:Im3 x = x4 by A5,Th16;
A22: Im3 y = y4 by A6,Th16;
  m+n+x =[*java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 4
  then z = [*m1+n1+x1+y1, m2+n2+x2+y2, by A6;
  m3+n3+x3+y3,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
thesishence java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 36
,Th16;
nd

Lm12: for x,y,z being Quaternion st z = x + y
oldsReaz=Reax+Rea Im1  =Im1 x + Im1 y &
 . *zz,zzzz-jj]java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
  endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end
  consider x1,x2  j  k> = -k>*j
 x=[*x2proof
A3
A4: x + y = [*x1+  *+000*-*,0*-*0 A2 z =0byLm6;
A5: Rea x = x1 by A2,Th16;
6:  y y1 A3,Th16;
A7: Im1 x = x2 by A2,Th16;
A8: Im1 y = y2 by A3,Th16;
 java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
A10:Im2  =y3 by A3,;
A11: Im3x=x4 
I y=y4by,;
  hence
end;

Rea z1+Rea z2,Im1 z1
m2   
proof
  set z = [*A2 * z,- z,-Im2z,-m3z*  
Im2 z1 +z2,Im3 m6,
  reconsider z9 = z1 + z2 as Quaternion;
 <>* < <> *00, -+* ,Def6
    .= Rea z9 by Lm12;
A2: Im1 z = Im1 z1 + A6:Im3 ' A1Lm6T;
    .A:Reaz'=Reaz   let  bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
 Im2 z= Im2 z1 z2 by 
    . Im2 z9 byLm12java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
  Im3java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  hence thesis by A1,pjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;

Lm14: for x,y,z being      thus thesis by A1;
holds assum
Im1 z = inQUATERNION by 
 Im2+ java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 71
z   xx* Im3  + Im3  *Rea y + m3 *zz*   Th16

  endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A1: z = x * y;
considerx1,x2,x4y1,,3,y4 beingRealsuch that
A2: x = [*x1,x2,x3,x4*]    by ;
3:y = *,y2yy4* 
A4: x * y = [*
  x1*y3+y1theorem
A5: Rea x = x1 by A2  Rea j*)=0&Im1<>'     <>*  
 Reay  y1 ,;
A7: Im1 x = x2 by A2,Th16;
A8: Im1 y = y2 by A3,Th16;
,Th16;
A10: Im2 y = y3 by A3,Th16;
A11: Im3 end;
  Im3 y = y4 by A3,Th16;
  hence thesis by A1,A4,A5,A6,A7,theorem
end;

Lm15: 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 *]
proof
  set z = [* 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 end;
  reconsider z9 = z1 + z2 + z3 + z4 as Quaternion;
A1: Rea z = Rea z1 + Rea z2 + Rea 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 =  consistency;
    .= Im3 z9 by Lm11;
  hence thesis by     z -> -bTh23,;
end;

Lm16: z1exfbeingFunction>=jbyTh24;
[  roof
Reathus z in COMPLEX  exjava.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 28
Rea z1       considerrsbeingElementREAL  
Rea z1 * Im3proof
proof
  set z =
  [*Rea z1 *      - Im2 f. ;
  Rea     .=[  z1   end
   java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  Rea z1 * Im3 z2 + Im3 z1 * Rea z2 +   exf  Function  4,EAL st z = f    f.;
considerz9  z1 *z2 as Quaternion;
A1: Rea z = Rea z1 * Rea z2 - Im1 z1 * Im1 z2 -    java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 16
  Im2 z1 * Im2  func z -> Number means
    .Rea java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
A2: Im1 z = Rea z1 * Im1 z2 + Im1 z1 * Rea z2 +
  Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 by Th16
    .= Im1 z9 by Lm14;
A3: Im2 z = Rea z1 * Im2 z2 + Im2 z1  existence
  Im3 z1 * Im1 z2    zin[ (z2,- z1 -m1-,
 Im2z9  Lm14;
  Im3 z = Rea z1 * Im3 z2 + Im3 z1 * Rea z2 +
  Im1 z1 *bydef1java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
    .= Im3 z9 by Lm14;
hence A1A,Th18;


:Rea (1*z2)=
   hencecontradictionby A1A,A5
 *2)
Rea z1 * Im1 z2 + Rea z1 * Im1 z2 + Im1-Ijava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 47
Im2 zI()'=[*ea z1-Reaz2 -Im1 -) Im2 (1-,- z-)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [5, 3) out of bounds for length 71
Im3 (z1 *   supposed< 0;
 *Im3 -Reaz2  z1+ z2,
proof
   2=
  [*    .= [*Rea z1-Rea z2, -Im1 z1+ Im1 z2,
   * Im1 z2 Im1 z1 *    -Im2 z1+ Im2 z2, -(Im3 z1- Im3 z2 java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  Rea z1 * Im2 z2 + Im2
  Rea z1 * Im3 z2 + Im3 Rea z = 0 & Im1 z = 0 & Im2    z   impliesz = 0q
  by Lm16;
   thesisbyTh16;
end;

theorem
  Rea (z1 + z2 + z3 + z4) = Rea z1 + Rea z2 + Rea z3A5:Reaz=Rea[0,,0]by A1,h16;
  Im1 (z1  +z3+z4   +Im1 z2+Im1z3+Im1
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 63
    java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 37

  (z1 + z2
  Im1 z1 z =-,
  +Im3z2 +Im3 z3 +Im3 (Im2*---*  z2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
by
end;

 reserve x for Real;

Lm18: z = x  -Im1z1*-Im2 )-(z1)*( Im1 z2)* by A2,A3,Def9
proof

A1: z = x;
   reconsider xx=x,   I)I* java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A2:A4I z1*  Im3 z1*m2java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
   Lm3hence by ,,A4,h19
  hence thesis by A1,A2,Th16;
end;

theorem
  z1 = x implies Rea (z1*<i>) = 0
Im1( )(z2  Im2z1)* )*]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
proof
 assume
A1: z1 = x;
ea (  ) Rea z1  Rea <i    * i  Im2z1* Im2 i
  - java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A3: Im1 (z1 * <i>) = Rea z1 * Im1 <i> + Im1 z1 * Rea <i> + Im2 z1 * Im3   hencethesis  Lm2    =*eaz1 *Reaz2-   -z1  -Im3 z1*Im3 z2,
  - Im3 z1 * Im2 <i> 
:z*<>= Rea *i+     +Im3
 -Im1 .[ *   z1 *z2-z1*    *,
> java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 73
  -Im2z1Im2  Im2    *    z1 * )java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  hence thesis by A1,A2,A3,A4,Lm18,Th23;
end;

theorem
  (eajava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 75
  Im1 (z1*<j>) = :z  - z2 eaz2 +m3z1*Im1 z2-z1*java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 75
-Rea z1 * java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 76
  assume
 =x;
  j   Rea Im1*    Im2*  j>
  -
A3: Im1 (z1 * *,b*  REALby8; then
  - Im3 z1 * Im2 <j>. =  byA1:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(m2Im2 z2)-z1 *Im3 z2),
  - Im1 z1 * Im3 <j>   (  Im1   Im1  *Reaz2) java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  Im3 (z1     f-Rea *  z2)-Im3z1  
  - Im2 z1  (z1 * Im2 z2) + (Im2 z1 * Im1 z2)*];
  hencethesis by A1A2A3,4Th24;
d;

theorem
  z1 = x implies Rea (z1*<k>) = 0 &
  Im1 (z1*k> (z1*)'=-Rea  * Im1 z2)-(Im1 z1 * Rea z2)-
proof
  assume
A1:z1  x;
A2: Rea (z1 * <k>) = Rea z1 * Rea <k> - Im1 z1 * java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 24
  - Im3 z1 * Im3 <k> by Lm17;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  - z1 *Im2<> by ;
A4: Im2 (z1 * <k>) = Rea z1 * Im2 <k> + Im2 z1 * Rea <k> + java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  - Im1 z1 * A3: not z in REAL; then
  Im3 (z1 * <k>) = Rea z1 *a3   is byd 1java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
  - 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,    z in Funcs(2 (,    x Funcs,:x.=
A1: y = [*bydef;
  func x + y -> Number means
  :Def18:b< 0by A6FUNCT_4:;
ex ,,y3y4 Realst y =[*1,y2,y3,*] &
  it = [*x+y1,y2,y3,y4*];
  existence
  proof
java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 27
    thus thesis
  end;
  uniqueness
   ,d*  a
     ,c2  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*] and
A5: c2 = [*x+y19,y29,y39,y49*];
A6: y1 = y19 by A2,A4,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 Real, y be Quaternion;
  func x - y -> Number equals
  x + -y;
  coherence;
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
  :Def20:
  ex y1,y2,y3,y4 being Real st y = [*y1,y2,y3,y4*] &
  it = [*x*y1,x*y2,x*y3,x*y4*];
  existence
  proof
    take [*x*y1,x*y2,x*y3,x*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,x*y2,x*y3,x*y4*];
    given y19,y29,y39,y49 being Real such that
A4: y = [*y19,y29,y39,y49*] and
A5: c2 = [*x*y19,x*y29,x*y39,x*y49*];
A6: y1 = x   java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 77
A7: y2 = y29 T;
    y3 = y39 by ,,  java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 35
A3:y=[*,y2,y3,y4]and
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

registration
  let x be :Im1y y2byTh16
clusterx+ >
  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> = [ z1+z2+z3+z1+  z3 +java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 *i =[***,*y**  Def20
    . [0,y,*;
A2: z*<j> = [*z*0,z*0,z*1,y*0*] by Def20
  . *0,0,,*;
A3: w*<k> = [*w*0,w*0,w*A1:   z1+Rea +Rea z3  Rea   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 4
.*,,,*
  x + y* <i>z1*Im1z2 +Im1*Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2,
    .= [*x,y,0,0*];
  then x + y*<i> + z*<j> = [*x+0,y+0,0+z,0+0*] by A2Reaz1 *Im3  Im3z1*Rea   * z2-Im2z1*z2*
    proof
  then x + y*<i> + z*<j> + w*<k> = [*  *eaz1 *Rea z2 -Im1 z1  z2  Im2z1 *m2z2 -Im3 z1  Im3z2,
  hence thesis;


definition
  let z1,z2 be   reconsider z9 = z1 * z2 Quaternion;
  A1: Rea z = Rea z1 * Rea z2 - Im1 z1 * Im1 z2 -
  coherence by Def2;
end;

Lm20: z1+ java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 22
  (Im2 z1 + Im2 z2)*<j z  Reaz1*Im3+Im3z1  z2
proof
  z1 + z2 = [* Rea    = Im3 z9 by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  Im2 z1 + Im2 z2, Im3 z1
   hence thesis by Lm19;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th29:
  Rea (z1 + z2) = Rea z1 +       then
  Im2( +z2)  Im2  + 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
 letz1,z2be
  redefine func z1 *       hence thesis  ,;
  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;proof

theorem
  z = Rea      then [*,b,d*]  *b* java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 42
proof
  [*Rea z, Im1 z, Im2 z, Im3 z*] = z by Th17;
  hence thesis by Lm19;
end;

Lm22: for c be Quaternion holds c + 0q = c
proof
  let c be Quaternion;
A1: 0q = [*In(0,REAL),In(0,REAL)*] by ARYTM_0:def 5
    .= [*0,0,0,0*] by Lm3;
  consider x,y,w,z be Real such that
A2: c = [*x,y,w,z*] by Th2;
  c + 0q = [* x+0,y+0,w+0,z+0 *] by A1,A2,Def6
    .= [*x,y,w,z*];
  hence thesis by A2;
end;

Lm23 *i>=0 & 0*<j>=   0*k>=0
proof
  setz1  , z2  i>java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  consider y1,y2,y3,y4 being Real such that
A1:<i>= [y1,,y3
  z1*z2 = [*z1*y1,z1*y2,z1*y3,z1*y4*] by Def20;
A2: z1*z2 = [*In(0,REAL),In(0,REAL)*] by A1,Lm3 .= 0 by ARYTM_0:def 5;
  consider y1,y2,y3,y4 being Real such that
3: <j>=[y1,y2,y3,y4*] &
  z1*<j> = [*z1*y1,z1*y2,z1*y3,z1*y4*] by Def20;
A4: z1*<j> = [*In(A6 =y19 by A2A4,Th5java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  consider y1,y2,y3,y4 being Real such that
A5:  <k> = [*y1,y2,y3,y4*] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  *y1,z1*y2,z1*y3,z1*y4*] by Def20;
  z1*<k> = [*In(0,REAL),In(0,REAL)*] by A5,Lm3 .= 0 by ARYTM_0:def 5;
  hence thesis by A2,A4;
end;

theorem
  Im1 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
  Im3 z1 = 0 & Im3 z2 = 0 implies Rea(z1*z2) = Rea z1 * Rea z2 &
  Im1(z1*z2   x  Real y beQuaternion;
  Im2(z1z2) =Im3 z1 *Im1 z2 -Im1 z1 *Im3z2 &
A1:y = [*1,y2,y3,y4* by Th2;
roof
  assume A1: Im1 z1 = 0 & Im1 z2 = 0 & Im2 z1 = 0 & Im2 z2 = 0 &
    Im3 z1 =   :ef20
A2:  z1*z2 =
  Reaz1 *Rea z2 - Im1 z2 Im2 z1*Im2 z2  Im3z1 *Im3 z2) +
  (Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 *  proof
 (Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2)*<j  z= [Rea ,-z, -m2 z Im3 z]
  (Rea z1 * Im3 z2 + Im3   
    by Lm21
    .= Rea z1 * Rea z2 + 0q + 0q by Lm22,Lm23,A1
    =(Rea z1 *Rea ) +0 by Lm22;
    consider y1,y2,y3,y4 being Real such that
A3: 0q = [*y1,y2,y3,y4*] &
    (Rea z1 * Rea z2) + 0q = [*(Rea z1 * Rea z2)+y1,y2,y3,y4*] by Def18;
   reconsider RR =Rea z1 *Rea z2,zz= 0as Element of REAL
          by XREAL_0:def 1;
    y1 = 0 & y2 = 0 & y3 A4:y  *y19,y29,y39y49*  .=0 by Lm6;
(Rea z1* Reaz2) +0 = [RR,] by A3Lm3; then
    (ea z1* z2 +0q = Rea z1 *Reaz2 by ARYTM_0:def 5;
    hence thesis by Lm18,A2,A1;
end;

theorem
  Rea z1 = 0 & Rea z2 = 0 implies
  Rea(z1*z2) = - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2 &
  Im1(z1*z2) = Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 &
  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: Rea z1 = 0 &   hence thesis by A14,A15,A16,A17,A18,Def5;
    Rea (z1 * z2) =
Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2end;
Im1 (z1 * z2) =
Rea z1 * Im1 z2 + Im1 z1 *  Rea z1 =Reaz2& Im1z1  Im1 z2 &Im2 z1  Im2 z2 &
Im2 (z1 * z2) =
Rea z1 * Im2 z2 + Im2 z1 * Rea  +Im3z1 *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
  by Lm17;
A1:Rea  = Rea z2 and
;

theorem
  Rea(z*z =Rea )^2 -(Im1 z)^ - (Im2 z)^2 - (Im3 z)^2 &
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
()=2( *Im3)
proof|0q.| 0
  Rea (holds Rea A15 yA15: for x,y being
    A:p
Im1z *z)java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    fpercases  ,A17A18,:
  (  )=
    then  X ,:ef4java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 15
     * z + Im3z A2 m= [*1m2,m3m4* 
  hence thesis;


definition
      thenreconsider asReal;
  redefine func - - Elementof QUATERNION;
   Def2;
end;

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  
enceLm6S:17java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
: - z+Im1z*i  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    
[Rea   by,;
      . *-  +eaz,Im1  +Im1 z,Im2 +Im2zIm3  +m3 z ]
    by Th16
.=[ 0  Im1z+Im1 z,Im2 +Im2z z9+Im3 z
      .= [* 0, 0,-A19:Im3m = m4 byA2,Th16;
      .= [* 0, 0,0,-Im3 z + Im3 z *] by Th16
      .= 0 by Lm6;
    hence thesis by A1,Def7;
nd

heorem Th34:
  (-z) =-(m1z & Im2(-)=-(m2 z) &
  Im3(-z) = -(Im3 z)
proof
  -z = -Rea z + (-Im1 z)*<i> + (-Im2 z)*<j> + (-java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 45
  -z =[*Reaz,-Im1 z,-m2 z,-m3 z*by Lm19;
  hence;
end;

definition
  let z1,z2 be Quaternion;
func-z2 -Element java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
  coherence by Def2A5:Rea x =x1by A2,h16;
end;

Lm25: z1 - z2 = Rea z1 - Rea z2 + (Im1 z1 - Im1 z2)*<i> +
 (m2  -Im2 z2)*<>+(Im3 z1 -Im3 z2)*<>
proof
    z1  z2 =z1  Rea(-2) +Im1z1 +Im1 (-))*i>+
    (Im2 z1 + Im2 (-z2))*<j> + (Im3 z1 + Im3 (-z2))*<java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 27
      .= Rea z1 + -Rea z2 + (Im1 z1 + Im1 (-z2 hence thesis by A1A8,A9A10,A11,Th16;
    (Im2 z1 + Im2 (-z2))*<j> + (Im3 z1 + Im3 (-z2))*<k> by Th34
      .= Lm13: z1 + z2 = [* Rea z1 + Rea z2, Im1 z1 + Im1 z2,
    (Im2 z1 + Im2 (-z2))*<j> + (Im3 z1 + Im3 (-z2))*<k> by Th34
      .= Rea z1 + -Rea z2 + (Im1 z1 - Im1 z2)*<i> java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    (Im2 z1 + -Im2 z2  Im2z1  Im2z2,Im3 z1  Im3z2]
      .= (Rea z1 - Rea z2) + (Im1 z1 - Im1 z2)*<i> +
    (Im2 z1 - Im2 z2  Rea byLm12
    ence thesisjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
end;

theorem Th35:
  Rea(z1 -z2) = Rea z1 - Rea z2 & Im1(1 -  Im1 -Im1 z2 &
  Im2(z1 - z2) = Im2 z1 - Im2 z2 & Im3(z1 - z2) = Im3    .=Im3 z9 by Lm12;
proof
   =Rea  -Rea z2 +(Im1 z1 -Im1 z2)*<i> +
    (Im2 z1 - Im2 z2)*<j> + (Im3 z1 - Im3 z2)*<k> by Lm25; then
  z1 - z2 = [*Rea z1 - Rea z2, Im1 z1 - Im1 z2,
 -Im2 z2,Im3 z1 - Im3 z2* by Lm19;
  hence thesis by Th16;
end;

definition
  let z be Quaternion;
  func z*' -> Quaternion equals
  Rea z + (-Im1 z)*<i> + (-Im2 z)*<j> + (-Im3 z)*Im2  =Rea x * Im2 y +Im2 x  Rea y  Im3 x* Im1 y - Im1 x * Im3y &
  coherence;
end;

definition
  let z be Quaternion;
  redefine func z*' -> Element of QUATERNION;
  coherence;
end;

theorem Th36:
  z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*]
proof
 <i> = [*zz,jj,zz,zz*] by Lm2,Lm3;
  then z*'= Rea z + [*(-Im1 z)*0,(-Im1 z) *1,(-Im1 z) *0,(-Im1 z) *0 *]
  + (-Im2 z)*<j> + (-Im3 z)*<k> by Def20
    .= Rea z + [*0,-Im1 z,0,0 *] +
  [*(-Im2 z)*0,(-Im2 z)*0,(-Im2 z)*1,(-Im2 z)*0*] + (-Im3 z)*<k> by Def20
    .= Rea z + [*0,-Im1 z,0,0 *] + [*0,0,(-Im2 z),0*] +
  [*(-Im3 z)*0,(-Im3 z)*0,(-Im3 z)*0  [java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    .=A1 |.z.|  0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  + [*0,0,0,(-Im3 z)*] by Def18
    .= [*Rea z+0,-Im1 z+0,0+(-Im2 z
    . [ +0-Im1 z+0,Im2java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 56
  thesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 4
  Im2 (z*') = -Im2 z & Im3 (z*') = -Im3

  ence  :3;
ence by;
end;

theorem
  z = 0 implies z*' = 0
proof
  assume
z= ;then
A2: Rea z = 0 by Lm6,Th16;
A3: Im1 z = 0 by A1,Lm6,Th16;
A4 Im2 z   by A1Lm6h16
  Im3 z = 0 by A1,Lm6,Th16;
  hence thesis by A2,A3,A4,Lm6,Th36;
end;

theorem
  z* =0 implies z =0
proof
  assume
A1: z*' = 0;
A2 zz1+z2  z3z4 =[ Reaz1  Rea z2   z3+ea z4java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
A3: Rea zs  [ Reaz1Reaz2
A4 Im1java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 Im2 * 0 

A7: Rea z*' = Rea   s =qor <java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 5
:z'=-m1 z y ,Th16java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A9  < byA1Tjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  ;
henceby ,4,A5,,,A8,,A9,h19;
end;


q q
proof
,] =[1,,0,* by Lm3;then
:1q=[*,0,,0]byARYTM_0:def5java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A2java.lang.StringIndexOutOfBoundsException: Range [2, 0) out of bounds for length 0
A3:Im1 [jj,zz,*]= 0 by Th16;
A4: Im2 [*jj,zz,zz,zzA2;
  Im3
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
end;

heorem
  x .,.  ,-m2 z -m3z]by ;then
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
  <i>*' = [*zzA2A3:Im2z = zby,h16;
  hencethesisby Th16java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
end;

  in ]q]java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  Rea (<jhence  z =Rea+Im1java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 51
roof
  <j>*' = [*zz,zz,-  thens=x asExtRealjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  ncethesisby Th16;
nd;


 (<k>'endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
proof
  henceLm22:  be  holds  +0q = c
  thesisby ;
;

theorem
: *1* 

    hence A2: z1*z2 = [*In0REAL)In(0REAL)]by  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  <j>*' p

    theexap a&r a&a < r;
  <k>*  ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

c[rr. non ;
  (+ )*      hencethesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
A2: z2*' = [*Rea z2, -Im1 z2, -Im2 z2,
A3: (z1+z2)*' = [*Rea (z1+z2), -Im1 (z1+z2), -Im2 Im3 z1 =  &Im3 z2 = implies Rea(z1*2)=Rea z1 *Rea 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 +  Im3z1=   z2 ;
-z1+ ), -Im3java.lang.StringIndexOutOfBoundsException: Range [52, 30) out of bounds for length 31
    .= [* Rea(z1*    *      z2-Im1z1*Im3java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
z2*yTh29
    .= [* Rea (z1 + z2), - Im1+  *zz* by,m3 then
-(+) -(Im3 z1 +Im3 )]byTh29;
  hence hence thesis by Lm18,A2,A1;
end;


(z)*=-z*')

A1: z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*] by Th36;
  (-z)*' = *Rea(z) -m1(z) -m2(-,-(z)*byTh36;
  then (-z)*' = [*-Reajava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
    .= [*-Rea z, - - Im1java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  inpq[
. *z z  , -z  Th34
 thesisbyA,;
  then z*' + (-  [*Rea z1 * Rea -Im1 z1  Im1 z2 -Im2 z1 *Im2 z2 Im3  hence thesis;
  -Im2 z+ Im2 zz2 +Im1 z1 *Rea z2 +Im2 z1* Im3 z2 -Im3z1 *Im2 z2
  hence thesis by Def7;
end;

theorem
  (z1 - z2)*' = z1end;
proof
A1: z1*' = [*Rea z1, -Im1 z1, -Im2 z1, java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
  assume
A3: (z1-z2)*' = [*Rea (z1-z2), -Im1 (z1-z2), -Im2 (z1-z2), -Im3 (z1
   byTh36
A4: z1*' - z2*' = z1*' + (- z2)*' by Th48
    .= [*Rea z1+Rea (-z2), -java.lang.StringIndexOutOfBoundsException: Range [35, 29) out of bounds for length 35
Im3-*  A1,2,ef6
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  - z1+- Im2java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    .= [*Rea z1- Rea z2, -java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 11
  -Im2 z1+ - Im2 (-z2), -Im3 z1+ - Im3 (-z2)*] by Th34
    .= [*Rea z1- Rea z2 then
  -Im2 z1 - - Im2     <>
eaz1-    .= [*Rea z1- ReabyLm17;
   java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
    .= [*Rea hence thesis by,Th51;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  by A3,Th35
    =[Rea-Rea z2,-(Im1 z1- Im1 z2) -Im2 z1-2,-Im3 (1-2*]
  by Th35
    .= [*Rea z1-Rea z2, -Im1 z1+   ].rs.] c= [.p,q.] by A2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
3 (1-2*  
  =[Rea Rea z2- z1 z2,
  -hencejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  hence;
end;


)' '*z2'implies(m2*Im3   Im3 1*I )

  assume
:(1*2*  '*z2*;
A2: z1*' tjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A3: z2*' = [*ReathesisA3A,A6:;
A4: (z1*z2)*' java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  Th36
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 8
 Im2z2)-(Im3 z1)(Im3 )java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
  (Rea z1)*(- Im1 z2) + (- Im1   (Rea z1)*(- Im1 z2) + (- Im1 z1
( Im2 )*-z2 -(Im3 z1)*- Im2)
  Rea z1)( Im2 z2)+(Rea *-Im2  java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  (- Im1 z2)*(-Im3 proof
  (as .q[java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
-)--Im2*- ]A,java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
. *Reaz1*Rea z2)-( z1)*(Im1z2) -
  (Im2 z1)*(Im2   hencecontradiction  A1,,h1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  -Rea )(Im1 z2)-(Im1 )(Rea ) +
  (Im2 assumethat
 -A:[.s.=.qjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
  (Im1 z2)*(Im3     
  (eaz)*Im3 z2)-(Im3 z1)(ea z2)+
  (Im1 z1)*(Im2 z2) - (Im2A6  =y19byA2A4,Th5
:z1*2* =
  [*Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2,
  -Im1 (z1*z2),end
a z2 -Im1  * Im1 z2-Im2  *Im2 z2  Im3  *Im3 
 -eaz1*Im1   Im1 z1*Rea  +Im2z1   z2   z1*Im2 )java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
2,-m3  hen
    .=[*java.lang.StringIndexOutOfBoundsException: Range [23, 11) out of bounds for length 23
  -(Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  -A:Rea z = 0 by Lm6,Th16;
  -Im3 (z1*z2)*] by Lm17
    .=[*Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2,
  -(Rea: Im3z*   A1,m6,Th16;
  -(Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2),
  -(Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + A8: m1 '= -m1 zbyA2,;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   =*Reaz1 Rea z2 -Im1 z1 *z2)-
  (Im2 z1 * Im2 z2) - (Im3 z1 * Im3 z2
  -(Rea z1 * Im1  let;
(z1 * Im3 z2)+(m3z1   z2)
  -(Rea z1 * Im2 z2) - (Im2 z1 * Rea z2) -
  Im3 z1 *Im1 z2) + (Im1 z1 * Im3 z2),
 z1*m3z2)  Im3z1*ea z2)-
  (Im1
A7:  s< implies [.,s.c={  <>  *z,zzz-jj* by Th24TTh36;
 )( ) -( by A5Th16;
  Im1(z1p
  (Im2 z1 * Im3 z2) + A2:t [.rs]java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    =tjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
endt<= r  A1,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

eorem
  Im1 z = 0 & Im2 z = 0 & Im3   =byTh1

  assume that
A1: Im1;
A2: Im2 z = 0 and
A3: -(Im2z1 suppose
  z   as ofREAL XREAL_0:def ;
A4: z   Im2(+)  Im3 z1+Im3 z2)* by Th29;
    . [Rz,z  
    .= Rea z by ARYTM_0:def 5;
  z*' = [*Rea z, 0,0,0*] by A1,A2,A3,Th36
    .= [*Rz, zz*] by Lm3
    .= Rea z by ARYTM_0:def 5;
  hence thesis by A4;
end;

theorem
  then()' *-ea,- -,-2(-,- z) by Th34
proof
  assume A1: Rea z = 0;
  -z = -Rea
  hence thesis by A1;
end;

theorem
Rea  z)Im1 z)2(m2z^+java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
Im1zz*)0&Im3*z*=
proof
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
*[ ,-z -m2  - z]  h36;
  then z*z*' = [* Rea z*Rea z-(Im1 z)*(-Im1 z)-Im2 z*(-Im2 z)-(Im3 z)*(-Im3A3:<1n3^  (m3*2>2(1n3)m3*1  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:*z2
 *-Im2
reconsider  Reaz1*  =0 of
    .= [* (Rea z  a9 =(m2*n4)^2, a10
   Th16
end;


 
(+ z*') =0 & z proof
proof
A1: z =      n[.,s[by A4,5,;
  z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*] by Th36;
  then z + z*'   that
   by A1,ef6
    .=[*2*Rea z,0,0,0*];
  hence thesis by Th16;
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 4

theorem Th55:thus t  .,.b A4,5Th2
  z= [Rea z, -Im1 z, -Im2 z, -Im3 z*]
proof
A1: z = [*Rea z, Im1 z, Im2 z, Im3 z*] by Th17;
  set z9 = [*-Rea z, -Im1 z, -Im2 z, -Im3 z*];
  z + z9 = [*Rea z+ -Rea z, Im1
 ,ef6
    .0by Lm6
  hence thesis by Def7;
end;

theorem
  z1 - z2 =
    [*Rea z1 - Rea z2, Im1 z1 - Im1 z2, Im2 z1 - Im2 z2, Im3 z1 - java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 46
proof
:z1=*eaz1,Im1 z1,Im2 z1, z1]byTh17;
2 =[Rea z2,Im1 z2,Im2, Im3z2]by Th17;
  set z9 = [*-Rea z2, -Im1 z2, -Im2 z2, -Im3 z2*];
  z2 + z9 = [*Rea z2 z2*Im1z1)
  Im2 z2+ -Im2 -(Rea z1)*(Im3 z2(Im3z1)(Reaz2)+
    .= 0 by Lm6;
  then -z2 = [*-Rea z2, -Im1 z2, -Im2 z2, -Im3 z2*] by Def7;
  * z1  z2-Im1z1  z2- *Im2 z2-Im3z1*Im3 z2,
end;

theorem
  Rea(z - z*') = 0 & Im1(z - z*') = 2*Im1 z &
  Im2(  z*  2* z&Im3( - *  2Im3z
proof
A1: z = [*Rea z, Im1 z, Im2 z,     .=[*Rea z1 * Rea z2 - Im1 z1  Im1 z2- Im2  *Im2 z2 -Im3  *Im3 z2,
A2: z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*] by Th36;
A3: Im1 z* = -Im1  by A2,Th16;
A4: Im2 z*' = - Im2 z by A2  (z1 *Im2z2  z1 *Rea z2+Im3z1 *Im1z2  Im1z1*Im3 ),
A5: Im3 z*' = - Im3 z by A2,Th16;
  set zz = z*';
  -zz = [*-Rea zz, -Im1 zz, -Im2 zz, -Im3 zz*] by Th55;
  then zz =[*Rea z,Im1 z,Im2 z,m3 *]byA2,Th16,A3,4,A5;
  then z - zz = [*Rea z+ (-Rea z), Im1 z + Im1 z, Im2 z  then 2sqrt (m12+m2^2ea z1*m2 + Im2 z1  Rea   m3 z1 *m1z2-Im1  *Im3 z2,
z* by A1,Def6
      then (+b)2sqrt(m12m2^m3^2+42)*(n1^+n2^2+3^2n4^)) =
  hence thesis by Th16;
end;

definition let z;
   |z|- Real equals
  sqrt ((Rea z)^2 + (Im1 z)^2 + (  -(Rea z1 * Im3 z2) - (Im3 z1 * Rea
  oherence;
end;

theorem Th58:
  |.0q.| = 0
proof
A1:Rea q =0by ,Th16;
A2:Im10q = 0 by Lm6,Th16;
  Im2 0q = 0 by Lm6,Th16;
  hence thesis by A1,A2,Lm6,Th16,SQUARE_1:17;
end;

theorem Th59:
  |.z.| = 0 implies z = 0
proof
  assume
A1: |.z.| = 0;
A2: 0 <= (Rea z)^2 by XREAL_1:63;
A3: 0 <= (Im1 z)^2 by XREAL_1:63;
A4: 0 <= (Im2 z)^2 by XREAL_1:63;
  0 <= (Im3 z)^2 by XREAL_1:63; then
A5 ,zz]by
    by A1,A2,A3,A4,SQUARE_1:25; then
A6:     . *Rz, zz* by Lm3
A7: Im1 z = 0 by A5,Lm9;
A8: java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 4
  Im3   assum :z=
  hencethesis A6,A7,A8, coherence byDef2;
end;

theoremLm24:-  - +( z)<>+(-m2z)<j +-m3 z)
  0 <= |.z.|
proof
: 0 <= (Rea z)2by XREAL_1:63;
A2: 0 <= (Im1 z)^2 by XREAL_1:63;
A3: 0 <= (Im2 z)^2 by XREAL_1:63;
   <= (Im3 z)2 by XREAL_1:63;
  hence thesis by A1
end;

theorem
  |.1q.| = 1
proof
A1: Rea 1q =jj by Lm10,Th16;
A2: Im11q  zz byLm10,h16;
  Im2 1q  end
  hence thesis by A1,A2,Lm10,Th16,SQUARE_1:18;
end;

theorem
  |.<i>.| = 1 by Th23;

theorem
  |<j>.= 1by Th24java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22

theorem
  |.k.|= 1 by Th24;

theorem Th65:
  |.-z.| = |.z.|
proof
A1: -z = [*-Rea z, -Im1 z, -Im2 zz1 -z2 =Rea +Rea (z2 + (Im1 z1+Im1 (-z2))*i>+
  then
A2:Rea- = -Rea z by Th16;
3 Im1 -z  -Im1 z by A1,Th16;
A4:Im2-  -by A1Th16;
  Im3 -z =- Im3 z by A1,Th16
  hence thesis by A2,A3,A4;
end;

theorem Th66:
  |.z*'.| = |.z.|
proof
A1: z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*] by Th36; then
=-Im1 zA8:t<p by A1,
 z* =-Im2z by ,h16
   * =-Im3  by A1,Th16
  hence thesis by A1,A2,A3,Th16;
end;

theorem Th67:
 for a,c,d being Real holds a^2 + b^ +c^2 +d^2> 0
proof
  let a,b,c,d be Real;
A1: a^2 >= 0 by XREAL_1:     <    letz ;
A2:b2=0by XREAL_1:3java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A3  z be Quaternionjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  d^2 >= 0 by XREAL_1:63;
  hence thesis by A1,A2,A3;
end Th36:

Lm26:a^2 = a^2 +^ +c^2+ d^2
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,63;
  then 0+a^2 <= (a^2 + b^2) + c^2 by A1,XREAL_1:7;
  hence thesis by A2,XREAL_1:7;
end;

Lm27: for a, b, c, d being Real holds c^2 <= a^2 + b^2 + c^2 + d^2
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,63;
  then 0+c^2 <= (a^2 + c^2) + b^2 by A1,XREAL_1:7;
  hence thesis by A2,XREAL_1:7;
end;

Lm28: d^2 <= a^2 + b^2 + c^2 + d^2
proof
A1: 0 <= b^2 by XREAL_1:63;
A2: 0 <= c^2 by XREAL_1:63;
  d^2 <= a^2 + d^2 by XREAL_1:31,63;
  then 0+d^2 <= (a^2 + d^2) + c^2 by A2,XREAL_1:7;
  then 0+ d^2 <= b^2 + (a^2 + d^2 + c^2) by A1,XREAL_1:7;
  hence thesis;
end;

Lm29: a >= b^2 implies sqrt a >= b
proof
  assume
A1: a >= b^2;
  b^2 >= 0 by XREAL_1:63; then
A2: sqrta = sqrt 2 by A1,SQUARE_1:26;
  per casesRea(*z*)=(ea z)^2+Im1 z^+Im2 z^+z^ java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
   b>= 0java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
hencethesis by A2,SQUARE_1:22;
  nd;
  suppose
A3: b < 0;
    then a =- by ,SQUARE_1:;
       hencethesis by A3;
  end;
end;

Lm30: for a1,a2,a3,a4,a5,a6,b1,b2,b3,b4,b5,b6     .= [* (Rea z)^2+(Im1 z)^2+(Im2 z)^2+(Im3 z)^2,0];
a1 >= b1 & a2 >= b2 & a3 >= b3 & a4 >= b4 & a5 >= b5 & a6 >= b6 >= b1 & a2 >=b2  a3 =  &a4 = b4 &a5&nbsp;> b5 &a6 >  holds
a1 +a2 +a3 +a4+a5 + a6 > b1 + b2 + b3 + b4 + b5 + b6
proof
  let a1,a2,a3,a4,a5,a6,b1,b2,b3,b4,b5,b6 java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 7
  assume that
A1:a1 = b1 and
A2: a2 >= A1: z = [*Rea,Im1, Im2 z, Im3 z* by Th17;
A3: a3 >= b3 and
A4: a4 >= b4 and
A5: a5 >= b5 and
A6: a6 >= b6;
A7: a1+a2>=b1+b2 by A1,A2,XREAL_1:7;
A8: a3+a4 >= b3+b4 by A3,A4,XREAL_1:7;
A9: a5+a6 >= b5+b6 by A5,A6,XREAL_1:7;
  (a1+a2java.lang.StringIndexOutOfBoundsException: Range [8, 0) out of bounds for length 0
  thenproof
  ence thesis;
end;

:a=0 & b>0& a2 >= b^2 implies a >= b
proof
    by A1,Def6
A1: a>= and
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 12
A3: a^2 >
rtb2  A2A3,:;
  then a >= sqrt b^2 by A1,SQUARE_1:22;
  java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 4
end;

Lm32: for m1,m2,m4  by A1,Def6
(sqrt (m1^2 + m2^2 + m3^2 + m4^2)+sqrt (n1^2 + n2^2 + n3^2 + n4^2))^2
= (m1^2 + m2^2 + m3^2 + m4^2 + n1^2 + n2^2 + n3^2 + n4^2)+
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;
  set a = m1^2 +   set a = m1^2 + m2lies not].r,s.[ =[p,.
 0 by Th67;
A2: b>= 0 by Th67;
    <;
    A3 <=java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
.  2*(sqrt a
   z2 Im2 z2  -m3z2*      take t;
  thesis;


Lm33: for m1,m2,m3,m4,n1,n2,n3,Lm33: for m1,m2,m3,m4,n1,n2,n3,n4
(sqrt ((m1 + n1)^2 + (m2+java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 11
= (m1+n1)^2+(m2+n2)^2+(m3A8  <p byA1,REAL_1227;
proof
  lethence tin]rs.by A7,Th4java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
(+n1)2nd
  hencetheorem:java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
  Rea z <= |.z.percases;
proof
  0 <= (Rea z)^2 by XREAL_1A5: t <s by ,XREAL_1:227;
  A1: sqrt ((Rea z)^2) <= sqrt ((Rea z)^2 + (Im1 z)^2 + (Im2 z)^2 + (Im3 z )^2)
  by Lm26,SQUARE_1:26;
  per cases;
  suppose Rea z >= 0;
    hence by A1,QUARE_122
  hencet Th3java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  suppose
A2: Rea z < 0;
    then - Rea z <= |.z.| by A1,SQUARE_1:23;
thesisby 2;

end;

java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  Im1 z=|.
proof
  0 <= (Im1 z)^2 by XREAL_1:63;
 
  A1: sqrt (+[*00(-m3 z* byDef18
  Lm26:6;
  per cases;
  suppose Im1 z >= 0;
    hence thesis by A1SQUARE_1:22;
  end;
  suppose
A2: Im1 z < 0;
    then -Im1 z <= |.z.| by A1,SQUARE_1:23;
    hence thesis by   z*' = [*Rea z, -Im1 '=[Rea z,-Im1 z -m2z,-m3z* Lm19;
  end;
endsuppose

theorem
  Im2 z <= |.z.|
proofA4:r < t and
  0 <= (Im2 z)^2 by XREAL_1:63;
  then
  A1: sqrt ((Im2 z)^2) <= sqrt ((Rea z)^2 + (Im1 z)^2 + (Im2 z)^2 + (Im3 A3: Im1 z = 0 by A1,Lm6,Th16;
  by Lm27,SQUARE_1:26;
  per cases;
  suppose Im2 z >= 0;
    hencethesis A1,SQUARE_1:2;
  end;
  suppose
A2: Im2 z < 0end;
    then -Im2 z <= |.z.| by A1,SQUARE_1:23;
    hence thesis by A2;
  end;
end;

theorem
  Im3 z <= |.z.|
proof
  0<= (Im3 z)^2 by XREAL_1:63; then
A6 Im3z*=   A1Lm6,;

  per cases;
  suppose Im3 z >= 0;
    hence thesis by A1,SQUARE_1:22;
  end;
  suppose
A2: Im3 z < 0;
    then -Im3 z <= |.z.| by A1,SQUARE_1:23;
    [*jj,zz,zz] *0] java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  ;
    considertA3: Im1 *jzz,zz,z*0byTh16

theorem Th72:
  | z2.< .+|.
proof
   java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 57
  n1 = Rea z2, n2 = Im1 z2, n3 = Im2 z2, n4 = Im3 z2, a = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  b = n1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 z1= *z1,Im1z1,Im2z1z1]byTh17
  A2:z2=[*ea z2,Im1 z2,Im2   z2*]by java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 40
A2:;2=*Rea z2 -z2- z2
A3: (sqrt (m1^java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7
  = (m1^2 +   Im2 z1+ Im2  Im3z1   *zzzzzz-j*  Th36
+ m3^ +m4^)*(^  n2^ + n32+n4^2) by Lm32;
A4: (sqrt ((m1 + n1)^2 + ( m2+n2)^2 + (m3+n3)^2 + (m4 +n4)^2))^2
  = (m1+n1)^2+(m2+n2)^<>* =->by Th23Lm24;
A5: Rea (z1+z2) = Rea z1 + Rea z2 by Th29;
:Im1 (z1+z2) = Im1 z1 +Im1 z2 by Th29;
A7
A8: Im3 (z1+z2) = Im3 z1 + Im3end
A9: (m1*n2)^  Im2 z1+ z1Im3java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A10: (m1*n3)^2 + (m3*n1)^2 >= 2*(m1*n3)*(m3*n1) by   (1  z2*  z1*  z2*
A11: (m1*n4)^2 + java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A12: (m2=z1-z2:z2*  *,-1z2 - z2 - *] byTh36;
A13: (m2*n4)^2 + (m4*n2)^2 >= 2*(m2*n4)*(m4*n2) by SERIES_3:6;
A14: (m3*n4  z1'+z2* =[  z1+Rea z2 - Im1 z1 + - Im1 z2,
   m1),  ) =m1^a=(n1^java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
2 =412 =(*^,a8 3n2),

  b1= 2*Rea (1 + z2), - Im1 (z1 + z2),
  b3 = 2*m1*n4*(m4n1), b4= 2*m2*n3)*m*2,
  java.lang.StringIndexOutOfBoundsException: Range [14, 4) out of bounds for length 47
  (1+ a2Im2z1 -m2 z2,Im3 z1+-m3 z2* by A1,ef6;
 + + b5 + b6 by A9,A10,A11,A12,A13,A14,Lm30;
a2+  +4 +5+6++a8+9+ a10  a11  12)
  +((m1*n1A5 z*=-Im3 z by Tjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  +((m1*n1)^2+(m2*n2)^2+(m3*n3)^2+(m4*n4)^2) by XREAL_1:6;
  thenset zz=z*;
  +((m1*n1)^2+(m2*n2)^2+(m3*n3)^2+(m4*n4)^2) >= (m1*n1+m2*n2+m3*n3+m4*n4)^2;
  thenhen zz *ReazIm1zIm2zIm3z]y A2Th16A3,,;
  m1then  -zz = *z+(Rea ) Im1z  Im1z Im2 z +Im2 z,Im3 z Im3
::: : : Copyrightc) 2014 z*::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
  *(  tinINGGPLand CC: licenses,orseehttp:Im2++Im2 Im2z2: :creativecommons.//-/0.
  )+2sqrt ((m1^2+m2^2+m3^  hencethesisby ;
  (+b)2*m1*n1end;
  hence thesis by A2,A3,A4,A5,A6,      XXREAL_2, XCMPLX_0,XREAL_0, COMPLEX1, SUBSET_1, DOMAIN_1, RELAT_1,
end;

:
  |z1-z2 z2Im1  m2 , m3*]yTh55java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55

:: we hope to continue this work. The first author ported the code to
 java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4

:z1 : end;
proof
A1: z1 = [java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 0
A2: z2 = [*Rea:: BEquality, B124and234then123, BTransitivity, BTransitivityOrdered,
A3java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    z2=[Rea) -Im1z2-by     Betweenness -Relationof :the,thecarrier] the carrierjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
   z1+Im2 z2,Im3 A2:A  (z2-z1)=-Im3z2 -)by;
A9 ( z2 =eajava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 44
m2+Im2 -Im2 ,Im3 +Im3 z2-Im3 z2*by A3,Def6java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
hence thesis by Th170=Im3z2 XREAL_163then


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

:java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [22, 2) out of bounds for length 52
-z2 Im1z2, -m2 z2,-z2]byA4: r< t andjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
  Im2 z1+  attrSis satisfying_SegmentConstruction   ::: :Axiom4:
 -Rea z2Reaz2,Im1 z1+java.lang.StringIndexOutOfBoundsException: Range [53, 33) out of bounds for length 33
  Im2 z1+ -Im2 z2+ Im2 z2, Im3 z1+ -Im3 z2+ Im3 z2*] by A2,Def6
    . [Rea + Rea z2 -ea z2, Im1 z1+Im1 z2-m1 z2,
  Im2 z1+Im2z2-m2 z2,Im3 + Im3 z2-Im3 z2*;
  hence thesis by Th17;
end

Lm36then -)'=[*z,-m1 -),-m2 -z, -m3(-*]  
proof
A1: z1     . [*Reaz,Im1 z,--Im2 z,-(z) byTh34
 -  *-ea z2 - z2     t;
  hence thesis by A1 by ,A5,;
d

Lm37: z1-z2 = -(z2 - z1)
proof
A1: Reajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A2: Im1 (z2 - z1) = Im1 (z1 - z2)*' = z1*' - z2*
A3: Im2 (z2 - z1) = Im2 z2 - Im2 z1 by Th35;
A4:Im3se
A5: A2: (-z)'=[*ea(-2) -m1 (-z2), -Im2 (-z2),-(-* Th36java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
:Im1((2-1)=-Im1z2 -Im1 1 byA2,h34;
A7: Im2 (-(z2 - z1)) = -(Im2 z2 - Im2 z1) by A3,Th34;
A8: Im3 (-(z2 - z1)) = -(Im3 z2 - Im3 z1) by A4,Th34;
A9: Rea (z1 - z2) = Rea z1 - Rea z2 by Th35;
A10: Im1 (z1 - z2) = Im1 z1 - Im1 z2 by Th35;
A11: Im2 (z1 - z2) = Im2 z1 - Im2 z2 by Th35;
  Im3 (z1 - z2) = Im3 z1 - Im3 z2 by Th35;
  hence thesis by Th18,A9,A10,A11,  : Rea z1 - z2))=Rea z1 -Rea z2 by ;
end;

Lm38:z1 -z2 = 0 implies z1 = z2
proof
  assume
 z1-z2A5  -z2) Im3z   Im3z Th35;
A2: Rea (z1 - z2) = t < s by A6,A8,XXREAL_0
A3: Im1 (z1 - z2) = Im1 z1 - Im1  thus thesis by A8Th2java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A4: Im2 (z1 - z2) = Im2 z1 - Im2theorem:java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A5: Im3 (z1 - z2) = Im3 z1 - Im3 z2 by Th35;
A6:A2 r ;
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
nd;

theorem
|-|z2|<|z1A1:r<pand
 z1=z1+ -by by3Ajava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 44
  then |.z1.| <= |.z1 + z2.| + |.z2.| by Th73;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 29
end;

theorem Th75:
  |.z1.| - |.z2.| <= |.z1 - z2.|
proof   then |z1.|<= .z1 +z2|  |.z2.|by Th73;
  then |.z1.| <= |.z1 - z2.| + |    . [ hencethesis by XREAL_120
encethesisby XREAL_120
end;

:
proof z1 =z1 -z2end;
  the |z1. =|z1  z2. + .|by ;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 43
    .= |.z2 - z1.| byTh65;
end;

theorem
| z2|=  iffz1=z2
prooft;
thus| hus| z2.=|-2 -z1).by Lm37
  z1 =;then
   -z2 =[Reaz1-eaz1 Im1 z1-m1 z1,Im2 z1-z1 Im3z1- *
    by Lm36
  Lm6;
  hence thesis by Th58;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

Lm39: for z,z1,z2 being java.lang.StringIndexOutOfBoundsException: Range [40, 34) out of bounds for length 40

   letz,suppose
A1: Reasuchthat
    attr  issatisfying_Pasch means:
   . (eaz1  Rea z)+ (eaA:: (1z2* java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    .= Rea z1 - Rea z2
    .= Rea (z1 - z2) by  attr Sis satisfying_Tarski-odel means ::: :TarskiAxioms:
A2       satisfying_SegmentConstruction Rea z2  Im2z1 Im3z2-Im3z1 Im2z2java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
. (z1)+Im1 z -m1 z2 by 
    .= java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 0

1 -z2) Im1 z1  Rea +Im2 z1 *m3 2 -m3 z1*  take ;
:Im2(z1- +z-2)  (1-java.lang.StringIndexOutOfBoundsException: Range [43, 43) out of bounds for length 32
 +(m2  
modeTarskiExtensionM-MetrTarskiStr  :ADef:
   =z1-m2
         Lm36
   (z     0by;
     ce  byTh58;A1:r<= and
    .=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.  z1 -Im3z2
    . Im3 z1 - z2) by Th35;
hesis A1,T;
end;

theorem
  |
proof
  |.z1 - z2.| = |.(aa the MetrStruct of T=the MetrStruct  Mby TADef;
  hence thesis by Th72;
end;

theorem
  |.|.z1.| - |.z2.|.| <= |.z1 - z2    the distanceofM symmetric by METRIC_1:def 8;
 end;
  |.z2.| - |.z1.| <= |.z2 -  coherence
then-|.z1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 by Th75java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  thusr  .,s. byenerated means N:
nd

theoremTh80:
|z1*2.  ..*.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
  java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 14
Rea,n2 =java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 22
A1:Rea(z1 *z2)=m1n1  m2*n2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
:Im1(z1  z2)= m1n2+m2* + m3*n4 -m4* by Lm17;
A3: Im2 (z1        [x1x2,[1y2]]  E implies dist(1x2)=dist(y1,2java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
 m4n1  *-m3*byjava.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 6
  set   assume  1 -=- A1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    *3+m3*  m4*2-m2*4 b4  m1*n4   percasesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A5(   ^^+^>0byTh67
:(^2 +n2 + n3^2  n4^) > 0 by Th67;
  (b1^ +java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      x1x],]inB  |*. .thus in]rsbyA4h2
  hence thesis      hus [[1x2
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4

theorem
^  (Im1z)2   t
proof
A1betweena, iff b      A8Th4
  |.z.| * |.z.|      reconsiderjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  (m1z) +(Im2 z)2   a,,d Real;
ence thesis by Th80assume 
A2:<s

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

theorem
  z is real     A,A8;
byLm18;

theorem
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

theorem
 z2=
(   java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 13

theorem
  z1: and
  (java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 75
  (Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2proofaketjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 + Im2    z2  Im3  *Im1   z1 * Im3 z2)*<j>+
  (Rea z1 * Im3 z2 + Im3 z1   d^2 < hesis byA4Th1;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 12

theorem
-=-z+(Im1 )*i> +(- z)<>+ (Im3 z*<k> by Lm24;

theorem
  z1 - z2 = Rea z1 - Rea z2 + (Im1 z1 - Im1 z2)*<i> +
    (Im2 z1 - Im2 z2)*<j> + (Im3 z1 - Im3 z2)*<k> by Lm25;

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 (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 + Im2 z1 *Im3 z2  Im3 z1  Im2 z2 java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
2z *java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1
Im3 (z1 * z2) =
Rea z1 * Im3 z2 + Im3 z1  Im2 A3 =java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  byLm17;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.181 Sekunden  ¤

*© Formatika GbR, Deutschland