%This is "program13_25.red" (formerly "structcomplm5tex72.tex") : %computes the complex structures on the Lie algebra G_{M,5} %in the case xi(2,1) NEQ 0 , xi(2,3)= xi(2,4) =0, %xi(3,3) = - xi(2,2), xi(3,4) NEQ - xi(2,1). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%% OUTPUT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% off echo$ off nat$ OUT "rprogram13_25.tex"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ON RAT$ OFF MSG$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%% Loading the commutation relations file %%%%%%%%%%%%%% %DIM:=(dimension de l'algebre)$ DIM:= 6$ in "6nilp/m.5"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ECRITURE DES RELATIONS DE COMMUTATION EN TEX WRITE "\documentclass{article}"$ WRITE "\usepackage{amsmath,amssymb}"$ WRITE "\sloppy"$ WRITE "\begin{document}"$ %WRITE "This output from the file \texttt{structcomplm5tex72.tex}.\\"$ WRITE "This output from the file \texttt{program13_25.red}.\\"$ WRITE "Computation of all complex structures on the real Lie Algebra"$ write "USD {\mathcal{G}}_{", dim, ",", PART(REFALGTEX,1), "}.USD"$ write "Case USD xi(2,1)\neq 0, xi(2,3) = xi(2,4) =0, xi(3,3)= -xi(2,2), xi(3,4) \neq \pm xi(2,1) USD."$ WRITE "\smallskip \par "$ WRITE "Commutation relations for"$ write "USD {\mathcal{G}}_{", dim,",", PART(REFALGTEX,1), "}:USD\\"$ FOR i:=1:DIM-1 DO FOR j:=i+1:DIM DO X_(i,j):=X(i)*x(j)$ %FOR j:=1:DIM DO X(j):=MKID(x_,j)$ FOR i:=1:DIM-1 DO FOR j:=i+1:DIM DO IF X_(i,j) NEQ 0 THEN WRITE % "USD[x_",i,",x_",j,"]=", X_(i,j),"USD;"$ "USD[x(",i,"),x(",j,")]=", X_(i,j),"USD;"$ WRITE "\P"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% operator x,f,A$ noncom x,f$ for all j let F(X(j))=FOR j1:=1:DIM SUM xi(j1,j)*X(j1)$ let f(0)=0$ for all j let f(-x(j))=-f(x(j))$ FOR ALL J,U SUCH THAT NUMBERP(U) LET f(U*X(j))=U*f(X(j))$ FOR ALL J,U,V SUCH THAT NUMBERP(U) AND NUMBERP(V) LET f(U*V*X(j))=U*V*f(X(j))$ FOR ALL J,U,V SUCH THAT NUMBERP(U) AND NUMBERP(V) LET f(-U*V*X(j))=-U*V*f(X(j))$ FOR ALL s,i,j,k,l LET f(X(s) *xi(i,j)*xi(k,l))=xi(i,j)*xi(k,l)*f(X(s))$ FOR ALL s,i,j,k,l LET f(xi(i,j)*xi(k,l)*X(s))=xi(i,j)*xi(k,l)*f(X(s))$ FOR ALL s,i,j,k,l LET f(-X(s) *xi(i,j)*xi(k,l))=-xi(i,j)*xi(k,l)*f(X(s))$ FOR ALL s,i,j LET f(X(s) *xi(i,j))=(xi(i,j))*f(X(s))$ FOR ALL s,i,j LET f(-X(s) *xi(i,j))=-(xi(i,j))*f(X(s))$ FOR ALL s,i,j LET f(-X(s) *xi(i,j)**2)=(-xi(i,j)**2)*f(X(s))$ FOR ALL s,i,j LET f(X(s) *xi(i,j)**2)=(xi(i,j)**2)*f(X(s))$ FOR ALL s,i,j,k,l LET f(-xi(i,j)*xi(k,l)*X(s))=-xi(i,j)*xi(k,l)*f(X(s))$ FOR ALL J,U SUCH THAT NUMBERP(U) LET f(-U*X(j))=-U*f(X(j))$ FOR ALL A,B LET F(A+B)=F(A)+F(B)$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%% collecting the torsion equations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% for all j,k let temp110(j,k) = x(j)*F(x(k))$ for all j,k let temp120(j,k) = F(temp110(j,k))$ for all j,k let temp101(j,k) = F(x(j))*x(k)$ for all j,k let temp102(j,k) = F(temp101(j,k))$ for all j,k let temp2(j,k) = F(x(j))* F(x(k)) $ for all j,k let temp0(j,k) = x(j)*x(k)$ for all j,k let A(j,k)= -temp2(j,k) + temp0(j,k) + temp120(j,k) + temp102(j,k); COLLECT_TORSION:=FOR j1:=1:DIM-1 JOIN FOR j2:=j1+1:DIM JOIN IF A(j1,j2) NEQ 0 THEN {{{j1,j2},A(j1,j2)}} ELSE {}$ %IF LENGTH(COLLECT_TORSION) NEQ 0 THEN WRITE "Nonzero torsion % in the following cases :",COLLECT_TORSION IF LENGTH(COLLECT_TORSION) NEQ 0 THEN WRITE "Nonzero torsion" ELSE WRITE "Zero torsion"$ write "\par"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %off exp$ %on factor$ %la liste des équations non nulles %write "list of the nonzero torsion equations"$ COLLECT_EQ:=FOR j1:=1:LENGTH(COLLECT_TORSION) JOIN FOR j2:=1:DIM JOIN IF V(j2)*PART(PART(COLLECT_TORSION,j1),2) NEQ 0 THEN {{{PART(PART(COLLECT_TORSION,j1),1),j2}, V(j2)*PART(PART(COLLECT_TORSION,j1),2)} } ELSE {}$ %COMMENT % WRITE "Torsion equations to cancel (Reduce output) : \\", COLLECT_EQ$ WRITE "Torsion equations to cancel (Latex output) : \\USD"$ for each A in COLLECT_EQ do if PART(A,2) neq 0 then <> $ %<> $ write "USD"$ %%%%%%%%%%%%%% writing the specific file containing the reduce data for J %%%%%%%%%%%%% out "matJ13_25.red"$ WRITE "% This file contains the REDUCE data for the general complex structures"$ WRITE "% and the torsion equation to be canceled"$ write "% on the Lie algebra g_{", dim, ",", PART(REFALGTEX,1), "}"$ write "%in the case xi(2,1) NEQ 0 , xi(2,3)= xi(2,4) =0,"$ write "%xi(3,3) = - xi(2,2), xi(3,4) NEQ - xi(2,1)."$ WRITE "matrix J(6,6)"$ %WRITE "J:=",MATJ$ WRITE "% Writing the torsion equation in Reduce format:"$ FOR i:=1:DIM DO FOR k:=1:DIM DO << xi(i,k):=J(i,k)>>$ write "PROCEDURE COLLECT_EQ$",COLLECT_EQ$ write "%to call the value, the command is COLLECT_EQ();"$ for i:=1:DIM do for k:=1:DIM do <>$ out "rprogram13_25.tex"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% computing the complex structures %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% off factor$ on exp$ write "\par Simultaneous resolution of the nonzero torsion equations and the matrix"$ write "equation USD J^2 = -I . USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "Suppose first USDxi(1,5) \neq 0USD."$ write "\\ Then one first gets"$ write "\\ from equation USD45|1USD :"$ write "USDxi(1,6):=-xi(2,5)USD"$ write "\\ and then from equation USD36|2USD : USD xi(2,6)**2 = -xi(2,5)**2USD, hence"$ write "USDxi(2,6):=0,xi(2,5):=0,xi(1,6):=0USD"$ write "But then from equation USD35|1USD : USD xi(1,5)=0USD a contradiction"$ write "Hence USD xi(1,5)USD has to be USD 0 USD"$ xi(1,5):=0$ write "\\ USD xi(1,5):=", xi(1,5),"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "then, one gets from equation USD45|2USD :"$ xi(2,5):=0$ write "\\ USD xi(2,5):=", xi(2,5),"USD"$ write "\\ and from equation USD46|1USD :"$ xi(1,6):=0$ write "\\ USD xi(1,6):=", xi(1,6),"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "then, one gets from equation USD36|2USD :"$ xi(2,6):=0$ write "\\ USD xi(2,6):=", xi(2,6),"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "Suppose now USDxi(4,6) \neq 0USD."$ write "\\ Then one first gets"$ write "\\ from equation USD26|4USD : which reads USD (xi(4,5)-xi(3,6))xi(4,6)=0USD"$ write "USDxi(4,5):=xi(3,6)USD"$ write "\\ and then from equation USD16|4USD"$ write "which reads USD xi(4,6)$**2 + xi(4,5)xi(3,6)=0USD"$ write ": USD xi(4,6)**2 = -xi(3,6)**2USD, hence"$ write "USDxi(4,6):=0,xi(3,6):=0USD"$ write " a contradiction"$ write "Hence USD xi(4,6)USD has to be USD 0 USD"$ xi(4,6):=0$ write "\\ USD xi(4,6):=", xi(4,6),"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "then, one gets from equation USD25|4USD :"$ xi(4,5):=0$ write "\\ USD xi(4,5):=", xi(4,5),"USD"$ write "\\ and from equation USD26|6USD :"$ xi(3,6):=0$ write "\\ USD xi(3,6):=", xi(3,6),"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "then, one gets from equation USD15|3USD :"$ xi(3,5):=0$ write "\\ USD xi(3,5):=", xi(3,5),"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "Then the 5x5 entry in USD J**2 USD is "$ write "USD {J**2}^5_5=xi(5,5)**2 + xi(6,5)*xi(5,6);USD\\"$ write "Hence USD xi(5,6)xi(6,5)\neq 0 USD"$ write "and USD xi(5,6) =(-1-xi(5,5)**2)/xi(6,5). USD"$ xi(5,6):= (-1-xi(5,5)**2)/xi(6,5)$ write "\\ USD xi(5,6):=", ws,"USD"$ write "Moreover, the 5x6 entry in USD J**2 USD is "$ write "USD (xi(5,5) + xi(6,6))*xi(5,6);USD hence\\"$ xi(6,6):= -xi(5,5)$ write "\\ USD xi(6,6):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "Then the 6x1 entry in USD J**2 USD gives "$ %USD J**2^6_1=xi(6,5)*xi(5,1) + xi(6,4)*xi(4,1) + xi(6,3)*xi(3,1) + xi(6,2)*xi(2 %,1) - xi(6,1)*xi(5,5) + xi(6,1)*xi(1,1);USD\\$ xi(5,1):=-( + xi(6,4)*xi(4,1) + xi(6,3)*xi(3,1) + xi(6,2)*xi(2 ,1) - xi(6,1)*xi(5,5) + xi(6,1)*xi(1,1))/xi(6,5)$ write "\\ USD xi(5,1):=", ws,"USD"$ write "and the 6x2 entry in USD J**2 USD gives "$ %USD J**2^6_2=xi(6,5)*xi(5,2) + xi(6,4)*xi(4,2) + xi(6,3)*xi(3,2) - xi(6,2)*xi(5 %,5) + xi(6,2)*xi(2,2) + xi(6,1)*xi(1,2);USD\\$ xi(5,2):=-( + xi(6,4)*xi(4,2) + xi(6,3)*xi(3,2) - xi(6,2)*xi(5 ,5) + xi(6,2)*xi(2,2) + xi(6,1)*xi(1,2))/xi(6,5)$ write "\\ USD xi(5,2):=", ws,"USD"$ write "and the 6x3 entry in USD J**2 USD gives "$ %USD J**2^6_3=xi(6,5)*xi(5,3) + xi(6,4)*xi(4,3) - xi(6,3)*xi(5,5) + xi(6,3)*xi(3 %,3) + xi(6,2)*xi(2,3) + xi(6,1)*xi(1,3);USD\\$ xi(5,3):=-( + xi(6,4)*xi(4,3) - xi(6,3)*xi(5,5) + xi(6,3)*xi(3 ,3) + xi(6,2)*xi(2,3) + xi(6,1)*xi(1,3))/xi(6,5)$ write "\\ USD xi(5,3):=", ws,"USD"$ write "and the 6x4 entry in USD J**2 USD gives "$ %USD J**2^6_4=xi(6,5)*xi(5,4) - xi(6,4)*xi(5,5) + xi(6,4)*xi(4,4) + xi(6,3)*xi(3 %,4) + xi(6,2)*xi(2,4) + xi(6,1)*xi(1,4);USD\\$ xi(5,4) :=-(- xi(6,4)*xi(5,5) + xi(6,4)*xi(4,4) + xi(6,3)*xi(3 ,4) + xi(6,2)*xi(2,4) + xi(6,1)*xi(1,4))/xi(6,5)$ write "\\ USD xi(5,4):=", ws,"USD"$ write "From the trace of USD JUSD, we get:"$ xi(4,4):=-for i:=1:3 sum xi(i,i)$ write "\\ USD xi(4,4):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\\ \textbf{Case} USDxi(2,1) \neq 0 \\USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "Then the 1x1 entry in USD J**2 USD gives "$ %USD J**2^1_1=xi(4,1)*xi(1,4) + xi(3,1)*xi(1,3) + xi(2,1)*xi(1,2) + xi(1,1)**2 %;USD\\$ xi(1,2):=(-1-(xi(4,1)*xi(1,4) + xi(3,1)*xi(1,3) + xi(1,1)**2))/xi(2,1)$ write "\\ USD xi(1,2):=", ws,"USD"$ write "and the 2x1 entry in USD J**2 USD gives "$ %USD J**2^2_1=xi(4,1)*xi(2,4) + xi(3,1)*xi(2,3) + xi(2,2)*xi(2,1) + xi(2,1)*xi(1 %,1);USD\\$ xi(1,1):=-(xi(4,1)*xi(2,4) + xi(3,1)*xi(2,3) + xi(2,2)*xi(2,1))/xi(2,1)$ write "\\ USD xi(1,1):=", ws,"USD"$ write "and the 2x3 entry in USD J**2 USD gives "$ %USD J**2^2_3=xi(4,3)*xi(2,4) + xi(3,3)*xi(2,3) + xi(2,3)*xi(2,2) + xi(2,1)*xi(1,3);USD\\$ xi(1,3):=-(xi(4,3)*xi(2,4) + xi(3,3)*xi(2,3) + xi(2,3)*xi(2,2))/xi(2,1)$ write "\\ USD xi(1,3):=", ws,"USD"$ write "and the 2x4 entry in USD J**2 USD gives "$ %USD J**2^2_4=xi(3,4)*xi(2,3) - xi(3,3)*xi(2,4) - xi(2,4)*xi(1,1) + xi(2,1)*xi(1,4);USD\\$ xi(1,4):=-(xi(3,4)*xi(2,3) - xi(3,3)*xi(2,4) - xi(2,4)*xi(1,1))/xi(2,1)$ write "\\ USD xi(1,4):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "Then the 4x1 entry in USD J**2 USD gives "$ %USD J**2^4_1=xi(4,3)*xi(3,1) + xi(4,2)*xi(2,1) - xi(4,1)*xi(3,3) - xi(4,1)*xi(2 %,2);USD\\$ xi(4,2):=-(xi(4,3)*xi(3,1) - xi(4,1)*xi(3,3) - xi(4,1)*xi(2,2))/xi(2,1)$ write "\\ USD xi(4,2):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "Then the 3x1 entry in USD J**2 USD gives "$ %SD J**2^3_1=(xi(4,1)*xi(3,4)*xi(2,1) - xi(4,1)*xi(3,1)*xi(2,4) + xi(3,3)*xi(3, %)*xi(2,1) + xi(3,2)*xi(2,1)**2 - xi(3,1)**2*xi(2,3) - xi(3,1)*xi(2,2)*xi(2,1))/ %i(2,1);USD\\$ xi(3,2):=-(xi(4,1)*xi(3,4)*xi(2,1) - xi(4,1)*xi(3,1)*xi(2,4) + xi(3,3)*xi(3, 1)*xi(2,1) %+ xi(3,2)*xi(2,1)**2 - xi(3,1)**2*xi(2,3) - xi(3,1)*xi(2,2)*xi(2,1))/xi(2,1)**2$ write "\\ USD xi(3,2):=", ws,"USD\\"$ write "The 4x4 entry in USD J**2 USD reads "$ %USD J**2^4_4=(xi(4,3)*xi(3,4)*xi(2,1)**2 - xi(4,3)*xi(3,1)*xi(2,4)*xi(2,1) - xi %(4,1)*xi(3,4)*xi(2,3)*xi(2,1) + xi(4,1)*xi(3,1)*xi(2,4)*xi(2,3) + xi(3,3)**2*xi( %2,1)**2 - 2*xi(3,3)*xi(3,1)*xi(2,3)*xi(2,1) + xi(3,1)**2*xi(2,3)**2)/xi(2,1)**2 %;USD\\$ write "USD(xi(4,3)*xi(2,1)- xi(4,1)*xi(2,3))(xi(3,4)*xi(2,1) -xi(3,1)*xi(2,4))"$ write "+(xi(3,3)*xi(2,1) - xi(3,1)*xi(2,3))**2)/xi(2,1)**2 =-1USD"$ write "Hence the case USD(xi(4,3)*xi(2,1)- xi(4,1)*xi(2,3)) =0USD is impossible"$ write "and the case USD(xi(3,4)*xi(2,1)- xi(3,1)*xi(2,4)) =0USD is impossible as well."$ write "We hence have the 2 conditions"$ write "condition1 : USD C1:=xi^4_3 xi^2_1 - xi^4_1 xi^2_3 \neq 0USD"$ write "condition2 : USD C2:=xi^3_4 xi^2_1 - xi^3_1 xi^2_4 \neq 0USD"$ C1:=xi(4,3)*xi(2,1)-xi(4,1)*xi(2,3)$ C2:=xi(3,4)*xi(2,1)-xi(3,1)*xi(2,4)$ write "Then we get :"$ xi(4,3):= (((-xi(2,1)**2 - (xi(3,3)*xi(2,1)- xi(3,1)*xi(2,3))**2) /(xi(3,4)*xi(2,1) -xi(3,1)*xi(2,4)) ) +xi(4,1)*xi(2,3)) /xi(2,1)$ write "\\ USD xi(4,3):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\\ \textbf{Case} USDxi(2,3) = 0 \\USD"$ write "\par Suppose USD xi(2,3) = 0 USD."$ xi(2,3):=0$ write "\\ USD xi(2,3):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\\ \textbf{Case} USDxi(2,4) = 0 \\USD"$ write "\par Suppose USD xi(2,4) = 0 USD."$ xi(2,4):=0$ write "\\ USD xi(2,4):=", ws,"USD"$ write "then, one gets from equation USD14|6USD :"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "condition1 reads then : USD ",C1,"\neq 0 USD"$ write "and condition2 reads : USD ",C2,"\neq 0 .USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\\ \textbf{Case} USDxi(3,3):=- xi(2,2) \ \\USD"$ write "\par Suppose USD xi(3,3):=-xi(2,2) USD."$ xi(3,3):=-xi(2,2)$ write "\\ USD xi(3,3):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% write "\par With these values, \textit{Reduce} computes again all equations."$ write "\\ \textbf{Case} USDxi(3,4) \neq -xi(2,1) \\USD"$ write "\par Suppose USD xi(3,4) \neq -xi(2,1) USD."$ write "Then, equation USD14|5USD gives :"$ %{{{1,4},5}, %xi(5,5)*(xi(3,4) + xi(2,1)) + xi(2,2)*(xi(3,4) - xi(2,1))}, %{{{1,4},6}, %xi(6,5)*xi(3,4) + xi(6,5)*xi(2,1) + xi(3,4)*xi(2,1) + xi(2,2)**2 + 1}, %{{{1,4},5}, xi(5,5):=- xi(2,2)*(xi(3,4) - xi(2,1))/(xi(3,4) + xi(2,1))$ write "\\ USD xi(5,5):=", ws,"USD"$ write "and, equation USD14|6USD gives :"$ %{{{1,4},6}, xi(6,5):=- (xi(3,4)*xi(2,1) + xi(2,2)**2 + 1 )/(xi(3,4) + xi(2,1))$ write "\\ USD xi(6,5):=", ws,"USD"$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% off exp$ on factor$ WRITE " \par Now the nonzero torsion equations left are :"$ COMMENT write COLLECT_EQ$ %Latex output WRITE "Torsion equations to cancel (Latex output) : USD"$ for each A in COLLECT_EQ do if PART(A,2) neq 0 then <>$ write "USD"$ write "\\ \P \\"$ %%%%%%% %La matrice MATJ de J : write "\par The matrix USD J USD is :\\"$ MATRIX MATJ(DIM,DIM)$ FOR i:=1:DIM DO FOR j:=1:DIM DO MATJ(i,j):=xi(i,j)$ %WRITE "Matrice de J:=",MATJ$ off exp$ on factor$ WRITE "with the condition USD C1:=",C1,"\neq 0;USD"$ WRITE "and the condition USD C2:=",C2,"\neq 0;USD"$ write "and USDxi(3,4)\neq - xi(2,1) \ \\USD"$ write "and USD xi(6,5):=",xi(6,5), " \neq 0 \\USD"$ on exp$ of factor$ FOR i:=1:DIM DO FOR j:=1:DIM DO <>$ on exp$ of factor$ MATJCARRE:=(MATJ)**2$ %WRITE "Matrice de J**2:=",(MATJ)**2$ % FOR i:=1:DIM DO FOR j:=1:DIM DO % <>$ write "USDUSD J^2 = \begin{pmatrix}"$ for i:=1:dim do if i neq dim then for j:=1:dim do if j neq dim then <> else <> else for j:=1:dim do if j neq dim then <> else <>$ WRITE "\\$ det J:=",DET(MATJ)$ WRITE "Trace J:=",TRACE(MATJ)$ %%%%%%%%%%%%%% writing the specific file containing the reduce data for J %%%%%%%%%%%%% out "matJ13_25.red"$ WRITE "% Writing the entries of J:"$ WRITE "% J(i,k) denotes the entry in the ith row , kth column"$ WRITE "% i.e. stands for the LaTex expression J^i_k"$ WRITE "% Similarly, xi(i,k) stands for the LaTex expression \xi^i_k"$ FOR i:=1:DIM DO FOR j:=1:DIM DO <