Skip to content
docs
Arxo ↗

Check that an example is sensitive to the rule

For LLMs7 sections

I want to prove that the promised answer depends on the shown rule.

A behavioural witness is separated from a mere hash change: the outcome must differ, not just the bytes.

A green answer without deleting the decisive form does not yet check the pitfall.

Incorrect form
// Только eligible(p), вопрос registered(p), ожидается TRUE_ONLY.
// Правило Register забыли включить в программу.

A self-contained witness:

Arxo Law
language "law.core" version "0.2";
package recipes.n.r13 version "0.1.0";
namespace "urn:recipe:n-package:13";
entity Person;
relation eligible(p: Person);
relation registered(p: Person);
rule Register strict { for p: Person; when eligible(p); then registered(p); }

A local pair:

FactsQuestionAnswer
eligible(p) and the Register ruleregistered(p)TRUE_ONLY
Same facts, Register cut outregistered(p)NEITHER

The sidecar cuts the full Register declaration through without. The same input becomes NEITHER; the outcome is checked, not a hash change.

A surviving mutation does not prove equivalence, and a killed one does not prove completeness of the formalization.

Changing a label or a single hash does not count as behavioural detection of a mutant. Here the witness is the difference between Established and Not established, not refuted on one input.

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.