Elamur GroupantsโŒ•
โ˜ฐ

rt-mixed-link

The groupant beside tools/roundtrip/src/mixed/link.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
approximantpartialapproximant
astpartialsyntax.json
compositionpartialcomposition
costsymbolic source derivedinvariant
descriptantpresentdescriptant
invariantpartialinvariant
testsexecuted bounded checkstests

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
behavior_complementbehavior_complementpartial source derived modelbehavior_complement
reverse_reconstructionreverse_reconstructionpartial source derived modelreverse_reconstruction
greedy_ordergreedy_orderpartial source derived modelgreedy_order
gold_partitiongold_partitionpartial source derived modelgold_partition
normalization_fibernormalization_fiberpartial source derived modelnormalization_fiber
rename_scoperename_scopepartial source derived modelrename_scope

Parts

Model text

descriptant

Descriptant

Prospective epoch

2026-10-31 source review predicted: Lex normalizes Hebrew letters and English collapsed whitespace. link processes verse candidates then names, accepting first eligible pair only if Hebrew key and English value unused; None returns empty. rename touches entity IDs and coordinated IDs in roles/obliques; inverse reverses the map. Resource model: Pair enumeration O(H*E) with entity scans and gloss/map logarithmic lookup; normalization/string costs explicit; output memory O(accepted links+examples capped at1000). External prospective.md predates test additions and preserves APIs, effect order, hazards and interaction hypotheses.

Observed epoch

Bounded real helper checks in tests.md constrain these models; syntax is a partial lexical projection with no macro expansion, name resolution or proof. Production expressions unchanged; six inline test modules added. Compiled mutants are temporary and exactly restored. Existing malformed-input and nonfinite domains remain explicit, not silently repaired. Parent composes this scope with siblings without adding overlapping costs twice.

Finite synthetic helper evidence only; live corpora, parser/model loading, full orchestration and filesystem failure races excluded.

approximant

Forward relation

Lex normalizes Hebrew letters and English collapsed whitespace. link processes verse candidates then names, accepting first eligible pair only if Hebrew key and English value unused; None returns empty. rename touches entity IDs and coordinated IDs in roles/obliques; inverse reverses the map.

Domain: Stable piece/frame order; valid frames; finite counters without overflow. Arbitrary inverse maps may collide; roundtrip rename additionally requires original renamed IDs not to collide with untouched target-domain IDs.

invariant

Invariant and cost

Invariant

Stable piece/frame order; valid frames; finite counters without overflow. Arbitrary inverse maps may collide; roundtrip rename additionally requires original renamed IDs not to collide with untouched target-domain IDs.

Cost

Pair enumeration O(H*E) with entity scans and gloss/map logarithmic lookup; normalization/string costs explicit; output memory O(accepted links+examples capped at1000).

Limits

Finite synthetic helper evidence only; live corpora, parser/model loading, full orchestration and filesystem failure races excluded. No percentage surrogate is implemented: categorical parsing/effect observations lack an admitted numerical error metric. Any future profile must define its metric/domain and use only1/2/5/10 percent caps.

composition

Local composition

Lex normalizes Hebrew letters and English collapsed whitespace. link processes verse candidates then names, accepting first eligible pair only if Hebrew key and English value unused; None returns empty. rename touches entity IDs and coordinated IDs in roles/obliques; inverse reverses the map.

Children select narrow source functions with their exact byte intervals. Remaining branches stay in the file model; fragments are not exhaustive partitions. Calls and state joins follow the forward relation, not folder order. Shared scans/helpers are counted once in whole-file costs. Complement of composition is not union of complements; reverse composition retains compatible intermediates and caller premises.

models

Typed source-bound relations

Subject: exact source SHA-256 in manifest. Domain and resource premises are in invariant.md. Each model is partial, source-derived, over a single helper invocation or the described finite trace. Complements are proposed inner exclusions under those premises; reverse relations retain all compatible antecedents, with no unique inverse claim. The oracle is the named checks in tests.md; unexecuted cases remain hypotheses. No numerical approximation certificate.

behavior_complement

Excluded: None produces links; accepted link relation duplicates an English value. Names need not share verses and unverified links do not establish correctness.

reverse_reconstruction

Returned map admits many gloss dictionaries, verses and duplicate candidate histories. Injective map inverse recovers mapped IDs under no-collision premise, not lost dictionary text.

greedy_order

First matching English entity can already be taken; code does not search a second candidate after rejection.

gold_partition

right+wrong+unverified equals accepted verse+name links on nonoverflowing execution.

normalization_fiber

Consonants and collapsed spaces erase distinctions; same normalized keys need not identify unique input text.

rename_scope

Only entity id and and lists change; verbs, attributes, pronoun fields remain fixed.

tests

Checks and evidence

Named source/helper checks: mixed::link::wave32_tests::greedy_links_and_inverse.

Wave32 on2026-10-31:10 distinct exact tests passed twice debug and twice release, with equal sorted named outcomes. This node claims only its listed subset; empty subset means source review only. Five actual source-behavior mutants compiled, failed assertions, restored exact bytes/hash, and passed focused green reruns. No assertion-only mutants; existing swapped-input controls are separate. Receipt bundle: $MOVA_DATA/runs/octopus-wave32-rt_mixed-2026-10-31 (native-commands.json, source-test-map.json, mutation-results.json, .status/.log). No live corpus, teacher, frozen assessment, download or production data used.

Finite synthetic helper evidence only; live corpora, parser/model loading, full orchestration and filesystem failure races excluded.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/tools/roundtrip/src/mixed/link.rs.groupant/