Grassmann Algebra Operators
Symmetric inner product
fricas
(1) -> idot:=display(operator('dot,2), (x:List OutputForm):OutputForm +-> hconcat([x.1,_{_\cdot_} ,x.2]));
fricas
dot(A:EXPR INT,B:EXPR INT):EXPR INT == (smaller?(A,B)=>idot(A,B);idot(B,A))
Function declaration dot : (Expression(Integer), Expression(Integer)
) -> Expression(Integer) has been added to workspace.
Type: Void
fricas
dot(P, Q)=dot(Q,P)
fricas
Compiling function dot with type (Expression(Integer), Expression(
Integer)) -> Expression(Integer)
Type: Equation(Expression(Integer))
Exterior product
fricas
ihat:=display(operator('hat,2), (x:List OutputForm):OutputForm +-> hconcat([x.1,_{_\wedge_} ,x.2]));
fricas
hat(A:EXPR INT,B:EXPR INT):EXPR INT == (smaller?(A,B)=>ihat(A,B);-ihat(B,A))
Function declaration hat : (Expression(Integer), Expression(Integer)
) -> Expression(Integer) has been added to workspace.
Type: Void
fricas
hat(P, Q)=-hat(Q,P)
fricas
Compiling function hat with type (Expression(Integer), Expression(
Integer)) -> Expression(Integer)
Type: Equation(Expression(Integer))
fricas
1+1
- Proof of the main theorem 15 (isometry from bivector)
fricas
eq33 := matrix [[-dot(P,P), -dot(P,Q)+c],[dot(Q,P)+c, dot(Q,Q)]]
Type: Matrix(Expression(Integer))
fricas
eq35 := inverse(eq33)
Type: Union(Matrix(Expression(Integer)),...)
fricas
simplifyHatSquare:=ruleset([rule dot(P, Q)^2-dot(P, P)*dot(Q, Q) == hat(P, Q)^2,rule -dot(P, Q)^2+dot(P, P)*dot(Q, Q) == -hat(P, Q)^2])
Type: Ruleset(Integer,Integer,Expression(Integer))
fricas
map(x+->simplifyHatSquare(x),eq35)
Type: Matrix(Expression(Integer))