---
title: "latex-test-vmm-latex-dispatch — Mova code model"
description: "Mova code model of latex/tests/vmm_latex.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/latex/tests/vmm_latex.rs.groupant/dispatch.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/latex/tests/vmm_latex.rs.groupant/dispatch.groupant/>

# latex-test-vmm-latex-dispatch

The groupant beside latex/tests/vmm_latex.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_fragment
- **status:** partial source bound model
- **source:** [`latex/tests/vmm_latex.rs`](https://github.com/ElamurAI/mova-free/blob/main/latex/tests/vmm_latex.rs)
- **source SHA-256:** `62b39e9533b40131…`
- **covers:** case compares parsed trees/err/ok; count/macro rewrite escapes, macro first body lacking definition substrings; value feature-dependent. (bytes 2477–4823)
- **part of:** [latex-test-vmm-latex](https://md.groupants.elamur.ai/free/en/mova/latex/tests/vmm_latex.rs.groupant/)
- **repository folder:** [`latex/tests/vmm_latex.rs.groupant/dispatch.groupant`](https://github.com/ElamurAI/mova-free/tree/main/latex/tests/vmm_latex.rs.groupant/dispatch.groupant)
- **repository commit:** `855da7bd4a7b`

> **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** | executed bounded checks | [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) |
| `macro_choice` | macro_choice | partial source derived model | [macro_choice](#macro-choice) |
| `newline` | newline | partial source derived model | [newline](#newline) |
| `count` | count | partial source derived model | [count](#count) |
| `option` | option | partial source derived model | [option](#option) |

## Model text


### descriptant

#### latex-test-vmm-latex-dispatch

case compares parsed trees/err/ok; count/macro rewrite escapes, macro first body lacking definition substrings; value feature-dependent.

Epoch 2026-10-31: complete sources read before tests/model edits. Partial source-bound modeling; no production optimization or speed claim. Nested fragments share the parent lexical syntax. Caller/callee contracts outside owned files remain delegated.

### approximant

#### Forward relation

case compares parsed trees/err/ok; count/macro rewrite escapes, macro first body lacking definition substrings; value feature-dependent.

#### Domain and executable surrogate gap

Bounded UTF-8 inputs and synthetic local files; supported parser-produced trees and representable arithmetic. Arbitrary public constructors are not certified total. Exact categorical semantics lack a useful percentage surrogate; no executable approximant attachment. Future numerical profiles require an explicit metric, zero case, source/evidence binding and supported 1/2/5/10% cap. Failure/effect differences cannot count as numerical error.

### invariant

#### Invariant

For the scoped transition bytes [2477,4823): case compares parsed trees/err/ok; count/macro rewrite escapes, macro first body lacking definition substrings; value feature-dependent. Unknown ok errors before gate; absent eligible macro errors; unknown kind errors, not skipped.

#### Cost

Per-case parse/extract/eval cost, newline char/vector allocation.

Allocation failure, stack exhaustion and unchecked counter overflow have no additional certificate. No timing claim or global error bound.

### composition

#### Composition

case compares parsed trees/err/ok; count/macro rewrite escapes, macro first body lacking definition substrings; value feature-dependent.

For the scoped transition bytes [2477,4823): case compares parsed trees/err/ok; count/macro rewrite escapes, macro first body lacking definition substrings; value feature-dependent. Unknown ok errors before gate; absent eligible macro errors; unknown kind errors, not skipped.

Parser, printer, AST equality, Macros, Rat and evaluator dependencies retain their own contracts. Structural roundtrip is not arithmetic definedness or numeric truth. Exact lexical binding does not prove caller/callee semantics.

### models

### behavior_complement

Unknown ok errors before gate; absent eligible macro errors; unknown kind errors, not skipped.

### reverse_reconstruction

same true admits all equal parsed pairs; count true admits arbitrary ignored text with same cardinality.

### macro_choice

First substring-filtered formula, not semantic definition parser.

### newline

ASCII next-letter test protects commands.

### count

Malformed integer expected→usize::MAX.

### option

None only feature-disabled value.


### tests

#### Selected evidence

cargo test -p latex --features math --test vmm_latex wave28

Two debug/two release executions retained matching sorted named outcomes. External wave28 latexbridge receipts retain numeric exits, compiled assertion controls, restoration, feature checks and source-test map. This scope is not exhaustive branch coverage; parent tests may only exercise some child transitions. Frozen VMM DATA/classification/hash subprocess, live corpus, teacher/API, training/GPU excluded. Reexport/feature compilation is separate from runtime semantics.
