Example: Generators of weight lattice

Profiles: OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7, OSCAR v1.8

The standard generators of a weight lattice.

Systems

Oscar.jl

Generate code (generate.jl) [ edit ]

using Oscar

P = weight_lattice(root_system((:A, 2), (:B, 4)))
save("data.mrdi", gens(P))

Data outputs

Profiles: OSCAR v1.0

Not available for OSCAR v1.0.

In OSCAR v1.0-1.2 the generator does not run successfully; the exact failure mode varies across versions.

Profiles: OSCAR v1.1

Not available for OSCAR v1.1.

In OSCAR v1.0-1.2 the generator does not run successfully; the exact failure mode varies across versions.

Profiles: OSCAR v1.2

Not available for OSCAR v1.2.

In OSCAR v1.0-1.2 the generator does not run successfully; the exact failure mode varies across versions.

Profiles: OSCAR v1.3

Data file: data.mrdi

{
  "_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.3.1"]},
  "_type": {
    "name": "Vector",
    "params": {"name": "WeightLatticeElem", "params": "0da8b8d4-2015-4760-92bc-d0a5dce73a02"}
  },
  "data": [
    ["1", "0", "0", "0", "0", "0"],
    ["0", "1", "0", "0", "0", "0"],
    ["0", "0", "1", "0", "0", "0"],
    ["0", "0", "0", "1", "0", "0"],
    ["0", "0", "0", "0", "1", "0"],
    ["0", "0", "0", "0", "0", "1"]
  ],
  "_refs": {
    "0da8b8d4-2015-4760-92bc-d0a5dce73a02": {"_type": "WeightLattice", "data": {"root_system": "26001f13-e879-44ad-8571-845d3d1150b4"}},
    "26001f13-e879-44ad-8571-845d3d1150b4": {
      "_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"]]
      }
    }
  }
}

Profiles: OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7

Data file: data.mrdi

{
  "_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.7.0"]},
  "_type": {
    "name": "Vector",
    "params": {"name": "WeightLatticeElem", "params": "43fad3bf-1c39-4dd5-8ed2-83909e0383da"}
  },
  "data": [
    ["1", "0", "0", "0", "0", "0"],
    ["0", "1", "0", "0", "0", "0"],
    ["0", "0", "1", "0", "0", "0"],
    ["0", "0", "0", "1", "0", "0"],
    ["0", "0", "0", "0", "1", "0"],
    ["0", "0", "0", "0", "0", "1"]
  ],
  "_refs": {
    "43fad3bf-1c39-4dd5-8ed2-83909e0383da": {
      "_type": {"name": "WeightLattice", "params": "ee43da2c-5b7d-4d40-89ec-efad2c6598aa"},
      "data": {}
    },
    "ee43da2c-5b7d-4d40-89ec-efad2c6598aa": {
      "_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"]]
      }
    }
  }
}

This serialized output is equivalent for these profiles up to UUID renaming and recorded namespace version strings.