Specification: Residue Ring Elements
Profiles: OSCAR v1.0, OSCAR v1.1, OSCAR v1.2, OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7, OSCAR v1.8
ZZModRingElem and zzModRingElem record elements of residue rings.
Encoding Notes
- Use
_typeto distinguish the concrete residue-ring element family. - Store the element payload under
dataand recover the parent ring from the surrounding profile-specific context. - See the linked examples for the currently documented encodings.
Canonical Example Payload
The following payload is taken directly from the current rosetta-stone corpus.
{
"_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.7.0"]},
"_type": {"name": "zzModRingElem", "params": {"_type": "Nemo.zzModRing", "data": "6"}},
"data": "1"
}
Documented Profiles in This Corpus
This table records the profile/version pairs currently represented by the rosetta-stone examples for this data type. Add new rows as new systems or encoding revisions are documented.
| Profile | Version | Example | Root type |
|---|---|---|---|
| Oscar | 1.0.5 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.0.5 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.1.2 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.1.2 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.2.2 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.2.2 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.3.1 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.3.1 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.4.1 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.4.1 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.5.1 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.5.1 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.6.0 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.6.0 |
Element of residue ring (ZZ(6)) | ZZModRingElem |
| Oscar | 1.7.0 |
Element of residue ring (6) | zzModRingElem |
| Oscar | 1.7.0 |
Element of residue ring (ZZ(6)) | ZZModRingElem |