world-meanings-operations
The groupant beside world/src/meanings.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 source model | forward |
| ast | partial | ../syntax.json |
| composition | partial source model | composition |
| cost | partial source model | cost |
| descriptant | partial source model | epoch-memory |
| invariant | partial source model | invariant |
| tests | partial source model | checks |
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 |
|---|---|---|---|
world-meanings-operations-behavior-complement | behavior_complement | partial source model | behavior-complement |
world-meanings-operations-reverse-reconstruction | reverse_reconstruction | partial source model | reverse-reconstruction |
world-meanings-operations-override-priority | priority_relation | partial source model | override-priority |
Model text
Scope: partial source-bound relations over the observations named below. Sufficient memory and terminating dependencies assumed. This is not a universal proof or an executable percentage-error approximant.
forward
entry_word lowercases, prefers exact record, then ordered suffix candidates of length>2. op_of selects frozen map when MOVA_LIVEOPS absent and map nonempty; exact '0' blocks fallback then becomes None. Live mode may retry euphemism base when its own operation is absent. operation_record counts opening lesson cues plus STRONG pupil cues excluding entry word; unique positive plurality wins. facts_in appends qualified numbers/stemmed units. improved_from keeps last lowercase-key row.
invariant
Tied/all-zero cue counts produce None. Fixed resources/configuration yield deterministic projection. Cache key is original spelling, distinct from lowercase entry identity. TSV dates empty; extra fields ignored; last duplicate wins.
cost
k lexical tokens: O(k) fixed-table comparisons plus four-element sort. Dictionary suffix lookup O(log D) comparisons each. Fact normalization/lookup add upstream cost; cache retrieval clones output. TSV O(B+r log D) comparison-weighted with stored accepted strings.
composition
op_in resolves records then calls extracted operation_record with unchanged cue logic. Synthetic tests enter only that helper, no static resource initialization.
behavior-complement
Type: behavior_complement. Subject: world-meanings-operations, 2026-10-30. Observation: one completed transition in the stated domain; effects included only where named. Status: partial source model. Supplied-record universe: no lesson cues and no STRONG pupil cues implies None; a tie cannot emit an operation. Source-derived inner bound assumes fixed cue tables.
reverse-reconstruction
Type: reverse_reconstruction. Subject: world-meanings-operations, 2026-10-30. Observation: one completed transition in the stated domain; effects included only where named. Status: partial source model. All count vectors with same unique winner share output; silence/ties share None. Definition text and suffix choice cannot be uniquely recovered.
override-priority
Type: priority_relation. Subject: world-meanings-operations, 2026-10-30. Observation: one completed transition in the stated domain; effects included only where named. Status: partial source model. Exact entry precedes ies/es/s/ed/ed/d/ing/ing candidates; <=2-byte candidates excluded. Frozen '0' is found before filtering and forbids base retry. Routing source-inspected; supplied-record helper executed.
checks
Native synthetic tests: cargo test -p world --lib meanings::wave9_models -- --test-threads=1. Test bodies define finite domains and fixtures. File-level evidence.md records repeated debug/release checks and a compiled negative control. No parser acquisition, teacher request, dictionary write or external assessment executed. Orchestration boundaries are source inspection only.
epoch-memory
2026-10-30: first scoped model. Retain ambiguous fibers, source-order rules and distinction between lexical evidence and truth. Tests observe actual helpers; they do not substitute surrogates into production. Macro token bodies in partial syntax remain opaque. Future updates must rebind exact source bytes and retain these limits. No performance or task-quality improvement inferred.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/world/src/meanings.rs.groupant/operations.groupant/