treestore-lib
The groupant beside tools/treestore/src/lib.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 | symbolic source derived | Invariant |
| Descriptant | present | Descriptant |
| Invariant | partial | Invariant |
| Tests | executed bounded checks | 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.
| relation | type | label | where |
|---|---|---|---|
| Behavior complement | behavior complement | partial source derived model | Behavior complement |
| Reverse reconstruction | reverse reconstruction | partial source derived model | Reverse reconstruction |
Model text
Descriptant
The crate root: module list of the compressed, randomly accessible store of annotated articles. Epoch 2026-11-06.
Approximant
No behaviour of its own; the crate's relation is the composition of its modules (cols, json, frag, cm, model, codec, store, dir).
Invariant
Every module is public so a pass can write stores directly (store::Writer) and readers can open them (dir::Store).
Composition
cols โ json โ frag โ cm โ model โ codec โ store โ dir; main.rs is the CLI.
Behavior complement
Declares nothing executable.
Reverse reconstruction
Inapplicable beyond the module list.
Tests
All crate tests (cargo test -p treestore).
Provenance
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/tools/treestore/src/lib.rs.groupant/