|
|
|
last edited 13 years ago by test1 |
| 1 2 3 4 5 6 | ||
|
Editor: Bill Page
Time: 2009/05/13 11:13:48 GMT-7 |
||
| Note: first example | ||
added:
q:=p+3
Delta(q^2)
On Fri, May 15, 2009 at 03:23:33AM +0200, Franz Lehner wrote:
Now it more or less works, included is a first example of a bialgebra (just too lazy to write up the antipode):
(1) -> )library TENSORC TENSORP TENSORD
)library cannot find the file TENSORC. )library cannot find the file TENSORP. )library cannot find the file TENSORD.
)abbrev category COALG CoAlgebra CoAlgebra(R : CommutativeRing,RR : TensorProductCategory(R, %, %)) : Category == _ Module(R) with Delta : % -> RR ++ delta is comultiplication counit: % -> R ++ counit )abbrev category BIALG BiAlgebra BiAlgebra(R : CommutativeRing, RR : TensorProductCategory(R, %, %)) : Category == _ Join(Algebra(R), CoAlgebra(R, RR)) )abbrev category HOPFALG HopfAlgebra HopfAlgebra(R : CommutativeRing, RR : TensorProductCategory(R, %, %)) : Category _ == BiAlgebra(R, RR) with S : % -> % ++ the antipode )abbrev domain PHALG PolyHopfAlgebra PolyHopfAlgebra(R: CommutativeRing, x: Symbol): C == T where S == Variable x FM == FreeMonoid Symbol PxP == TensorProduct(R, FM, FM, %, %) -- C == Join(FreeModule(R, FM), HopfAlgebra(R, PxP)) C == Join(UnivariatePolynomialCategory(R), _ FreeModuleCat(R, FM), BiAlgebra(R, PxP))
TERM == Record(k: FM,c: R)
T == SparseUnivariatePolynomial(R) add Rep:= SparseUnivariatePolynomial(R)
monom(a:FM,r:R):% == one? a => monomial(r, 0@NonNegativeInteger) monomial(r, nthExpon(a, 1@Integer))
-- monomial(r:R,n:NonNegativeInteger) == monomial(r, n)@Rep
coerce(p:%):OutputForm == outputForm(p,outputForm x)$Rep
Delta1(n:NonNegativeInteger):PxP == res: PxP := 0 nn:List NonNegativeInteger := [k for k in 0..n] for k1 in nn for k2 in reverse nn repeat res:= res + binomial(n,k1)*product(monomial(1@R, k1), monomial(1@R, k2))$PxP res
ListOfTerms(p:%):List TERM == res:List TERM := [] while not zero? p repeat m:FM := (variable()$S)**degree p m1:TERM := [m,leadingCoefficient p] res:=concat!(res, m1) p:=reductum p res
Delta(p:%):PxP == zero? p => 0 lt:R := leadingCoefficient p lt * Delta1(degree p) + Delta reductum p
counit(p:%):R == coefficient(p,0)
Compiling FriCAS source code from file
/var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/8300278871242681918-25px002.spad
using old system compiler.
COALG abbreviates category CoAlgebra
------------------------------------------------------------------------
initializing NRLIB COALG for CoAlgebra
compiling into NRLIB COALG
Time: 0 SEC.
finalizing NRLIB COALG
Processing CoAlgebra for Browser database:
--->-->CoAlgebra(constructor): Not documented!!!!
--------(Delta (RR %))---------
--------(counit (R %))---------
--->-->CoAlgebra(): Missing Description
; compiling file "/var/aw/var/LatexWiki/COALG.NRLIB/COALG.lsp" (written 24 SEP 2026 08:05:56 AM):
; wrote /var/aw/var/LatexWiki/COALG.NRLIB/COALG.fasl
; compilation finished in 0:00:00.008
------------------------------------------------------------------------
CoAlgebra is now explicitly exposed in frame initial
CoAlgebra will be automatically loaded when needed from
/var/aw/var/LatexWiki/COALG.NRLIB/COALG
BIALG abbreviates category BiAlgebra
------------------------------------------------------------------------
initializing NRLIB BIALG for BiAlgebra
compiling into NRLIB BIALG
Time: 0 SEC.
finalizing NRLIB BIALG
Processing BiAlgebra for Browser database:
--->-->BiAlgebra(): Missing Description
; compiling file "/var/aw/var/LatexWiki/BIALG.NRLIB/BIALG.lsp" (written 24 SEP 2026 08:05:56 AM):
; wrote /var/aw/var/LatexWiki/BIALG.NRLIB/BIALG.fasl
; compilation finished in 0:00:00.000
------------------------------------------------------------------------
BiAlgebra is now explicitly exposed in frame initial
BiAlgebra will be automatically loaded when needed from
/var/aw/var/LatexWiki/BIALG.NRLIB/BIALG
HOPFALG abbreviates category HopfAlgebra
------------------------------------------------------------------------
initializing NRLIB HOPFALG for HopfAlgebra
compiling into NRLIB HOPFALG
;;; *** |HopfAlgebra| REDEFINED
Time: 0 SEC.
finalizing NRLIB HOPFALG
Processing HopfAlgebra for Browser database:
--->/usr/local/lib/fricas/target/x86_64-linux-gnu/../../src/algebra/HOPFALG.spad-->HopfAlgebra(constructor): Not documented!!!!
--------(S (% %))---------
--->/usr/local/lib/fricas/target/x86_64-linux-gnu/../../src/algebra/HOPFALG.spad-->HopfAlgebra(): Missing Description
; compiling file "/var/aw/var/LatexWiki/HOPFALG.NRLIB/HOPFALG.lsp" (written 24 SEP 2026 08:05:56 AM):
; wrote /var/aw/var/LatexWiki/HOPFALG.NRLIB/HOPFALG.fasl
; compilation finished in 0:00:00.004
------------------------------------------------------------------------
HopfAlgebra is now explicitly exposed in frame initial
HopfAlgebra will be automatically loaded when needed from
/var/aw/var/LatexWiki/HOPFALG.NRLIB/HOPFALG
PHALG abbreviates domain PolyHopfAlgebra
------------------------------------------------------------------------
initializing NRLIB PHALG for PolyHopfAlgebra
compiling into NRLIB PHALG
****** comp fails at level 1 with expression: ******
((|FreeModuleCat| R (|FreeMonoid| (|Symbol|))))
****** level 1 ******
x:= (FreeModuleCat R (FreeMonoid (Symbol)))
m:= $EmptyMode
f:=
((((|x| # . #1=#) (R # #) (|PolyHopfAlgebra| #) (|x| . #1#) ...)))
>> Apparent user error:
cannot compile (FreeModuleCat R (FreeMonoid (Symbol)))P:=PolyHopfAlgebra(Integer,'u)
PolyHopfAlgebra is an unknown constructor and so is unavailable. Did you mean to use -> but type something different instead?
Please comment.
Next comes the old problem come with iterated structures. Is it in principle possible to have:
TensorProduct(R:CommutativeRing,LB:List OrderedSet, LM:List FreeModuleCat(R))?
Since the coproduct is coassociative, we might want to define "powers", but I realize that tensor powers are actually feasible.
Actually the basis is not redundant; in the attached example the implementation of the Coalgebra does not use the basis which it pretends to the tensor product. Still exporting a basis would be a nice thing.
More questions: