Adele
An adèle: a real number beside a profinite number . Adele(q) for rational is the principal adèle, at every place.
Adele(q)the principal adèle of a rational : at the real place and every finite oneSageMath
Adeles(QQ)(q)Typed signatures
| Type | Package | Applies |
|---|---|---|
(value, value?) -> value | adeles | always |
Details
- The real part is any closed-form real constant compute-engine can evaluate numerically, not only a rational.
Add,Multiply,Negate,Divide,Power,Equal,NotEqualthread over an adèle, real part and finite part separately.- An Idele is an adèle together with the extra data an idèle carries (a finite set of distinguished units);
Adele(idele)forgets that and keeps only the value.
Examples
15 more kept as data, checked against the oraclesAbout
| Examples | 22 |
|---|---|
| Checked against | SageMath 15 agree |
| Crosswalk | SageMath ×2 |
Implementation
mapped
sagepackages/oracle/src/mappings.tsHertogh's adeles package; coerces a rational (the principal adele) or an idele (forgetting its idele structure) -- Sage's own coercion dispatches on the argument's type, like ours.
mapped
sagepackages/oracle/src/mappings.tsHertogh's adeles package; real $1 beside the finite part $2 (a ProfiniteNumber).
See also: ProfiniteNumber, Idele