Elamur GroupantsโŒ•
โ˜ฐ

world-mentions

The groupant beside world/src/mentions.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

componentlabelwhere
approximantpartial source modelforward
astpartialsyntax.json
compositionpartial source modelcomposition
costpartial source modelcost
descriptantpartial source modelepoch-memory
invariantpartial source modelinvariant
testspartial source modelchecks

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.

idtypelabelwhere
world-mentions-behavior-complementbehavior_complementpartial source modelbehavior-complement
world-mentions-reverse-reconstructionreverse_reconstructionpartial source modelreverse-reconstruction
world-mentions-score-fiberreverse_reconstructionpartial source modelscore-fiber
world-mentions-identity-exclusionconstraint_relationpartial source modelidentity-exclusion
world-mentions-tie-boundarypriority_relationpartial source modeltie-boundary
world-mentions-question-contextstate_transitionpartial source modelquestion-context
world-mentions-dependency-gatesconstraint_relationpartial source modeldependency-gates
world-mentions-lexical-lossinformation_losspartial source modellexical-loss

Parts

Model text

model

world-mentions

Source-bound deterministic projections, with explicit dependency and observation boundaries.

forward

Tokenize normalized text by alphanumeric/$ boundaries; scan sentence numbers in order; infer thing/adj/verb/context/rate and holder comparison heuristically. Optional tree features precede optional global known facts. fit = 4thing_match + sum_adj(3 if matched else -1) + 2nonempty_verb_match + 2*own_context_matches. best excludes every full-field equal Mention to not, then accepts only a unique strictly positive maximum. more_than selects A then excludes A while selecting B and returns absolute difference; sum_of gates on question cues and at least two selected mentions. Arithmetic domain here requires representable i64 sums/differences.

behavior-complement

Type: behavior_complement. For admissible input/observation pairs U with dependencies fixed, N = {(x,y) in U : y != F(x)}. This is the exact complement of the stated scoped mathematical relation, and only a source-derived hypothesis about unsampled Rust behavior. Unknown external transitions are outside U, not forbidden. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

reverse-reconstruction

Type: reverse_reconstruction. B(y) = {x in D : F(x)=y}, retaining every compatible antecedent and fixed dependency state. Thus x belongs to B(F(x)); unique recovery requires injectivity. Enumeration establishes complete fibers only on each named bounded test domain. Strings, omitted fields and hidden configuration are not recoverable from a projected output. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

score-fiber

Type: reverse_reconstruction. The score projection forgets value, sentence, rate, raw words, holder and tree. The 256 own/shared mask pairs partition into score fibers; shared-only context contributes zero. Distinct descriptions can therefore have equal scores. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

identity-exclusion

Type: constraint_relation. best uses derived full Mention equality, not pointer or occurrence identity. Excluding a record removes all exact duplicates, while changing sentence alone restores eligibility without changing fit; native equality_exclusion_and_identity_projection is the witness. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

tie-boundary

Type: priority_relation. On 64 triples of two-bit thing/verb features, enumerate the unique positive maximum independently. Zero winners, all nonpositive scores or multiple maximum occurrences return None; stable sort order cannot resolve a tie. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

question-context

Type: state_transition. with_question controls told question mentions, while asked_holder scans questions in either mode. Thus filtering all-mode output need not always equal story-mode output when question holder transitions affect later sentences; the native fixture has a final question. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

dependency-gates

Type: constraint_relation. MOVA_TREE exactly 1 enables parse features; MOVA_NOFACTS absent enables facts only for all-mode. MOVA_DICTFACTS presence enables dictionary fallback when global measures are empty. Known-fact value dedup ignores units and emits sentence usize::MAX. These environment-sensitive paths are source-inspected only. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

lexical-loss

Type: information_loss. words lowercases and splits hyphens/sign punctuation; stem strips one ordered suffix after irregular mapping. This is a matching key, not morphological identity. Names are collected only from noninitial capitalized words; holder truth can remain None even for an English name. Subject/revision: this manifest's source hash. Domain and observation are restricted by forward and the named view. Evidence is finite native correspondence where named, otherwise source inspection; no universal Rust proof.

invariant

Preserve ordered observations and all compatible antecedents; input indices and arithmetic must satisfy the scoped preconditions. Equality of a projection does not identify original text or intended meaning. Knowledge tables and normalization are part of the input context.

cost

For n tokens and m mentions, nested scans can be O(n^2) plus ordered-set/string costs; fit O((adj+ctx+1)*log d) comparisons for d description words; best O(m log m) sort and O(m) auxiliary entries. Parsing, normalization, dictionary facts and global lookup costs are external. Cache retains parsed sentence data without eviction; no speed claim.

composition

Compose fragment relations by joining shared token order, Mention/Node fields and the same dependency snapshot. Reverse composition is a union over compatible intermediate states, not a Cartesian product of independent fibers. Root includes CLI/reporting and inline tests beyond the scoped fragments. Partial syntax does not resolve types, expand macros or prove semantics.

checks

Run cargo test -p world --lib mentions::wave8_models -- --test-threads=1. Root evidence.md records repeated profiles, compiled controls and syntax identity. Each fragment inherits only checks addressing its source scope.

epoch-memory

2026-10-30: first epoch. Prediction before tests: bounded native models match deterministic scoring/role projection and preserve ambiguity; changing a score weight or admitting proper names should reject. No production behavior change is proposed. Case normalization, full-field equality and first-child priority are observable policy, not semantic identity.

limitations

No live annotator, teacher, GPU, training or filesystem report pipeline is exercised. Global tables are fixed build dependencies; parser cache/environment and report I/O are opaque. Native finite fixtures are not language-accuracy validation. No useful numeric approximation metric is established for categorical outputs; executable surrogates remain absent. CLI malformed-tree indexing and i64 overflow outside representable arithmetic domains remain unverified.

evidence

Native correspondence evidence

2026-10-30. Five new tests per source, ten combined. No production behavior changed. Ten pass twice debug and twice release; normalized identities/results identical. Restored source passes ten again. Filter: wave8_models with --test-threads=1. Existing unrelated compiler warnings remain.

Source SHA-256: a2a239daf36ac4f2d4ceba92ecebdbd7a519128ff01f57a0e9041eaf7c1215dd. Partial syntax SHA-256: 28ef4a820b2a2a817d0df88a6f0b13c3001280c76ef108537c58ac9e1d1e0984. Syntax generated twice and byte-compared. Isolated structural checks cover each source and three fragments; ancestor integration is separate.

Mentions checks 256 score cells, 64 unique-maximum triples, equality exclusion, lexical loss, question/rate/context and holder dependencies. Sense checks 24 relation/voice/POS cells, four attachment fibers, lexical anchors, swap precedence and active/passive projections.

Compiled production mutants: thing score 4 to 5 fails weighted_score_oracle_and_fibers; admitting PROPN as noun fails argument_projection_table_oracle. Both compile and reach named assertion failures; both restored safely.

External run label: octopus-wave8-mentions-2026-10-30. Relative evidence names and SHA-256:

Limits: bounded native evidence, no parser/teacher/live state, gold report I/O, language accuracy or performance claims. i64 results must be representable; malformed reporting indices remain outside tested scope. Initial reduced registries against the whole repo failed omitted ownership/unreachable-node checks; corrected validation uses isolated snapshots and full temporary registry wiring.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/world/src/mentions.rs.groupant/