Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
dual (co)algebras
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Franco Saliola  
View profile  
 More options Aug 14 2012, 11:58 am
From: Franco Saliola <sali...@gmail.com>
Date: Tue, 14 Aug 2012 11:58:58 -0400
Local: Tues, Aug 14 2012 11:58 am
Subject: dual (co)algebras
Hello,

What should the method that returns the dual of an algebraic object be called?

For example, the dual Hopf algebra of non-commutative symmetric
functions is the Hopf algebra of quasi-symmetric functions.

At #8899, I am using the following:

- dual_space -- returns the dual Hopf algebra
- dual_basis -- returns the dual basis of a basis
- dual_pairing -- the pairing between a basis and its dual basis

Is there already a convention for this that I should be using?

Thanks,
Franco

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon King  
View profile  
 More options Aug 14 2012, 2:16 pm
From: Simon King <simon.k...@uni-jena.de>
Date: Tue, 14 Aug 2012 18:16:50 +0000 (UTC)
Local: Tues, Aug 14 2012 2:16 pm
Subject: Re: dual (co)algebras
Hi Franco,

On 2012-08-14, Franco Saliola <sali...@gmail.com> wrote:

> What should the method that returns the dual of an algebraic object be called?

I don't know whether a convention exists. But I would suggest the
convention
  dual_<name-of-structure>

Hence, if you have a vector space V then I'd suggest that
V.dual_vector_space() returns what it says, and ...

> For example, the dual Hopf algebra of non-commutative symmetric
> functions is the Hopf algebra of quasi-symmetric functions.

... H.dual_hopf_algebra() returns the dual Hopf algebra of a Hopf
algebra H.

> At #8899, I am using the following:

> - dual_space -- returns the dual Hopf algebra

I would tend to expect that dual_space returns the dual (vector)
*space*, not a Hopf algebra.

> - dual_basis -- returns the dual basis of a basis
> - dual_pairing -- the pairing between a basis and its dual basis

Would just "pairing" be clear enough? Or perhaps "duality_pairing",
because the pairing is not dual, but comes from duality.

> Is there already a convention for this that I should be using?

I don't know. So, my suggestions are not backed up by an existing
convention.

Cheers,
Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Franco Saliola  
View profile  
 More options Aug 14 2012, 2:51 pm
From: Franco Saliola <sali...@gmail.com>
Date: Tue, 14 Aug 2012 14:51:16 -0400
Local: Tues, Aug 14 2012 2:51 pm
Subject: Re: [sage-combinat-devel] Re: dual (co)algebras
Hello Simon,

I thought about that, but would the Hopf algebra then also have the methods

    dual_vector_space
    dual_coalgebra
    dual_algebra
    ...

since it is a vector space, an algebra, a coalgebra, etc.?

What about just "dual"? By default, it would compute the dual with
respect to the category to which it belongs, and we can allow
customization like so:

    sage: H.dual(category=VectorSpaces(QQ))
    ... a vector space ...

>> At #8899, I am using the following:

>> - dual_space -- returns the dual Hopf algebra

> I would tend to expect that dual_space returns the dual (vector)
> *space*, not a Hopf algebra.

>> - dual_basis -- returns the dual basis of a basis
>> - dual_pairing -- the pairing between a basis and its dual basis

> Would just "pairing" be clear enough? Or perhaps "duality_pairing",
> because the pairing is not dual, but comes from duality.

I like duality_pairing.

Thanks, Simon.

Franco

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John H Palmieri  
View profile  
 More options Aug 14 2012, 3:50 pm
From: John H Palmieri <jhpalmier...@gmail.com>
Date: Tue, 14 Aug 2012 12:50:17 -0700 (PDT)
Local: Tues, Aug 14 2012 3:50 pm
Subject: Re: [sage-combinat-devel] Re: dual (co)algebras

I think "H.dual()" is good. Specifying a category like this also, as well as

     sage: VectorSpaces(QQ)(H.dual())

to return the same thing as H.dual(category=...)

--
John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John H Palmieri  
View profile  
 More options Aug 14 2012, 5:23 pm
From: John H Palmieri <jhpalmier...@gmail.com>
Date: Tue, 14 Aug 2012 14:23:17 -0700 (PDT)
Local: Tues, Aug 14 2012 5:23 pm
Subject: Re: dual (co)algebras

I agree that they might be different in some situations, but I also think
it's clear what each means: either dualize first or apply the forgetful
functor first. Anyway, I don't think it's a problem. (My original message
might have said the wrong thing, though.)

--
John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Franco Saliola  
View profile  
 More options Aug 15 2012, 11:02 am
