login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for SandBox Quaternion Algebra is Frobenius in Many Ways revision 18 of 32

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Editor: Bill Page
Time: 2011/05/19 23:26:40 GMT-7
Note: bi-algebra conditions

changed:
-Cartan-Killing Trace Form
-\begin{axiom}
-
-( I I   ) / _
-(  Y Λ  ) / _
-(   Y I ) / _
-     V
-
-\end{axiom}
-
Multiplication is Associative
\begin{axiom}
test(
  ( I Y ) / _
  (  Y  ) = _
  ( Y I ) / _
  (  Y  ) )
\end{axiom}

added:
The Cartan-Killing Trace
\begin{axiom}

Ú:=
   (  Y Λ  ) / _
   (   Y I ) / _
        V
Ù:=
   (  Λ Y  ) / _
   ( I Y   ) / _
      V

test(Ù=Ú)

\end{axiom}
forms a non-degenerate associative scalar product for Y
\begin{axiom}
Ũ := r*Ù
test
     (    Y I    )  /
           Ũ        =
     (    I Y    )  /
           Ũ
determinant Ξ(Ξ(retract((𝐞.i * 𝐞.j)/Ũ), j,1..dim), i,1..dim)
\end{axiom}

General Solution


changed:
-equate(f,g)==map((x,y)+->(x=y),ravel f, ravel g);
-eq1:=equate(d1,I);
-eq2:=equate(d2,I);
equate(eq)==map((x,y)+->(x=y),ravel lhs eq, ravel rhs eq);
eq1:=equate(d1=I);
eq2:=equate(d2=I);

added:

Co-associativity
\begin{axiom}
test(
  (  λ  ) / _
  ( I λ ) = _
  (  λ  ) / _
  ( λ I ) )
\end{axiom}

changed:
-Χ :=
H :=

changed:
-     (  I Y    )  =  Χ
     (  I Y    )  =  H

changed:
-     (    Y I  )  =  Χ
-
-\end{axiom}
-
-Bi-algebra
-\begin{axiom}
-)set output tex off
-)set output algebra on
-\end{axiom}
-\begin{axiom}
-bi1:=         _
     (    Y I  )  =  H

\end{axiom}

Bi-algebra conditions
\begin{axiom}
ΦΦ:=         _

changed:
-  (  Y Y  );
-
-bi2:=   _
-    Y / _ 
-    λ / _ 
-    Y / _
-    λ;
-
-test(bi1=bi2)
-\end{axiom}
-\begin{axiom}
-)set output algebra off
-)set output tex on
-\end{axiom}
  (  Y Y  ) ;

