---
title: "rt-mixed-orchestration-merge — Mova code model"
description: "Mova code model of tools/roundtrip/src/mixed/mod.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/tools/roundtrip/src/mixed/mod.rs.groupant/merge.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/tools/roundtrip/src/mixed/mod.rs.groupant/merge.groupant/>

# rt-mixed-orchestration-merge

The groupant beside tools/roundtrip/src/mixed/mod.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:** [`tools/roundtrip/src/mixed/mod.rs`](https://github.com/ElamurAI/mova-free/blob/main/tools/roundtrip/src/mixed/mod.rs)
- **source SHA-256:** `c60da75f66a5d4d3…`
- **covers:** Sum scalar/maps and merge tally/link stats in call order; first four fail strings retained. (bytes 3027–4048)
- **part of:** [rt-mixed-orchestration](https://md.groupants.elamur.ai/free/en/mova/tools/roundtrip/src/mixed/mod.rs.groupant/)
- **repository folder:** [`tools/roundtrip/src/mixed/mod.rs.groupant/merge.groupant`](https://github.com/ElamurAI/mova-free/tree/main/tools/roundtrip/src/mixed/mod.rs.groupant/merge.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) |
| `fail_cap` | fail_cap | partial source derived model | [fail_cap](#fail-cap) |
| `route_pair` | route_pair | partial source derived model | [route_pair](#route-pair) |
| `item_cells` | item_cells | partial source derived model | [item_cells](#item-cells) |
| `counter_domain` | counter_domain | partial source derived model | [counter_domain](#counter-domain) |

## Model text


### descriptant

#### Descriptant

##### Prospective epoch

2026-10-31 source review predicted: Sum scalar/maps and merge tally/link stats in call order; first four fail strings retained. Resource model: O(source map entries * log destination keys + nested tally/link merges); four fail outputs but scans every incoming failure. External prospective.md predates test additions and preserves APIs, effect order, hazards and interaction hypotheses.

##### Observed epoch

Bounded real helper checks in tests.md constrain these models; syntax is a partial lexical projection with no macro expansion, name resolution or proof. Production expressions unchanged; six inline test modules added. Compiled mutants are temporary and exactly restored. Existing malformed-input and nonfinite domains remain explicit, not silently repaired. Parent composes this scope with siblings without adding overlapping costs twice.

Narrow Run aggregation scope; finite checks do not cover all inputs. Parent effects and other functions are outside this fragment.

### approximant

#### Forward relation

Sum scalar/maps and merge tally/link stats in call order; first four fail strings retained.

Domain: Scope: Run aggregation. Sorted valid byte spans, aligned stream/gold rows, valid item/var indices and caches; bounded sums. End-to-end context includes models and is not executed. parse_cores can call annotate four times with three 600-second sleeps despite prose saying three times at most.

### invariant

#### Invariant and cost

##### Invariant

Scope: Run aggregation. Sorted valid byte spans, aligned stream/gold rows, valid item/var indices and caches; bounded sums. End-to-end context includes models and is not executed. parse_cores can call annotate four times with three 600-second sleeps despite prose saying three times at most.

##### Cost

O(source map entries * log destination keys + nested tally/link merges); four fail outputs but scans every incoming failure.

##### Limits

Narrow Run aggregation scope; finite checks do not cover all inputs. Parent effects and other functions are outside this fragment. No percentage surrogate is implemented: categorical parsing/effect observations lack an admitted numerical error metric. Any future profile must define its metric/domain and use only1/2/5/10 percent caps.

### models

## Typed source-bound relations

Subject: exact source SHA-256 in manifest. Domain and resource premises are in invariant.md. Each model is partial, source-derived, over a single helper invocation or the described finite trace. Complements are proposed inner exclusions under those premises; reverse relations retain all compatible antecedents, with no unique inverse claim. The oracle is the named checks in tests.md; unexecuted cases remain hypotheses. No numerical approximation certificate.

### behavior_complement

Within this scoped helper relation, outputs violating the stated forward equation or its preserved fields are excluded under the domain premises; this is a partial source-derived inner exclusion, not a claim about untested panics. fails append while length<4.

### reverse_reconstruction

Merged Run has many compatible decompositions; only retained fail prefix constrains history.

### fail_cap

fails append while length<4

### route_pair

both right and total counts summed independently

### item_cells

occurrences and layer/class bits accumulated by item index

### counter_domain

integer overflow excluded; f64 grouping may change rounding

### tests

#### Checks and evidence

Named source/helper checks: mixed::wave32_tests::owner_and_run_merge.

Wave32 on2026-10-31:10 distinct exact tests passed twice debug and twice release, with equal sorted named outcomes. This node claims only its listed subset; empty subset means source review only. Five actual source-behavior mutants compiled, failed assertions, restored exact bytes/hash, and passed focused green reruns. No assertion-only mutants; existing swapped-input controls are separate. Receipt bundle: $MOVA_DATA/runs/octopus-wave32-rt_mixed-2026-10-31 (native-commands.json, source-test-map.json, mutation-results.json, *.status/*.log). No live corpus, teacher, frozen assessment, download or production data used.

Narrow Run aggregation scope; finite checks do not cover all inputs. Parent effects and other functions are outside this fragment.
