Example: Element 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

A fixed element in a Weyl group.

Systems

Oscar.jl

Generate code (generate.jl) [ edit ]

using Oscar

W = weyl_group((:A, 2), (:B, 4))
save("data.mrdi", gen(W, 1) * gen(W, 3) * gen(W, 2))

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

Data file: data.mrdi

{
  "_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.2.2"]},
  "_type": {"name": "WeylGroupElem", "params": "a3d3fc87-58b7-49aa-b7a7-7832d64890d9"},
  "data": ["3", "1", "2"],
  "_refs": {
    "a3d3fc87-58b7-49aa-b7a7-7832d64890d9": {"_type": "WeylGroup", "data": {"root_system": "b484b455-557b-41fc-8e7a-97ba564c6b3a"}},
    "b484b455-557b-41fc-8e7a-97ba564c6b3a": {
      "_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.3

Data file: data.mrdi

{
  "_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.3.1"]},
  "_type": {"name": "WeylGroupElem", "params": "84d2dfc7-8254-4a2c-be91-56d9f46bc8ae"},
  "data": ["1", "2", "3"],
  "_refs": {
    "84d2dfc7-8254-4a2c-be91-56d9f46bc8ae": {"_type": "WeylGroup", "data": {"root_system": "80e4d279-7dd2-4f5a-94bf-747460d2a2b4"}},
    "80e4d279-7dd2-4f5a-94bf-747460d2a2b4": {
      "_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": "WeylGroupElem", "params": "501deceb-e010-4dbc-a579-155fcece57cd"},
  "data": ["1", "2", "3"],
  "_refs": {
    "501deceb-e010-4dbc-a579-155fcece57cd": {"_type": {"name": "WeylGroup", "params": "d9608014-2e47-4d7d-a773-93bebecd4b86"}, "data": {}},
    "d9608014-2e47-4d7d-a773-93bebecd4b86": {
      "_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.