---
title: "math-teacher-accounting — Mova code model"
description: "Mova code model of math/src/vmm.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/math/src/vmm.rs.groupant/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · **Groupants**

This page as HTML: <https://groupants.elamur.ai/free/en/mova/math/src/vmm.rs.groupant/>

# math-teacher-accounting

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

- **kind:** groupant
- **status:** partial source bound model
- **source:** [`math/src/vmm.rs`](https://github.com/ElamurAI/mova-free/blob/main/math/src/vmm.rs)
- **source SHA-256:** `ccae6302f74422ec…`
- **repository folder:** [`math/src/vmm.rs.groupant`](https://github.com/ElamurAI/mova-free/tree/main/math/src/vmm.rs.groupant)
- **repository commit:** `48f2e6f74146`

> **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](#approximant) |
| **ast** | partial | `syntax.json` |
| **composition** | partial | [composition](#composition) |
| **descriptant** | present | [descriptant](#descriptant) |
| **invariant** | partial | [invariant](#invariant) |
| **tests** | partial bounded evidence | [tests](#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.

| id | type | label | where |
|---|---|---|---|
| `behavior_complement` | behavior_complement | partial source derived model | [behavior_complement](#behavior-complement) |
| `reverse_reconstruction` | reverse_reconstruction | partial source derived model | [reverse_reconstruction](#reverse-reconstruction) |
| `failure_precedence` | failure_precedence | partial source derived model | [failure_precedence](#failure-precedence) |
| `representation_transport` | representation_transport | partial source derived model | [representation_transport](#representation-transport) |
| `resource_boundary` | resource_boundary | partial source derived model | [resource_boundary](#resource-boundary) |
| `domain_boundary` | domain_boundary | partial source derived model | [domain_boundary](#domain-boundary) |

## Model text


### descriptant

#### Source-bound description

new sums prior call costs, missing log empty. ask locks for spent+reserve>cap then releases; mkdir→teacher→usage defaults0→spent increment→append→is_error rejection. Result nonstring becomes empty. append does not create parent; read skips blanks, malformed JSON errors.

Epoch 2026-10-31: prospective model before bounded synthetic tests; production behavior unchanged. Teacher success/error transport unexecuted; no concurrency cap guarantee.

### approximant

#### Forward relation

new sums prior call costs, missing log empty. ask locks for spent+reserve>cap then releases; mkdir→teacher→usage defaults0→spent increment→append→is_error rejection. Result nonstring becomes empty. append does not create parent; read skips blanks, malformed JSON errors.

Domain: Finite positive temporary synthetic preflight/accounting only. Subscription0cost makes monetary cap not work bound.

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

Strict over-cap excludes mkdir/teacher/append for that call. Equality allowed, NaN bypass possible; no reservation so concurrent overspend possible.

Ordering: Cap→mkdir→teacher→spent→append→is_error. Append failure leaves spent advanced.

Cost: Init O(log+calls) memory; append one serialization; external latency/output delegated. Floating sums order-sensitive, mutex poison panics.

### composition

#### Composition and epoch memory

solve/vmmtests share Vmm; callers own scheduling, precheck does not enforce aggregate budget.

Teacher success/error transport unexecuted; no concurrency cap guarantee.

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

### models

### behavior_complement

Strict over-cap excludes mkdir/teacher/append for that call. Equality allowed, NaN bypass possible; no reservation so concurrent overspend possible.

### reverse_reconstruction

Spent admits all call lists with same sum; missing usage and zero collapse. Cap rejection admits prestate/reserve exceeding cap with no teacher effect.

### failure_precedence

Cap→mkdir→teacher→spent→append→is_error. Append failure leaves spent advanced.

### representation_transport

solve/vmmtests share Vmm; callers own scheduling, precheck does not enforce aggregate budget.

### resource_boundary

Init O(log+calls) memory; append one serialization; external latency/output delegated. Floating sums order-sensitive, mutex poison panics.

### domain_boundary

Finite positive temporary synthetic preflight/accounting only. Subscription0cost makes monetary cap not work bound.

### tests

#### Evidence, 2026-10-31

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

Teacher success/error transport unexecuted; no concurrency cap guarantee.

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