nb-19 solutions — Unknown, presumed and deemed
Exercise (article section 9)
Section titled “Exercise (article section 9)”Setup: demo.northbridge.unknown
(packs/examples/language-demo/unknown/), suite 17/17 green.
Command for every check below:
law test packs/examples/language-demo/unknownAnswers
Section titled “Answers”-
truth(resident(carl))isFALSE_ONLY: Carl is on file and the closureFileCompleteturns the missing record into an explicit denial inside its domain.truth(permit_ok(carl))isNEITHER: the closure coversresidentonly, soGranthas no established premise andDenyListedhas none either. The declaration that explains the difference is the closure’spredicate residentline — completeness is per predicate, never file-wide. -
With application and unknown residence,
truth(needs_review(ann))isTRUE_ONLY(not_knownholds on silence) whiletruth(cleared(ann))isNEITHER(no denial, soClearWhenDenieddoes not fire). After assertingnot resident(ann), only the second flips —clearedbecomesTRUE_ONLY;needs_reviewstaysNEITHERbecause residence is now decided (denied counts as established-against, sonot_knownno longer holds). -
truth(standing(ann))isNEITHER: the presumptionStandingfires on her application but the unpaid record rebuts it viaunless, withdrawing the conclusion without denying it.truth(received(ann))isNEITHERtoo, but answered by the fictionDeemedReceipt: nothing was posted, and fiction needs its trigger — it is not a default. The fine touches only standing becauseunless unpaid(a)belongs to the presumption alone; the fiction has nounlessand no rebuttal path. -
With the fee record wholly absent, the constraint reports nothing and
late_feeis not derived. Both mechanisms need the explicit denial: the constraint’srequire fee_ok(a)fires only against established-against support, andLateFee’snot fee_ok(a)condition likewise needs the denial, not mere silence. Difference from the suite case:assert not fee_oksupplies support-against (finding plus consequence), while total absence supplies nothing (neither). -
truth(resident(ann))isBOTH— contradiction is preserved, neither record cancels the other.Grantdoes not fire for her: a rule that needsresident(a)established does not run on a disputed premise, sotruth(permit_ok(ann))isNEITHER.
Checkable tests
Section titled “Checkable tests”Questions 1–3 and 5 replay suite tests verbatim
(closure: on file without a record is denied,
closure does not leak to other predicates,
unknown triggers review, silence does not clear,
denial clears, presumption holds by default,
rebuttal withdraws the presumption, fiction needs its trigger,
contradiction is both). Question 4 was verified 2026-10-02 with a
scratch probe (/tmp/nb19-probe/probe.law, copy of the package;
law engine test /tmp/nb19-probe/probe.lawtest --program /tmp/nb19-probe/probe.law):
test FAIL: probe: issued, fee record wholly absent truth_status == TRUE_ONLY: в документе NEITHERtest FAIL: probe: issued absent-fee, issue present issue(CONSTRAINT_VIOLATED): в документе нетtest FAIL: probe: disputed premise and grant truth_status == TRUE_ONLY: в документе NEITHER(All three probes fail as designed: late_fee is NEITHER, no
issue is present, and Grant does not fire on a disputed premise.)
Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.