Skip to content
Fourohtwo

detect.halowerk.com/v1/F-B-NIGHT-FINITE-STRUCTURES/drat-cnf-refutation-certifica

Returns whether a supplied proof actually certifies UNSAT andwhere it firstfails, including RAT steps notRUP anddeletions, for a SAT-integration test agent. GenericSATmodel/unsatisfiability endpoint cannotvalidate this suppliedsequence.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-B-NIGHT-FINITE-STRUCTURES/drat-cnf-refutation-certificate-check

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://detect.halowerk.com/v1/F-B-NIGHT-FINITE-STRUCTURES/drat-cnf-refutation-certificate-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"drat":{"claim":{"accepted_additions":3,"deletion_steps":0,"first_invalid_step":null,"ignored_absent_deletions":0,"proof_prefix_valid":true,"rat_additions":1,"refutation_verified":false,"rup_additions":2,"steps_checked":3},"clauses":[[1,2],[1,-2],[-1,2],[-1,-2]],"steps":[{"clause":[3],"kind":"add"},{"clause":[1],"kind":"add"},{"clause":[],"kind":"add"}],"variables":3}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "drat": {
      "claim": {
        "accepted_additions": 3,
        "deletion_steps": 0,
        "first_invalid_step": null,
        "ignored_absent_deletions": 0,
        "proof_prefix_valid": true,
        "rat_additions": 1,
        "refutation_verified": false,
        "rup_additions": 2,
        "steps_checked": 3
      },
      "clauses": [
        [
          1,
          2
        ],
        [
          1,
          -2
        ],
        [
          -1,
          2
        ],
        [
          -1,
          -2
        ]
      ],
      "steps": [
        {
          "clause": [
            3
          ],
          "kind": "add"
        },
        {
          "clause": [
            1
          ],
          "kind": "add"
        },
        {
          "clause": [],
          "kind": "add"
        }
      ],
      "variables": 3
    }
  }
}