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

Edit detail for The Algebra of Complex Numbers Is Frobenius In Many Ways revision 7 of 11

1 2 3 4 5 6 7 8 9 10 11
Editor: Bill Page
Time: 2011/05/20 19:32:33 GMT-7
Note: co-associativity

added:
Multiplication of complex numbers is associative
\begin{axiom}

test(
  ( I Y ) / _
  (  Y  ) = _
  ( Y I ) / _
  (  Y  ) )

\end{axiom}


added:

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

The Algebra of Complex Numbers Is Frobenius In Many Ways

Linear operators over a 2-dimensional vector space representing the algebra of complex numbers

Ref:

We need the Axiom LinearOperator? library.

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

Use the following macros for convenient notation

axiom
-- summation
macro Σ(x,f,i)==reduce(+,[x*f.i for i in 1..#f])
Type: Void
axiom
-- scripts
macro sb == subscript
Type: Void
axiom
macro sp == superscript
Type: Void

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

axiom
dim:=2

\label{eq1}2(1)
Type: PositiveInteger?
axiom
macro ℂ == CaleyDickson
Type: Void
axiom
macro ℚ == Expression Integer
Type: Void
axiom
𝐋 := ClosedLinearOperator(OVAR ['1,'2], ℚ)

\label{eq2}\hbox{\axiomType{ClosedLinearOperator}\ } (\hbox{\axiomType{OrderedVariableList}\ } ([ 1, 2 ]) , \hbox{\axiomType{Expression}\ } (\hbox{\axiomType{Integer}\ }))(2)
Type: Type
axiom
𝐞:List 𝐋      := basisOut()

\label{eq3}\left[{|_{\  1}}, \:{|_{\  2}}\right](3)
Type: List(ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer)))
axiom
𝐝:List 𝐋      := basisIn()

\label{eq4}\left[{|^{\  1}}, \:{|^{\  2}}\right](4)
Type: List(ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer)))
axiom
I:𝐋:=[1]   -- identity for composition

\label{eq5}{|_{\  1}^{\  1}}+{|_{\  2}^{\  2}}(5)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
X:𝐋:=[2,1] -- twist

\label{eq6}{|_{\  1 \  1}^{\  1 \  1}}+{|_{\  2 \  1}^{\  1 \  2}}+{|_{\  1 \  2}^{\  2 \  1}}+{|_{\  2 \  2}^{\  2 \  2}}(6)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
V:𝐋:=ev(1) -- evalutation

\label{eq7}{|^{\  1 \  1}}+{|^{\  2 \  2}}(7)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
Λ:𝐋:=co(1) -- co-evalutation

\label{eq8}{|_{\  1 \  1}}+{|_{\  2 \  2}}(8)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),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 can be specified by Caley-Dickson parameter (q0 = -1)

axiom
--q:=1  -- split-complex
QQ := ℂ(ℚ,'i,q);
Type: Type

Basis: Each B.i is a quaternion number

axiom
B:List QQ := map(x +-> hyper x,1$SQMATRIX(dim,ℚ)::List List ℚ)

\label{eq9}\left[ 1, \: i \right](9)
Type: List(CaleyDickson?(Expression(Integer),i,q))
axiom
-- Multiplication table:
M:Matrix QQ := matrix [[ B.i*B.j for i in 1..#B] for j in 1..#B]

\label{eq10}\left[ 
\begin{array}{cc}
1 & i 
\
i & - q 
(10)
Type: Matrix(CaleyDickson?(Expression(Integer),i,q))
axiom
-- Function to divide the matrix entries by a basis element
S(y) == map(x +-> real(x/y),M)
Type: Void
axiom
-- The result is a nested list
ѕ :=map(S,B)::List List List ℚ
axiom
Compiling function S with type CaleyDickson(Expression(Integer),i,q)
       -> Matrix(Expression(Integer))

\label{eq11}\left[{\left[{\left[ 1, \: 0 \right]}, \:{\left[ 0, \: - q \right]}\right]}, \:{\left[{\left[ 0, \: 1 \right]}, \:{\left[ 1, \: 0 \right]}\right]}\right](11)
Type: List(List(List(Expression(Integer))))
axiom
-- structure constants form a tensor operator
Y := Σ(Σ(Σ(ѕ(i)(k)(j), 𝐞,i), 𝐝,j), 𝐝,k)

\label{eq12}{|_{\  1}^{\  1 \  1}}+{|_{\  2}^{\  1 \  2}}+{|_{\  2}^{\  2 \  1}}-{q \ {|_{\  1}^{\  2 \  2}}}(12)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
matrix [[ (𝐞.i,𝐞.j)/Y for i in 1..#𝐞] for j in 1..#𝐞]

\label{eq13}\left[ 
\begin{array}{cc}
{|_{\  1}}&{|_{\  2}}
\
{|_{\  2}}& -{q \ {|_{\  1}}}
(13)
Type: Matrix(ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer)))

Multiplication of arbitrary quaternions a and b

axiom
a:=Σ(sb('a,[i]), 𝐞,i)

\label{eq14}{{a_{1}}\ {|_{\  1}}}+{{a_{2}}\ {|_{\  2}}}(14)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
b:=Σ(sb('b,[i]), 𝐞,i)

\label{eq15}{{b_{1}}\ {|_{\  1}}}+{{b_{2}}\ {|_{\  2}}}(15)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
(a*b)/Y

\label{eq16}{{\left(-{{a_{2}}\ {b_{2}}\  q}+{{a_{1}}\ {b_{1}}}\right)}\ {|_{\  1}}}+{{\left({{a_{1}}\ {b_{2}}}+{{a_{2}}\ {b_{1}}}\right)}\ {|_{\  2}}}(16)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

Multiplication of complex numbers is associative

axiom
test(
  ( I Y ) / _
  (  Y  ) = _
  ( Y I ) / _
  (  Y  ) )

\label{eq17} \mbox{\rm true} (17)
Type: Boolean

Cartan-Killing Trace Form

axiom
Ũ:=
  (  Y Λ  ) / _
  (   Y I ) / _
       V

\label{eq18}{2 \ {|^{\  1 \  1}}}-{2 \  q \ {|^{\  2 \  2}}}(18)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

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

axiom
U:=Σ(Σ(sp('u,[i,j]), 𝐝,i), 𝐝,j)

\label{eq19}{{u^{1, \: 1}}\ {|^{\  1 \  1}}}+{{u^{1, \: 2}}\ {|^{\  1 \  2}}}+{{u^{2, \: 1}}\ {|^{\  2 \  1}}}+{{u^{2, \: 2}}\ {|^{\  2 \  2}}}(19)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),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} 
}
 


\label{eq20}
  \Phi = \{ \phi^{ijk} = {y^e}_{ij} u_{ek} - u_{ie} {y_e}^{jk} \}
  (20)
(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.

axiom
ω:𝐋 :=
     (    Y I    ) /
           U       -
     (    I Y    ) /
           U

\label{eq21}\begin{array}{@{}l}
\displaystyle
{{\left({u^{2, \: 1}}-{u^{1, \: 2}}\right)}\ {|^{\  1 \  2 \  1}}}+{{\left({{u^{1, \: 1}}\  q}+{u^{2, \: 2}}\right)}\ {|^{\  1 \  2 \  2}}}+ 
\
\
\displaystyle
{{\left(-{{u^{1, \: 1}}\  q}-{u^{2, \: 2}}\right)}\ {|^{\  2 \  2 \  1}}}+{{\left({u^{2, \: 1}}-{u^{1, \: 2}}\right)}\  q \ {|^{\  2 \  2 \  2}}}
(21)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

Definition 2

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

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.

axiom
)expose MCALCFN
MultiVariableCalculusFunctions is now explicitly exposed in frame initial J := jacobian(ravel ω,concat map(variables,ravel U)::List Symbol);
Type: Matrix(Expression(Integer))
axiom
u := transpose matrix [concat map(variables,ravel U)::List Symbol];
Type: Matrix(Polynomial(Integer))
axiom
J::OutputForm * u::OutputForm = 0

\label{eq22}\begin{array}{@{}l}
\displaystyle
{{\left[ 
\begin{array}{cccc}
0 & 0 & 0 & 0 
\
0 & 0 & 0 & 0 
\
0 & - 1 & 1 & 0 
\
q & 0 & 0 & 1 
\
0 & 0 & 0 & 0 
\
0 & 0 & 0 & 0 
\
- q & 0 & 0 & - 1 
\
0 & - q & q & 0 
(22)
Type: Equation(OutputForm?)
axiom
nrows(J),ncols(J)

\label{eq23}\left[ 8, \: 4 \right](23)
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:

axiom
Ñ:=nullSpace(J)

\label{eq24}\left[{\left[ 0, \: 1, \: 1, \: 0 \right]}, \:{\left[ -{1 \over q}, \: 0, \: 0, \: 1 \right]}\right](24)
Type: List(Vector(Expression(Integer)))
axiom
ℰ:=map((x,y)+->x=y, concat
       map(variables,ravel U), entries Σ(sb('p,[i]), Ñ,i) )

\label{eq25}\left[{{u^{1, \: 1}}= -{{p_{2}}\over q}}, \:{{u^{1, \: 2}}={p_{1}}}, \:{{u^{2, \: 1}}={p_{1}}}, \:{{u^{2, \: 2}}={p_{2}}}\right](25)
Type: List(Equation(Expression(Integer)))

This defines a family of pre-Frobenius algebras:

axiom
zero? eval(ω,ℰ)

\label{eq26} \mbox{\rm true} (26)
Type: Boolean

In two dimensions the pairing is necessarily symmetric!

axiom
Ų:𝐋 := eval(U,ℰ)

\label{eq27}-{{{p_{2}}\over q}\ {|^{\  1 \  1}}}+{{p_{1}}\ {|^{\  1 \  2}}}+{{p_{1}}\ {|^{\  2 \  1}}}+{{p_{2}}\ {|^{\  2 \  2}}}(27)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
matrix [[ (𝐞.i 𝐞.j)/Ų for i in 1..#𝐞] for j in 1..#𝐞]

\label{eq28}\left[ 
\begin{array}{cc}
-{{p_{2}}\over q}&{p_{1}}
\
{p_{1}}&{p_{2}}
(28)
Type: Matrix(ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer)))

This is the most general form of the "dot product" of two complex numbers

axiom
(a*b)/Ų

\label{eq29}{{{\left({{a_{2}}\ {b_{2}}\ {p_{2}}}+{{\left({{a_{1}}\ {b_{2}}}+{{a_{2}}\ {b_{1}}}\right)}\ {p_{1}}}\right)}\  q}-{{a_{1}}\ {b_{1}}\ {p_{2}}}}\over q(29)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
(a*a)/Ų

\label{eq30}{{{\left({{{a_{2}}^2}\ {p_{2}}}+{2 \ {a_{1}}\ {a_{2}}\ {p_{1}}}\right)}\  q}-{{{a_{1}}^2}\ {p_{2}}}}\over q(30)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

The scalar product must be non-degenerate:

axiom
Ů:=determinant [[ retract((𝐞.i * 𝐞.j)/Ų) for j in 1..#𝐞] for i in 1..#𝐞]

\label{eq31}{-{{{p_{1}}^2}\  q}-{{p_{2}}^2}}\over q(31)
Type: Expression(Integer)
axiom
factor Ů

\label{eq32}{-{{{p_{1}}^2}\  q}-{{p_{2}}^2}}\over q(32)
Type: Factored(Expression(Integer))

Definition 3

Co-pairing

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

axiom
Ω:𝐋:=Σ(Σ(sb('u,[i,j]), 𝐞,i), 𝐞,j)

\label{eq33}{{u_{1, \: 1}}\ {|_{\  1 \  1}}}+{{u_{1, \: 2}}\ {|_{\  1 \  2}}}+{{u_{2, \: 1}}\ {|_{\  2 \  1}}}+{{u_{2, \: 2}}\ {|_{\  2 \  2}}}(33)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
s1:=(I*Ω)/(Ų*I);
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
s2:=(Ω*I)/(I*Ų);
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
equate(eq)==map((x,y)+->(x=y),ravel lhs eq, ravel rhs eq);
Type: Void
axiom
snake:=solve(concat(equate(s1=I),equate(s2=I)), _
             concat map(variables,ravel Ω));
axiom
Compiling function equate with type Equation(ClosedLinearOperator(
      OrderedVariableList([1,2]),Expression(Integer))) -> List(Equation
      (Expression(Integer)))
Type: List(List(Equation(Expression(Integer))))
axiom
if #snake ~= 1 then error "no solution"
Type: Void
axiom
Ω:=eval(Ω,snake(1))

\label{eq34}\begin{array}{@{}l}
\displaystyle
-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}}}+ 
\
\
\displaystyle
{{{p_{2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}}}
(34)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
matrix [[ Ω/(𝐝.i*𝐝.j) for i in 1..#𝐝] for j in 1..#𝐝]

\label{eq35}\left[ 
\begin{array}{cc}
-{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}&{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}
\
{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}&{{p_{2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}
(35)
Type: Matrix(ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer)))

Check "dimension" and the snake relations.

axiom
Θ:𝐋:=
       Ω    /
       X    /
       Ų

\label{eq36}2(36)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
test
    (    I Ω     )  /
    (     Ų I    )  =  I

\label{eq37} \mbox{\rm true} (37)
Type: Boolean
axiom
test
    (     Ω I    )  /
    (    I Ų     )  =  I

\label{eq38} \mbox{\rm true} (38)
Type: Boolean

Definition 4

Co-algebra

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

axiom
W:=
  (Y,I) /
    Ų

\label{eq39}\begin{array}{@{}l}
\displaystyle
-{{{p_{2}}\over q}\ {|^{\  1 \  1 \  1}}}+{{p_{1}}\ {|^{\  1 \  1 \  2}}}+{{p_{1}}\ {|^{\  1 \  2 \  1}}}+{{p_{2}}\ {|^{\  1 \  2 \  2}}}+ 
\
\
\displaystyle
{{p_{1}}\ {|^{\  2 \  1 \  1}}}+{{p_{2}}\ {|^{\  2 \  1 \  2}}}+{{p_{2}}\ {|^{\  2 \  2 \  1}}}-{{p_{1}}\  q \ {|^{\  2 \  2 \  2}}}
(39)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
λ:=
  ( Ω,I,Ω ) /
  (I, W ,I)

\label{eq40}\begin{array}{@{}l}
\displaystyle
-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}^{\  1}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}^{\  1}}}+ 
\
\
\displaystyle
{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}^{\  1}}}+{{{p_{2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}^{\  1}}}- 
\
\
\displaystyle
{{{{p_{1}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}^{\  2}}}-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}^{\  2}}}- 
\
\
\displaystyle
{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}^{\  2}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}^{\  2}}}
(40)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

axiom
test
     (    I Ω     )  /
     (     Y I    )  =  λ

\label{eq41} \mbox{\rm true} (41)
Type: Boolean
axiom
test
     (     Ω I    )  /
     (    I Y     )  =  λ

\label{eq42} \mbox{\rm true} (42)
Type: Boolean

Co-associativity

axiom
test(
  (  λ  ) / _
  ( I λ ) = _
  (  λ  ) / _
  ( λ I ) )

\label{eq43} \mbox{\rm true} (43)
Type: Boolean

Frobenius Condition

axiom
H :=
         Y    /
         λ

\label{eq44}\begin{array}{@{}l}
\displaystyle
-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}^{\  1 \  1}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}^{\  1 \  1}}}+ 
\
\
\displaystyle
{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}^{\  1 \  1}}}+{{{p_{2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}^{\  1 \  1}}}- 
\
\
\displaystyle
{{{{p_{1}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}^{\  1 \  2}}}-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}^{\  1 \  2}}}- 
\
\
\displaystyle
{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}^{\  1 \  2}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}^{\  1 \  2}}}- 
\
\
\displaystyle
{{{{p_{1}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}^{\  2 \  1}}}-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}^{\  2 \  1}}}- 
\
\
\displaystyle
{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}^{\  2 \  1}}}+{{{{p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}^{\  2 \  1}}}+ 
\
\
\displaystyle
{{{{p_{2}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  1}^{\  2 \  2}}}-{{{{p_{1}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1 \  2}^{\  2 \  2}}}- 
\
\
\displaystyle
{{{{p_{1}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  1}^{\  2 \  2}}}-{{{{p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2 \  2}^{\  2 \  2}}}
(44)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
test
     (   λ I   )  /
     (  I Y    )  =  H

\label{eq45} \mbox{\rm true} (45)
Type: Boolean
axiom
test
     (   I λ   )  /
     (    Y I  )  =  H

\label{eq46} \mbox{\rm true} (46)
Type: Boolean

Bi-algebra conditions

axiom
ΦΦ:=         _
  (  λ λ  ) / _
  ( I X I ) / _
  (  Y Y  );
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
test( H/H = ΦΦ )

\label{eq47} \mbox{\rm true} (47)
Type: Boolean

The Cartan Killing form is a bi-algebra

axiom
b:=solve( equate(ΦΦ=H), [sb('p,[i]) for i in 1..#Ñ] )

\label{eq48}\left[{\left[{{p_{1}}= 0}, \:{{p_{2}}= -{2 \  q}}\right]}\right](48)
Type: List(List(Equation(Expression(Integer))))
axiom
test(eval(Ų, b.1)=Ũ)

\label{eq49} \mbox{\rm true} (49)
Type: Boolean

i = Unit of the algebra

axiom
i:=𝐞.1

\label{eq50}|_{\  1}(50)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
test
         i     /
         λ     =    Ω

\label{eq51} \mbox{\rm true} (51)
Type: Boolean

Handle

axiom
Φ:𝐋 :=
         λ     /
         X     /
         Y

\label{eq52}\begin{array}{@{}l}
\displaystyle
-{{{2 \ {p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1}^{\  1}}}+{{{2 \ {p_{1}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2}^{\  1}}}-{{{2 \ {p_{1}}\ {q^2}}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  1}^{\  2}}}- 
\
\
\displaystyle
{{{2 \ {p_{2}}\  q}\over{{{{p_{1}}^2}\  q}+{{p_{2}}^2}}}\ {|_{\  2}^{\  2}}}
(52)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

Definition 5

Co-unit
  i 
  U
  

axiom
j:𝐋:=
    (   i I   ) /
         Ų

\label{eq53}-{{{p_{2}}\over q}\ {|^{\  1}}}+{{p_{1}}\ {|^{\  2}}}(53)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

axiom
i / j

\label{eq54}-{{p_{2}}\over q}(54)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))

Y=U
j  
axiom
test
        Y     /
        j     =  Ų

\label{eq55} \mbox{\rm true} (55)
Type: Boolean

For example:

axiom
ex1:=[q[0]=1,p[1]=0,p[2]=1]

\label{eq56}\left[{{q_{0}}= 1}, \:{{p_{1}}= 0}, \:{{p_{2}}= 1}\right](56)
Type: List(Equation(Polynomial(Integer)))
axiom
Ų0:𝐋  :=eval(Ų,ex1)

\label{eq57}-{{1 \over q}\ {|^{\  1 \  1}}}+{|^{\  2 \  2}}(57)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
Ω0:𝐋  :=eval(Ω,ex1)$𝐋

\label{eq58}-{q \ {|_{\  1 \  1}}}+{|_{\  2 \  2}}(58)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
λ0:𝐋  :=eval(λ,ex1)$𝐋

\label{eq59}-{q \ {|_{\  1 \  1}^{\  1}}}+{|_{\  2 \  2}^{\  1}}-{q \ {|_{\  1 \  2}^{\  2}}}-{q \ {|_{\  2 \  1}^{\  2}}}(59)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))
axiom
Φ0:𝐋 :=eval(Φ,ex1)$𝐋

\label{eq60}-{2 \  q \ {|_{\  1}^{\  1}}}-{2 \  q \ {|_{\  2}^{\  2}}}(60)
Type: ClosedLinearOperator?(OrderedVariableList?([1,2]),Expression(Integer))