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 25 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/25 19:47:48 GMT-7
Note: twist snake not dimension

changed:
-d1:=(I*Ω)/(Ų*I);
-d2:=(Ω*I)/(I*Ų);
-eq1:=equate(d1=I);
-eq2:=equate(d2=I);
ΩX:=Ω/X;
--d1:=(I*Ω)/(Ų*I);
--d2:=(Ω*I)/(I*Ų);
UXΩ:=(I*ΩX)/(Ų*I);
ΩXU:=(ΩX*I)/(I*Ų);
eq1:=equate(UXΩ=I);
eq2:=equate(ΩXU=I);

added:
ΩX:=Ω/X;

removed:
-       X    /

changed:
-    (    I Ω     )  /
-    (     Ų I    )  =  I
-
-test
-    (     Ω I    )  /
-    (    I Ų     )  =  I
-
-\end{axiom}
    (    I ΩX     )  /
    (     Ų I     )  =  I

test
    (     ΩX I    )  /
    (    I Ų      )  =  I

\end{axiom}

changed:
-W:=(Y,I)/Ų
-λ:=(Ω,I,Ω)/(I,W,I)
-\end{axiom}
-
-\begin{axiom}
-
-test
-     (    I Ω     )  /
-     (     Y I    )  =  λ
-
-test
-     (     Ω I    )  /
-     (    I Y     )  =  λ
-
-\end{axiom}

W:=
  (Y I) /
    Ų

λ:=
  (  ΩX I ΩX  ) /
  (  I  W  I  )

\end{axiom}

\begin{axiom}

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

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

\end{axiom}

changed:
-Bi-algebra conditions
-\begin{axiom}
-ΦΦ:=          _
-  (  λ λ  ) / _
Scalars for figure 12 (only 1 non-zero for Cartan-Killing form)

\begin{axiom}

φφ:=          _
  ( Ω  Ω  ) / _
  ( X I I ) / _

changed:
-  (  Y Y  ) ;
-bi1:=map(numer,ravel(ΦΦ-H)::List FRAC POLY INT);
-bi2:=groebner bi1
-solve(bi2,[p[1],p[2],p[3],p[4]])
-\end{axiom}
-
-Scalars for figure 12 (only 1 non-zero for Cartan-Killing form)
-
-\begin{axiom}
-
-φφ:=          _
-  (  Ω Ω  ) / _
-  ( I X I ) / _
-  (  Y Y  );
  ( I I X ) / _
  (  Y  Y );


added:


Bi-algebra conditions
\begin{axiom}
ΦΦ:=          _
  ( λ  λ  ) / _
  ( X I I ) / _
  ( I X I ) / _
  ( I I X ) / _
  (  Y  Y ) ;
bi1:=map(numer,ravel(ΦΦ-H/X)::List FRAC POLY INT);
bi2:=groebner bi1
solve(bi2,[p[1],p[2],p[3],p[4]])
\end{axiom}

\begin{axiom}
solve(equate(ΦΦ=H/X),[p[1],p[2],p[3],p[4]])
\end{axiom}


changed:
-         λ     =    Ω
-
-\end{axiom}
         λ     =    ΩX

\end{axiom}

Quaternion Algebra Is Frobenius In Many Ways

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

Ref:

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 and superscripts
macro sb == subscript
Type: Void
fricas
macro sp == superscript
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

\label{eq1}4(1)
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], ℚ)
There are no library operations named OrderedFinite Use HyperDoc Browse or issue )what op OrderedFinite to learn if there is any operation containing " OrderedFinite " in its name.
Cannot find a no-argument definition or library operation named OrderedFinite .

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:=sp('i,[2])

\label{eq2}i^{2}(2)
Type: Symbol
fricas
--q0:=σ::Symbol
--q0:=1  -- not split-complex
q1:=sp('j,[2])

\label{eq3}j^{2}(3)
Type: Symbol
fricas
--q1:=μ::Symbol
--q1:=1  -- quaternion
QQ := ℂ(ℂ(ℚ,'i,q0),'j,q1);
>> System error: The function BOOT::PUT is undefined.

Basis: Each B.i is a quaternion number

fricas
B:ℒ QQ := map(x +-> hyper x,1$SQMATRIX(dim,ℚ)::ℒ ℒ ℚ)
QQ is not a valid type.

Multiplication of arbitrary quaternions a and b

fricas
a:=Σ(sb('a,[i])*𝐞.i, i,1..dim)
There are no library operations named 𝐞 Use HyperDoc Browse or issue )what op 𝐞 to learn if there is any operation containing " 𝐞 " in its name. Cannot find a definition or applicable library operation named 𝐞 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need. FriCAS will attempt to step through and interpret the code. There are no library operations named 𝐞 Use HyperDoc Browse or issue )what op 𝐞 to learn if there is any operation containing " 𝐞 " in its name.
Cannot find a definition or applicable library operation named 𝐞 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Multiplication is Associative

fricas
test(
  ( I Y ) / _
  (  Y  ) = _
  ( Y I ) / _
  (  Y  ) )
There are no exposed library operations named I but there is one unexposed operation with that name. Use HyperDoc Browse or issue )display op I to learn more about the available operation.
Cannot find a definition or applicable library operation named I with argument type(s) Variable(Y)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

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)
There are no library operations named 𝐝 Use HyperDoc Browse or issue )what op 𝐝 to learn if there is any operation containing " 𝐝 " in its name. Cannot find a definition or applicable library operation named 𝐝 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need. FriCAS will attempt to step through and interpret the code. There are no library operations named 𝐝 Use HyperDoc Browse or issue )what op 𝐝 to learn if there is any operation containing " 𝐝 " in its name.
Cannot find a definition or applicable library operation named 𝐝 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

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{eq4}
  \Phi = \{ \phi^{ijk} = {y^e}_{ij} u_{ek} - u_{ie} {y_e}^{jk} \}
  (4)
