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, SUBSET_1, FUNCT_1, CARD_1, ORDINAL1,
FUNCOP_1, RELAT_1, java.lang.StringIndexOutOfBoundsException: Index 31 out of boun ds for length 24
ARYTM_2 ,, REAL_1,SQUARE_1, XXREAL_0, QUATERNI,
FUNCT_7;
notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, ARYTM_3, NUMBERS, RELAT_1 .0by Lm6;
FUNCT_1,hence thesis Def7;
ARYTM_2, java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
constructors ENUMSET1, FUNCT_4, ARYTM_1 z Quaternion;
VALUED_1, RELSET_1;
r XBOOLE_0 ORDINAL1, FUNCT_4, NUMBERS , REAL_0,
SQUARE_1, MEMBERED, VALUED_0, RELSET_1, FUNCT_7;
definitions TARSKI;
equalities SQUARE_1 ex beingComplex stz= &it=Re if z in COMPLEX otherwise
f Function of 4R stz f&it =f.
theorems FUNCT_2, XBOOLE_0, TARSKI, NUMBERS, ENUMSET1,existence
FUNCT_1, ZFMISC_1, RELSET_1, COMPLEX1thusjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 49
XREAL_0,
SERIES_3, XTUPLE_0;
begini = 3,d
reserve j}=[,;assumezinCOMPLEX
veAfornonemptyset
definition
funciin {{}{,A44TARSKIdef 2
Funcs(4,EAL \ ori=2byTARSKI2;
x.2 = 0 & x.3 = 0} \/ COMPLEX;
take z99java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
definition
let x java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
attr x is quaternion end;
:Def2:
x in QUATERNION;
end;
registration
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 8
coherence;
endA2: no COMPLEX;
registration
cluster quaternion for Number;
existencein {[i,: j java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 28
proof
take the Element of QUATERNION;
thus thesis;
end;
end;
definition
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
ajava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 22
::$CD
::$CT 4
Lm1: 0,1,2,3 are_mutually_distinct;
theorem
{x1,x2,x3 x. then{}in by ORDINAL3:;
proof
A1: x1 hencecontradiction ENUMSET1:def 2;
A2:x2 in{1java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
A3: x3 in {x1,x2, notRATby : ;
x4 in {x1,x2,x3,x4} by ENUMSET1:def 2;
thus ;
by A1,A2,A3;
assumeset end;
A4: x1 +st r inAholds
A5: x2 in X and
A6: x3 in X and
A7: x4 in X;
let z be object;
x1,,3x4};
hence thesis by A4,A5,A6,A7,ENUMSET1:def 2;
;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
let A,x,y,wfunc Im1 z - Numbermeans
iven ,,zz :Def13:
redefine func (x,y,w, ex z9 being Complex stin
coherence
proof
set f=(x,exf beingFunctionof4,EAL st =A49{java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 38
1 java.lang.StringIndexOutOfBoundsException: Range [7, 1) out of bounds for length 11
A2: for ex java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 49
rng h = XBOOLE_1
hencethesis A2java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
end;
definition
func <j> -> Number for r,s being Element o java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 55
(,,, >(,0
coherence;
func <k> -> Numberz9=*,s*;
0,,,3)- 0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
coherence;
end thusthesis byA3;
reconsider jj=1, zz = 0 as Element of REAL by XREAL_0:def 1;
Lm2:
registration
cluster <i> -> java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
coherence z in QUATERNIONDef2;
cluster <j> -> quaternion;
proof
set X = { x where x is Element of x.= .30}by 4XBOOLE_0def ;
A1: now
assume <j> in X;
then ex x being Element of (,EAL) st<> =x &x.= .0
hence contradiction by FUNCT_4:140;
end;
reconsiderz=,=0w=1,= ;
<java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
then<>in 4REAL byCARD_1,UNCT_2:8;
then <j> in Funcs(4, funcIm2 z -Number
:ef14:
end;
cluster <k> -> quaternion;
coherence
proof
setX={ x Element ofFuncsREAL): x.= &x30;
A2: now
assume <k> in X;
then ex x being Element of Funcs(4, ex f being Function of 4,REAL st z = f & it2;
end
end;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
< 01,3 -> zj,,)
then>in
setf=(,,,)-java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 19
hence kin byXBOOLE_0 3;
end;
end;
registration
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
cluster Im3z not in 01,)
end;
definition
let x,y,w,z suppose zinthen {0,1,2,3} c= {0,1} by FUNCT_4:137;
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 28
:end;
x9 beingElementof java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 29
x9 = x & y9 = not Function, java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 77
otherwise it =(,,,)--(xyw,z);
consistency;
existence
proof
reconsider x9 = x, y9 = y, w9 = w, z9 = z as Element of REAL
by XREAL_0:def 1;
thus w = 0 & z = 0 implies ex t being hence thesis by A1,NUMBERS:def 2,XBOOLE_0:def 3java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 59
ex x9, y9 being Element of REAL st
x9 = x & y9 *,x3,* =[*,y2,y3,y4*];
proof
assume that w = 0 and z = 0;
set tby :ef 1;
reconsider t cases
e tjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
take x9
A3 [*,x2x3,x4] = *xx2] Lm3
end;
set e = (0,1,2,3) --> (x9, assume <0 ory4<0
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 33
ext java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
ssume
A1: w <> 0 or z < then
EAL CARD_152,UNCT_2:;
now
assume e in {r assume that
thenex r being Element :a
by e
end;
then end;
\ { r where r is Element of Funcs(4,end;
byA2,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
then reconsider e for java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 72
take e;
thus thesis;
end;
end;
uniqueness;
end;
Lm3 for x,y being Element of REAL holds [*,y,0,0] =java.lang.StringIndexOutOfBoundsException: Range [54, 39) out of bounds for length 39
proof
let x,y be Element of REAL;
ex , y9 being Element of REAL st java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
by Def5;
hence thesis;
end;
::$CT
theorem Th2:
java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 24
ex r,s,t,u being Real st g = [*r,A2 {,,,by ,FUNCT_2ef1java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
proof
let :Def6
A1:g hence java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 30
per cases;
upposeg in java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
consider s beingjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A2: g = [*rp
take*2++,+;
thus thesisthesisjava.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 25
end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
then
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 24
x= = A1
then consider f being Function such that
A4: f and
= : x1+22x3+x+
A6:givenx19x29x39x49y19,y39,Real
A7: 0 in 4 by CARD_1:52,ENUMSET1:def 2;
A7:y=[y19,y29,39,y49 a]0--a9, ARYTM_0ef5
A9: 2 in 4 by CARD_1:52,ENUMSET1:def 2 c=[19,+9+y39java.lang.StringIndexOutOfBoundsException: Range [43, 38) out of bounds for length 45
A10: 3 in 4 by CARD_1:52, hence thesis by a2,COMPLEX1:ef1;
A11: f.0 in rng end
A12: f.1 in rng f by A5,A8,FUNCT_1: casesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A13: f.2 in rng f by A5,A9,FUNCT_1:3;
f.3 in rng f by A5,A10,FUNCT_1:3;
then reconsider
r = f.0, s = f.1, t=f.2, u=f.3 as Element ejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A14: g = (0,1,2,3)--> then
take r,s,t,u;
now
assume that
A15: t=0 and reconsider f =[*,b*as Function of 2,REAL by CARD_1:50;
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,)3= by A16,FUNCT_4:63;
then g in { x where x is Element of Funcs(4,REAL):
x.2=0 & x.3=0} end;
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,,zbeing object st [x,y] = {z} holds z = {x} & x = y
proof
let x,y,z be object;
assume
A1: [x,y] = {z};
then
A2: {x,y} in {z} by TARSKI:def 2;
{x} in {z} by A1 per cases;
hence
A3: z = {x} by TARSKI:def 1;
{x,y} = hence [*Re]java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 48
hence thesis by A3,ZFMISC_1:5;
theorem Th3:
for A being Subset of RAT+ java.lang.StringIndexOutOfBoundsException: Range [29, 23) out of bounds for length 23
for r,s endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
ex r1,r2,r3,r4,r5 being then
in &r2: beingFunctionof 2, f(m=f)by e ;
>r2 & <>r3 <r4r5 & r2<> r3&r2>java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 63
& r4 < r5
proof
let A be Subset of RAT+;
A1: t in A and
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 12
assume
A3: for r,s st beQuaternionjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
consider x such that
:t:java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 13
A5: x = y+y by ARYTM_3:reconsider z asjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
consider w such that
:y wby:java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
take {},w,y,x,t;
A7: { = byjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 6
A8: x <hencethesisbyA1nd
A9: y <=' x by A5java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 0
R ab,=a Im1*c,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A11 *bA6 =;
w <=' x by A9,A10,x2
A7: z=[*xjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 62
ARYTM_3:67;
by XREAL_0:ef 1;
then
A13: {} <> y by A5,ARYTM_3:50;
<t
proof
assume x = t;java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
t+}=tconsider x29,39x49,9, beingR suchthat
n byA2,RYTM_3:62;
end;
A15: y <> x
proof
assume y = x;
then x+{} = x+xjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence contradiction by A12,ARYTM_3:62;
end;
w <> y
proof
assume w y;
then y+{} = y+y by A6,ARYTM_3:50;
hence contradiction by A13,ARYTM_3:62;
end;
hence thesis by A2,A4,A5,A6,A8, . <i>= *00-*-*-*, 0*+*+*-*0,
end;
Lm5: not (0,1,2,3jj*]
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 ;
then consider i,
A2: ftheorem
A3: {i} in f by A2,TARSKI:def 2;
java.lang.StringIndexOutOfBoundsException: Range [24, 2) out of bounds for length 34
A5: now
assumei =j;
then {i} = {i,j} by 0+*1+0*0-*, 0*1+*+0-** byDef9
then
A6: [i,j] = {{i}} by ENUMSET1:29;
then
A7: [0,a] in {{i}} by A1,A2,ENUMSET1:def 2;
A8: [b]in{i} A1,A2,,ENUMSET1:def ;
A9: [0,a] = {i} by A7,TARSKI:def 1;
[1,b] = {i} by A8,TARSKI:def 1;
hence contradiction by A9,XTUPLE_0:1;
end;
per cases by A1,A3,A4,ENUMSET1:def 2;
suppose {i} = [0,a] & . [*zz,java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
hence contradiction by A5,ZFMISC_1:5;
;
suppose that
A10: {i} = [0,a] and
A11: {i,j} = [1,b];
A12: i = {0} by A10java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
i {{1},{,}byA11T:2
then 1 java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 52
hence contradiction by A12,TARSKI:def 1;
end;
suppose that
A13: {i} = [0,a] and
A14: { assume
15 i = {0;
2;
then = 2c}or i ={}by TARSKI:ef 2;
then 2 in i by TARSKI:def A2: 0 < a^ by XREAL_1:
3 <b^ by XREAL_1:;
end;
suppose that
A16: {i} = [0,a] and
A17: {i,j} = [3,d];
A18: i = {0} by A16,Lm4;
in {3,3d} by A17,ARSKI: ;
then i = {3,d} or i = {3} by TARSKI:def 2;
then 3 in i by TARSKI: z be ;
hence contradiction by A18,TARSKI:def 1;
end;
suppose that
A19: {i} = [1,b] and
A20: {i,j} = [0,a];
A21,Lm4;
i in {{0},{0,a}} by A20,TARSKI:def 2 exfbeing Function of4,EAL st z =f it f.
then i = {0,a} or proof
then 0 inthusz in impliesexIT being Number,
hence contradiction by A21,TARSKI:def 1;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
&{,j =[1b;
hence contradiction by A5,ZFMISC_1:5;
end;
setz9[*a or java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 41
A22: {i} = [1,b] and
A23: {i,j} = [2,c];
A24: i = {1} by A22,java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 17
i in {{2},{2,c}} by A23,TARSKI:def 2;
then i = {2,c} or i ={}byTARSKI:def 2;
then 2 in i by TARSKI:def 1,def 2;
hence contradiction by A24,TARSKI:def 1;
end;
suppose that
A25: {i} 1b and
A26: {i,j} = [3,d];
A27: i = {1} by A25,Lm4;
in {},3,d}}by A26,TARSKI:def 2;
then i = {3,d} or i = {3} by TARSKI:def 2;
then 3 in i by TARSKI:def 1,def 2;
hencethen 0 < a^2 + b^2 by A2,SQUARE_1:12,XREAL_1:34;
end;
suppose that
A28: {i} hence contradiction by A1,A4,A5;
A29: {i,j} = [0,a];
A30: i = {2} by A28,Lm4;
i in {0},{0,a}}by A29,TARSKI
then i = {0,a} or i suppose c <> 0;
then 0 in i by TARSKI:def 1,def 2;
hence contradiction by A30,TARSKI:def 1;
end;
suppose that
A31: {i} = [2,c] and
A32: {i,j} = [1,b];
A33: i = {2} by A31,Lm4;
i in {{1},{1,b}} by A32,TARSKI:def 2;
then i = {1,b} or i = {1} by TARSKI:def 2;
then 1 in i by TARSKI:def 1,def 2;
hence contradiction by A33,TARSKI:def 1;
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 = {2} by A34,Lm4;
i in {{3},{3,d}} by A35,TARSKI:def 2;
then i = {3,d} or i = {3} by TARSKI:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 17
then 3 in i by TARSKI:def 1,def 2;
then 0 < c^2 + d^2 by A4,SQUARE_1:12,XREAL_1:34;
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 2;
then i = {0,a} or i = {0} by TARSKI:def 2;
then 0 in i by TARSKI:def 1,def 2;
hence contradiction by A39,TARSKI:def 1;
end;
suppose that
A40: {i} = [3,d] and
A41: {i,j} = [1,b];
A42: i = {}byA40,Lm4;
i in {{1},{1,b}} by A41,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 A42,TARSKI:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
suppose that
A43: {i} = [3,d] and
A44: {i,j}
A45: i = {3} by A43,Lm4;
i in {{2},{2,c}} by A44,TARSKI:def 2;
then i = {2,c} or i = {2} by TARSKI:def 2;
then 2 in i by TARSKI:def 1,def 2;
hence contradiction by A45,TARSKI:def 1;
end;
suppose {i} = [3,d] & {i,j} = [3,d];
hence contradiction by A5,ZFMISC_1:5;
end;
end;
then
A46: not f in {[i,j]: i,j are_coprime & j <> {}} \
the set of all [k,1];
now
assume f in omega;
then f is non empty ordinal;
then {} in f by ORDINAL3:8;
hence contradiction by A1,ENUMSET1:def 2;
end;
then
A47: not f in RAT+ by A46,XBOOLE_0:def 3;
set IR = { A where A is Subset of RAT+:
for r being Element of RAT+ st r in A holds
(for s being Element of RAT+ st s <=' r holds s in A) &
ex s being Element of RAT+ st s in A & r < s};
not ex x,y,z,w being object st {[0,x],[1,y],[2,z],[3,w]} in IR
proof
givenx,zwbeing object such that
A48: {[0,x],[1,y],[2,z],[3,w]} in IR;
consider A being Subset of RAT+ such that
[,,1y],2,,3w}=A and
A50: for r being Element of RAT+ st r in A holds
(for s being Element of RAT+ st s <=' r holds s in A) &
sbeingElement RAT+st sin A&r s byA48;
A51: [0,x] in A by A49,ENUMSET1:def 2;
for r, RAT+st r in A s =' r holds sin Aby A50;
then consider r1,r2,r3,r4,r5 being Element of RAT+ such that
A52: r1 in A and
A53: r2 Quaternion;
A54: r3 in A and
A55: r4 in A and
A56: r5 in .= Rea z=Rea z9 by Lm12;
A57: r1 <A2:Im1 Im1z1 +Im1 z2by Th16
A58: r1 <> r3 and
A59 r4
A60: r1 <> r5 and
A61: r2<> A3: Im2 z = (,)\ { xwherex of (,EAL)
A62: r2<> r4 and
java.lang.StringIndexOutOfBoundsException: Range [16, 3) out of bounds for length 16
A64: r3 <> r4 and
>r5and
A66: r4 <> r5 by A51,Th3;
A67: r1 = [0,x]
by A49,A52,ENUMSET1:def 2;
A68: r2 = [0,x] or r2 = [1,y]Lm14:for x,y,z being stz x* y
by A49,A53,ENUMSET1:def 2;
69 r3=[,x or r3=[,y]or r3 = 2z] or r3 =[3,]
by A49,A54,ENUMSET1:def 2;
r4 = [0,x] or Im1 z = Rea x * Im1 y + Im1 x * Rea y + Im2 x * Im3 y - Im3 x * Im2 y &
by
hence contradiction by A56,A57,58,A59,A61,62,63,64A65,A67
,68A69,NUMSET1:
endA1 z x java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
then not f in DEDEKIND_CUTS by A1,ARYTM_2:def 1;
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A70A3:y [y1yy4]
now
assume [ y1-y2-*3x4y4,x1*2+2*1+3*4-4*3,
then consider x,y being object such that
71:x in {}}and y in REAL+and
A72: f = [x,y] by ZFMISC_1:84;
A6 Rea y = y1 by A3;
A7 Im1 x =x2 byA2,Th16;
then
A74: [1,b] in f by ENUMSET1:def 2;
per
suppose {{1,b},{1}} = {0};
0 {,,1} TARSKI:def 1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
hence contradiction by TARSKI:def 4 st= java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 52
end;
suppose {{1,b},{1}} = {0,y};
hence contradiction java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 21
end;
end;
z in QUATERNION by Def2;
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
theorem Th4:
not (0,1,2,3) --> (a,b,c,d) in COMPLEX
proof
set f = (0,1,2,3)-->(a,b,c,d);
fin REALjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
not f in java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
proof
assume f in Funcs({0,1},REAL);
then dom f = {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then {0,1,2,3} java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
,}\/{23}c0,}byjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 4
hence contradiction by XBOOLE_1:11,ZFMISC_1:22;
[*Rea z1 *Rea z2 - z1*Im1 z2 -Im2z1 *z2 -Im3 z1 *Im3z2
then ;
{R z2+ z1
h thesis by A1,NUMBERS
end;
::$CT
theorem Th5:
for [*ea z1 *Reaz2 -Im1 z1 * Im1 z2 - Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2,
[*1y2,,* holdsx1=y1 & x2 y2&java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 72
proof
let x1,x2,x3,x4,y1,y2,y3,y4 be Real such that
*;
reconsider xx1=x1, xx2=x2, yy1=y1, yy2=y2 as Element hence thesis;
by XREAL_0:def 1;
per reconsidere;
suppose
A2: x3=&x4=;
then
A3: [*x1,x2,x3,x4*] = [*xx1,xx2*] by Lm3;
coherence
assume y3<0
then [*xx1,xx2*] = (
henceion byTh4;
end;
suppose inA2: Im1 z = Rea z1 * Im1+ *Reaz2
hence thesis by A1,A2,A3,A4,ARYTM_0:10;
end;
Im2 z1 *Im3 encethesis Def14;
then
A5: . Im1z9 by Lm14;
now
assume that
nd
A7: y4=0;
[*y1,y2,y3,y4*] = [*yy1,yy2*] by A6,A7,Lm3;
hence contradiction by A5,Th4;
end;
then [*y1,y2,y3,y4*] = (0,1,2,3) --> (y1,y2,y3,y4) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 45
hence thesis by A5,FUNCT_4146
end;
end;
definition
let x,y be Quaternion;
consider x1,x2,x3,x4 being Real such that
A1hence thesis by A1,A2,A3,;
consider y1,y2,y3,y4 being Real such that
A2: y = [*y1,y2,y3,y4*] by Th2;
func x + y -> Number means
:Def6:
ex x1,x2,x3,x4,y1,y2,y3,y4 being Real st
x = [*x1,x2,x3,x4*] & y = [*y1Reaz1 *Im1 z2 +Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 &
it = [*x1+y1,x2+y2,x3+y3,x4+y4*];
existence
proof
take [*x1++y1,x2+,x3+y3x4+4*];
thus thesis by A1,A2;
end;
uniqueness
let c1,c2 be Number;
given x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
A3: x = [*x1,x2,x3,x4*] and
A4: y = [*y1Reaz1 * Im1 z2 +Im1 Im3 java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
A5: c1 = [*x1+y1,x2+y2,x3+y3,x4+y4*];
given x19,x29,x39 per Rea z1 * Im z2z1* z2 + Im2 z1 Im1z2java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
A6: x = [*suppose zin COMPLEX
A7: y = [*y19,y29,y39,y49*] and
A8: c2 = hence thesis thesis by Th16;
A9: x1 = x19 by A3,A6,Th5;
A10:x2 =x29 byA3,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A11: x3=x39java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A12x4=x49
A13: y1 = y19 by A4,A7 end
A14:y2se b=0
y3=39 y3=y39 by* a ARYTM_0:ef ;
hence thesis by A4,A5,A7,A8,A9,A10,A11,A12,A13,A14,Th5;
end;
- Im1 z1 * Im <j>byLm17;
end;
Lm6: 0 = [*0,0,0,0*]
proof
exx9 y9 being Element of REALst x9 =0&(-m2 z1 *m1l by XREAL_0:def 1;
,,0,* f +- java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 28
hence thesis byARYTM_0:def 5;
end;
definition
let z be Quaternion;
: ex fbeing Function of 2,REAL st ( z = f)&( *y1y2,y4*java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
A1:existence
func - z -> Quaternion means
:Def7:
z + it = 0;
existence
proof
reconsider z9 [*v,-w,-x,-y* as Quaternion;
take z9;
A2: 0 =v+ -v;
A3: 0 = w+ -w;
A4: 0 = x+ -x;
0 = y+ -y;
hence thesis by A1,A2,A3,A4,Def6,Lm6;
end;
uniqueness
proof
let c1COMPLEX1:def1;
=0 and
A6: z + c2 = 0;
consider x1,x2,x3,x4,y1,y2,A6: z = (,1-->(,b) by A4, given y1,y2,y3,y4 being Real sucthat
A7A7: Re z =a by A5,A6F:;
A82,y3,y4* and:;
A9: 0 = [*x1+y1,x2+y2,x3+y3,x4+y4*] by A5, z in Funcs(2,REAL) \ { x where x is Elementx x+,y,4]java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
consider x19,x29,x39,x49,y19,y29,y39,y49 being Real such that
A10: z = [*x19,x29,x39,x49*] and
A11: c2A5: c2 [*+19,y29y39,y49*;
A12: 0 = [*x19+y19,x29+y29,x39+y39,x49+y49*] by A6,Def6;
A13: 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+y1 = 0 by A9,Lm6,Th5;
A18: x1+y19 = 0 by A12,A13,Lm6,Th5;
A19: x2+y2 = 0 by A9,Lm6,Th5;
A20: x2+y29 = 0 by A12,A14,Lm6,Th5;
A21: x3+y3 = 0 by A9,Lm6,Th5;
A22: x3+y39 = 0 by A12,A15,Lm6,Th5;
A23: x4+y4 = 0 by A9,Lm6,Th5;
x4+y49 = 0 byA6: y1 =y19 by ,A4Th5;
hence thesis by A8
end;
involutiveness;
end;
definition
let x,y be Quaternion;
func x-y -> Number equals
x+-java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
coherence;
end;
definition
let x,y be Quaternion;
consider x1,x2,x3,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 19
A1: x=[*java.lang.StringIndexOutOfBoundsException: Range [12, 12) out of bounds for length 4
consider y1,y2,y3,y4 being java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
A2: = [*y1,2java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
func x*e;
:Def9:
ex x1,x2,x3,x4,y1,y2,y3,y4 being Real st
x = [*x1,x2,x3,x4*] & y = [*y1,y2,y3,y4*] & it = [* x1*y1-x2*y2-x3*y3-x4*y4,
x1*y2+ func x - y -> Number equals
x1*y4+x4*y1+x2*y3-x3*y2 *];
existence
x +-;
take [* x1*y1-x2*y2-x3*y3-x4*y4, x1*y2+x2*y1+x3*y4-x4*y3,
x1*y3+y1*x3+y2*x4-y4*x2, x1*y4+x4*y1+ Im2 [*a,b,c,d*]= c&Im3 *ae;
thus thesis
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
uniqueness XREAL_0:def java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 33
proof
let c1,c2 be Number;
given x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
A3: x = *x1,x2,x3x4*]and
A4: y = [ proof
A5: c1 = [* x1*y1 func x * y -> Number means
x1
ex y1,y2,y3, beingReal st y = [*y1,y2,y3,y4*] &
A6: x = [*x19,x29,x39,x49*] and
A7: y = [*y19 [aabb*[y1java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
end
x19*y39+y19*x39+y29*x49-y49*java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 27
A9: x1 x19by A3,A6,Th5;
A10: x2 = x29 by A3,A6,Th5;
=x39 byAh5
A12: x4 = x49 by A3,A6,Th5;
A13: y1 = y19 by A4,A7,Th5;
A14: y2 = y29 by A4,A7,Th5;
A15 java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 12
y4 = y49 by A4,A7,Th5;
hence thesis by A5,A8,A9,A10,A11,A12,A13,A14,A15;
end;
A3:not *b,,* by A2h4
registration
let z, f0=ay1,,y3y4beingRealsuchthat
cluster z + z9 -> quaternion;
coherence
proof
ex x1,x2,x3,x4,y1,y2A3: c1 == [**1,x*java.lang.StringIndexOutOfBoundsException: Range [1, 20) out of bounds for length 8
z = [*x1,x2,x3,x4 given y19,y29y39, being such that
z + z9 = [*x1+y1[*19,y29,y39,y49*] and
hence thesis;
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*] &
[*x1*-*-3y3-4*4 x1*2+*1+*-x4y3java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
x1*+*y1+x2*3-3* ]byDef9;
hence z*z9 in QUATERNION;
end;
end;
definition
redefine func <jjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[*0,0,1,0*];
coherence by Def2;
compatibilityby java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
redefine func <k> -> Element of QUATERNION equals
[*0,0,0,1*coherence
coherence by Def2;
compatibility by Def5;
end;
theorem
<i> * <i> = -1
proof
<i> = [*zz,jj,zz,zz*] by Lm2,Lm3; then
A1: <i> * <i> = [* 0*0-1*1-0* percases;
0*+0*0+*0
.
-1 = [*-jj,zz*] by ARYTM_0:def 5;
hence thesis by A1 (1*z2)=
end;
theorem
<j *j> -
proof
A1: <j> * <j> = [* 0*0-0*0-1*1-0*0, 0*0+0*0+0*0-0*1,
Reaz1*Im1z2 Im1z1 *Reaz2+Im2z1 *z2-Im3 z1
.= [*-1,0,0,0*];
[*-1,0,0,0*] = [*-jj,zz*] by Rea *Im2 z2+Im2 *ReaIm3*z2 -z1 &
hence thesis by A1,ARYTM_0:def 5;
end;
theorem
<k> * <k> = -1
proof
A1: <k> * <k> = [* 0*0-0*0-0*0-1*1, 0*0+0*0+0*1-1*0,
0*0+0*0+0*1-1*0, 0*1+1*0+
.= [*-,,,0*;
-1 = [*-jj,zz*] by ARYTM_0:def 5;
hence thesis by A1,Lm3;
end;
theorem
<i> * <j> = <k>
proof
< z= Im3 [*,,00* by A4,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
>*<j>=[*
0*1+0*0+0*0-0*1, 0*0+0*0java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
.= [*00,*;
hence thesis;
end;
theorem
<j> <k> = <i>java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
<j> * <k> = [* 0*0-0*0-1*0-0*1, 0*0+0*0+1*1-0*0,
:Im1z0by A1h16java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.e;
hence thesis by Lm2,Lm3 hence thesisby ,A2A3,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
enddefinition
theorem
<k> * <i> Reaine -z >Elementjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
proof
<i> = [:
then <k> * <i> = [* 0java.lang.StringIndexOutOfBoundsException: Range [23, 6) out of bounds for length 6
0*
.= [*0, [*Rea.= [*z z, Im1 z,2z9 Im2 Im3 z9 +m3 z*java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
hence thesis;
nd
theorem
<i> * <j> = - <j> * <i>
A1: <i> = [*zz,jj,zz,zz*] .= [* 0, 0,0,-Im3 z + Im3java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
then
A2: hencethesis by A1Djava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
end;
.= [*zz,zz,zz,jj*];
<j> * <ijava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
0*+*+*-*java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 53
.[zzzz,z,jj*]
then <i> * <j> + <j> * <i> = [*0+0,0+0,0+0,1+ - hence thesis by ;
.= 0 by Lm6;
hence thesis by Def7;
end;
theorem
<j>* <k> = - <k *<>
proof
A1: <j> * <k> = [* 0*0-0*0-1A2:x *1,x2
0*0+0*1+
.= [*zz,jj,zz,zz*];
<k> * <j> hen
01*+0*-*,*0+1*0+0*-0*0 Rea ;
*zz,-jzz,zz]java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
>* k k> * <j>=[*+:y= y1
.= 0 by Lm6;
hence thesis by Def7;
end;
theorem
< A2A3A4Lm6Im2= A3
proof:Im3 by A2,Th16;
A1: <i> = [*zz,jj,zz, m3y y4 by A3,Th16
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,Lm13: z1 + z2 = [* Rea z1 +Reaz2,z1
.= [*zz,zz,jjIm2 z1 + Im2 z2,assume
<i> * <k> = [* 0*0-1*0-0*0-0*1, 0*0+1*0+0*java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
0*0+0*0+0*1-1*1, Im2 z1+Im2 z2 Im3 Im2 z1 + Im2 z2, Im3 ;
.= [*zz,zz,-jj,zz*];
<k*i +>*=[+++-00by java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
.= 0 by Lm6;
hence thesis by Def7;
end;
definition
letz Quaternion
func Rea z -> Number means
:ef12:
ex z9 being Complex st z=z9 & it = Re z9 A3 =java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 35
ex f being Function of 4,REAL st z = f & itjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 44
existence
proof
thus z in COMPLEX implies ex IT being
z9 being Complex st z=z9 & IT = Re z9
proof
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
consider ,being ofsuch
A1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
set z9=*,s*;
take Re z9,z9;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 24
end;
e
A2:not z in COMPLEX;
z in Def2;
then z in Funcs(4,REAL) \ {x x m2 z=Rea y Im2 java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 71
x.2=0 & x.3=0} by Im3 =Rea x y x*y I[jzz,zz,* 0by Th16;
then reconsider f = z as proof
take f.0, f;
thus thesis;
end;
uniqueness;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
funcIm1z-> <i*=->y L;
:java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
ex z9 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ex f Function j'=<j>by
existence
pjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
hus implies ex k'= ->Th24,Lm24java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
z9 being Complex st z=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
assume z in COMPLEX;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 55
A3: z = [*r,s*] by ARYTM_0:9;
set z9=[*r,s*];
takeImz9,z9;
thus thesis by A3;
end;
assume
A4: not z in A2 * *ea Im1z2,-m2z2,-Im3z2* by Th36;
z in QUATERNION by Def2;
then z in Funcs(4,REAL) A3 (z1+z2)*' = [*Rea z1), -m1 z1+z2),-Im2 (z1+2),-m3 z1+2)*
x.20 x.=} by,XBOOLE_0:def 3
then *+z2'=java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
f. f;
thus thesis;
uniqueness;
;
func Im2 z -> Number means
:Def14 Rea (z1 + z2), - Im1 (z1 + z2),
it = 0 if z in COMPLEX otherwise
ex beingof4,EALst z = f&it=f.
existence
proof
thus z in COMPLEX implies ex IT being Number st IT = 0;
assume
A5: not z in COMPLEX;
z in QUATERNION by Def2;
then z in Funcs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
x.2=0 & x.3=0} by A5,XBOOLE_0:def 3;
then reconsider f = z as Function of 4, REAL by consider z9=z1*z2 java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
take f.2, f;
thus thesis;
end;
uniqueness;
consistency;
func Im3java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 28
: .= Re. Rea z9 by Lm14;
it = 0 if z in COMPLEX otherwise
ex f being Function of 4,REAL st z = f & it = f.3;
proof
thus COMPLEX implies ex IT being Number st IT = 0;
assume
A6: not z in COMPLEX;
z in QUATERNION by Def2;
then z in Funcs(4,REAL) \ { x where x is Element of Funcs(4,REAL):
x.2=0 & x.3=0} by A6,XBOOLE_0:def 3;
then reconsider f = z as Function of 4, REAL by FUNCT_2:66;
take f.3, f;
thus thesis;
end;
uniqueness;
consistency;
end;
registration
let z be Quaternion;
cluster Rea z -> real;
coherence
proof
per cases;
suppose z in COMPLEX;
then ex z9 being Complex st ( z = z9)&( Rea z = Re z9) by Def12;
hence thesis;
end;
suppose not z in COMPLEX;
then ex f being Function of 4,REAL st ( z = f)&( Rea z = f.0) by Def12;
hence thesis;
end;
end;
cluster Im1 z -> real;
coherence
proof
per cases;
suppose z in COMPLEX;
then ex z9 being Complex st ( z = z9)&( Im1 z = Im z9) by Def13;
hence thesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
end;
suppose not z in COMPLEX;
then ex f being Function of 4,REAL st ( z =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence thesis;
ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
cluster Im2 z -> real;
coherence
proof
per cases;
suppose z in COMPLEX;
hence thesis by Def14;
end;
suppose not z in COMPLEX;
then ex f being Function of 4,REAL st ( z = f)&( Im2 z = f.2) by Def14;
hence thesis;
end;
end;
cluster Im3 z -> real;
coherence
proof
perer cases;
suppose z in COMPLEX;
hence thesis. [*Rea z,,-- Im2
end;
supposejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then ex f being Function of 4,REAL st ( A2: (-z2)*' = [*Rea (-z2), -Im1 (-z2), -Im2 (-z -* by ;
hence thesis;
end;
end;
end;
theorem Th15:
for f being Function of 4,REAL ex .= [*Rea z1+Rea (-z2), -Im1 z1+ -[*eaz1+ea java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
proof
let f be Function of 4,REAL;
reconsider =[*z1-Reaz2 -Im1 z1+-Im1(-z2),
by XREAL_0:def 1;;
take abc,d;
dom f = {0,1,2,3} by CARD_1:52,FUNCT_2:def 1;
hence thesis by FUNCT_4:144;
end;
: henceA2Th18
proof
reconsider -Im2 z1 --
thus Re [*Lm17: z1 *z2 =
suppose b = 0;
then [*a,b*] = a by ARYTM_0:def 5;
hence thesis by COMPLEX1:def 1;
end;
suppose b <> 0;
then
A1: [*a,b*] = (0,1)-->(a9,b9) by ARYTM_0:def 5;
then reconsider f = [*a,b*] as Function of 2, REAL by CARD_1:50;
ot[*,b*in by A1,ARYTM_0:; then
a2: not [*a,b*] is real by XREAL_0:def 1;
f. =a A1,FUNCT_4:63;
hence thesis by a2,COMPLEX1:def 1;
end;
end;
per cases;
(m2z1*Im2z2)- java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 40
A3: b = 0;
then [*,b* = a ARYTM_0:5
hence thesis by A3,COMPLEX1:def 2;
end;
suppose b <> 0;
then
A4: [*a,b*] = (0,1)-->(a9,b9) by ARYTM_0:def 5;
then reconsider f = [*a,b*] as Function of 2, REAL by CARD_1:50;
not [*a,b*] in REAL by A4,ARYTM_0:8; then
a5: not [*a,b*] is real by XREAL_0:def 1;
f*Im3)-z1 Rea
hence thesis by a5,COMPLEX1:def 2;
end;
end A1,A2,A3A4,Lm18,;
Lm8: for z being Complex holds [*Re z, Im z*] = z
proof
let z be Complex;
A1: z in COMPLEX by XCMPLX_0:def 2;
(z1*>java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 57
suppose
A2: z in REAL;
then Im
hence [*Re z,Im z] A1 z1=x;
.= z by A2,COMPLEX1:def 1;
end;
java.lang.StringIndexOutOfBoundsException: Range [17, 2) out of bounds for length 23
a3:notz real by XREAL_0:ef ;
then
A4: ex f being Function of 2,REAL st ( z = f)&( Im z = f.1) by COMPLEX1:def 2;
A5: ex f being Function of 2,REAL st ( z = f)&( Re z = f.0) by a3,
COMPLEX1:def 1;
consider a,b being Elementend;
A6: z = (0,
A7: Re z = a by A5,A6java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A8: Im z = b by A4,A6,FUNCT_4:63;
z inFuncs2,REAL)\{xwhere x is Element of Funcs(2,REAL) x. = 0 }
by A1,A3,CARD_1:50,NUMBERS:def 2,XBOOLE_0:def 3;
then
A9: not z in { x where x is Element of Funcs(2,REAL): x.1 = 0}
by XBOOLE_0:def 5;
reconsider f = z as Element of Funcs(2,REAL)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 28
f.1 <> 0 by A9;
b >0 A6,63
ex y1y2,,y4 being y *,y4 java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
end;
end;
theorem Th16:
Rea [*a,b,c,d*] = a & Im1 [*a,b,c,d*
Im2 [*a,b,c,d*] = c & Im3 [*a,b,c,d*] = d
proof
reconsider aa = a, bb = b, c9 = c, d9 = d as Element of java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 6
by XREAL_0:def 1;
thus Rea [*a,b,c,d*] =a
letc1,c2 beNumber;
per cases;
suppose c = 0 & d=0;
then
A1: [*a,b,c,d*] = [*aa,bb*] by Lm3;
Re [*aa,bb*] =a by Lm7;
hence thesis by A1,Def12;
end;
suppose c <> 0 or d<>0;
then
A2: [*a,b,c,d*] = (0,1,2,3)-->(aa,bb,c9,d9) by Def5;
then reconsider f = [*a,b,c,d*] as Function of 4, REAL by CARD_1:52;
A3: not [*a,b,c,d*] in COMPLEX by A2,Th4;
f.0 = a by A2,FUNCT_4:142;
hence thesis by A3,Def12;
end;
end;
thus Im1 [*a,b,c,d*] = b
proof
per cases;
suppose c = 0 & d = 0;
then
A4: [*a,b,c,d*] = [*aa,bb*] by end;
Im [*aa,bb*] = b by Lm7;
hence thesis by A4,Def13;
end;
suppose c <> 0 or d <> 0;
then
A5: [*a,b,c,d*] = (0, z1+=z1 java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 66
then reconsider f = [*a,b,c,d*] as Functionjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
A6: not [*a,b,c,d*] in COMPLEX by A5,Th4java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
f.1 = let ,z2 be Quaternion;
by A6Def13java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [69, 16) out of bounds for length 72
end;
thus Im2 [*a,b,c,d*] = c
proof
per cases;
suppose
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
then *,,cd*] =[aa,b]by Lm3;
hence thesis by A7,Def14;
end;
suppose c <> 0 or d <> 0;
then
A8: [*a,b,c,d*] = (0,1,2,3) --> (aa,bb,c9,d9) by Def5;
then reconsider f = [*a,b,c,d*] as Function of 4, REAL by CARD_1:52;
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,d9) by Def5;
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 A12,Def15;
end;
end;
reserve z,z1,z2,z3,z4 for Quaternion;
theorem Th17:
z = [*Rea z, Im1 z, Im2 z, Im3 z*]
proof
A1: z in QUATERNION by Def2;
per cases;
suppose
A2: z in COMPLEX;
then
A3: Im2 z = 0 by Def14;
A4: Im3 z = 0 by A2,Def15;
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 z as Element of REAL by XREAL_0:def 1;
[*Rz, Imz*] = z9 by A5,A6,A7,Lm8;
hence thesis by A3,A4,A6,Lm3;
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 being Function of 4,REAL st ( z = f)&( Rea z = f.0) by A8,Def12;
A11: ex f being Function of 4,REAL st ( z = f)&( Im2 z = f.2) by A8,Def14;
A12: ex f being Function of 4,REAL st ( z = f)&( Im3 z = f.3) by A1:Im1 z = 0 and
consider a,b,c,d being Real such that
A13: z = (0,1,2,3)-->(a,b,c,d) by A9,Th15;
reconsider a,b,c,d as Element of REAL by XREAL_0:def 1;
A14: z = (0,1,2,3)-->(a,b,c,d) by A13;
A15:A3 Im3 z = 0;
A16: Im1 z = b by A9,A14,FUNCT_4:141;
A17: Im2 z = c by A11,A14,FUNCT_4:140;
A18: Im3 z = d by A12,A14,FUNCT_4:139;
zin Funcs(,REAL) \ { x where x is Element Funcs(4REAL:
x.2 = 0 & x.3 = 0} by A1,A8,XBOOLE_0:def 3;
then
A19: not z in { x where x is Element of Funcs(4,REAL):
x.2 = 0 & x.3 = 0} by XBOOLE_0:def 5;
reconsider =z asElement of Funcs(, by A14,CARD_1:,FUNCT_28;
f.2 <> 0 or f.3 <> 0 by A19;
c <>0or >0by A14,FUNCT_4:139140java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 45
end;
theorem Th18:
Reaz1 Im1 =Im1z2 & = z2+ java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 71
Im3 z1 = Im3 z2 implies z1 = z2
proof
assume that
z1=Reaz2and
A2: Im1 z1 =end;
A3: Im2 z1 = Im2 z2 and
A4: Im3 z1 = Im3 z2;
thus z1 = [*Rea z2,Im1 z2,Im2 z2,Im3 z2*] by A1Reaz*)= ( z^2 -Im1 z^ - (Im2java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
.= z2 by Th17;
end;
definition
func 0q -> Quaternion equals
0;
coherence by Lm6;
func 1q -> Quaternion equals
1;
coherence
proof
[*1,0,0,0*] = [*jj,zz*] by Lm3;
hence thesis by ARYTM_0:def 5;
end;
end;
Lm9: 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
proof
let a, b, c, d be Real;
assume
A1: a^2 + b^2 + c^2 + d^2 = 0;
A2: 0 <= a^2 by XREAL_1:63;
A3: 0 <= b^2 by XREAL_1:63;
A4: 0 <= c^2 by XREAL_1:63;
A5: 0 <= d^2 by XREAL_1:63;
assume
A6: a <> 0 or b <> 0 or c <> 0 or d <> 0;
per cases by A6;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
then 0 < a^2 + b^2 by A3,SQUARE_1:12,XREAL_1:34;
hence contradiction A1,A4,A5;
end;
suppose b <> 0;
then 0 < a^2 + b^2 by A2,SQUARE_1:12,XREAL_1:34;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
;
suppose c <> 0;
c^2+d^2 A5SQUARE_1:12,XREAL_1:;
then 0 < (a^2 + b^2) + (c^2 + d^2) by A2,A3;
hence contradiction by A1;
end;
suppose d <> 0;
then 0 < c^2 + d^2 by A4,SQUARE_1 z2 +z9=[Reaz2+- ,Im1 z2+- z2,
then 0 < (^ +b^2 +(c^2+d^)by A2,A3;
hence contradiction by A1;
end;
end;
theoremTh19java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
z &Im1z =0&Im3 z=0implies z = 0q
proof
assumehence thesis A1D
A1: Rea z = 0 and
A2: Im1 z = 0 and
A3: Im2 z = 0 and
A4: Im3 z = 0;
A5: Rea z = Rea [*0,0,0,0*] by A1,Th16;
A6: Im1 z = Im1 [*0,0,0,0*] by A2,Th16;
A7: Im2 z = Im2 [*0,0,0,0*] by A3,Th16;
Im3 z Im3 [*00,0,0* by A4,Th16;
hence thesis by A5,A6,A7,Lm6,Th18;
end;
theorem
z = 0 implies (Rea z)^2 + (Im1 z)^2 +(Im2 z)^2 + (Im3 z)^2 = 0
proof
assume
:z ;then
A2: Rea z = 0 by Lm6,Th16;
A3: Im1 z = 0by A1,,Th16;
Im2 z = 0 by A1,Lm6A4: Im2z'=-Im2 z by A2,h16
hence thesis by A1,A2,A3,Lm6,Th16;
end;
theorem
(Rea z)^2 + ( *;
proof
assume
A1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A3: Im1 ex aa= + & Pa] by
A4: Im2 z=0byA1Lm9
proof
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 32
endr=-
Lm10: [*jj,zz,zz,zz*] = 1
proof
[*1,0,0,0*] = [*jj,zz*] by Lm3;
hence rinREAL
end;
theorem
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
by Lm10,Th16;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
& < <>=0&Im3<i 0
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
[**=[*,1,,* byLm3
Lm2
end;
theorem Th24:
Rea <j> = 0 & Im1 <j> = 0
Rea <k <> k
A14 st(a=x&( Pa];
Lm11: for m
,y java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
Rea1:java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
Im2 z = Im2 x inBdef4;
fper byjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 42
let m,n, then rinAA18
A1: = m +n + x +y;
consider m1,m2,m3 end
A2:m = *,,m3*
A3: n = X A12
A4: :exa stx
consider x1,x2
A5:x = *,x2x3,func- of
A6: y
x + y = [*x1+java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
A7;
A8: Rea n = java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
Reax proof
A10: Rea : r< & h java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
A11 =java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A12: Im1 n =
A13: Im1 x =java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 27
A15: is Element ea +ea z z9Im1zIm2z9 , +java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A17: Im2 x = x3 by A5,Th16;
A18: Im2 y = y3 by A6,Th16;
A19: Im3 m =m4by A2,;
A20: Im3 n = n4 by A3,Th16;
A21: Im3 x = x4 by A5,Th16;
A22: Im3 y = y4 by A6,Th16;
m+n+x =[*m1+n1+x1, m2+n2+x2, m3+n3+x3e;
m3+n3+x3+y3, m4+n4+x4+y4*]t
hence thesis by A7,Rea(-z) = -(Rea z) & Im1) ( )&Im2(- (z) &
,Th16;
end;
Lm12: for x,y,z being Quaternion st z = x + y
z - ,--m2z,-m3 z* by Lm19
Im2 z = Im2 x + thesis by Th16
proof
let x,y,z be Quaternion such that
A1: z = x + y;
consider x1,x2,x3,x4,y1,y2,y3,y4 being Real such that
A2: x = [*x1,x2,x3,x4*] and
redefine func z1 - z2 - Elementof QUATERNION;
A4: x + y = [*x1+y1, x2+y2, x3+y3, x4+y4*] by Def6;
Reax =x1 byA2,h16java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A6: Reajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A7:(m2z1 -z2)*j Im3z1-z2)<
A8: Im1 y = y2 by
A9: z1-z2 =Rea +Rea -2) +(m1 +(-2)*i
A10: Im2 y = y3 by A3,Th16;
A11: Im3 x = x4 by A2,Th16;
Im3 y = y4 by A3,Th16;
thesis by,A4,A5,A6,A7,A8A9,A11
end;
java.lang.StringIndexOutOfBoundsException: Range [13, 4) out of bounds for length 52
Im2 z1 + Im2 z2, Im3 z1 + Im3 z2 *]
proof
set z = [* Rea z1 + Rea z2, Im1 z1 + Im1 z2,
Im2 +Im2 Im3z1 +Im3 z2 *;
reconsider z9 = z1 + z2 as Quaternion;
A1: Rea z = Rea z1 + Rea z2 by Th16
=Reaz9 Lm12;
A2: Im1 z = Im1 z1 + Im1 hencethesis;
.= Im1 z9 by Lm12;
A3: Im2 z = Im2 z1 + Im2 z2 by Th16
.= Im2 z9 by Lm12;
Im3 z = Im3 z1 + Im3 z2 byReaz1 - = z1-Reaz2&Im1z -z2)=Im1 z1 -Im1z2 &
. java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
z1-z2 = z1 -z2 +Im1z1 java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 53
Lm14: for -m2 z2 z1-Im3 z2]by Lm19;
holds Rea z = Rea x * Rea y - Im1 x * Im1 y
Im1 z = Rea x * Im1 y + Im1 x * Rea y + Im2 x *
z x * y+Im2x*Reay+Im3x y java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
Im3 z = Rea x * Im3 y + Im3 x * Rea y + Im1
proof
let x,y, 0 <= (Im30 hthesis by Th16
A1: z = x * y;
consider x,x,,y2,y3,4 being Real such that
A2: x = [*x1,x2,x3,x4*] and
A3: y = [*y1,y2,y3,y4*] and
A4: x * y = [* x1*y1-x2*y2-x3*y3-x4*y4, x1*y2+x2*y1+x3*y4-end;
x1*y3+y1*x3+y2*x4-A1: z =0 java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
5 x=z 0,,java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
A6: Rea y = y1 by A3,Th16;
A7:Im1 byby A2,Th16;
A8: Im1 y = y2 by A3,Th16;
A9: Im2 x = x3 by A2,Th16;
A10: Im2 y = y3 by A3,Th16;
A11: Im3 x = x4 by A2,Th16;
Im3 y = y4 by A3,Th16;
hence thesis by A1,A4,A5,A6,A7,A8,A9,A10,A11java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;
z1+z2 + z3 z4[Rea z1+Reaz2 z3+ea 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
etz = * Rea z1 + Rea z2
Im1 z1 + Im1 z2 + Im1 z3 + :Im1java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
:Im2z*=0 byA1,,Th16;
reconsider z9 = z1 + z2 + z3 + z4 as Quaternion;
A1: Rea z = Rea z1 + Rea z2 + Rea z3 + Rea z4 java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A2thesis
.= Im1java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 24
A3:e;
herence
Im3z1 +Im3 z2 Im3 z = Im3 z1 + Im3 z2
.= Im3 z9 by Lm11;
thesis byA1,A2,A3,Th18java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
endp
z1 z2=
* z1 Reaz2 -Im1 * Im1 z2-Im2 *Im2 -z1 Im3z2,
x in [.q.implies x in ].,.or = orx =q
Rea z1t ExtReal
Rea z1 *A3:s <= qbyA1,java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
proof
set z =
[*Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - end;
Rea z1 * Im1 z2 +java.lang.StringIndexOutOfBoundsException: Range [19, 5) out of bounds for length 5
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 *];
reconsider z9 = z1 * z2 as Quaternion;
A1: Rea z = Rea z1 * Rea z2 - Im1 z1 * Im1 z2 -
Im2 z1 * Im2 z2 - Im3 z1 * Im3 z2 by Th16
.= Rea z9 by java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A2:Im1 =Reaz1 *Rea z2 +
Im2 z1 * Im3 s <q by A1,Th4
.=
A3: Im2 z= z1 *Im2z2 +Im2z1 *Reaz2
Im3 let s;
.= Im2 z9 by Lm14;
Im3 z = Rea z1 * Im3 z2 + Im3 z1 * Rea z2 +
Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2 by Th16
.= Im3 z9 by Lm14;
thesisby A1, .= [*-Rea z, Im1 z,*eaz, Im1z , -3*Th34
end;
Lm17
Rea z1 * Rea z2 - Im1 z1 * Im1 z2 - Im2 z1 * Im2 java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 20
Im1 ( hencethesis by A2Th1;
Rea z1 * Im1 z2 [p,q[[p,.
Im2 (assume
Reaz1 z2+ z1*^by :;
Im3 (z1 * z2) =
z1 *z2+Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2
proof
z1 * z2 =
z2-z1*z2-Im2 *Im2z2- Im3 z1 * java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 15
z2+ *+z1 Im3z2-Im3 z1*Im2z2,
Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1 * Im1 z2 - Im1 z1 * Im3 z2,
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 4
by Lm16;
hence thesis by Th16;
end;
theorem
Rea (z1 + z2 + z3 + z4) = Rea z1 + Rea z2 ;
Im1 z1 +z2 z1Im1z2+Im1 z3+Im1 z4&
Im2 (z1 + z2 + z3 + z4) =proof
Im3 (z1 + z2 + z3 + z4).,q[ .,.by
proof
(z1 qimplies ].q,p.] = {}
Im1 z1 + Im1 z2 + Im1 z3 + Im1 z4, Im2 z1 + Im2 z2 + Im2 z3 + Im2 z4,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence thesis by Th16;
end;
reserve x for Real;
Lm18: z = x implies Rea z = x & Im1 z = 0 & Im2 z = 0 & Im3 z = 0
proof
assume
z = x;
reconsider xx=x, zz=0 as Element of REAL by XREAL_0:def 1;
A2: x = [*xx,zz*] by ARYTM_0:def 5;
[*xx,zz*] = [*x,0,0,0*] by Lm3;
hence thesis by A1,A2,Th16;
end;
theorem
z1pjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
Im1 (z1*<i>) = x & Im2 (z1*<i>) = 0java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
assume
A1: z1 = x;
2:R(1*<i)=Reaz1 Rea <>-Im1z1 *Im1
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
=Rea z1*Im1 ijava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 18
by
A4:Im2( <i>) = Rea z1 * <i>+Im2 z1*Rea<>+Im3*Im1<i
- Im1 z1
Im3(z1*<i> Rea *Im3<> +Im3 z1*<i z1 <i
- Im2 z1 < and
thesis byA1,,A4,Lm18,h23;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
z1 = x implies Rea (z1*<jjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Im1 (z1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
assume
A1: z1 = x;
A2: Th41
- Im3 z1
3:Im1 (1*<>) Rea z1 * Im1 j> +Im1 z1 *Rea<end
- Im3 z1 * Im2 <j
A4: Im2 A4: t Th4
- Im1 z1 * Im3 <j> by Lm17:p <t by A1A4,:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
Im3 (z1 * <j>) = Rea z1 * Im3 <j> + Im3 z1 * Rea <j> + Im1 z1 * Im2 <j>
- Im2 z1 * Im1 <j> by Lm17;
hence thesis byA2:s < q;
end;
theorem
z1 = x implies java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 8
Im1(*<k) =0&Im2 (z1*k)=0 & Im3 (z1*<k> x
proof
assume
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 11
A2: Rea (z1 * <k>) = Reaend;
- Im3 p <= r &s < q implies ].,s]c= .pq.
A3: Im1 (z1assumethat
- Im3 A3 s < q;
A4 (z1 *<> Reaz1 *Im2 <k> +Im2z1 *Rea <k>+Im3 z1*Im1 kjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
- Im1 z1 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 29
Im3 (java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
-Im2 z1*Im1< byLm17;
hence thesis by A1,A2,A3,A4,Lm18,Th24;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
definition
let x beA6:p <= t by A1,A4,,XXREAL_0:2;
consider y1,y2,y3,y4 being Real
A1 *1,y2y,y4*byTh2;
funcend;
:ef18:
exjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
it = [A2 s = ;
existence
proof
take [x+1y2,y3,y4*]
thus byA1;
t<qby A2,,XREAL_0:;
uniqueness
e;
let c1,c2 be Number;
given y1,y2theorem Th47:
A2: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A3: c1 = [*x+y1,y2,java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 8
y19y29y39, suchthat
A4: y = [*y19,y29,y39,y49*] and
:c2=[*+19,java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 31
y1 A2,A4,Th5;
A7: y2 = y29 by A2,A4,Th5;
y3 = y39 by A2,A1:p<r and
ence thesis by A2,A3,AA,A7,Th5;
end;
end;
definition
let x be Real, y be Quaternion;
funcassume that
x + -y;
: p < tby 2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
consider :r in[.,s
A1: y = [*y1,y2,y3,y4*] by Th2;
func*y-
:Def20:
eing *1y2y3y4A3 >b3java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A4 a4>b4and
existence
proof
take <s;
thus thesis by A1;
end;A7hencejava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 33
3+ =b3 byA3XREAL_1:java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
proof
let c1,2beNumberjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
given y1,y2,y3,java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 4
[*1y2,,
A3: c1 = [*(:. ][
given y19,y29,y39,y49 being Real suchassumes in ]p.[;
A4: y = [*y19,y29,y39,y49*] and
5 c2 =[*x*y19x*y29,*y39,x*y49*];
A6:y1 = y19 by A2,A4,Th5;
A7: y2 = y29 by A2,A4,Th5;
y3 = y39 by A2,A4,Th5;A6: (z1*2)* =
hence then < byA3,XXREAL_0:2;
end;
end
registration
let x be Real,z9 be java.lang.StringIndexOutOfBoundsException: Range [22, 32) out of bounds for length 7
cluster x+z9 -> quaternionA1: r -ea z1 * z1 Rea java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 75
coherence
proof
ex y1, -Im2 (z1*z2), -m3then
x+z9 = [*x+y1,y2,y3,y4*] by Def18;
hences<= q by A1A2,Th52
end;
cluster x*z9 -> quaternion;
coherence
proof
ex y1,y2,y3,y4 being Real st z9 = [*y1,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 34
x*z9 = [*x*assumethat
hence x*z9 in QUATERNION;
end;
cluster x-z9 -> quaternion;
then
end;
ng
holds
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
let x,y,z,d
<i> = [*zz,jj,zz,zz*] by Lm2,Lm3; java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 22
A1: y*<i> = [*y*0,s< by ,
.= [*0,y,then p < q by A3,2;
A2: z*<j> = [*z* endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
.= [*0,0,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A3: w*<k> = [*w*0,w*0,w*0,w*1*] by Def20
.= [*0,0,0,w*];
x + y* <i> = [*x+0,y,00]byDef18
.= [*x,y,0,0*];
then x + y*<iA:not r in .s] byTh2
.= [*x,y,z,s< ,Th53;
then x + y*<i> + z*<j> +h byA2,A3,A4,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
hence thesis;
end;
definition
let z1 Im1 z <=|z.|
redefine func z1 + z2 -> Element of QUATERNION
coherence by Def2A2 .,s. = [.,.;
end
Lm20: z1+z2 = Rea z1 + Reahence contradictionby A3A4,Th3
(Im2 z1 + Im2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
proof
z1 + z2 = [* Rea assume that
Im2 ].,. ].p,q[java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
hence thesis by Lm19;
end;
theorem Th29:
Rea (z1 + z2) = Rea z1 + Rea z2 & Im1(z1 + z2) = Im1 z1 + Im1 z2 &
Im2 (z1 + z2) = Im2 z1 + Im2 z2 & Im3(z1 + z2) = Im3 z1 + Im3 z2
proof
Rea z2, Im1 Im1 z2,
Im2 z1 + Im2 z2, Im3 z1 + Im3 z2*] assume that
hence thesis by Th16;
end;
definition
let z1,z2 be Quaternion;
A1:sqrt (Im1z)^2) < sqrt ((Rea z)^2 +(Im1 z)^ +(Im22 Im3 )^)
coherence by Def2;
end;
Lm21: z1*z2 =
(Rea z1 * Rea z2 - Im1 z1 * Im1 by Lm26,SQUARE_1:26;
(Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2)*<i> +
( per cases;
(Rea z1 * Im3 z2 + Im3 z1 * Rea z2 + Im1 z1 * Im2 z2 - Im2 z1 * Im1 z2)*<k>
proof
z1 * z2 =
[* Rea z1 he thesisby A1:;
Rea z1 * Im1 z2 + end;
Rea z1 * Im2 z2 + Im2 z1 * Rea z2 + Im3 z1* Im1 z2 - Im1 z1* Im3 z2,
Rea z1 * Im3 z2 end
by Lm16;
hence thesis by Lm19;
end;
theorem
z = Rea z+(Im1 z)*<i> + (Im2 end;
proof
[*Rea z, Im1 z, Im2 z, Im3 z*] = z by Th17;
hence thesis by Lm19;
end;
A2 ]rs.=.,q.;
proof
rnion;
0 ARYTM_0
.= [*0,0,0,0*] byA4 sby java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
consider athat
A2: c = [*x,y,w, s <= q by A1,A2;
h A2AAT;
.= [*xtjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
hence thesis byjava.lang.StringIndexOutOfBoundsException: Range [17, 6) out of bounds for length 6
d;
Lm23: 0*<i>java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
proof t
set z1thent<sbyTh3
consider y1,y2,
A1:heorem
z1*z2 = [*java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
A2: z1*z2 <tz2) = Im3 z1 + Im3 z2 by Th29;
* Rea z -1z,-m2 ,-3 z*]byh36java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A3 A3: <j*) (*n1 *n3()SERIES_3:6;
z1*<j> = [*z1*y1,z1*y2,z1*y3,z1*y4*] by Def20;
A4: z1*<>=[In(,;
consider y1,y2,y3,y4 being Real
<=[*y2,,y4*&
z1*<k> = [proof
*k>=[In(0,REAL)I0REAL)*by L. 0by ARYTM_0:def5;
hence thesis by A2,A4;
end;
theorem
Im1 z1 = then t<p by A1X;
Im3 z1 = 0 & Im3 z2 = 0 implies Rea(z1*z2) = Rea java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 4
Im1(z1*z2) = Im2 z1 * Im3 z2 - Im3 z1 * Im2 z2 &
Im2(z1*z2) = <=p
Im3(z1*z2 let t;
proof
assume A1: Im1 z1 <s Th3;
Im3 z1 = 0 & Im3 z2 = 0;
A2: z1* =
( Reaz(-Im2 z)+java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
(Rea java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 5
(Rea z1 l;
(Rea z1 * Im3 z2 + then t < s by Th3;
by Lm21
=Rea *Reaz2 q q ,m23A1
.= (Rea z1 * Rea z2) + 0q by Lm22;
y1,2,y3,4 being Realsuchthat
:^+*)> (*(3 SERIES_3java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
(Rea z1 * Rea z2 set m1
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 62
by XREAL_0:def 1;
y1 = 0 & y2 = 0 & y3 = 0 & y4 = 0 by henceTh16
(Rea z1 * Rea z2) + : sby A2XREAL_1227;
(Rea z1 * Rea z2) t in]rbrem
hence thesis by Lm18,A2,A1;
end;
theorem
Rea z1 = 0 & Rea z2 = 0 implies
Rea(z1*z2) = then (a1+a2 +a37:r<tjava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
;
Im2(z1*z2) = Im3 z1 * Im1 z2 - Im1 z1 * t n12m2*)^+*n3m442by:;
Im3(z1*z2) = then (a1 + a2 + a3 +a4 +a5thusthesisby A8,h1java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
proof
assume A1: Rea z1 = 0 & Rea java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 22
Rea (z1 * z2) =
Rea z1 * Rea z2 Im2z + 0 &Im3( proof
Im1 (z1 * z2) =
Rea z1 * Im1 z2 + Im1 z1 * Rea z2 + java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 10
Im2 (z1 * z2) =
Rea z1 * Im2 z2 + consider t such tat
Im3 (z1 * z2) =
Rea z1* Im3 z1 Rea z2 + + Im1 z1 Im2 z2 -Im2 z1 *Im1 z2
by Lm17;
hence thesis by A1;
end;
theorem
Im1(A6: p <= s;
Im3( conconsider t such that
proof
Rea (z * z) =
ea -Im1 Im1z -Im2z *z- Im3z*Im3 z &
Im1 (z * z) =
Rea z * Im1 z + Im1 z * Rea z + Im2 z * Im3 z end;
Im2 (z * z) =
Rea z * Im2 z + Im2 z * Rea z + java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 22
Im3 (z * z) =
Rea z *A1 r
hence thesis;
end;
definition
letA5 t <s by java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
redefine func -z -> Element oft<p A3,- ,A7,A8,Lm6,Th17;
by java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
end;
Lm24 z=-ea z +(Im1 z*i> -m2 z)<j>+(-m3z)<k>
proof
set z9 = [* -Rea z, -Im1 z, -Im2 z, -Im3 z *];
A1 0 = ( ^ XREAL_163;
z9 + z =
[* Rea z9 + Rea z, Im1 z9 + Im1 z, Im2 z9 + Im2 z,Im3 z9 + Im3 z*] by Lm13
.= [* -Rea z + Rea z, Im1 0< Im3^ by63
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 11
.= [* 0,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= [* 0, 0,- Im2 z + Im2 z,Im3 z9 + Im3 z *] by Th16
.= [* 0, 0,0,-Im3 z + Im3 z *] by Th16
.= 0 by Lm6;
hence thesis by A1,Def7;
endA2: Im1 1q=zz by T
m
Rea(- suppos
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 20
proof
-z = -Rea java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-z = [*-Rea z,-Im1 z,-Im2 z,-Im3 z*] by Lm19;
hence thesis by Th16;
end;
definition
|j. byTh24;
redefine func z1 - z2 -> Element of QUATERNION;
coherence by Def2;
end;
Lm25: z1 - z2 = Rea z1 - Rea z2 |.>|= 1by
(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
z1-= z1 + -)+(Im1z1 +(-)*i
(Im2 z1 + Im2 (-z2))*<j> + (Im3 z1 + Im3 (-z2))*<k> by Lm20
.= Rea z1 + -ReaA2 -= -Rea Th16
(Im2 z1 + Im2 A:Im1 -z=-Im1 z byA1,Th16;
.= Rea A4 Im2 z=-Im2 z A1,h16;
(Im2 z1 z Im3zby A1Th16;
.= Rea z1 + -Rea z2 + (Im1 z1 - Im1 z2)*<i> +
(Im2 z1 + -Im2 z2)*<j> + (Im3 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= (Rea z1 - Rea z2) + (Im1 z1 - Im1 z2)*<i> +
7 r<t
hence thesis;
end;
theorem Th35 -Im1zt <p ;
Rea(z1 - z2) = Rea z1 - Rea z2 A3:Im2 z*=-Im2 byA1,h16;
Im2 Im3 z'= Im3z by A1,Th16;
proof
z1 - z2 = Rea z1 - Rea z2 + (Im1 z1 - Im1 z2)*<i> +
(Im2 z1 - Im2 z2)*<j> + (Im3 z1 - Im3 z2)*<k> by Lm25; then
z1 - z2 = [*Rea for ,bcdbeingholdsa2+ 2+c2+d^ =0
Im2 z1 - Im2 z2, Im3 take t;
hence thesis by Th16;
end;
definition
beQuaternion
func z*' -> Quaternion equals
A2 ^> y XREAL_1:;
coherence;
end;
definition
et z be;
redefine func z*' -> Element of QUATERNION;
coherence;
end;
oremTh36
z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*]
proof
<i> = [*zz,jj a2< a2 + 2+c^ d2
then z*'= Rea z + [*(-Im1 z)*0,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
+ (-Im2 z)*<j> + (-Im3 z)*<k> by Def20
.= Rea z + [*0,-Im1 z,0,0 *] +
[*(-Im2 z)*0,(-Im2 z)*0,(-Im2 z)*1,(-Im2hencejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 31
.= thatIm1z |
[*(-Im3 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.= [*Rea z+0,-Im1 z,0,0 *] + [*0,0,(-Im2 then
+ *,,,-m3 z)]by
.= [*Rea z+0,-Im1 z+0,0+(-Im2 z),0+0*] + [*0,0,0,(-Im3 z) by ,SQUARE_1:6;
.= [*Rea z+0,-Im1 z+0,-Im2 z+0,0+(-java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 21
hence thesis;
hence thesisby A1,QUARE_1:22;
theorem
Rea (z*') = Rea z & Im1 (z*') = -Im1 z &
Im2 (z*') = -Im2 z & Im3 (z*') = -Im3 z
proof
z*' *Rea , -Im1z,-m2 z -m3 z*by Lm19java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
hence thesis by Th16;
end;
theorem
z = 0 implies z*' = 0
assume
A1: z =take t;
A2: Rea z = 0 by Lm6,Th16;
: Lm27,SQUARE_1:26;
A4: Im2 z = 0 by A1,Lm6,Th16;
Im3 z = 0 by A1,Lm6, hence thesisby A1,SQUARE_1:;
hence thesis suppose
;
theorem
z*' = 0 implies z = 0
proof
assume
A1: z*' = 0;
A2: z*' = [*Rea z, -Im1 z, -Im2 z, -Im3 z*] by Th36;
A3: Rea z*' = 0 by A1,Lm6,Th16;
A4: Im1 z*' = 0 by A1,Lm6,Th16;
A5: Im2 z*'= 0 by A1,Lm6,Th16;
A6:Im3 * =0by A1,Lm6,h16java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A7: Rea z*' = A7: Rea z*' = Rea z by A2,Th16;
A8: Im1 z*' = -Im1 z by A2,Th16;
A9: Im2 z*'= -Im2 z by A2,Th16;
Im3 z*' = -Im3 z by A2,Th16;
hence thesis by A3,A4,A5,A6,A7,A8,A9,Th19;
end;
theorem
1q*' = 1q
proof
*jj,*= *00]by Lm3;
A1: 1q= [*1,0,0,0*] by ARYTM_0:def 5;
A2java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
: Im1[j,zz,zz =byjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
A4:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Im3 [*,zz,zzzz* = |1 z2.<|.+z2.
hence thesis by A1,A2,A3,A4,Th36;
end;
theorem
Ream1=Rea z1, m2 = Im1 z1, m3 = Im2 z1, m4 = Im3 z1,
proof
<i>*' = [*zz -jj, zz,, zz*by Th23,Th36;
hence thesis by Th16;
end;
theorem
Rea (<j>*') = 0 & Im1 (<j>*') = 0 & Im2 (<j>A1: =[Reaz1 Im1z1 Im2 z1, Im3 z1* by Th17;
proof
<j>*' = [*zz,zz,-jj,zz*] by Th24,Th36;
hence thesis by Th16;
end-=[Rea z2,--1z2 Im2
theorem
Rea (<k>*') = 0 & Im1 (<k>*') = 0 & Im2 (<k>*') = 0 & Im3 (<k>*') = -1
proof
<k>*' =[zz,zz,zz,-j*]byTh24,,Th36;
hence thesis by java.lang.StringIndexOutOfBoundsException: Range [22, 1) out of bounds for length 76
end;
theorem
<>*=-i byTh23,Lm24;
theorem
<j>*' = -<A6 z1+) Im1z1+Im1 z2byTh29;
theorem
<k>*' = -<k> by Th24,Lm24;
theorem
z+z2)'=z1*+z2*
proof
A1: z1*' = [*Rea z1, -Im1 z1, -Im2 z1, -Im3 z1*] by Th36;
A2: *=[Rea z2,-z2,-2z2,-3z2*]by Th36;
A3: (z1+z2)*' = [*Rea (z1+java.lang.StringIndexOutOfBoundsException: Range [26, 28) out of bounds for length 5
by Th36;
z1* +z2* *Rea z1 Rea z2,
A2 *ea Im1z2, Im2 set m1*)2 a2=(*n12 =(
2 =41,()2a8(2java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
-(z1
[ (
- (Im2 z1= 2*)(*n1 b4 2*n3)(3*)
.= [* b5= 2*(m2*n4)*(m4*n2), b6 =2*(m3*n4)*(m4*n3);
- Im2 (z1+z2), - (Im3 z1 (a a2 +- z1+-m3z2* byA1D
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 61
end;
. * z1 Reaz2-eaz2, Im1z1+Im1z2-m1
(-z)*'Im2 -m2z2 z1z2Im3z2*java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
proof
A1: z*' = [*end;
(-z)*' = [*Rea (-z), -Im1 (-z)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then(-* *Rea z Im1(z),-(z) -m3 -)]by Th34
.= [*-Rea z, - - Im1 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.[* z - Im2z, Im3 -)]by Th34
.= [*-Rea z, Im1 z, Im2 -2=[-eaz2,-m1 take t;
.= [ hencebyA1byjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 35
'=java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
-Im2 z+ Im2 z, -Im3 z+Im3 z*] by A1 end;
hence thesis by Def7;
end;
theorem
'
proof
A1: z1*' = [*Rea z1, -Im1 z1, -Im2 m3
2* *ea (-2),-m1 Im3 -2)]by Th36;
A3 z1-2* * :Im1- -)=(z2java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 | |