Skip to content
HALOWERK

Datenvertragswerk

set functor grothendieck category

Construct the Grothendieck category of elements of a supplied COVARIANT finite Set-valued functor F:C->Set. Base objects are0..n-1 from fiber_sizes; arrows are0..m-1 from source/target; identities[c] names id_c. composition[g][f] means g AFTER f; it must be null exactly when target[f]!=source[g]. maps[f][x] is F(f)(x). Validate all category source/target, identity and associativity laws, all finite-map domains/codomains, and functor identity/composition laws before construction. Element.

POST https://datenvertrag.halowerk.com/v1/set-functor-grothendieck-category

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
fiber_sizesarrayYes
sourcearrayYes
targetarrayYes
identitiesarrayYes
compositionarrayYes
mapsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "fiber_sizes": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 3
      },
      "maxItems": 3
    },
    "source": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2
      },
      "maxItems": 6
    },
    "target": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2
      },
      "maxItems": 6
    },
    "identities": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 5
      },
      "maxItems": 3
    },
    "composition": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 5
            },
            {
              "type": "null"
            }
          ]
        },
        "maxItems": 6
      },
      "maxItems": 6
    },
    "maps": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2
        },
        "maxItems": 3
      },
      "maxItems": 6
    }
  },
  "required": [
    "fiber_sizes",
    "source",
    "target",
    "identities",
    "composition",
    "maps"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "fiber_sizes": [
    2,
    1
  ],
  "source": [
    0,
    1,
    0
  ],
  "target": [
    0,
    1,
    1
  ],
  "identities": [
    0,
    1
  ],
  "composition": [
    [
      0,
      null,
      null
    ],
    [
      null,
      1,
      2
    ],
    [
      2,
      null,
      null
    ]
  ],
  "maps": [
    [
      0,
      1
    ],
    [
      0
    ],
    [
      0,
      0
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’