Elamur GroupantsโŒ•
โ˜ฐ

world-worldbook

The groupant beside world/src/worldbook.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
costpartialcost
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
world_worldbook_invariantsworld_worldbook_invariantspartial source derived modelworld_worldbook_invariants
world_worldbook_resource_costworld_worldbook_resource_costpartial source derived modelworld_worldbook_resource_cost
world_worldbook_representation_joinworld_worldbook_representation_joinpartial source derived modelworld_worldbook_representation_join
world_worldbook_domain_partitionworld_worldbook_domain_partitionpartial source derived modelworld_worldbook_domain_partition

Parts

Model text

descriptant

world-worldbook

build_all parses topic sentences, merges key=(lower subject,predicate,lower text), first attrs plus unique(sourcekey,sentence) cites. principles groups triples of first8 sorted lemmas, >=min distinct first-cite keys and>=2source kinds, clean whole6..35word representative,<=8cites. write ranks support/cites/text and caps notes3/full1/mini. brain_body counts every cited pre-Sources line but emits first12/part. Compression learned depth decisions plus one index-order function-word restoration pass.

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. Compression/outcome/brain/standalone/list/writer/mini helpers tested; build/principles/teacher/gather/site/passenger read chains unexecuted. No surrogate.

approximant

Forward relation

build_all parses topic sentences, merges key=(lower subject,predicate,lower text), first attrs plus unique(sourcekey,sentence) cites. principles groups triples of first8 sorted lemmas, >=min distinct first-cite keys and>=2source kinds, clean whole6..35word representative,<=8cites. write ranks support/cites/text and caps notes3/full1/mini. brain_body counts every cited pre-Sources line but emits first12/part. Compression learned depth decisions plus one index-order function-word restoration pass.

Domain: Synthetic words/Markdown/list/tempfile outputs only; no corpus/parser/model/teacher/manual/site/full-school execution.

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

Merge order restored by source index after threads;1-based citations/heads, byte-length returns and kb*1024 budget. Valid tree heads required, depth boundedL even cycles. Root kept but one-pass function restoration not fixed point. Topic base first-byte capitalization needs nonempty ASCII-leading text.

Cost component: cost.md.

cost

Multiple full source scans and frequency maps, delegated parse, up toO(L^2) tree traversals,<=56lemma triples/fact, group/rank sorting and complete Markdown output. Writer compares freshly built citation sets; unchecked counters/budget arithmetic, no timing claim.

composition

family gather principles(min5)->write->brain_body, count can exceed retained lines. know perception counts unique known gap sources. tabular decisions overridden by grammar; teacher/model files outside tested paths.

models

behavior_complement

Shared lemma triples not entailment or independent-source proof. Merge uses text not object. writer pd=false excludes quote; parsed pd flag broadly includes CC BY prefixes, no legal guarantee. mini floor5/main floor10 may exceed byte budgets. Empty compression '.', stands_alone empty true; malformed heads/topic slicing can panic.

reverse_reconstruction

Compressed output admits deleted subtrees and many decision lists/parses. Markdown loses fact attrs/lemmas/extra cites. Brain body admits arbitrary omitted13th+ lines with same count and sections after Sources. Principle representative admits many shared-lemma support sets.

world_worldbook_invariants

Merge order restored by source index after threads;1-based citations/heads, byte-length returns and kb*1024 budget. Valid tree heads required, depth boundedL even cycles. Root kept but one-pass function restoration not fixed point. Topic base first-byte capitalization needs nonempty ASCII-leading text.

world_worldbook_resource_cost

Multiple full source scans and frequency maps, delegated parse, up toO(L^2) tree traversals,<=56lemma triples/fact, group/rank sorting and complete Markdown output. Writer compares freshly built citation sets; unchecked counters/budget arithmetic, no timing claim.

world_worldbook_representation_join

family gather principles(min5)->write->brain_body, count can exceed retained lines. know perception counts unique known gap sources. tabular decisions overridden by grammar; teacher/model files outside tested paths.

world_worldbook_domain_partition

Synthetic words/Markdown/list/tempfile outputs only; no corpus/parser/model/teacher/manual/site/full-school execution.

tests

Finite actual-code evidence โ€” 2026-10-31

Names: ["worldbook::wave29_worldlearn::brain_projection_counts_beyond_twelve_and_stops_sources", "worldbook::wave29_worldlearn::compression_root_function_words_and_empty", "worldbook::wave29_worldlearn::list_roundtrip_and_bounded_writer_citations", "worldbook::wave29_worldlearn::mini_zero_budget_keeps_floor_and_first_note"]

Selected CPU command: CARGO_BUILD_JOBS=2 CARGO_TARGET_DIR=ISOLATED_TARGET cargo test --offline --locked -p world --lib --example retention_probe [--release] wave29_worldlearn -- --test-threads=1

15 selected cases passed twice debug and twice release with identical sorted names/outcomes, exits0. control-worldbook: compiled source mutation failed with exit101; source restored byte-for-byte and15positive tests passed. No live teacher, corpus, state activation, GPU, or full-school run. Temporary synthetic files use unique process-id paths and are removed after passing tests.

Compression/outcome/brain/standalone/list/writer/mini helpers tested; build/principles/teacher/gather/site/passenger read chains unexecuted. No surrogate.

Source SHA256: c5e5076ae351ed730c39ff7c283374fa0592a62af03fe7f86b09a28c3f984a67. Syntax generated independently twice and compared; lexical only, no semantic proof or CUDA compilation. Strict whole-crate Clippy was not repeated merely to reproduce existing dependency/source lints; Cargo warnings retained in receipts.

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