
TL;DR
This paper introduces a novel $p$-adic arithmetic system in Magma that enables exact, lazy, infinite-precision computations, improving usability, efficiency, and provability of results in $p$-adic number calculations.
Contribution
It presents the first comprehensive implementation of exact $p$-adic arithmetic in Magma, combining theoretical foundations with practical features.
Findings
Enhanced user-friendliness in $p$-adic computations
Faster computation times for certain operations
Ability to produce provably exact results
Abstract
We describe a new arithmetic system for the Magma computer algebra system for working with -adic numbers exactly, in the sense that numbers are represented lazily to infinite -adic precision. This is the first highly featured such implementation. This has the benefits of increasing user-friendliness and speeding up some computations, as well as forcibly producing provable results. We give theoretical and practical justification for its design and describe some use cases. The intention is that this article will be of benefit to anyone wanting to implement similar functionality in other languages.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
