Example: Generators of Weyl group

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

The simple reflections generating a Weyl group.

Systems

Oscar.jl

Generate code (generate.jl) [ edit ]

using Oscar

W = weyl_group((:A, 2), (:B, 4))
save("data.mrdi", gens(W))

Data outputs

Profiles: OSCAR v1.0

Not available for OSCAR v1.0.

In OSCAR v1.0-1.1 the generator fails with `Unsupported type 'Oscar.LieAlgebras.WeylGroupElem' for encoding`.

Profiles: OSCAR v1.1

Not available for OSCAR v1.1.

In OSCAR v1.0-1.1 the generator fails with `Unsupported type 'Oscar.LieAlgebras.WeylGroupElem' for encoding`.

Profiles: OSCAR v1.2, OSCAR v1.3

Data file: data.mrdi

{
  "_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.3.1"]},
  "_type": {
    "name": "Vector",
    "params": {"name": "WeylGroupElem", "params": "2919b6c1-06d9-4860-ad0c-0a74c2407d15"}
  },
  "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]],
  "_refs": {
    "2919b6c1-06d9-4860-ad0c-0a74c2407d15": {"_type": "WeylGroup", "data": {"root_system": "8e9483e0-d9f6-4289-827d-85401ae54db1"}},
    "8e9483e0-d9f6-4289-827d-85401ae54db1": {
      "_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.

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": "WeylGroupElem", "params": "fc7a6614-41fc-406c-90a0-6f51898773ad"}
  },
  "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]],
  "_refs": {
    "fc7a6614-41fc-406c-90a0-6f51898773ad": {"_type": {"name": "WeylGroup", "params": "a86ebce5-2905-4d8a-8e66-22d8d613537d"}, "data": {}},
    "a86ebce5-2905-4d8a-8e66-22d8d613537d": {
      "_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.