court-extract-force
The groupant beside yom-hadin/src/extract.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.
Facts
Implementation material. A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.
Components
| component | label | where |
|---|---|---|
| approximant | partial | approximant |
| ast | partial | ../syntax.json |
| cost | partial | model.md |
| descriptant | present | descriptant |
| invariant | partial | Invariant |
| tests | finite native checks | tests |
Obernants
The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.
| id | type | label | where |
|---|---|---|---|
behavior_complement | behavior_complement | partial source derived model | behavior_complement |
reverse_reconstruction | reverse_reconstruction | partial source derived model | reverse_reconstruction |
attribute_precedence | attribute_precedence | partial source derived model | attribute_precedence |
sanction_polarity | sanction_polarity | partial source derived model | sanction_polarity |
passive_lexicon | passive_lexicon | partial source derived model | passive_lexicon |
guilt_entity_selection | guilt_entity_selection | partial source derived model | guilt_entity_selection |
Model text
descriptant
Ordered lexical/modal projection to optional Force.
Epoch 2026-10-31
Prospective review preceded test edits. Runtime logic unchanged; three sources gain tests. Synthetic witnesses do not validate legal conclusions.
Composition: Copular attr list order, guilt entity, passive markers, then modal branches choose first supported Force.
Retained limits: partial syntax, opaque macros; no live corpus, teacher, parser model, production filesystem or frozen gold. Complete semantics and executable approximants remain open.
approximant
Forward model
Ordered lexical/modal projection to optional Force.
Copular attr list order, guilt entity, passive markers, then modal branches choose first supported Force.
Not an executable substitute. Percentage approximation is unsupported without a useful metric; future profiles limited to 1/2/5/10% require actual-reference comparison.
models
Typed models: Ordered lexical/modal projection to optional Force.
Subject: yom-hadin/src/extract.rs, SHA-256 4df25340c2de0143478dac2f2b0777d937157f8f6f05706d0d84d301dbf49db2. Domain: bounded finite synthetic rules/cases; valid indices and successful allocation unless a section narrows this. Each relation observes implementation, not legal authority. Status: partial source-derived model, finite evidence mapped in tests.md.
behavior_complement
A positive ordinary May frame cannot yield Obligation; negative Must cannot yield positive Liability through sanction branch.
Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.
reverse_reconstruction
Fix Force output: all frames satisfying its first reachable ordered branch are compatible, including arbitrary ignored role fields. None includes no modal and unsupported modal.
Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.
attribute_precedence
First recognized attr returns immediately, even when later attr or modal suggests different Force.
Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.
sanction_polarity
Must/Shall/Ought positive active restricted sanction or passive sanction gives Liability; negation diverts to Prohibition.
Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.
passive_lexicon
Passive forbid/permit/exempt/require variants can decide without modal; negation chooses listed inverse category rather than boolean inversion of any force.
Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.
guilt_entity_selection
Copula agent.or(patient) chooses agent first; only selected entity guilt membership/determiner no is consulted.
Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.
tests
Checks and evidence
External run label: octopus-wave31-court-2026-10-31; exact commands in native-commands.json, per-source observations in source-test-map.json, numeric exits and named outcomes in raw logs.
19 exact selected native tests twice debug and twice release execute actual linked code on bounded hand-built cases. CLI covers argument helpers only. Full extraction/model initialization, actual jurisdiction loading, protocol disk errors, resource exhaustion and malformed public lattices are unexecuted. Module declarations have compile evidence only.
Three compiled source-behavior mutants: count weight, precedence tie, modal tie; each requires compile success, named assertion failure, exact byte/hash restoration and positive rerun. Legacy fixture interventions count separately. Final observations: external evidence-summary.md.
This node observes: Ordered lexical/modal projection to optional Force.. Unmapped models remain source-derived/prospective, not verified by the whole test count.
Parent source witness map: source-evidence.md. Only the described fragment observation is supported; parent test names do not imply every fragment branch executed.
invariant-and-cost
Invariant and cost
Invariant
Input frame unchanged; absent lexical marker and modal yields None.
Cost
O(attrs+obliques) with fixed small word tables.
Symbolic bounds, not timings. Resource exhaustion is not tested.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/yom-hadin/src/extract.rs.groupant/force.groupant/