{
  "code": null,
  "collection": "algorithms",
  "href": "https://banes-lab.com/ontology/algorithms#algorithms-pag-well-formedness-validation",
  "id": "pag-well-formedness-validation",
  "kind": "algorithm",
  "layer": null,
  "name": "PAG Well-Formedness Validation",
  "ref": "algorithms:pag-well-formedness-validation",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-pag",
          "json": "https://banes-lab.com/json/records/algorithms-domain/pag",
          "label": "Pattern Abstract Grammar",
          "markdown": "https://banes-lab.com/records/algorithms-domain/pag.md",
          "ref": "algorithms-domain:pag"
        }
      ],
      "relation": "domain"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#stage-terminate",
          "json": "https://banes-lab.com/json/records/stage/terminate",
          "label": "terminate",
          "markdown": "https://banes-lab.com/records/stage/terminate.md",
          "ref": "stage:terminate"
        }
      ],
      "relation": "stage"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-axis-termination",
          "json": "https://banes-lab.com/json/records/reasoning/axis-termination",
          "label": "termination",
          "markdown": "https://banes-lab.com/records/reasoning/axis-termination.md",
          "ref": "reasoning:axis-termination"
        }
      ],
      "relation": "axis"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-domain-tier-process",
          "json": "https://banes-lab.com/json/records/vocabulary/domain-tier-process",
          "label": "process",
          "markdown": "https://banes-lab.com/records/vocabulary/domain-tier-process.md",
          "ref": "vocabulary:domain-tier-process"
        }
      ],
      "relation": "tier"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-pag-validation-gate",
          "json": "https://banes-lab.com/json/records/algorithms/pag-validation-gate",
          "label": "PAG Handoff Gate",
          "markdown": "https://banes-lab.com/records/algorithms/pag-validation-gate.md",
          "ref": "algorithms:pag-validation-gate"
        },
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-pag-explicit-control-flow",
          "json": "https://banes-lab.com/json/records/algorithms/pag-explicit-control-flow",
          "label": "PAG Explicit Control Flow",
          "markdown": "https://banes-lab.com/records/algorithms/pag-explicit-control-flow.md",
          "ref": "algorithms:pag-explicit-control-flow"
        }
      ],
      "relation": "composes"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-pag-authoring-kernel",
          "json": "https://banes-lab.com/json/records/algorithms/pag-authoring-kernel",
          "label": "PAG Authoring Kernel",
          "markdown": "https://banes-lab.com/records/algorithms/pag-authoring-kernel.md",
          "ref": "algorithms:pag-authoring-kernel"
        }
      ],
      "relation": "derived-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-math-type-logic",
          "json": "https://banes-lab.com/json/records/reasoning/math-type-logic",
          "label": "Logic",
          "markdown": "https://banes-lab.com/records/reasoning/math-type-logic.md",
          "ref": "reasoning:math-type-logic"
        }
      ],
      "relation": "math-type"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#force-correctness-verification",
          "json": "https://banes-lab.com/json/records/force/correctness-verification",
          "label": "Correctness verification",
          "markdown": "https://banes-lab.com/records/force/correctness-verification.md",
          "ref": "force:correctness-verification"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#force-model-governance",
          "json": "https://banes-lab.com/json/records/force/model-governance",
          "label": "Model governance",
          "markdown": "https://banes-lab.com/records/force/model-governance.md",
          "ref": "force:model-governance"
        }
      ],
      "relation": "force"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-pag",
          "json": "https://banes-lab.com/json/ontology/algorithms/algorithms-domain-pag",
          "label": "Pattern Abstract Grammar",
          "markdown": "https://banes-lab.com/ontology/algorithms/algorithms-domain-pag.md",
          "ref": "chapter:/ontology/algorithms#algorithms-domain-pag"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-loop-derivation-loop",
          "json": "https://banes-lab.com/json/ontology/reasoning/reasoning-loop-derivation-loop",
          "label": "The derivation loop",
          "markdown": "https://banes-lab.com/ontology/reasoning/reasoning-loop-derivation-loop.md",
          "ref": "chapter:/ontology/reasoning#reasoning-loop-derivation-loop"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#the-axes",
          "json": "https://banes-lab.com/json/ontology/reasoning/the-axes",
          "label": "The axes",
          "markdown": "https://banes-lab.com/ontology/reasoning/the-axes.md",
          "ref": "chapter:/ontology/reasoning#the-axes"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#the-mathematics",
          "json": "https://banes-lab.com/json/ontology/reasoning/the-mathematics",
          "label": "The mathematics",
          "markdown": "https://banes-lab.com/ontology/reasoning/the-mathematics.md",
          "ref": "chapter:/ontology/reasoning#the-mathematics"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-domain-tier",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-domain-tier",
          "label": "Domain tiers",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-domain-tier"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-forces",
          "json": "https://banes-lab.com/json/ontology/schema/the-forces",
          "label": "The forces",
          "markdown": "https://banes-lab.com/ontology/schema/the-forces.md",
          "ref": "chapter:/ontology/schema#the-forces"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "summary": "Scan a PAG document for structural and epistemic defects, each named for the shape it catches — a retired unit head, a node without a gate, a check without evidence, a gate without a population or with an empty one, an unknown left unrouted, a write without a refusal, an artifact without freshness, a node declared twice, an input naming no source, an invariant missing its set, parties or objector, a bare invariant block, a lowercase keyword, a bare FOR, a missing colon, a vague condition — and emit a token-based, regex-free verdict.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-pag-instruction-concern",
      "json": "https://banes-lab.com/json/records/algorithms/pag-instruction-concern",
      "label": "<PAG Instruction Concern>",
      "markdown": "https://banes-lab.com/records/algorithms/pag-instruction-concern.md",
      "ref": "algorithms:pag-instruction-concern"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-pag-authoring-kernel",
      "json": "https://banes-lab.com/json/records/algorithms/pag-authoring-kernel",
      "label": "PAG Authoring Kernel",
      "markdown": "https://banes-lab.com/records/algorithms/pag-authoring-kernel.md",
      "ref": "algorithms:pag-authoring-kernel"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/algorithms",
    "label": "Algorithm contracts",
    "markdown": "https://banes-lab.com/api/records/algorithms.md",
    "ref": "api:records/algorithms"
  },
  "closure": "https://banes-lab.com/json/records/algorithms/pag-well-formedness-validation/closure"
}