test( ΦΦ=H )
test( ΦΦ=H/H )
solve(equate(ΦΦ=H),Ξ(sb('p,[i]), i,1..#Ñ))
\end{axiom}

changed:
-H:𝐋 :=
Φ:𝐋 :=

changed:
-H0:𝐋 :=eval(H,ex1)$𝐋
-\end{axiom}
Φ0:𝐋 :=eval(Φ,ex1)$𝐋
\end{axiom}

Quaternion Algebra Is Frobenius In Many Ways

Linear operators over a 4-dimensional vector space representing quaternion algebra

Ref:

  • http://arxiv.org/abs/1103.5113

    $S_3$-permuted Frobenius Algebras

    Zbigniew Oziewicz (UNAM), Gregory Peter Wene (UTSA)

  • http://mat.uab.es/~kock/TQFT.html

    Frobenius algebras and 2D topological quantum field theories

    Joachim Kock

  • http://en.wikipedia.org/wiki/Frobenius_algebra

We need the Axiom LinearOperator library.

fricas
(1) -> )library CARTEN ARITY CMONAL CPROP CLOP CALEY
CartesianTensor is now explicitly exposed in frame initial CartesianTensor will be automatically loaded when needed from /var/aw/var/LatexWiki/CARTEN.NRLIB/CARTEN Arity is now explicitly exposed in frame initial Arity will be automatically loaded when needed from /var/aw/var/LatexWiki/ARITY.NRLIB/ARITY ClosedMonoidal is now explicitly exposed in frame initial ClosedMonoidal will be automatically loaded when needed from /var/aw/var/LatexWiki/CMONAL.NRLIB/CMONAL ClosedProp is now explicitly exposed in frame initial ClosedProp will be automatically loaded when needed from /var/aw/var/LatexWiki/CPROP.NRLIB/CPROP ClosedLinearOperator is now explicitly exposed in frame initial ClosedLinearOperator will be automatically loaded when needed from /var/aw/var/LatexWiki/CLOP.NRLIB/CLOP CaleyDickson is now explicitly exposed in frame initial CaleyDickson will be automatically loaded when needed from /var/aw/var/LatexWiki/CALEY.NRLIB/CALEY

Use the following macros for convenient notation

fricas
-- summation
macro Σ(x,i,n)==reduce(+,[x for i in n])
Type: Void
fricas
-- list
macro Ξ(f,i,n)==[f for i in n]
Type: Void
fricas
-- subscript
macro sb == subscript
Type: Void

𝐋 is the domain of 4-dimensional linear operators over the rational functions ℚ (Expression Integer), i.e. ratio of polynomials with integer coefficients.

fricas
dim:=4
\begin{equation} \label{eq1}4\end{equation}
Type: PositiveInteger?
fricas
macro ℒ == List
Type: Void
fricas
macro ℂ == CaleyDickson
Type: Void
fricas
macro ℚ == Expression Integer
Type: Void
fricas
𝐋 := ClosedLinearOperator(OVAR ['1,'i,'j,'k], ℚ)
\begin{equation*} \label{eq2}\hbox{\axiomType{ClosedLinearOperator?}\ } \left({{\hbox{\axiomType{OrderedVariableList?}\ } \left({\left[ 1, \: i , \: j , \: k \right]?}\right)}, \:{\hbox{\axiomType{Expression}\ } \left({\hbox{\axiomType{Integer}\ }}\right)}}\right)\end{equation*}
Type: Type
fricas
𝐞:ℒ 𝐋      := basisOut()
\begin{equation*} \label{eq3}\left[{|_{\ 1}}, \:{|_{\ i}}, \:{|_{\ j}}, \:{|_{\ k}}\right]?\end{equation*}
Type: List(ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer)))
fricas
𝐝:ℒ 𝐋      := basisIn()
\begin{equation*} \label{eq4}\left[{|^{\ 1}}, \:{|^{\ i}}, \:{|^{\ j}}, \:{|^{\ k}}\right]?\end{equation*}
Type: List(ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer)))
fricas
I:𝐋:=[1]   -- identity for composition
\begin{equation} \label{eq5}{|_{\ 1}^{\ 1}}+{|_{\ i}^{\ i}}+{|_{\ j}^{\ j}}+{|_{\ k}^{\ k}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
X:𝐋:=[2,1] -- twist
\begin{equation} \label{eq6}\begin{array}{@{}l} \displaystyle {|_{\ 1 \ 1}^{\ 1 \ 1}}+{|_{\ i \ 1}^{\ 1 \ i}}+{|_{\ j \ 1}^{\ 1 \ j}}+{|_{\ k \ 1}^{\ 1 \ k}}+{|_{\ 1 \ i}^{\ i \ 1}}+ \ \ \displaystyle {|_{\ i \ i}^{\ i \ i}}+{|_{\ j \ i}^{\ i \ j}}+{|_{\ k \ i}^{\ i \ k}}+{|_{\ 1 \ j}^{\ j \ 1}}+{|_{\ i \ j}^{\ j \ i}}+{|_{\ j \ j}^{\ j \ j}}+ \ \ \displaystyle {|_{\ k \ j}^{\ j \ k}}+{|_{\ 1 \ k}^{\ k \ 1}}+{|_{\ i \ k}^{\ k \ i}}+{|_{\ j \ k}^{\ k \ j}}+{|_{\ k \ k}^{\ k \ k}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
V:𝐋:=ev(1) -- evaluation
\begin{equation} \label{eq7}{|^{\ 1 \ 1}}+{|^{\ i \ i}}+{|^{\ j \ j}}+{|^{\ k \ k}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
Λ:𝐋:=co(1) -- co-evaluation
\begin{equation} \label{eq8}{|_{\ 1 \ 1}}+{|_{\ i \ i}}+{|_{\ j \ j}}+{|_{\ k \ k}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

Now generate structure constants for Quaternion Algebra

The basis consists of the real and imaginary units. We use quaternion multiplication to form the "multiplication table" as a matrix. Then the structure constants can be obtained by dividing each matrix entry by the list of basis vectors.

Split-complex and co-quaternions can be specified by Caley-Dickson parameters (q0 = -1, q1 = -1)

fricas
--q0:=sb('q,[0])
q0:=1  -- not split-complex
\begin{equation} \label{eq9}1\end{equation}
Type: PositiveInteger?
fricas
q1:=sb('q,[1])
\begin{equation} \label{eq10}q_{1}\end{equation}
Type: Symbol
fricas
--q1:=1  -- co-quaternion
QQ := ℂ(ℂ(ℚ,'i,q0),'j,q1);
Type: Type

Basis: Each B.i is a quaternion number

fricas
B:ℒ QQ := map(x +-> hyper x,1$SQMATRIX(dim,ℚ)::ℒ ℒ ℚ)
\begin{equation*} \label{eq11}\left[ 1, \: i , \: j , \:{ij}\right]?\end{equation*}
Type: List(CaleyDickson?(CaleyDickson?(Expression(Integer),i,1),j,q[1]))
fricas
-- Multiplication table:
M:Matrix QQ := matrix Ξ(Ξ(B.i*B.j, i,1..dim), j,1..dim)
\begin{equation*} \label{eq12}\left[ \begin{array}{cccc} 1 & i & j &{ij} \ i & - 1 & -{ij}& j \ j &{ij}& -{q_{1}}&{-{q_{1}}i} \ {ij}& - j &{{q_{1}}i}& -{q_{1}} \end{array} \right]\end{equation*}
Type: Matrix(CaleyDickson?(CaleyDickson?(Expression(Integer),i,1),j,q[1]))
fricas
-- Function to divide the matrix entries by a basis element
S(y) == map(x +-> real real(x/y),M)
Type: Void
fricas
-- The result is a nested list
ѕ :=map(S,B)::ℒ ℒ ℒ ℚ
fricas
Compiling function S with type CaleyDickson(CaleyDickson(Expression(
      Integer),i,1),j,q[1]) -> Matrix(Expression(Integer))
\begin{equation*} \label{eq13}\begin{array}{@{}l} \displaystyle \left[{\left[{\left[ 1, \: 0, \: 0, \: 0 \right]?}, \:{\left[ 0, \: - 1, \: 0, \: 0 \right]?}, \:{\left[ 0, \: 0, \: -{q_{1}}, \: 0 \right]?}, \:{\left[ 0, \: 0, \: 0, \: -{q_{1}}\right]?}\right]}, \: \right. \ \ \displaystyle \left.{\left[{\left[ 0, \: 1, \: 0, \: 0 \right]?}, \:{\left[ 1, \: 0, \: 0, \: 0 \right]?}, \:{\left[ 0, \: 0, \: 0, \: -{q_{1}}\right]?}, \:{\left[ 0, \: 0, \:{q_{1}}, \: 0 \right]?}\right]}, \: \right. \ \ \displaystyle \left.{ \begin{array}{@{}l} \displaystyle \left[{\left[ 0, \: 0, \:{\frac{q_{1}}{\overline{q_{1}}}}, \: 0 \right]?}, \:{\left[ 0, \: 0, \: 0, \:{\frac{q_{1}}{\overline{q_{1}}}}\right]?}, \:{\left[{\frac{q_{1}}{\overline{q_{1}}}}, \: 0, \: 0, \: 0 \right]?}, \: \right. \ \ \displaystyle \left.{\left[ 0, \: -{\frac{q_{1}}{\overline{q_{1}}}}, \: 0, \: 0 \right]?}\right] \end{array} }, \: \right. \ \ \displaystyle \left.{\left[{\left[ 0, \: 0, \: 0, \: 1 \right]?}, \:{\left[ 0, \: 0, \: - 1, \: 0 \right]?}, \:{\left[ 0, \: 1, \: 0, \: 0 \right]?}, \:{\left[ 1, \: 0, \: 0, \: 0 \right]?}\right]}\right] \end{array} \end{equation*}
Type: List(List(List(Expression(Integer))))
fricas
-- structure constants form a tensor operator
Y := Σ(Σ(Σ(ѕ(i)(k)(j)*𝐞.i*𝐝.j*𝐝.k, i,1..dim), j,1..dim), k,1..dim)
\begin{equation} \label{eq14}\begin{array}{@{}l} \displaystyle {|_{\ 1}^{\ 1 \ 1}}+{|_{\ i}^{\ 1 \ i}}+{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}^{\ 1 \ j}}}+{|_{\ k}^{\ 1 \ k}}+{|_{\ i}^{\ i \ 1}}-{|_{\ 1}^{\ i \ i}}+ \ \ \displaystyle {|_{\ k}^{\ i \ j}}-{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}^{\ i \ k}}}+{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}^{\ j \ 1}}}-{|_{\ k}^{\ j \ i}}- \ \ \displaystyle {{q_{1}}\ {|_{\ 1}^{\ j \ j}}}+{{q_{1}}\ {|_{\ i}^{\ j \ k}}}+{|_{\ k}^{\ k \ 1}}+{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}^{\ k \ i}}}- \ \ \displaystyle {{q_{1}}\ {|_{\ i}^{\ k \ j}}}-{{q_{1}}\ {|_{\ 1}^{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
arity Y
\begin{equation} \label{eq15}\frac{{+}^{2}}{+}\end{equation}
Type: ClosedProp?(ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer)))
fricas
matrix Ξ(Ξ((𝐞.i*𝐞.j)/Y, i,1..dim), j,1..dim)
\begin{equation*} \label{eq16}\left[ \begin{array}{cccc} {|_{\ 1}}&{|_{\ i}}&{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}}}&{|_{\ k}} \ {|_{\ i}}& -{|_{\ 1}}& -{|_{\ k}}&{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}}} \ {{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}}}&{|_{\ k}}& -{{q_{1}}\ {|_{\ 1}}}& -{{q_{1}}\ {|_{\ i}}} \ {|_{\ k}}& -{{\frac{q_{1}}{\overline{q_{1}}}}\ {|_{\ j}}}&{{q_{1}}\ {|_{\ i}}}& -{{q_{1}}\ {|_{\ 1}}} \end{array} \right]\end{equation*}
Type: Matrix(ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer)))

Multiplication of arbitrary quaternions $a$ and $b$

