Skip to content
docs
Arxo ↗

Northbridge solutions

For LLMs

25 pages in this book.

PageWhat it is for
nb-01 solutions — First permit: facts, a rule and a questionSetup: vehicle_registered(ann) asserted, resident(ann) not asserted. Question: status of truth(permit_eligible(ann)) under the probe program.
nb-02 exercise — solutionNEITHER. The badge supports eligibility through BadgeEligibility, but the defeater FraudBlocksBadge removes that support without deriving the negation (defeat permit_eligible(a) is not then not permit_eligible(a) — compare FraudBlocksBadge (lines 47–51) with FinesRefusal (lines 30–34) in packs/examples/language-demo/permits/package.law). With support removed and no denial derived, neither side has support.
nb-03 solutions: Exceptions and conflicting rulesBob holds a disability badge and has outstanding fines recorded.
nb-04 solutions — The permit feeAnswer: 0.2, the second row (when months >= 12 => 0.2).
nb-05 solutions — Who counts as a suitable applicantAnswer: TRUE_ONLY. The two elements are the definition central_resident(ann) (resident and living in the centre) and the rule conclusion large_household(ann) (count of her household members reaches LARGE_HOUSEHOLD, i.e. 4).
nb-06 solutions — When the register may stay silentAnswer: FALSE_ONLY.
nb-07 solutions — A document is not yet a proven factAnswer: authentic(d, "urn:demo:northbridge:verifier", "verified").
nb-08 solutions — Which edition applies and when the term expiresAnswer: NEITHER — no rule fires.
nb-09 solutions — From permit to duties and powersAnswer: replace the explicit denial with the positive fact for SATISFIED; drop the denial (assert neither) for UNDETERMINED.
nb-10 solutions — A procedure with parallel checksAnswer: the case stays Draft — current_state(st1, Draft) is TRUE_ONLY and any Filed or Review query is NEITHER.
nb-11 solutions — Appeal: reading, judgment and precedentAnswer: second_vehicle(ann) plus permit_eligible(ann) (via resident + vehicle_registered); the clerk’s file fails the eligibility premise.
nb-12 solutions — Allocation in roundsAnswer: the resident filing; the rounds are empty without seed test already proves the outcome.
nb-13 solutions — Repeatable norms without copyingAnswer: with files_late only, late_fined is NEITHER and late_noticed is TRUE_ONLY; adding repeat_late flips only late_fined to TRUE_ONLY. The change belongs to WithRecord/applicable.
nb-14 solutions — Why this answer and what would change itAnswer: big_bill(1) is NEITHER; big_bill(12) is TRUE_ONLY; explain lists the BigBill rule application and the b12 assertion.
nb-15 solutions — Quantities and dimensionsAnswer: 5 km gives TRUE_ONLY (melded scalar 5000/1); 22 kW gives NEITHER — no scalar is melded at all.
nb-16 solutions — Exact computation and proven boundsAnswer: TRUE_ONLY. The fraction form is the exact value, not a terminating-decimal approximation.
nb-17 solutions — Numeric families and support boundariesAnswer: sqrt_self() is TRUE_ONLY; sqrt_x() is NEITHER. The left-hand sides are identical calls; the right-hand sides differ — self versus a foreign derivation.
nb-18 solutions — Vocabulary and package compositionAnswer: NEITHER. The resident half holds; the counter half has no support, so the conjunction never fires.
nb-19 solutions — Unknown, presumed and deemedSetup: demo.northbridge.unknown (packs/examples/language-demo/unknown/), suite 17/17 green. Command for every check below:
nb-20 solutions — Sources, time, and outside dataThree places change, in this order — bytes, hashes, delta:
nb-21 solutions — Positions live, files move, readings decideAnswer: the sublet fact (sublet-ann); the power without grounds does not operate test already proves the outcome.
nb-22 solutionscause = some repeat_inquirer in RepeatFee: the generated rule carries if some cause as g { when g(subject); }, so without a repeat_inquirer fact the premise is unsatisfied and the rule cannot fire — callback_fee is NEITHER, exactly what fee needs the repeat record asserts. cause = none in FirstNotice: the optional premise vanishes, so inquiry_filed alone suffices and callback_notice is TRUE_ONLY. If you predicted NEITHER for the fee, you read the option correctly; if you predicted FALSE_ONLY, re-read nb-01 — an unsatisfied premise is silence, not a refusal.
nb-23 solutions — Numbers and the standard libraryAnswer: the four-way split fires at 470 KZT; the three-way split carries INEXACT_DIVISION instead of a rounded amount.
nb-24 solutions — Neighbor constructs, nine mistakes and three decision tasksBob is badge-holding and fined, lives in the outer zone, and pays the fee three times at 10 EUR.
nb-25 solutions — Capstone caseBob files: resident with a registered car, twelve-month term, filed 1 March, no hold, single filing copy.

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

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