NEUROSYMBOLIC PATTERN · SYNTHETIC EXAMPLE

A confident answer still needs permission.

A draft says a purchase is approved. Before accepting it, check the request against explicit authority rules and approval records. Change the evidence and see the result.

Scripted draft, live rules. No language model runs here. The draft illustrates a possible unsupported model answer; the deterministic checks execute locally.

The request

Request PR-104 · requester Alex · policy POL-01: Alex may self-approve up to $10,000. Larger requests require director approval tied to this request and its current amount.

GENERATION WITHOUT THE RULE GATE

A plausible draft

“Approved. Alex can proceed with this purchase.”

The example draft asserts permission without establishing the required authority. In a real system, a generative model could also answer correctly or abstain; this is a deliberately selected failure case.

DRAFT + EXPLICIT RULES + RECORDS

Check before accepting

Requires JavaScript to run the check.

At the default $12,500 amount, Alex’s $10,000 limit is insufficient and no director approval is recorded. The approval claim must be blocked.

    See the rule and evidence model

    PR-104 → requestedBy → Alex; Alex → approvalLimitUSD → 10000

    allow = amount ≤ requesterLimit OR (directorApproval.request = PR-104 AND directorApproval.amount = amount AND directorApproval.role = Director)

    The selected director evidence is synthetic and assumes an authenticated record from an authorized director. “No record” means permission has not been established; it does not prove that approval could never exist.

    What neurosymbolic adds

    The neural part proposes language or extracts a claim. The symbolic part applies explicit relations and constraints before that claim is accepted. Here you can inspect the exact rule and the evidence behind the result. The checker blocks unsupported approval and replaces it with a bounded explanation.

    What this does not prove

    Generative systems can hallucinate; they do not hallucinate on every answer. Rule checks catch defined violations, not every possible error. Incorrect rules, forged evidence, extraction mistakes and missing context can still cause failures. Production use needs authenticated records, authorization checks and human review. This demo cannot approve a real purchase.

    Assess an AI workflow