Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/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 finit

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/set-functor-grothendieck-category

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/set-functor-grothendieck-category", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"composition":[[0,null,null],[null,1,2],[2,null,null]],"fiber_sizes":[2,1],"identities":[0,1],"maps":[[0,1],[0],[0,0]],"source":[0,1,0],"target":[0,1,1]}),
});
console.log(await res.json());

Example input

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