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

# math-qread-affine-one-pass-images

The groupant beside math/src/qread.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:** [`math/src/qread.rs`](https://github.com/ElamurAI/mova-free/blob/main/math/src/qread.rs)
- **source SHA-256:** `8389b8d58f681217…`
- **covers:** Start at constant-only Lin. Visit original keys in sorted order. Replace key k by sol[k] scaled by its original coefficient if present, otherwise by var(k); each insertion passes through add pruning. Newly introduced keys are not revisited in the same call. unknowns returns keys below LEAF. (bytes 1744–2220)
- **part of:** [math-qread-affine](https://md.groupants.elamur.ai/free/en/mova/math/src/qread.rs.groupant/affine.groupant/)
- **repository folder:** [`math/src/qread.rs.groupant/affine.groupant/one-pass-images.groupant`](https://github.com/ElamurAI/mova-free/tree/main/math/src/qread.rs.groupant/affine.groupant/one-pass-images.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 | [Forward](#forward) |
| **ast** | partial | `../../syntax.json` |
| **cost** | partial | [Cost](#cost) |
| **descriptant** | present | [Epoch](#epoch) |
| **invariant** | partial | [Invariant](#invariant) |
| **tests** | bounded actual helper 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) |
| `depth_intervention` | depth_intervention | partial source derived model | [depth_intervention](#depth-intervention) |
| `sorted_rounding_order` | sorted_rounding_order | partial source derived model | [sorted_rounding_order](#sorted-rounding-order) |
| `unknown_leaf_cut` | unknown_leaf_cut | partial source derived model | [unknown_leaf_cut](#unknown-leaf-cut) |
| `unmapped_identity` | unmapped_identity | partial source derived model | [unmapped_identity](#unmapped-identity) |

## Model text


### Scope

Source-derived bounded relation for the manifest byte interval. All relations observe one invocation and its stated state effects. Valid caller structures and finite values where specified are premises. No universal proof, percentage-error surrogate or production replacement is claimed.

### Forward

Start at constant-only Lin. Visit original keys in sorted order. Replace key k by sol[k] scaled by its original coefficient if present, otherwise by var(k); each insertion passes through add pruning. Newly introduced keys are not revisited in the same call. unknowns returns keys below LEAF.

### Invariant

Substitution does not recursively close the solution map. Output constants include weighted solution constants; unsolved input keys remain unless canceled or pruned.

### Cost

For original support K, sum the costs of K successive add calls over accumulated support and each replacement support, including ordered maps and cloning. Output support can grow beyond K.

### behavior_complement

For sol(0)=var1 and sol(1)=leaf0, one subst(var0) excludes leaf0 and returns var1. A key exactly LEAF cannot be reported by unknowns.

### reverse_reconstruction

Output var1 admits unsubstituted var1 and var0 with sol0=var1. Given sol, input expressions whose one-pass weighted images combine to the output are compatible; kernel terms and pruning prevent unique recovery.

### depth_intervention

Applying subst twice to var0 with the chain0→1→LEAF yields LEAF, while one call yields1. Number of calls is part of the observation horizon.

### sorted_rounding_order

BTreeMap traversal fixes original-key order. Every replacement adds into the evolving map, so rounding/pruning can differ from an ideal simultaneous exact sum.

### unknown_leaf_cut

Keys0..LEAF-1 are unknowns, LEAF and above leaves regardless of coefficient or external leaf validity. unknowns is a coordinate classifier, not bounds validation.

### unmapped_identity

With no solution entry, var(k) is inserted at the original coefficient. This preserves unresolved variables subject to pruning; the result does not certify solvability.

### Tests

Actual helper fixture: `qread::wave34::sparse_projection_and_single_substitution`. See file-root wave34-evidence.md for named profile/control receipts. Complement relations above are exclusions, not merely test lists; inverse relations retain compatible antecedents. Unexecuted paths remain source-derived.

### Epoch

2026-10-31 wave34: new descendant refining the existing parent; prior parent descriptions and evidence retained as historical snapshots. Production code is unchanged; inline synthetic tests add bounded observations.
