Elamur GroupantsโŒ•
โ˜ฐ

mlab-suite-run-gate

The groupant beside mlab/src/suite.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
astpartial../syntax.json
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
factory_countfactory_countpartial source derived modelfactory_count
fault_transportfault_transportpartial source derived modelfault_transport
prefix_statsprefix_statspartial source derived modelprefix_stats
empty_gateempty_gatepartial source derived modelempty_gate

Model text

descriptant

mlab-suite-run-gate

Fresh runtime construction and fail-fast output equivalence.

Epoch 2026-10-31

Half-open source bytes [3525,6795); bound by parent source hash and scoped byte hash. Model covers only this fragment; parent composition explains joins.

approximant

Scoped forward relation

Construct fresh interpreter for each run; gate runs tree then VM from new captures and stops first differing output.

Domain and gap

Source-generated states within resource limits. Categorical relation has no executable percent surrogate.

invariant

Scoped invariant

N run_fs scenarios invoke mk_fs N times, including empty programs.

Cost

Sum of scenario execution plus fresh interpreter/FS creation; gate performs two runs per visited scenario and stops at first mismatch; no time limit.

models

Scoped typed relations

behavior_complement

First output mismatch excludes evaluating remaining scenarios. Equal engine output does not exclude shared erroneous builtin behavior; run_fs excludes default workspace sharing.

reverse_reconstruction

Same outputs can come from shared faulty builtin; first mismatch restricts observed prefix only.

factory_count

N run_fs scenarios invoke mk_fs N times, including empty programs.

fault_transport

Same fault string supplied to tree and VM; vm:add intentionally affects only VM.

prefix_stats

Mismatch scenario contributes totals and static/dynamic counts before break.

empty_gate

Empty input returns all-zero default report.

tests

Evidence scope

Parent selected tests: wave30_synthetic_suite_boundaries, wave30_synthetic_gate_fail_fast. This fragment shares parent syntax and finite checks; no separate test count or complete fragment coverage claim. Assertion-control association and unexecuted paths are in parent tests.md and source-test-map.json.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/mlab/src/suite.rs.groupant/run-gate.groupant/