Elamur Groupants⌕
☰

math-plan-gate-execution

The groupant beside math/src/plan.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
CompositionpartialComposition
DescriptantpresentDescriptant
InvariantpartialInvariant
Testspartial bounded evidenceTests

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
Failure precedencefailure precedencepartial source derived modelFailure precedence
Representation transportrepresentation transportpartial source derived modelRepresentation transport
Resource boundaryresource boundarypartial source derived modelResource boundary
Domain boundarydomain boundarypartial source derived modelDomain boundary

Model text

Descriptant

Source-bound description

Sequentially exec_step, merge subchecks, bind nonunderscore values; errors stop execution while false checks accumulate and suppress final answer. Answer may be present while gate fails.

Approximant

Forward relation

Sequentially exec_step, merge subchecks, bind nonunderscore values; errors stop execution while false checks accumulate and suppress final answer. Answer may be present while gate fails.

Domain: Plan steps, Expect and Limits; panic wrapper outside this scope.

Executable Rust approximant unsupported: categorical/effect observations have no useful percentage metric yet. Future caps1/2/5/10% only; no automatic substitution.

Invariant

Invariant and cost

Failure excludes verified, not necessarily answer Some; underscores exclude environment binding.

Ordering: exec→subs→checks→binding→trace; answer only on no failures.

Cost: O(steps+subtrace/check bytes) plus exec_step/eval costs; elapsed measured but hard time enforcement delegated.

Composition

Composition and epoch memory

exec_step mutates Env; gate_answer writes checks/fails; Trace::verified consumes accumulated state.

Source scope bytes[4173,7173). Finite checks not proof; no meaningful percentage surrogate for categorical gate. Not every branch in this fragment executed.

Partial syntax and finite tests do not establish all caller assumptions.

Models

Behavior complement

Failure excludes verified, not necessarily answer Some; underscores exclude environment binding.

Reverse reconstruction

A trace prefix admits all remaining unexecuted suffixes after first execution error; final answer absent admits check failure or expression failure, not unique plan.

Failure precedence

exec→subs→checks→binding→trace; answer only on no failures.

Representation transport

exec_step mutates Env; gate_answer writes checks/fails; Trace::verified consumes accumulated state.

Resource boundary

O(steps+subtrace/check bytes) plus exec_step/eval costs; elapsed measured but hard time enforcement delegated.

Domain boundary

Plan steps, Expect and Limits; panic wrapper outside this scope.

Tests

Evidence

Selected actual-source checks: cargo test -p math --lib plan::tests. Exact commands, numeric statuses, normalized outcomes, compiled assertion controls and restoration receipts are in the external wave28 mathcontrol run.

Source scope bytes[4173,7173). Finite checks not proof; no meaningful percentage surrogate for categorical gate. Not every branch in this fragment executed.

No live teacher/API, trained model, corpus/held-out, GPU, DB or expensive benchmark run. Parent syntax generated twice identically. Scope remains partial.

History

2026-10-31 · descriptant

Epoch 2026-10-31: prospective model before bounded synthetic tests; production behavior unchanged. Source scope bytes[4173,7173). Finite checks not proof; no meaningful percentage surrogate for categorical gate. Not every branch in this fragment executed.

2026-10-31 · tests

Heading ### Evidence, 2026-10-31 stays in tests as ### Evidence.

Provenance

This page in Markdown → https://md.groupants.elamur.ai/free/en/mova/math/src/plan.rs.groupant/execution.groupant/