Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

I would like to automate a huge amount of computation that involve basic arithmetic operations with $p$-adic numbers. I have found a Mathematica packages for it, but it is old and acts quite erratically. Do you know of any computational software that does it reliably?

share|improve this question
Could you be more explicit about just which operations you want to do, and where (as in, what $p$-adic fields)? And could you say more fully what you mean by "automate"? –  Lubin Jun 30 '11 at 17:18
add comment

2 Answers

up vote 4 down vote accepted

SAGE has p-adic arithmetic (for example, see http://www.math.utah.edu/~carlson/cimat/python-sage.pdf), and has the added benefit of being completely free and open-source!

share|improve this answer
add comment

This is just a very partial answer that is based on my experience trying to do some work with extension of p-adic numbers.

There is p-adic arithmetic in the free software programs SAGE, PARI and GAP, but their main limitation (i don't know if things have changed recently) was their inability to with relative extension, that is extensions of another field which is itself a proper extension of $\mathbb{Q}_p$. However if you have limited need for extensions they (mostly SAGE and PARI, because GAP is more group-theory oriented) have a very good interface to work with p-adic numbers.

For my thesis work i absolutely needed relative extensions, so i had to use Magma which is not free, but for small computation it can be used online: http://magma.maths.usyd.edu.au/calc/. It has a very good library, which requires some time to learn, like the magma language which requires some learning too, but however the functionality provided is worth the effort.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.