ProfiniteNumber
A profinite number: the rational in , known modulo . Modulus 0 (the default) is just the rational itself.
ProfiniteNumber(x, m) known modulo — a coset of SageMath
Qhat(x, m)ProfiniteNumber(x)exact: modulus 0, so just the rational SageMath
Qhat(x)ProfiniteNumber(list)glue a list of AdicNumeral values by CRT into one profinite numberSageMath
Qhat(list)Typed signatures
| Type | Package | Applies |
|---|---|---|
(list<value> | value, number?) -> value | adeles | always |
Details
- , the profinite completion of ; is the finite adèle ring, one coordinate per prime bundled together.
Add,Multiply,Negate,Divide,Power,Equal,NotEqualare wrapped to recognise aProfiniteNumberoperand, likeAdicNumeral.- Numerator and Denominator split a profinite number into its numerator and denominator as profinite numbers (the denominator as an ordinary integer); AdicNumeral
(p, z)projects it to ; Fibonacci andLucasLtake a profinite argument (Lenstra's profinite Fibonacci numbers). ProfiniteNumber({AdicNumeral(p1, …), AdicNumeral(p2, …), …})reassembles a profinite number from its images at several primes by the Chinese remainder theorem.
Examples
24 more kept as data, checked against the oraclesBasic #
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
live ↗
InOut
Scope #
Applications #
Possible issues #
About
| Examples | 50 |
|---|---|
| Checked against | SageMath 24 agree |
| Crosswalk | SageMath ×2 |
Implementation
mapped
wolframpackages/oracle/src/mappings.tsNo adele/idele or profinite-integer type in Wolfram -- no prior art to map against. Wolfram Function Repository searched too; nothing for adeles or profinite integers.
mapped
sagepackages/oracle/src/mappings.tsHertogh's adeles package (github.com/mathehertogh/adeles); the exact case, modulus 0. The list-of-AdicNumeral glue form also has arity 1, but AdicNumeral itself is unmapped for sage, so those examples simply fail to emit rather than being mis-evaluated by this row.
mapped
sagepackages/oracle/src/mappings.tsHertogh's adeles package; $1 known modulo $2.
See also: Adele, Idele, AdicNumeral, ProfiniteDecomposition