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

# mlab-vm-registers

The groupant beside mlab/src/vm.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/vm.rs`](https://github.com/ElamurAI/mova-free/blob/main/mlab/src/vm.rs)
- **source SHA-256:** `04ee871c37021946…`
- **covers:** Register representation and value/matrix transport. (bytes 2447–5611)
- **part of:** [mlab-vm](https://md.groupants.elamur.ai/free/en/mova/mlab/src/vm.rs.groupant/)
- **repository folder:** [`mlab/src/vm.rs.groupant/registers.groupant`](https://github.com/ElamurAI/mova-free/tree/main/mlab/src/vm.rs.groupant/registers.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) |
| `canonical_bits` | canonical_bits | partial source derived model | [canonical_bits](#canonical-bits) |
| `undefined_value` | undefined_value | partial source derived model | [undefined_value](#undefined-value) |
| `ownership` | ownership | partial source derived model | [ownership](#ownership) |
| `matrix_view` | matrix_view | partial source derived model | [matrix_view](#matrix-view) |

## Model text


### descriptant

#### mlab-vm-registers

Register representation and value/matrix transport.

##### Epoch 2026-10-31

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

### approximant

#### Scoped forward relation

Real scalar doubles pack to F; canonical logical bits pack L; all else V; U converts to None.

##### Domain and gap

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

### invariant

#### Scoped invariant

Logical -0 does not pack as L(false): only bits==0 does.

##### Cost

Scalar packing/unpacking O(1); shared Value conversion may clone matrix payload. Borrowed matrix view avoids clone, scalar view allocates one cell.

### models

## Scoped typed relations

### behavior_complement

U excludes any Value result. Noncanonical logical bits exclude L packing; complex/character/multielement matrices exclude F packing.

### reverse_reconstruction

F(x) admits scalar double value x; V retains nonpacked values; allocation ownership and clone history cannot be reconstructed.

### canonical_bits

Logical -0 does not pack as L(false): only bits==0 does.

### undefined_value

U has no value and is not an empty matrix at this boundary.

### ownership

into_value tries Rc unwrap, otherwise clones shared payload.

### matrix_view

mat_cow borrows V matrices but constructs scalar matrices for F/L.


### tests

#### Evidence scope

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