Elamur Groupants⌕
☰

math-classic-cli

The groupant beside math/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
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.

idtypelabelwhere
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

Missing command errors before model load. Nonempty args load model before eval/test/parse or unknown-command rejection. eval prints errors; i128 overflow falls back to reparsing rendered Expr in unitless big calc with10s limit. test aggregates suite; parse splits whitespace.

Epoch 2026-10-31: prospective model before bounded synthetic tests; production behavior unchanged. Model-backed eval/test/parse and fallback unexecuted; usage/compile evidence only.

approximant

Forward relation

Missing command errors before model load. Nonempty args load model before eval/test/parse or unknown-command rejection. eval prints errors; i128 overflow falls back to reparsing rendered Expr in unitless big calc with10s limit. test aggregates suite; parse splits whitespace.

Domain: Safe no-argument usage only; model-backed execution excluded.

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

No args excludes model load; unknown nonempty command does not. Overflow adapter is not proven unit-preserving.

Ordering: Command presence→model load→dispatch. Understanding→small answer→overflow fallback.

Cost: Model load+understanding/evaluation+O(output bytes); file/model storage dominates, no global cap.

composition

Composition and epoch memory

Understander→eval/suite; Expr display→calc fallback is a partial unit transport.

Model-backed eval/test/parse and fallback unexecuted; usage/compile evidence only.

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

models

behavior_complement

No args excludes model load; unknown nonempty command does not. Overflow adapter is not proven unit-preserving.

reverse_reconstruction

Printed answer admits many questions/trees. Overflow-rendered expression cannot reconstruct original dimensional semantics; load failure can mask invalid command.

failure_precedence

Command presence→model load→dispatch. Understanding→small answer→overflow fallback.

representation_transport

Understander→eval/suite; Expr display→calc fallback is a partial unit transport.

resource_boundary

Model load+understanding/evaluation+O(output bytes); file/model storage dominates, no global cap.

domain_boundary

Safe no-argument usage only; model-backed execution excluded.

tests

Evidence, 2026-10-31

Selected actual-source checks: Compiled math executable no-argument usage in debug/release. Exact commands, numeric statuses, normalized outcomes, compiled assertion controls and restoration receipts are in the external wave28 mathcontrol run.

Model-backed eval/test/parse and fallback unexecuted; usage/compile evidence only.

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

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