(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
𝐋 is not a valid type.

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
There are no exposed library operations named Y but there are 2 unexposed operations with that name. Use HyperDoc Browse or issue )display op Y to learn more about the available operations.
Cannot find a definition or applicable library operation named Y with argument type(s) Variable(Λ)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

forms a non-degenerate associative scalar product for Y

fricas
Ũ := Ù

\label{eq5}��(5)
Type: Variable(Ù)
fricas
test
     (    Y I    )  /
           Ũ        =
     (    I Y    )  /
           Ũ
There are no exposed library operations named Y but there are 2 unexposed operations with that name. Use HyperDoc Browse or issue )display op Y to learn more about the available operations.
Cannot find a definition or applicable library operation named Y with argument type(s) Variable(I)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

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);
There are 2 exposed and 0 unexposed library operations named ravel having 1 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op ravel to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named ravel with argument type(s) Variable(ω)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

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)
There are 2 exposed and 3 unexposed library operations named nullSpace having 1 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op nullSpace to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named nullSpace with argument type(s) Variable(J)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

This defines a family of pre-Frobenius algebras:

fricas
zero? eval(ω,ℰ)
There are 10 exposed and 6 unexposed library operations named eval having 2 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op eval to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named eval with argument type(s) Variable(ω) Variable(ℰ)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

In general the pairing is not symmetric!

fricas
Ų:𝐋 := eval(U,ℰ)
𝐋 is not a valid type.

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

fricas
(a*b)/Ų

\label{eq6}\frac{a \  b}{��}(6)
Type: Fraction(Polynomial(Integer))
fricas
(a*a)/Ų

\label{eq7}\frac{{a}^{2}}{��}(7)
Type: Fraction(Polynomial(Integer))

Cartan-Killing is a special case

fricas
ck:=solve(equate(Ũ=Ų),Ξ(sb('p,[i]), i,1..#Ñ)).1
There are no library operations named equate Use HyperDoc Browse or issue )what op equate to learn if there is any operation containing " equate " in its name.
Cannot find a definition or applicable library operation named equate with argument type(s) Equation(Symbol)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

The scalar product must be non-degenerate:

fricas
Ů:=determinant Ξ(Ξ(retract((𝐞.i * 𝐞.j)/Ų), j,1..dim), i,1..dim)
There are no library operations named 𝐞 Use HyperDoc Browse or issue )what op 𝐞 to learn if there is any operation containing " 𝐞 " in its name. Cannot find a definition or applicable library operation named 𝐞 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need. FriCAS will attempt to step through and interpret the code. There are no library operations named 𝐞 Use HyperDoc Browse or issue )what op 𝐞 to learn if there is any operation containing " 𝐞 " in its name.
Cannot find a definition or applicable library operation named 𝐞 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

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)
𝐋 is not a valid type.

Check "dimension" and the snake relations.

fricas
d:𝐋:=
       Ω    /
       Ų
𝐋 is not a valid type.

Definition 4

Co-algebra

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

fricas
W:=
  (Y I) /
    Ų
There are no exposed library operations named Y but there are 2 unexposed operations with that name. Use HyperDoc Browse or issue )display op Y to learn more about the available operations.
Cannot find a definition or applicable library operation named Y with argument type(s) Variable(I)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

fricas
test
     (    I ΩX     )  /
     (     Y I     )  =  λ
There are no exposed library operations named I but there is one unexposed operation with that name. Use HyperDoc Browse or issue )display op I to learn more about the available operation.
Cannot find a definition or applicable library operation named I with argument type(s) Variable(ΩX)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Co-associativity

fricas
test(
  (  λ  ) / _
  ( I λ ) = _
  (  λ  ) / _
  ( λ I ) )
