Zum Inhalt
HALOWERK

Datenvertragswerk

trace monoid foata normalization

Given original generator word and an explicit symmetric irreflexive independence relation, reconstruct its entire Cartier-Foata normal form, occurrence-indexed heights, all forward dependence edges and lexicographically least word in the adjacent-independent-swap class. Equal generators always depend. Each canonical layer is sorted and consists of mutually commuting distinct generators. Edges describe all dependent occurrence pairs, not a transitive reduction; heights are1-based and refer to.

POST https://datenvertrag.halowerk.com/v1/trace-monoid-foata-normalization

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
alphabetintegerJa
independenceSiehe SchemaJa
wordSiehe SchemaJa
claimed_layersSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "alphabet",
    "independence",
    "word",
    "claimed_layers"
  ],
  "properties": {
    "alphabet": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4
    },
    "independence": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 6,
          "items": {
            "type": "array",
            "minItems": 2,
            "maxItems": 2,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "word": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 8,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 3
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_layers": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 8,
          "items": {
            "type": "array",
            "minItems": 1,
            "maxItems": 8,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "alphabet": 4,
  "independence": [
    [
      0,
      3
    ],
    [
      1,
      2
    ]
  ],
  "word": [
    1,
    0,
    3,
    0,
    2,
    1
  ],
  "claimed_layers": [
    [
      1
    ],
    [
      0,
      3
    ],
    [
      0
    ],
    [
      1,
      2
    ]
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →