Elamur GroupantsโŒ•
โ˜ฐ

treestore-main

The groupant beside tools/treestore/src/main.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.

relationtypelabelwhere
Behavior complementbehavior complementpartial source derived modelBehavior complement
Reverse reconstructionreverse reconstructionpartial source derived modelReverse reconstruction

Model text

Descriptant

The CLI: train, pack (with resume), verify (byte equality with the source), index, get, sent, bench. Epoch 2026-11-06.

Approximant

Each command is a thin composition of library calls with timing and peak-RSS reports.

Invariant

verify fails (non-zero exit) when any record differs from its source or is missing.

Composition

model::train โ†’ store::write โ†’ dir::Store::index โ†’ get/sent/bench.

Behavior complement

No deletion of sources, no automatic retraining, no multi-shard parallelism of its own (parallel inside a shard).

Reverse reconstruction

Inapplicable: a command's output does not determine its arguments.

Tests

Real-data runs recorded in the README (2026-11-06).

Provenance

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