fricas
a:=Σ(sb('a,[i])*𝐞.i, i,1..dim)
\begin{equation} \label{eq17}{{a_{1}}\ {|_{\ 1}}}+{{a_{2}}\ {|_{\ i}}}+{{a_{3}}\ {|_{\ j}}}+{{a_{4}}\ {|_{\ k}}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
b:=Σ(sb('b,[i])*𝐞.i, i,1..dim)
\begin{equation} \label{eq18}{{b_{1}}\ {|_{\ 1}}}+{{b_{2}}\ {|_{\ i}}}+{{b_{3}}\ {|_{\ j}}}+{{b_{4}}\ {|_{\ k}}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
(a*b)/Y
\begin{equation} \label{eq19}\begin{array}{@{}l} \displaystyle {{\left({{\left(-{{a_{4}}\ {b_{4}}}-{{a_{3}}\ {b_{3}}}\right)}\ {q_{1}}}-{{a_{2}}\ {b_{2}}}+{{a_{1}}\ {b_{1}}}\right)}\ {|_{\ 1}}}+ \ \ \displaystyle {{\left({{\left({{a_{3}}\ {b_{4}}}-{{a_{4}}\ {b_{3}}}\right)}\ {q_{1}}}+{{a_{1}}\ {b_{2}}}+{{a_{2}}\ {b_{1}}}\right)}\ {|_{\ i}}}+ \ \ \displaystyle {{\frac{{\left(-{{a_{2}}\ {b_{4}}}+{{a_{1}}\ {b_{3}}}+{{a_{4}}\ {b_{2}}}+{{a_{3}}\ {b_{1}}}\right)}\ {q_{1}}}{\overline{q_{1}}}}\ {|_{\ j}}}+ \ \ \displaystyle {{\left({{a_{1}}\ {b_{4}}}+{{a_{2}}\ {b_{3}}}-{{a_{3}}\ {b_{2}}}+{{a_{4}}\ {b_{1}}}\right)}\ {|_{\ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

Multiplication is Associative

fricas
test(
  ( I Y ) / _
  (  Y  ) = _
  ( Y I ) / _
  (  Y  ) )
\begin{equation} \label{eq20} \mbox{\rm false} \end{equation}
Type: Boolean

A scalar product is denoted by the (2,0)-tensor $U = \{ u_{ij} \}$

fricas
U:=Σ(Σ(script('u,[[],[i,j]])*𝐝.i*𝐝.j, i,1..dim), j,1..dim)
\begin{equation} \label{eq21}\begin{array}{@{}l} \displaystyle {{u^{1, \: 1}}\ {|^{\ 1 \ 1}}}+{{u^{1, \: 2}}\ {|^{\ 1 \ i}}}+{{u^{1, \: 3}}\ {|^{\ 1 \ j}}}+{{u^{1, \: 4}}\ {|^{\ 1 \ k}}}+ \ \ \displaystyle {{u^{2, \: 1}}\ {|^{\ i \ 1}}}+{{u^{2, \: 2}}\ {|^{\ i \ i}}}+{{u^{2, \: 3}}\ {|^{\ i \ j}}}+{{u^{2, \: 4}}\ {|^{\ i \ k}}}+{{u^{3, \: 1}}\ {|^{\ j \ 1}}}+ \ \ \displaystyle {{u^{3, \: 2}}\ {|^{\ j \ i}}}+{{u^{3, \: 3}}\ {|^{\ j \ j}}}+{{u^{3, \: 4}}\ {|^{\ j \ k}}}+{{u^{4, \: 1}}\ {|^{\ k \ 1}}}+ \ \ \displaystyle {{u^{4, \: 2}}\ {|^{\ k \ i}}}+{{u^{4, \: 3}}\ {|^{\ k \ j}}}+{{u^{4, \: 4}}\ {|^{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

Definition 1

We say that the scalar product is associative if the tensor equation holds:

    Y   =   Y
     U     U

In other words, if the (3,0)-tensor: $$ \scalebox{1} % Change this value to rescale the drawing. { \begin{pspicture}(0,-0.92)(4.82,0.92) \psbezier[linewidth=0.04]?(2.2,0.9)(2.2,0.1)(2.6,0.1)(2.6,0.9) \psline[linewidth=0.04cm]?(2.4,0.3)(2.4,-0.1) \psbezier[linewidth=0.04]?(2.4,-0.1)(2.4,-0.9)(3.0,-0.9)(3.0,-0.1) \psline[linewidth=0.04cm]?(3.0,-0.1)(3.0,0.9) \psbezier[linewidth=0.04]?(4.8,0.9)(4.8,0.1)(4.4,0.1)(4.4,0.9) \psline[linewidth=0.04cm]?(4.6,0.3)(4.6,-0.1) \psbezier[linewidth=0.04]?(4.6,-0.1)(4.6,-0.9)(4.0,-0.9)(4.0,-0.1) \psline[linewidth=0.04cm]?(4.0,-0.1)(4.0,0.9) \usefont{T1}{ptm}{m}{n} \rput(3.4948437,0.205){-} \psline[linewidth=0.04cm]?(0.6,-0.7)(0.6,0.9) \psbezier[linewidth=0.04]?(0.0,-0.1)(0.0,-0.9)(1.2,-0.9)(1.2,-0.1) \psline[linewidth=0.04cm]?(0.0,-0.1)(0.0,0.9) \psline[linewidth=0.04cm]?(1.2,-0.1)(1.2,0.9) \usefont{T1}{ptm}{m}{n} \rput(1.6948438,0.205){=} \end{pspicture} } $$

\begin{equation} \label{eq22} \Phi = \{ \phi^{ijk} = {y^e}_{ij} u_{ek} - u_{ie} {y_e}^{jk} \} \end{equation} (three-point function) is zero.

Using the LinearOperator? domain in Axiom and some carefully chosen symbols we can easily enter expressions that are both readable and interpreted by Axiom as "graphical calculus" diagrams describing complex products and compositions of linear operators.

fricas
ω:𝐋 :=
     (    Y I    )  /
           U        -
     (    I Y    )  /
           U
\begin{equation} \label{eq23}\begin{array}{@{}l} \displaystyle {{\frac{{{u^{1, \: 3}}\ {\overline{q_{1}}}}-{{u^{1, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ 1 \ 1 \ j}}}+{{\left({u^{2, \: 1}}-{u^{1, \: 2}}\right)}\ {|^{\ 1 \ i \ 1}}}+ \ \ \displaystyle {{\left({u^{2, \: 2}}+{u^{1, \: 1}}\right)}\ {|^{\ 1 \ i \ i}}}+{{\left({u^{2, \: 3}}-{u^{1, \: 4}}\right)}\ {|^{\ 1 \ i \ j}}}+ \ \ \displaystyle {{\frac{{{u^{2, \: 4}}\ {\overline{q_{1}}}}+{{u^{1, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ 1 \ i \ k}}}+ \ \ \displaystyle {{\frac{{\left({u^{3, \: 1}}-{u^{1, \: 3}}\right)}\ {q_{1}}}{\overline{q_{1}}}}\ {|^{\ 1 \ j \ 1}}}+ \ \ \displaystyle {{\frac{{{u^{1, \: 4}}\ {\overline{q_{1}}}}+{{u^{3, \: 2}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ 1 \ j \ i}}}+ \ \ \displaystyle {{\frac{{{u^{1, \: 1}}\ {q_{1}}\ {\overline{q_{1}}}}+{{u^{3, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ 1 \ j \ j}}}+ \ \ \displaystyle {{\frac{-{{u^{1, \: 2}}\ {q_{1}}\ {\overline{q_{1}}}}+{{u^{3, \: 4}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ 1 \ j \ k}}}+ \ \ \displaystyle {{\left({u^{4, \: 1}}-{u^{1, \: 4}}\right)}\ {|^{\ 1 \ k \ 1}}}+{{\frac{{{u^{4, \: 2}}\ {\overline{q_{1}}}}-{{u^{1, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ 1 \ k \ i}}}+ \ \ \displaystyle {{\left({{u^{1, \: 2}}\ {q_{1}}}+{u^{4, \: 3}}\right)}\ {|^{\ 1 \ k \ j}}}+{{\left({{u^{1, \: 1}}\ {q_{1}}}+{u^{4, \: 4}}\right)}\ {|^{\ 1 \ k \ k}}}+ \ \ \displaystyle {{\frac{{{u^{2, \: 3}}\ {\overline{q_{1}}}}-{{u^{2, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ i \ 1 \ j}}}+{{\left(-{u^{2, \: 2}}-{u^{1, \: 1}}\right)}\ {|^{\ i \ i \ 1}}}+ \ \ \displaystyle {{\left({u^{2, \: 1}}-{u^{1, \: 2}}\right)}\ {|^{\ i \ i \ i}}}+{{\left(-{u^{2, \: 4}}-{u^{1, \: 3}}\right)}\ {|^{\ i \ i \ j}}}+ \ \ \displaystyle {{\frac{-{{u^{1, \: 4}}\ {\overline{q_{1}}}}+{{u^{2, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ i \ i \ k}}}+ \ \ \displaystyle {{\frac{{{u^{4, \: 1}}\ {\overline{q_{1}}}}-{{u^{2, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ i \ j \ 1}}}+{{\left({u^{4, \: 2}}+{u^{2, \: 4}}\right)}\ {|^{\ i \ j \ i}}}+ \ \ \displaystyle {{\left({{u^{2, \: 1}}\ {q_{1}}}+{u^{4, \: 3}}\right)}\ {|^{\ i \ j \ j}}}+{{\left(-{{u^{2, \: 2}}\ {q_{1}}}+{u^{4, \: 4}}\right)}\ {|^{\ i \ j \ k}}}+ \ \ \displaystyle {{\frac{-{{u^{2, \: 4}}\ {\overline{q_{1}}}}-{{u^{3, \: 1}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ i \ k \ 1}}}+ \ \ \displaystyle {{\frac{{\left(-{u^{3, \: 2}}-{u^{2, \: 3}}\right)}\ {q_{1}}}{\overline{q_{1}}}}\ {|^{\ i \ k \ i}}}+ \ \ \displaystyle {{\frac{{{u^{2, \: 2}}\ {q_{1}}\ {\overline{q_{1}}}}-{{u^{3, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ i \ k \ j}}}+ \ \ \displaystyle {{\frac{{{u^{2, \: 1}}\ {q_{1}}\ {\overline{q_{1}}}}-{{u^{3, \: 4}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ i \ k \ k}}}+ \ \ \displaystyle {{\frac{-{{u^{3, \: 1}}\ {\overline{q_{1}}}}+{{u^{3, \: 1}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ j \ 1 \ 1}}}+ \ \ \displaystyle {{\frac{-{{u^{3, \: 2}}\ {\overline{q_{1}}}}+{{u^{3, \: 2}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ j \ 1 \ i}}}+ \ \ \displaystyle {{\frac{-{{u^{3, \: 4}}\ {\overline{q_{1}}}}+{{u^{3, \: 4}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ j \ 1 \ k}}}+ \ \ \displaystyle {{\left(-{u^{4, \: 1}}-{u^{3, \: 2}}\right)}\ {|^{\ j \ i \ 1}}}+{{\left(-{u^{4, \: 2}}+{u^{3, \: 1}}\right)}\ {|^{\ j \ i \ i}}}+ \ \ \displaystyle {{\left(-{u^{4, \: 3}}-{u^{3, \: 4}}\right)}\ {|^{\ j \ i \ j}}}+ \ \ \displaystyle {{\frac{-{{u^{4, \: 4}}\ {\overline{q_{1}}}}+{{u^{3, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ j \ i \ k}}}+ \ \ \displaystyle {{\frac{-{{u^{1, \: 1}}\ {q_{1}}\ {\overline{q_{1}}}}-{{u^{3, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ j \ j \ 1}}}+ \ \ \displaystyle {{\left(-{{u^{1, \: 2}}\ {q_{1}}}+{u^{3, \: 4}}\right)}\ {|^{\ j \ j \ i}}}+{{\left({u^{3, \: 1}}-{u^{1, \: 3}}\right)}\ {q_{1}}\ {|^{\ j \ j \ j}}}+ \ \ \displaystyle {{\left(-{u^{3, \: 2}}-{u^{1, \: 4}}\right)}\ {q_{1}}\ {|^{\ j \ j \ k}}}+{{\left({{u^{2, \: 1}}\ {q_{1}}}-{u^{3, \: 4}}\right)}\ {|^{\ j \ k \ 1}}}+ \ \ \displaystyle {{\frac{{{u^{2, \: 2}}\ {q_{1}}\ {\overline{q_{1}}}}-{{u^{3, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ j \ k \ i}}}+ \ \ \displaystyle {{\left({u^{3, \: 2}}+{u^{2, \: 3}}\right)}\ {q_{1}}\ {|^{\ j \ k \ j}}}+{{\left({u^{3, \: 1}}+{u^{2, \: 4}}\right)}\ {q_{1}}\ {|^{\ j \ k \ k}}}+ \ \ \displaystyle {{\frac{{{u^{4, \: 3}}\ {\overline{q_{1}}}}-{{u^{4, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ k \ 1 \ j}}}+ \ \ \displaystyle {{\frac{-{{u^{4, \: 2}}\ {\overline{q_{1}}}}+{{u^{3, \: 1}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ k \ i \ 1}}}+ \ \ \displaystyle {{\frac{{{u^{4, \: 1}}\ {\overline{q_{1}}}}+{{u^{3, \: 2}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ k \ i \ i}}}+ \ \ \displaystyle {{\frac{-{{u^{4, \: 4}}\ {\overline{q_{1}}}}+{{u^{3, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ k \ i \ j}}}+ \ \ \displaystyle {{\frac{{\left({u^{4, \: 3}}+{u^{3, \: 4}}\right)}\ {q_{1}}}{\overline{q_{1}}}}\ {|^{\ k \ i \ k}}}+ \ \ \displaystyle {{\frac{-{{u^{2, \: 1}}\ {q_{1}}\ {\overline{q_{1}}}}-{{u^{4, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ k \ j \ 1}}}+ \ \ \displaystyle {{\left(-{{u^{2, \: 2}}\ {q_{1}}}+{u^{4, \: 4}}\right)}\ {|^{\ k \ j \ i}}}+{{\left({u^{4, \: 1}}-{u^{2, \: 3}}\right)}\ {q_{1}}\ {|^{\ k \ j \ j}}}+ \ \ \displaystyle {{\left(-{u^{4, \: 2}}-{u^{2, \: 4}}\right)}\ {q_{1}}\ {|^{\ k \ j \ k}}}+{{\left(-{{u^{1, \: 1}}\ {q_{1}}}-{u^{4, \: 4}}\right)}\ {|^{\ k \ k \ 1}}}+ \ \ \displaystyle {{\frac{-{{u^{1, \: 2}}\ {q_{1}}\ {\overline{q_{1}}}}-{{u^{4, \: 3}}\ {q_{1}}}}{\overline{q_{1}}}}\ {|^{\ k \ k \ i}}}+ \ \ \displaystyle {{\left({u^{4, \: 2}}-{u^{1, \: 3}}\right)}\ {q_{1}}\ {|^{\ k \ k \ j}}}+{{\left({u^{4, \: 1}}-{u^{1, \: 4}}\right)}\ {q_{1}}\ {|^{\ k \ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

Definition 2

An algebra with a non-degenerate associative scalar product is called a [Frobenius Algebra]?.

The Cartan-Killing Trace

fricas
Ú:=
   (  Y Λ  ) / _
   (   Y I ) / _
        V
\begin{equation} \label{eq24}\begin{array}{@{}l} \displaystyle {{\frac{{3 \ {\overline{q_{1}}}}+{q_{1}}}{\overline{q_{1}}}}\ {|^{\ 1 \ 1}}}+{{\frac{-{3 \ {\overline{q_{1}}}}-{q_{1}}}{\overline{q_{1}}}}\ {|^{\ i \ i}}}+ \ \ \displaystyle {{\frac{-{3 \ {q_{1}}\ {\overline{q_{1}}}}-{{q_{1}}^{2}}}{\overline{q_{1}}}}\ {|^{\ j \ j}}}+{{\frac{-{3 \ {q_{1}}\ {\overline{q_{1}}}}-{{q_{1}}^{2}}}{\overline{q_{1}}}}\ {|^{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
Ù:=
   (  Λ Y  ) / _
   ( I Y   ) / _
      V
\begin{equation} \label{eq25}\begin{array}{@{}l} \displaystyle {{\frac{{3 \ {\overline{q_{1}}}}+{q_{1}}}{\overline{q_{1}}}}\ {|^{\ 1 \ 1}}}+{{\frac{-{3 \ {\overline{q_{1}}}}-{q_{1}}}{\overline{q_{1}}}}\ {|^{\ i \ i}}}+ \ \ \displaystyle {{\frac{-{3 \ {q_{1}}\ {\overline{q_{1}}}}-{{q_{1}}^{2}}}{\overline{q_{1}}}}\ {|^{\ j \ j}}}+{{\frac{-{3 \ {q_{1}}\ {\overline{q_{1}}}}-{{q_{1}}^{2}}}{\overline{q_{1}}}}\ {|^{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
test(Ù=Ú)
\begin{equation} \label{eq26} \mbox{\rm true} \end{equation}
Type: Boolean

forms a non-degenerate associative scalar product for Y

fricas
Ũ := r*Ù
\begin{equation} \label{eq27}\begin{array}{@{}l} \displaystyle {{\frac{{3 \ r \ {\overline{q_{1}}}}+{{q_{1}}\ r}}{\overline{q_{1}}}}\ {|^{\ 1 \ 1}}}+{{\frac{-{3 \ r \ {\overline{q_{1}}}}-{{q_{1}}\ r}}{\overline{q_{1}}}}\ {|^{\ i \ i}}}+ \ \ \displaystyle {{\frac{-{3 \ {q_{1}}\ r \ {\overline{q_{1}}}}-{{{q_{1}}^{2}}\ r}}{\overline{q_{1}}}}\ {|^{\ j \ j}}}+ \ \ \displaystyle {{\frac{-{3 \ {q_{1}}\ r \ {\overline{q_{1}}}}-{{{q_{1}}^{2}}\ r}}{\overline{q_{1}}}}\ {|^{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
test
     (    Y I    )  /
           Ũ        =
     (    I Y    )  /
           Ũ
\begin{equation} \label{eq28} \mbox{\rm false} \end{equation}
Type: Boolean
fricas
determinant Ξ(Ξ(retract((𝐞.i * 𝐞.j)/Ũ), j,1..dim), i,1..dim)
\begin{equation} \label{eq29}\frac{-{{81}\ {{q_{1}}^{2}}\ {{r}^{4}}\ {{\overline{q_{1}}}^{4}}}-{{108}\ {{q_{1}}^{3}}\ {{r}^{4}}\ {{\overline{q_{1}}}^{3}}}-{{5 4}\ {{q_{1}}^{4}}\ {{r}^{4}}\ {{\overline{q_{1}}}^{2}}}-{{12}\ {{q_{1}}^{5}}\ {{r}^{4}}\ {\overline{q_{1}}}}-{{{q_{1}}^{6}}\ {{r}^{4}}}}{{\overline{q_{1}}}^{4}}\end{equation}
Type: Expression(Integer)

General Solution

We may consider the problem where multiplication Y is given, and look for all associative scalar products $U = U(Y)$

This problem can be solved using linear algebra.

fricas
)expose MCALCFN
MultiVariableCalculusFunctions is now explicitly exposed in frame initial J := jacobian(ravel ω,concat map(variables,ravel U)::ℒ Symbol);
Type: Matrix(Expression(Integer))
fricas
u := transpose matrix [concat map(variables,ravel U)::ℒ Symbol];
Type: Matrix(Polynomial(Integer))
fricas
J::OutputForm * u::OutputForm = 0
\begin{equation*} \label{eq30}\begin{array}{@{}l} \displaystyle {{\left[ \begin{array}{cccccccccccccccc} 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \ 0 & 0 &{\frac{{\overline{q_{1}}}-{q_{1}}}{\overline{q_{1}}}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0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& 0 &{\frac{q_{1}}{\overline{q_{1}}}}& 0 & 0 &{\frac{q_{1}}{\overline{q_{1}}}}& 0 \ 0 & 0 & 0 & 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & -{\frac{q_{1}}{\overline{q_{1}}}}& 0 \ 0 & 0 & 0 & 0 & 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \ 0 & 0 & 0 & 0 & 0 & 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 &{q_{1}}& 0 & 0 & 0 \ 0 & 0 & 0 & 0 & 0 & 0 & 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 & -{q_{1}}& 0 & 0 \ -{q_{1}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & - 1 \ 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & -{\frac{q_{1}}{\overline{q_{1}}}}& 0 \ 0 & 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 &{q_{1}}& 0 & 0 \ 0 & 0 & 0 & -{q_{1}}& 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 &{q_{1}}& 0 & 0 & 0 \end{array} \right]}\ {\left[ \begin{array}{c} {u^{1, \: 1}} \ {u^{1, \: 2}} \ {u^{1, \: 3}} \ {u^{1, \: 4}} \ {u^{2, \: 1}} \ {u^{2, \: 2}} \ {u^{2, \: 3}} \ {u^{2, \: 4}} \ {u^{3, \: 1}} \ {u^{3, \: 2}} \ {u^{3, \: 3}} \ {u^{3, \: 4}} \ {u^{4, \: 1}} \ {u^{4, \: 2}} \ {u^{4, \: 3}} \ {u^{4, \: 4}} \end{array} \right]}}= \ \ \displaystyle 0 \end{array} \end{equation*}
Type: Equation(OutputForm?)
fricas
nrows(J),ncols(J)
\begin{equation*} \label{eq31}\left[{64}, \:{16}\right]?\end{equation*}
Type: Tuple(PositiveInteger?)

The matrix J transforms the coefficients of the tensor $U$ into coefficients of the tensor $\Phi$. We are looking for the general linear family of tensors $U=U(Y,p_i)$ such that J transforms $U$ into $\Phi=0$ for any such $U$.

If the null space of the J matrix is not empty we can use the basis to find all non-trivial solutions for U:

fricas
Ñ:=nullSpace(J)
\begin{equation*} \label{eq32}\begin{array}{@{}l} \displaystyle \left[ \left[ -{\frac{1}{q_{1}}}, \: 0, \: 0, \: 0, \: 0, \:{\frac{1}{q_{1}}}, \: 0, \: 0, \: 0, \: 0, \:{\frac{\overline{q_{1}}}{q_{1}}}, \: 0, \: 0, \: 0, \: 0, \right. \ \ \displaystyle \left.\: 1 \right] \right] \end{array} \end{equation*}
Type: List(Vector(Expression(Integer)))
fricas
ℰ:=map((x,y)+->x=y, concat
       map(variables,ravel U), entries Σ(sb('p,[i])*Ñ.i, i,1..#Ñ) )
\begin{equation*} \label{eq33}\begin{array}{@{}l} \displaystyle \left[{{u^{1, \: 1}}= -{\frac{p_{1}}{q_{1}}}}, \:{{u^{1, \: 2}}= 0}, \:{{u^{1, \: 3}}= 0}, \:{{u^{1, \: 4}}= 0}, \: \right. \ \ \displaystyle \left.{{u^{2, \: 1}}= 0}, \:{{u^{2, \: 2}}={\frac{p_{1}}{q_{1}}}}, \:{{u^{2, \: 3}}= 0}, \:{{u^{2, \: 4}}= 0}, \:{{u^{3, \: 1}}= 0}, \: \right. \ \ \displaystyle \left.{{u^{3, \: 2}}= 0}, \:{{u^{3, \: 3}}={\frac{{p_{1}}\ {\overline{q_{1}}}}{q_{1}}}}, \:{{u^{3, \: 4}}= 0}, \:{{u^{4, \: 1}}= 0}, \: \right. \ \ \displaystyle \left.{{u^{4, \: 2}}= 0}, \:{{u^{4, \: 3}}= 0}, \:{{u^{4, \: 4}}={p_{1}}}\right] \end{array} \end{equation*}
Type: List(Equation(Expression(Integer)))

This defines a family of pre-Frobenius algebras:

fricas
zero? eval(ω,ℰ)
\begin{equation} \label{eq34} \mbox{\rm true} \end{equation}
Type: Boolean

In general the pairing is not symmetric!

fricas
Ų:𝐋 := eval(U,ℰ)
\begin{equation} \label{eq35}-{{\frac{p_{1}}{q_{1}}}\ {|^{\ 1 \ 1}}}+{{\frac{p_{1}}{q_{1}}}\ {|^{\ i \ i}}}+{{\frac{{p_{1}}\ {\overline{q_{1}}}}{q_{1}}}\ {|^{\ j \ j}}}+{{p_{1}}\ {|^{\ k \ k}}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
matrix Ξ(Ξ((𝐞.i 𝐞.j)/Ų, i,1..dim), j,1..dim)
\begin{equation*} \label{eq36}\left[ \begin{array}{cccc} -{\frac{p_{1}}{q_{1}}}& 0 & 0 & 0 \ 0 &{\frac{p_{1}}{q_{1}}}& 0 & 0 \ 0 & 0 &{\frac{{p_{1}}\ {\overline{q_{1}}}}{q_{1}}}& 0 \ 0 & 0 & 0 &{p_{1}} \end{array} \right]\end{equation*}
Type: Matrix(ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer)))

This is the most general form of the "dot product" of two quaternions

fricas
(a*b)/Ų
\begin{equation} \label{eq37}\frac{{{a_{3}}\ {b_{3}}\ {p_{1}}\ {\overline{q_{1}}}}+{{a_{4}}\ {b_{4}}\ {p_{1}}\ {q_{1}}}+{{\left({{a_{2}}\ {b_{2}}}-{{a_{1}}\ {b_{1}}}\right)}\ {p_{1}}}}{q_{1}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
(a*a)/Ų
\begin{equation} \label{eq38}\frac{{{{a_{3}}^{2}}\ {p_{1}}\ {\overline{q_{1}}}}+{{{a_{4}}^{2}}\ {p_{1}}\ {q_{1}}}+{{\left({{a_{2}}^{2}}-{{a_{1}}^{2}}\right)}\ {p_{1}}}}{q_{1}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

The scalar product must be non-degenerate:

fricas
Ů:=determinant Ξ(Ξ(retract((𝐞.i * 𝐞.j)/Ų), j,1..dim), i,1..dim)
\begin{equation} \label{eq39}-{\frac{{{p_{1}}^{4}}\ {\overline{q_{1}}}}{{q_{1}}^{3}}}\end{equation}
Type: Expression(Integer)
fricas
factor Ů
\begin{equation} \label{eq40}-{\frac{{{p_{1}}^{4}}\ {\overline{q_{1}}}}{{q_{1}}^{3}}}\end{equation}
Type: Factored(Expression(Integer))

Definition 3

Co-pairing

Solve the [Snake Relation]? as a system of linear equations.

fricas
Ω:𝐋:=Σ(Σ(script('u,[[i,j]])*𝐞.i*𝐞.j, i,1..dim), j,1..dim)
\begin{equation} \label{eq41}\begin{array}{@{}l} \displaystyle {{u_{1, \: 1}}\ {|_{\ 1 \ 1}}}+{{u_{1, \: 2}}\ {|_{\ 1 \ i}}}+{{u_{1, \: 3}}\ {|_{\ 1 \ j}}}+{{u_{1, \: 4}}\ {|_{\ 1 \ k}}}+ \ \ \displaystyle {{u_{2, \: 1}}\ {|_{\ i \ 1}}}+{{u_{2, \: 2}}\ {|_{\ i \ i}}}+{{u_{2, \: 3}}\ {|_{\ i \ j}}}+{{u_{2, \: 4}}\ {|_{\ i \ k}}}+{{u_{3, \: 1}}\ {|_{\ j \ 1}}}+ \ \ \displaystyle {{u_{3, \: 2}}\ {|_{\ j \ i}}}+{{u_{3, \: 3}}\ {|_{\ j \ j}}}+{{u_{3, \: 4}}\ {|_{\ j \ k}}}+{{u_{4, \: 1}}\ {|_{\ k \ 1}}}+ \ \ \displaystyle {{u_{4, \: 2}}\ {|_{\ k \ i}}}+{{u_{4, \: 3}}\ {|_{\ k \ j}}}+{{u_{4, \: 4}}\ {|_{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
d1:=(I*Ω)/(Ų*I);
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
d2:=(Ω*I)/(I*Ų);
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
equate(eq)==map((x,y)+->(x=y),ravel lhs eq, ravel rhs eq);
Type: Void
fricas
eq1:=equate(d1=I);
fricas
Compiling function equate with type Equation(ClosedLinearOperator(
      OrderedVariableList([1,i,j,k]),Expression(Integer))) -> List(
      Equation(Expression(Integer)))
Type: List(Equation(Expression(Integer)))
fricas
eq2:=equate(d2=I);
Type: List(Equation(Expression(Integer)))
fricas
snake:=solve(concat(eq1,eq2),concat Ξ(Ξ(script('u,[[i,j]]), i,1..dim), j,1..dim));
Type: List(List(Equation(Expression(Integer))))
fricas
if #snake ~= 1 then error "no solution"
Type: Void
fricas
Ω:=eval(Ω,snake(1))
\begin{equation} \label{eq42}\begin{array}{@{}l} \displaystyle -{{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ 1}}}+{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ i}}}+{{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ j}}}+ \ \ \displaystyle {{\frac{1}{p_{1}}}\ {|_{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
matrix Ξ(Ξ(Ω/(𝐝.i*𝐝.j), i,1..dim), j,1..dim)
\begin{equation*} \label{eq43}\left[ \begin{array}{cccc} -{\frac{q_{1}}{p_{1}}}& 0 & 0 & 0 \ 0 &{\frac{q_{1}}{p_{1}}}& 0 & 0 \ 0 & 0 &{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}& 0 \ 0 & 0 & 0 &{\frac{1}{p_{1}}} \end{array} \right]\end{equation*}
Type: Matrix(ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer)))

Check "dimension" and the snake relations.

fricas
d:𝐋:=
       Ω    /
       X    /
       Ų
\begin{equation} \label{eq44}4\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
test
    (    I Ω     )  /
    (     Ų I    )  =  I
\begin{equation} \label{eq45} \mbox{\rm true} \end{equation}
Type: Boolean
fricas
test
    (     Ω I    )  /
    (    I Ų     )  =  I
\begin{equation} \label{eq46} \mbox{\rm true} \end{equation}
Type: Boolean

Definition 4

Co-algebra

Compute the "three-point" function and use it to define co-multiplication.

fricas
W:=(Y,I)/Ų
\begin{equation} \label{eq47}\begin{array}{@{}l} \displaystyle -{{\frac{p_{1}}{q_{1}}}\ {|^{\ 1 \ 1 \ 1}}}+{{\frac{p_{1}}{q_{1}}}\ {|^{\ 1 \ i \ i}}}+{{p_{1}}\ {|^{\ 1 \ j \ j}}}+ \ \ \displaystyle {{p_{1}}\ {|^{\ 1 \ k \ k}}}+{{\frac{p_{1}}{q_{1}}}\ {|^{\ i \ 1 \ i}}}+{{\frac{p_{1}}{q_{1}}}\ {|^{\ i \ i \ 1}}}+{{p_{1}}\ {|^{\ i \ j \ k}}}- \ \ \displaystyle {{p_{1}}\ {|^{\ i \ k \ j}}}+{{p_{1}}\ {|^{\ j \ 1 \ j}}}-{{p_{1}}\ {|^{\ j \ i \ k}}}+{{p_{1}}\ {|^{\ j \ j \ 1}}}+{{p_{1}}\ {|^{\ j \ k \ i}}}+ \ \ \displaystyle {{p_{1}}\ {|^{\ k \ 1 \ k}}}+{{p_{1}}\ {|^{\ k \ i \ j}}}-{{p_{1}}\ {|^{\ k \ j \ i}}}+{{p_{1}}\ {|^{\ k \ k \ 1}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
λ:=(Ω,I,Ω)/(I,W,I)
\begin{equation} \label{eq48}\begin{array}{@{}l} \displaystyle -{{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ 1}^{\ 1}}}+{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ i}^{\ 1}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ j}^{\ 1}}}+{{\frac{1}{p_{1}}}\ {|_{\ k \ k}^{\ 1}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ i}^{\ i}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ 1}^{\ i}}}-{{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ k}^{\ i}}}+{{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ j}^{\ i}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ 1 \ j}^{\ j}}}+{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ k}^{\ j}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ 1}^{\ j}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ i}^{\ j}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ k}^{\ k}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ j}^{\ k}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ i}^{\ k}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ 1}^{\ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

fricas
test
     (    I Ω     )  /
     (     Y I    )  =  λ
\begin{equation} \label{eq49} \mbox{\rm true} \end{equation}
Type: Boolean
fricas
test
     (     Ω I    )  /
     (    I Y     )  =  λ
\begin{equation} \label{eq50} \mbox{\rm true} \end{equation}
Type: Boolean

Co-associativity

fricas
test(
  (  λ  ) / _
  ( I λ ) = _
  (  λ  ) / _
  ( λ I ) )
\begin{equation} \label{eq51} \mbox{\rm false} \end{equation}
Type: Boolean

Frobenius Condition

fricas
H :=
         Y    /
         λ
\begin{equation} \label{eq52}\begin{array}{@{}l} \displaystyle -{{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ 1}^{\ 1 \ 1}}}+{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ i}^{\ 1 \ 1}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ j}^{\ 1 \ 1}}}+{{\frac{1}{p_{1}}}\ {|_{\ k \ k}^{\ 1 \ 1}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ i}^{\ 1 \ i}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ 1}^{\ 1 \ i}}}- \ \ \displaystyle {{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ k}^{\ 1 \ i}}}+{{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ j}^{\ 1 \ i}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ 1 \ j}^{\ 1 \ j}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ k}^{\ 1 \ j}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ 1}^{\ 1 \ j}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ i}^{\ 1 \ j}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ k}^{\ 1 \ k}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ j}^{\ 1 \ k}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ i}^{\ 1 \ k}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ 1}^{\ 1 \ k}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ i}^{\ i \ 1}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ 1}^{\ i \ 1}}}- \ \ \displaystyle {{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ k}^{\ i \ 1}}}+{{\frac{q_{1}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ j}^{\ i \ 1}}}+ \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ 1}^{\ i \ i}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ i \ i}^{\ i \ i}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ j}^{\ i \ i}}}-{{\frac{1}{p_{1}}}\ {|_{\ k \ k}^{\ i \ i}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ k}^{\ i \ j}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ j}^{\ i \ j}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ i}^{\ i \ j}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ 1}^{\ i \ j}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ 1 \ j}^{\ i \ k}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ k}^{\ i \ k}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ 1}^{\ i \ k}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ i}^{\ i \ k}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ 1 \ j}^{\ j \ 1}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ k}^{\ j \ 1}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ 1}^{\ j \ 1}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ i}^{\ j \ 1}}}+ \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ k}^{\ j \ i}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ j}^{\ j \ i}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ i}^{\ j \ i}}}+{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ 1}^{\ j \ i}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ 1 \ 1}^{\ j \ j}}}-{{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ i \ i}^{\ j \ j}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ j}^{\ j \ j}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ k}^{\ j \ j}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ 1 \ i}^{\ j \ k}}}-{{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ i \ 1}^{\ j \ k}}}- \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ k}^{\ j \ k}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ j}^{\ j \ k}}}- \ \ \displaystyle {{\frac{q_{1}}{p_{1}}}\ {|_{\ 1 \ k}^{\ k \ 1}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ j}^{\ k \ 1}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ i}^{\ k \ 1}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ 1}^{\ k \ 1}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ 1 \ j}^{\ k \ i}}}+{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i \ k}^{\ k \ i}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ 1}^{\ k \ i}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ i}^{\ k \ i}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ 1 \ i}^{\ k \ j}}}+{{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ i \ 1}^{\ k \ j}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ j \ k}^{\ k \ j}}}-{{\frac{{q_{1}}^{2}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k \ j}^{\ k \ j}}}+ \ \ \displaystyle {{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ 1 \ 1}^{\ k \ k}}}-{{\frac{{q_{1}}^{2}}{p_{1}}}\ {|_{\ i \ i}^{\ k \ k}}}- \ \ \displaystyle {{\frac{{q_{1}}^{3}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j \ j}^{\ k \ k}}}-{{\frac{q_{1}}{p_{1}}}\ {|_{\ k \ k}^{\ k \ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
test
     (   λ I   )  /
     (  I Y    )  =  H
\begin{equation} \label{eq53} \mbox{\rm false} \end{equation}
Type: Boolean
fricas
test
     (   I λ   )  /
     (    Y I  )  =  H
\begin{equation} \label{eq54} \mbox{\rm false} \end{equation}
Type: Boolean

Bi-algebra conditions

fricas
ΦΦ:=         _
  (  λ λ  ) / _
  ( I X I ) / _
  (  Y Y  ) ;
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
test( ΦΦ=H )
\begin{equation} \label{eq55} \mbox{\rm false} \end{equation}
Type: Boolean
fricas
test( ΦΦ=H/H )
\begin{equation} \label{eq56} \mbox{\rm false} \end{equation}
Type: Boolean
fricas
solve(equate(ΦΦ=H),Ξ(sb('p,[i]), i,1..#Ñ))
\begin{equation*} \label{eq57}\left[ \right]?\end{equation*}
Type: List(List(Equation(Expression(Integer))))

i = Unit of the algebra

fricas
i:=𝐞.1
\begin{equation} \label{eq58}|_{\ 1}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
test
         i     /
         λ     =    Ω
\begin{equation} \label{eq59} \mbox{\rm false} \end{equation}
Type: Boolean

Handle

fricas
Φ:𝐋 :=
         λ     /
         X     /
         Y
\begin{equation} \label{eq60}\begin{array}{@{}l} \displaystyle {{\frac{-{3 \ {q_{1}}\ {{\overline{q_{1}}}^{2}}}-{{q_{1}}^{3}}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ 1}^{\ 1}}}+ \ \ \displaystyle {{\frac{-{2 \ {q_{1}}\ {\overline{q_{1}}}}+{2 \ {{q_{1}}^{2}}}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ i}^{\ i}}}+ \ \ \displaystyle {{\frac{{2 \ {{q_{1}}^{2}}\ {\overline{q_{1}}}}-{2 \ {{q_{1}}^{3}}}}{{p_{1}}\ {{\overline{q_{1}}}^{2}}}}\ {|_{\ j}^{\ j}}}+ \ \ \displaystyle {{\frac{-{2 \ {q_{1}}\ {\overline{q_{1}}}}+{2 \ {{q_{1}}^{2}}}}{{p_{1}}\ {\overline{q_{1}}}}}\ {|_{\ k}^{\ k}}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

Definition 5

Co-unit
  i 
  U
  

fricas
ι:𝐋:=
    (    i I   ) /
          Ų
\begin{equation} \label{eq61}-{{\frac{p_{1}}{q_{1}}}\ {|^{\ 1}}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))

Y=U
ι  
fricas
test
        Y     /
        ι     =  Ų
\begin{equation} \label{eq62} \mbox{\rm false} \end{equation}
Type: Boolean

For example:

fricas
ex1:=[q[1]=1,p[1]=1,p[2]=1,p[3]=1,p[4]=1]
\begin{equation*} \label{eq63}\left[{{q_{1}}= 1}, \:{{p_{1}}= 1}, \:{{p_{2}}= 1}, \:{{p_{3}}= 1}, \:{{p_{4}}= 1}\right]?\end{equation*}
Type: List(Equation(Polynomial(Integer)))
fricas
Ų0:𝐋  :=eval(Ų,ex1)
\begin{equation} \label{eq64}-{|^{\ 1 \ 1}}+{|^{\ i \ i}}+{|^{\ j \ j}}+{|^{\ k \ k}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
Ω0:𝐋  :=eval(Ω,ex1)$𝐋
\begin{equation} \label{eq65}-{|_{\ 1 \ 1}}+{|_{\ i \ i}}+{|_{\ j \ j}}+{|_{\ k \ k}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
λ0:𝐋  :=eval(λ,ex1)$𝐋
\begin{equation} \label{eq66}\begin{array}{@{}l} \displaystyle -{|_{\ 1 \ 1}^{\ 1}}+{|_{\ i \ i}^{\ 1}}+{|_{\ j \ j}^{\ 1}}+{|_{\ k \ k}^{\ 1}}-{|_{\ 1 \ i}^{\ i}}-{|_{\ i \ 1}^{\ i}}- \ \ \displaystyle {|_{\ j \ k}^{\ i}}+{|_{\ k \ j}^{\ i}}-{|_{\ 1 \ j}^{\ j}}+{|_{\ i \ k}^{\ j}}-{|_{\ j \ 1}^{\ j}}-{|_{\ k \ i}^{\ j}}-{|_{\ 1 \ k}^{\ k}}- \ \ \displaystyle {|_{\ i \ j}^{\ k}}+{|_{\ j \ i}^{\ k}}-{|_{\ k \ 1}^{\ k}} \end{array} \end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))
fricas
Φ0:𝐋 :=eval(Φ,ex1)$𝐋
\begin{equation} \label{eq67}-{4 \ {|_{\ 1}^{\ 1}}}\end{equation}
Type: ClosedLinearOperator?(OrderedVariableList?([1,i,j,k]),Expression(Integer))


Some or all expressions may not have rendered properly, because Latex returned the following error:
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Debian) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
(./7884064943842860934-16.0px.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-01-16>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucs.sty
(/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-global.def))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/ucs/utf8x.def))
(/usr/share/texlive/texmf-dist/tex/latex/bbm-macros/bbm.sty)
(/usr/share/texlive/texmf-dist/tex/latex/jknapltx/mathrsfs.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def))
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex)))))
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.06, 2020/11/20 (hv))
(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfiltered
.code.tex))) (/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
ric.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
e.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
thmetics.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex))
`PSTricks' v3.18  <2022/11/28> (tvz,hv)
--- We are running latex or xelatex ---
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.con)
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-color.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-arrows.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-dots.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.con))
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.06, 2020/11/20 (hv)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/epsfig.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg))))
(/usr/share/texlive/texmf-dist/tex/latex/pst-grad/pst-grad.sty
(/usr/share/texlive/texmf-dist/tex/generic/pst-grad/pst-grad.tex
`pst-grad' v1.06, 2006/11/27 (tvz,dg,hv)))
(/usr/share/texlive/texmf-dist/tex/latex/pst-plot/pst-plot.sty
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/pst-xkey.sty)
(/usr/share/texlive/texmf-dist/tex/latex/multido/multido.sty
(/usr/share/texlive/texmf-dist/tex/generic/multido/multido.tex
 v1.42, 2010/05/14 <tvz>))
(/usr/share/texlive/texmf-dist/tex/generic/pst-plot/pst-plot.tex
(/usr/share/texlive/texmf-dist/tex/generic/pst-tools/pst-tools.tex
`PST-tools' v0.12, 2021/09/23 (hv))
(/usr/share/texlive/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
(/usr/share/texlive/texmf-dist/tex/generic/pst-node/pst-node.tex
 v1.43, 2022/01/31)
(/usr/share/texlive/texmf-dist/tex/generic/pst-arrow/pst-arrow.tex
`pst-arrow' v0.05, 2021/11/16 (dr,hv))
(/usr/share/texlive/texmf-dist/tex/generic/pst-3d/pst-3d.tex
`PST-3d' v1.11, 2010/02/14 (tvz))
(/usr/share/texlive/texmf-dist/tex/generic/pst-math/pst-math.tex
`pst-math' v0.66 , (CJ,hv)) `pstricks-add' v3.93, 2022/11/21 (dr,hv))
 v1.94, 2022/11/21 (tvz,hv)))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty)

Package geometry Warning: `lmargin' and `rmargin' result in NEGATIVE (-108.405p t). `width' should be shortened in length.

) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty) (/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty) (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xy.sty (/usr/share/texlive/texmf-dist/tex/generic/xypic/xy.tex Bootstrap'ing: catcodes, docmode, (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyrecat.tex ) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyidioms.tex)

Xy-pic version 3.8.9 <2013/10/06> Copyright (c) 1991-2013 by Kristoffer H. Rose <krisrose@tug.org> and others Xy-pic is free software: see the User's Guide for details.

Loading kernel: messages; fonts; allocations: state, direction, utility macros; pictures: \xy, positions, objects, decorations; kernel objects: directionals, circles, text; options; algorithms: directions, edges, connections; Xy-pic loaded) (/usr/share/texlive/texmf-dist/tex/generic/iftex/ifpdf.sty)) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyall.tex Xy-pic option: All features v.3.8 (/usr/share/texlive/texmf-dist/tex/generic/xypic/xycurve.tex Xy-pic option: Curve and Spline extension v.3.12 curve, circles, loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyframe.tex Xy-pic option: Frame and Bracket extension v.3.14 loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xycmtip.tex Xy-pic option: Computer Modern tip extension v.3.7 (/usr/share/texlive/texmf-dist/tex/generic/xypic/xytips.tex Xy-pic option: More Tips extension v.3.11 loaded) loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyline.tex Xy-pic option: Line styles extension v.3.10 loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyrotate.tex Xy-pic option: Rotate and Scale extension v.3.8 loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xycolor.tex Xy-pic option: Colour extension v.3.11 loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xymatrix.tex Xy-pic option: Matrix feature v.3.14 loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xyarrow.tex Xy-pic option: Arrow and Path feature v.3.9 path, \ar, loaded) (/usr/share/texlive/texmf-dist/tex/generic/xypic/xygraph.tex Xy-pic option: Graph feature v.3.11 loaded) loaded) (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphviz/graphviz.sty (/usr/share/texlive/texmf-dist/tex/latex/psfrag/psfrag.sty)) (/usr/share/texmf/tex/latex/sagetex.sty Writing sage input file 7884064943842860934-16.0px.sage ) (/usr/share/texlive/texmf-dist/tex/latex/gnuplottex/gnuplottex.sty (/usr/share/texlive/texmf-dist/tex/latex/moreverb/moreverb.sty) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (/usr/share/texlive/texmf-dist/tex/generic/catchfile/catchfile.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty) (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty))

Package gnuplottex Warning: Shell escape not enabled. (gnuplottex) You'll need to convert the graphs yourself.

) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) No file 7884064943842860934-16.0px.aux. (/usr/share/texlive/texmf-dist/tex/latex/ucs/ucsencs.def) geometry driver: auto-detecting geometry detected driver: dvips (/usr/share/texlive/texmf-dist/tex/latex/jknapltx/ursfs.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Package amsmath Warning: Foreign command \over; (amsmath) \frac or \genfrac should be used instead (amsmath) on input line 183.

[14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd) [26] [27] Overfull \vbox (939.72533pt too high) has occurred while \output is active [28] [29] [30] [31] [32] [33] [34] [35] Overfull \vbox (446.02013pt too high) has occurred while \output is active [36] [37] [38] [39] [40] [41] [42] [43] Missing \right. inserted. <inserted text> \right . l.668 \

Extra \right. l.671 \left.\: 1 \right] \right]

[44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] Overfull \vbox (776.18788pt too high) has occurred while \output is active [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] (./7884064943842860934-16.0px.aux)

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

) (see the transcript file for additional information) Output written on 7884064943842860934-16.0px.dvi (79 pages, 88160 bytes). Transcript written on 7884064943842860934-16.0px.log.