From: Franco Saliola <sali...@gmail.com>
Date: Wed, 15 Aug 2012 11:02:24 -0400
Local: Wed, Aug 15 2012 11:02 am
Subject: Re: [sage-algebra] Re: dual (co)algebras
Hello,

I wrote docstrings for the methods dual and duality_pairing and
created a ticket:

    http://trac.sagemath.org/sage_trac/ticket/13372

Now someone has to write the code. :-)

Franco

--

On Tue, Aug 14, 2012 at 5:23 PM, John H Palmieri <jhpalmier...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[sage-combinat-devel] Re: dual (co)algebras" by Nicolas M. Thiery
Nicolas M. Thiery  
View profile   Translate to Translated (View Original)
 More options Aug 19 2012, 11:02 am
From: "Nicolas M. Thiery" <Nicolas.Thi...@u-psud.fr>
Date: Sun, 19 Aug 2012 17:02:49 +0200
Local: Sun, Aug 19 2012 11:02 am
Subject: Re: [sage-algebra] Re: [sage-combinat-devel] Re: dual (co)algebras
        Hi Franco!

On Tue, Aug 14, 2012 at 02:51:16PM -0400, Franco Saliola wrote:
> What about just "dual"? By default, it would compute the dual with
> respect to the category to which it belongs, and we can allow
> customization like so:

>     sage: H.dual(category=VectorSpaces(QQ))
>     ... a vector space ...

Coming a bit late in the discussion, but I vote +1 on this. That's
what we had in MuPAD-Combinat (without the category argument).

There is one glitch though, which bothered us too in
MuPAD-Combinat. In the case of NCSF/QSym, it's not exactly the dual
that we are constructing, but the graded dual. We did not bother
finding a solution in MuPAD-Combinat because we were only considering
graded duals. But eventually, we will want to also manipulate the full
dual, i.e. infinite series.

So should this be called graded_dual? Should this react depending on
whether we pass a category which is graded or not (a priori, it does
not feel right to me, but ...)?

Of course, the same glitch occurs for the "dual" functorial
construction (which is basically empty yet).

Cheers,
                                Nicolas
--
Nicolas M. Thi�ry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John H Palmieri  
View profile  
 More options Aug 19 2012, 12:43 pm
From: John H Palmieri <jhpalmier...@gmail.com>
Date: Sun, 19 Aug 2012 09:43:05 -0700 (PDT)
Local: Sun, Aug 19 2012 12:43 pm
Subject: Re: [sage-algebra] Re: [sage-combinat-devel] Re: dual (co)algebras

I think that

  A.dual(category=GradedVectorSpaces(QQ))

makes sense (or category=GradedAlgebras() or ...). Maybe

  A.dual(graded=True) or A.graded_dual()

should be synonyms for these. Maybe also (or instead?) for objects equipped
with a grading, the default behavior should be to return the graded dual,
but you can get the ungraded dual by specifying the appropriate argument,
so maybe "graded_dual" should not exist, but "ungraded_dual" should, for
objects with a grading? In my experience mathematically, when I want to
dualize a graded object, I almost always want the graded dual, and I would
expect that to be the default behavior of a "dual" method.

So we might have

  A.dual()   graded dual, by default
  A.graded_dual(), A.ungraded_dual()
  A.dual_graded(), A.dual_ungraded()     good for tab completion
  A.dual(graded=True), etc.
  A.dual(category=Graded...), etc.

--
John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Franco Saliola  
View profile   Translate to Translated (View Original)
 More options Aug 20 2012, 10:01 am
From: Franco Saliola <sali...@gmail.com>
Date: Mon, 20 Aug 2012 10:01:55 -0400
Local: Mon, Aug 20 2012 10:01 am
Subject: Re: [sage-algebra] Re: [sage-combinat-devel] Re: dual (co)algebras
On Sun, Aug 19, 2012 at 11:02 AM, Nicolas M. Thiery

Ah, yes, good point.

> So should this be called graded_dual? Should this react depending on
> whether we pass a category which is graded or not (a priori, it does
> not feel right to me, but ...)?

Why doesn't if feel right to you? I would expect different behaviour
from the following two commands:

    A.dual(category=GradedVectorSpaces(QQ))
    A.dual(category=VectorSpaces(QQ))

I like the shorthand that John proposed:

    A.dual(graded=True)
    A.dual(graded=False)

With the default being graded=True if the category is graded.

My personal preference is to be able to access all the duality
functionality from the dual method (so no methods named graded_dual,
ungraded_dual, dual_ungraded, dual_graded, ...).

Franco

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »