Specification: Weight Lattices (OSCAR v1.3)
Profiles: OSCAR v1.3
Other versions: Weight Lattices (OSCAR v1.4-v1.8)
In OSCAR v1.3, WeightLattice uses a typed _type object whose payload still
stores the referenced root system inline under data.root_system.
Encoding Notes
- Use
_type.name = "WeightLattice". - Store the ambient root system reference under
data.root_system. - Resolve that reference through
_refs.
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.3.1"]},
"_type": "WeightLattice",
"data": {"root_system": "8227146f-8c69-4e41-a0f7-422fa8b1b903"},
"id": "0765105c-5c3b-4797-bcf6-d20777f8b4ab",
"_refs": {
"8227146f-8c69-4e41-a0f7-422fa8b1b903": {
"_type": "RootSystem",
"data": {
"cartan_matrix": [
["2", "-1", "0", "0", "0", "0"],
["-1", "2", "0", "0", "0", "0"],
["0", "0", "2", "-1", "0", "0"],
["0", "0", "-1", "2", "-1", "0"],
["0", "0", "0", "-1", "2", "-1"],
["0", "0", "0", "0", "-2", "2"]
],
"type": [["A", "2"], ["B", "4"]]
}
}
}
}
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.3.1 |
Weight lattice | WeightLattice |