world-family-pool-codec
The groupant beside world/src/family.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 |
| composition | partial | composition |
| cost | partial | cost |
| descriptant | present | descriptant |
| invariant | partial | invariant |
| tests | partial bounded parent tests | 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 |
world_family_pool_codec_invariants | world_family_pool_codec_invariants | partial source derived model | world_family_pool_codec_invariants |
world_family_pool_codec_resource_cost | world_family_pool_codec_resource_cost | partial source derived model | world_family_pool_codec_resource_cost |
world_family_pool_codec_representation_join | world_family_pool_codec_representation_join | partial source derived model | world_family_pool_codec_representation_join |
world_family_pool_codec_domain_partition | world_family_pool_codec_domain_partition | partial source derived model | world_family_pool_codec_domain_partition |
Model text
descriptant
world-family-pool-codec
idea_key = last segment after ': ' of prefix before ' IF '. change_line encodes add/remove or replace TAB=>TAB. change_scope general iff second column exactly general; change_of unknown nonreplace kind becomes Remove after rule parse.
Modeling epoch 2026-10-31
Prospective source/branch/cost hypotheses were saved externally before source edits. This partial source-derived model retains observed boundaries rather than claiming complete verification. No live channel, exploration, pool/negative-file persistence or state transition evidence; no surrogate.
approximant
Forward relation
idea_key = last segment after ': ' of prefix before ' IF '. change_line encodes add/remove or replace TAB=>TAB. change_scope general iff second column exactly general; change_of unknown nonreplace kind becomes Remove after rule parse.
Domain: UTF-8 and clean TSV fields; arbitrary injected delimiters not roundtrip-safe.
No executable percent surrogate: these categorical/effect observations lack a useful approximation metric. Future supported caps1/2/5/10% need a defined domain/metric and real reference evidence; no error or speed bound is claimed.
invariant
Generated clean machine lines roundtrip given retained scope. Reversed label direction yields distinct key; semantic feature validation absent.
Cost component: cost.md.
cost
Linear line/atom parsing and string allocation; no pool disk access in codec.
composition
explore grouping uses these lossy pair keys to exclude variants and prioritize at most3 independent pairs.
models
behavior_complement
Malformed replace without separator cannot yield Change. Unknown opcode with valid rule is accepted as Remove. Colon without following space in obl:agent stays in key.
reverse_reconstruction
Same key admits many operation prefixes/IF conditions; Remove admits unknown opcode spellings. Scope is lost in Change, so inverse requires explicit scope parameter.
world_family_pool_codec_invariants
Generated clean machine lines roundtrip given retained scope. Reversed label direction yields distinct key; semantic feature validation absent.
world_family_pool_codec_resource_cost
Linear line/atom parsing and string allocation; no pool disk access in codec.
world_family_pool_codec_representation_join
explore grouping uses these lossy pair keys to exclude variants and prioritize at most3 independent pairs.
world_family_pool_codec_domain_partition
UTF-8 and clean TSV fields; arbitrary injected delimiters not roundtrip-safe.
tests
Scoped evidence
Parent selected test names: ["family::wave29_worldlearn::scoped_change_preserves_position_and_domain", "family::wave29_worldlearn::split_fence_and_label_pair_direction"]. These finite tests touch only the named behaviors, not every statement in this fragment. See parent evidence. control-family: compiled source mutation failed with exit101; source restored byte-for-byte and15positive tests passed.
Scope bytes [63083,64425) are bound to the shared parent syntax projection and full source hash. No live channel, exploration, pool/negative-file persistence or state transition evidence; no surrogate.
This page in Markdown → https://md.groupants.elamur.ai/free/en/mova/world/src/family.rs.groupant/pool-codec.groupant/