There are no exposed library operations named I but there is one unexposed operation with that name. Use HyperDoc Browse or issue )display op I to learn more about the available operation.
Cannot find a definition or applicable library operation named I with argument type(s) Variable(λ)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Frobenius Condition (fork)

fricas
H :=
         Y    /
         λ

\label{eq8}\frac{Y}{��}(8)
Type: Fraction(Polynomial(Integer))
fricas
test
     (   λ I   )  /
     (  I Y    )  =  H
There are no library operations named λ Use HyperDoc Browse or issue )what op λ to learn if there is any operation containing " λ " in its name.
Cannot find a definition or applicable library operation named λ with argument type(s) Variable(I)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

The Cartan-Killing form makes H of the Frobenius condition idempotent

fricas
test( eval(H,ck)=eval(H/H,ck) )
There are 10 exposed and 6 unexposed library operations named eval having 2 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op eval to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named eval with argument type(s) Fraction(Polynomial(Integer)) Variable(ck)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

But it is not unique. E.g. other idempots

fricas
h1:=map(numer,ravel(H-H/H)::List FRAC POLY INT);
There are 2 exposed and 0 unexposed library operations named ravel having 1 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op ravel to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named ravel with argument type(s) Fraction(Polynomial(Integer))
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Handle

fricas
Φ:𝐋 :=
         λ     /
         Y
𝐋 is not a valid type.

The Cartan-Killing form makes Φ of the identity

fricas
test( eval(Φ,ck)=I )
There are 10 exposed and 6 unexposed library operations named eval having 2 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op eval to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named eval with argument type(s) Variable(Φ) Variable(ck)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

but it can be the identity in many ways. For example,

fricas
solve(equate(eval(Φ,[p[1]=1,p[2]=1,p[3]=1,q1=1])=I),[p[4]])
There are no library operations named equate Use HyperDoc Browse or issue )what op equate to learn if there is any operation containing " equate " in its name.
Cannot find a definition or applicable library operation named equate with argument type(s) Equation(Polynomial(Integer))
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

If handle is identity then fork is idempotent but the converse is not true

fricas
Φ1:=map(numer,ravel(Φ-I)::List FRAC POLY INT);
There are 2 exposed and 0 unexposed library operations named ravel having 1 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op ravel to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.
Cannot find a definition or applicable library operation named ravel with argument type(s) Polynomial(Integer)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Scalars for figure 12 (only 1 non-zero for Cartan-Killing form)

fricas
φφ:=          _
  ( Ω  Ω  ) / _
  ( X I I ) / _
  ( I X I ) / _
  ( I I X ) / _
  (  Y  Y );
There are no library operations named Ω Use HyperDoc Browse or issue )what op Ω to learn if there is any operation containing " Ω " in its name.
Cannot find a definition or applicable library operation named Ω with argument type(s) Variable(Ω)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Bi-algebra conditions

fricas
ΦΦ:=          _
  ( λ  λ  ) / _
  ( X I I ) / _
  ( I X I ) / _
  ( I I X ) / _
  (  Y  Y ) ;
There are no library operations named λ Use HyperDoc Browse or issue )what op λ to learn if there is any operation containing " λ " in its name.
Cannot find a definition or applicable library operation named λ with argument type(s) Variable(λ)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

fricas
solve(equate(ΦΦ=H/X),[p[1],p[2],p[3],p[4]])
There are no library operations named equate Use HyperDoc Browse or issue )what op equate to learn if there is any operation containing " equate " in its name.
Cannot find a definition or applicable library operation named equate with argument type(s) Equation(Fraction(Polynomial(Integer)))
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Definition 5

i = Unit of the algebra

fricas
i:=𝐞.1
There are no library operations named 𝐞 Use HyperDoc Browse or issue )what op 𝐞 to learn if there is any operation containing " 𝐞 " in its name.
Cannot find a definition or applicable library operation named 𝐞 with argument type(s) PositiveInteger
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

Co-unit

i 
U

fricas
ι:𝐋:=
    (    i I   ) /
          Ų
𝐋 is not a valid type.

Y=U
ι  
fricas
test
        Y     /
        ι     =  Ų

\label{eq9} \mbox{\rm false} (9)
Type: Boolean

For example:

fricas
ex1:=[q0=1,q1=1,p[1]=1,p[2]=1,p[3]=1,p[4]=1]

\label{eq10}\left[{{i^{2}}= 1}, \:{{j^{2}}= 1}, \:{{p_{1}}= 1}, \:{{p_{2}}= 1}, \:{{p_{3}}= 1}, \:{{p_{4}}= 1}\right](10)
Type: List(Equation(Polynomial(Integer)))
fricas
Ų0:𝐋  :=eval(Ų,ex1)
𝐋 is not a valid type.