Choose the kind of a relation
Intent
Section titled “Intent”I want to name the nature of a fact without attributing evidential force to metadata.
The same truth holds under a different kind.
Wrong form and why it stays silent
Section titled “Wrong form and why it stays silent”relation received(d: Letter) kind empirical;fiction Receipt strict { for d: Letter; when delivered(d); deem received(d); }kind itself does not change truth. Warning E1309 shows a wrong choice of an empirical fiction head; it does not block derivation.
Correct form
Section titled “Correct form”language "law.core" version "0.2";package recipes.g.r09 version "0.1.0";namespace "urn:recipe:g-concepts:09";
entity Letter;relation delivered(d: Letter);relation received(d: Letter) kind institutional;fiction Receipt strict { for d: Letter; when delivered(d); deem received(d); }Frozen execution scene
Section titled “Frozen execution scene”| Facts on 13.09.2026 | Question | Answer |
|---|---|---|
| institutional head | truth(received(entity_ref("urn:recipe:g-concepts:09:p"))) | truth_status == TRUE_ONLY; / COMPUTED |
| no producer | truth(received(entity_ref("urn:recipe:g-concepts:09:p"))) | truth_status == NEITHER; / COMPUTED |
institutional head derives
test "institutional head derives" { given { context { legal_time @2026-09-13; decision_time @2026-09-13T09:00:00+05:00; knowledge_time @2026-09-13T09:00:00+05:00; timezone "Asia/Almaty"; } assert delivered(entity_ref("urn:recipe:g-concepts:09:p")); } evaluate truth(received(entity_ref("urn:recipe:g-concepts:09:p"))); expect truth_status == TRUE_ONLY; expect evaluation_status == COMPUTED;}no producer stays unknown
test "no producer stays unknown" { given { context { legal_time @2026-09-13; decision_time @2026-09-13T09:00:00+05:00; knowledge_time @2026-09-13T09:00:00+05:00; timezone "Asia/Almaty"; }
} evaluate truth(received(entity_ref("urn:recipe:g-concepts:09:p"))); expect truth_status == NEITHER; expect evaluation_status == COMPUTED;}kind institutional is replaced with empirical: E1309 warns, but truth remains TRUE_ONLY.
empirical-head variant derives receipt directly
test "empirical-head variant derives receipt directly" { given { context { legal_time @2026-09-13; decision_time @2026-09-13T09:00:00+05:00; knowledge_time @2026-09-13T09:00:00+05:00; timezone "Asia/Almaty"; } assert delivered(entity_ref("urn:recipe:g-concepts:09:p")); } evaluate truth(received(entity_ref("urn:recipe:g-concepts:09:p"))); expect truth_status == TRUE_ONLY; expect evaluation_status == COMPUTED;}>>> import runpy>>> check = runpy.run_path("docs/recipes/g-concepts/resources/check.py")>>> check["check_variant"](https://github.com/arxohq/law/blob/master/docs/recipes/g-concepts/9)'Г9: контрфактуал подтверждён; lawc = lawref'Counterfactual
Section titled “Counterfactual”Mutation relation received(d: Letter) kind institutional; → relation received(d: Letter) kind empirical;: LDC-E1309 (warning, exit code 0).
Boundary
Section titled “Boundary”A policy may read kind, but this program has no such policy. The institutional label does not create source authority and does not turn an empirical observation into a reliable one.
Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.