lift(x, R)x^RLift a $p$-adic number to an other ring. This is only well-defined when R to ZZ, QQ, or the $p$-adic field containing x.
|
|
|
|
As usual, the ^ operator is a shorthand for this operation.
|
|
|
Lifting to ZZ raises an error if the $p$-adic valuation of x is negative.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Padic.m2:1028:0.