How to treat (multiple) zeta values as real symbolic constants?

46 views
Skip to first unread message

Brent Pym

unread,
Mar 28, 2017, 10:15:22 AM3/28/17
to sage-support
For a real number s, the value zeta(s) of the Riemann zeta function is real, but SageMath does not seem to recognize this fact.  Here is an example (SageMath 7.5.1):

sage: conjugate(zeta(3))
conjugate
(zeta(3))

One might hope to simply get zeta(3)as output.  Indeed, this is how the sin function behaves:

sage: conjugate(sin(3))
sin
(3)

Is there some way to treat zeta values (and more generally, multiple zeta values) as real symbolic constants in SageMath or is this something that has yet to be implemented?  It seems to be related to (but a bit different from) Trac ticket https://trac.sagemath.org/ticket/18141.

kcrisman

unread,
Mar 28, 2017, 1:44:14 PM3/28/17
to sage-support


On Tuesday, March 28, 2017 at 10:15:22 AM UTC-4, Brent Pym wrote:
For a real number s, the value zeta(s) of the Riemann zeta function is real, but SageMath does not seem to recognize this fact.  Here is an example (SageMath 7.5.1):

sage: conjugate(zeta(3))
conjugate
(zeta(3))

One might hope to simply get zeta(3)as output.

One would have to hard-code that into Pynac, is my guess. 

Ralf Stephan

unread,
Mar 29, 2017, 1:44:58 AM3/29/17
to sage-support
Yes, the elementary functions had this implemented only recently, and I'm happy to add more knowledge like that.

Brent Pym

unread,
Mar 30, 2017, 3:08:24 AM3/30/17
to sage-support
Yes, the elementary functions had this implemented only recently, and I'm happy to add more knowledge like that.

Great, thanks a lot!

Do I understand correctly that multiple polylogs and multiple zeta values are implemented in GiNaC/Pynac but not yet wrapped in SageMath?

Brent Pym

unread,
Mar 30, 2017, 3:42:06 AM3/30/17
to sage-support
Also, I realized that, more generally, conjugate passes through sin because of the holomorphicity:
sage: conjugate(sin(1+I))
sin
(-I + 1)
Maybe this would be nice for other holomorphic functions, like zeta?  But perhaps that's how you had in mind to implement it anyways.

Ralf Stephan

unread,
Mar 30, 2017, 3:47:29 AM3/30/17
to sage-support
On Thursday, March 30, 2017 at 9:08:24 AM UTC+2, Brent Pym wrote:
> Do I understand correctly that multiple polylogs and multiple zeta values are implemented in GiNaC/Pynac but not yet wrapped in SageMath?

They are in GiNaC but the code in Pynac is degenerated for various reasons, eg the numerics use CLN which is not in Sage.

Ralf Stephan

unread,
Mar 30, 2017, 3:58:07 AM3/30/17
to sage-support

Brent Pym

unread,
Mar 30, 2017, 4:38:49 AM3/30/17
to sage-support
Thank you very much!  By opening these tickets, you have certainly answered my questions.  Is the etiquette to mark this thread as complete now, or wait until the tickets have been closed?

On Thursday, 30 March 2017 08:58:07 UTC+1, Ralf Stephan wrote:

Ralf Stephan

unread,
Mar 30, 2017, 4:42:56 AM3/30/17
to sage-support
On Thursday, March 30, 2017 at 10:38:49 AM UTC+2, Brent Pym wrote:
Thank you very much!  By opening these tickets, you have certainly answered my questions.  Is the etiquette to mark this thread as complete now, or wait until the tickets have been closed?

Threads in sage-devel or -support are mostly open-ended. Developers use trac tickets as todo list.

Brent Pym

unread,
Mar 30, 2017, 5:29:59 AM3/30/17
to sage-s...@googlegroups.com
Okay, thanks very much for all your prompt and helpful replies!
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/g7Bs02uPg2c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages