---
title: "mlab-interp-run-state — Mova code model"
description: "Mova code model of mlab/src/interp.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/mlab/src/interp.rs.groupant/run-state.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/mlab/src/interp.rs.groupant/run-state.groupant/>

# mlab-interp-run-state

The groupant beside mlab/src/interp.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:** [`mlab/src/interp.rs`](https://github.com/ElamurAI/mova-free/blob/main/mlab/src/interp.rs)
- **source SHA-256:** `5c4d879d116b5fa0…`
- **covers:** Parse/register/execute entry boundary only. (bytes 6365–7324)
- **part of:** [mlab-interp](https://md.groupants.elamur.ai/free/en/mova/mlab/src/interp.rs.groupant/)
- **repository folder:** [`mlab/src/interp.rs.groupant/run-state.groupant`](https://github.com/ElamurAI/mova-free/tree/main/mlab/src/interp.rs.groupant/run-state.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` |
| **cost** | symbolic source derived | [invariant](#invariant) |
| **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) |
| `parse_barrier` | parse_barrier | partial source derived model | [parse_barrier](#parse-barrier) |
| `termination_class` | termination_class | partial source derived model | [termination_class](#termination-class) |
| `dispatch_relation` | dispatch_relation | partial source derived model | [dispatch_relation](#dispatch-relation) |
| `state_effect` | state_effect | partial source derived model | [state_effect](#state-effect) |

## Model text


### descriptant

#### mlab-interp-run-state

Parse/register/execute entry boundary only.

##### Epoch 2026-10-31

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

### approximant

#### Scoped forward relation

parse error -> diagnostic,false without registering or executing; successful parse -> install functions -> VM/tree -> bool and error stream.

##### Domain and gap

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

### invariant

#### Scoped invariant

x=8 followed by incomplete parenthesis cannot overwrite existing x=7.

##### Cost

Parsing before execution adds source/AST storage; execution cost delegated to selected engine. Error emission is proportional to diagnostic bytes.

### models

## Scoped typed relations

### behavior_complement

Parse error excludes registration and prefix execution; runtime error excludes remaining statements but does not exclude prefix writes.

### reverse_reconstruction

false with parser diagnostic admits many malformed texts and unchanged workspaces; false with runtime diagnostic admits prefix effects.

### parse_barrier

x=8 followed by incomplete parenthesis cannot overwrite existing x=7.

### termination_class

Return, Break and Continue at top level map to true; Flow::Err maps to false.

### dispatch_relation

vm_mode selects vm::run_program after registering functions.

### state_effect

Runtime error updates last_error and retains prior workspace writes.


### tests

#### Evidence scope

Parent selected tests: wave30_parse_runtime_and_output_state, wave30_bounded_state_and_fallback, parse_error_runs_nothing. 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.
