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

# roundtrip-main-workers

The groupant beside tools/roundtrip/src/main.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/main.rs`](https://github.com/ElamurAI/mova-free/blob/main/tools/roundtrip/src/main.rs)
- **source SHA-256:** `00f4bbcd3c873394…`
- **covers:** Parallel volume scheduling (bytes 2825–3629)
- **part of:** [roundtrip-main](https://md.groupants.elamur.ai/free/en/mova/tools/roundtrip/src/main.rs.groupant/)
- **repository folder:** [`tools/roundtrip/src/main.rs.groupant/workers.groupant`](https://github.com/ElamurAI/mova-free/tree/main/tools/roundtrip/src/main.rs.groupant/workers.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** | partial | [invariant-and-cost](#invariant-and-cost) |
| **descriptant** | present | [descriptant](#descriptant) |
| **invariant** | partial | [invariant-and-cost](#invariant-and-cost) |
| **tests** | 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) |
| `worker_order` | worker_order | partial source derived model | [worker_order](#worker-order) |
| `scope_precondition` | scope_precondition | partial source derived model | [scope_precondition](#scope-precondition) |
| `resource_boundary` | resource_boundary | partial source derived model | [resource_boundary](#resource-boundary) |
| `observation_projection` | observation_projection | partial source derived model | [observation_projection](#observation-projection) |

## Model text


### descriptant

#### Parallel volume scheduling

2026-10-31 epoch: source scope bytes [2825,3629); Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling.

No annotator/model loading, live corpus, full suite, teacher, GPU or persistent-learning evidence. No executable percentage surrogate: categorical codecs/effects need a useful metric before future caps 1/2/5/10%.

### approximant

#### Parallel volume scheduling

Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

### catalog

### behavior_complement

Subject: roundtrip-main-workers, source hash 00f4bbcd3c873394f1a661e52a0dc3360dc8f4f368d9f33113d3f6c6ac2e4109, transition observation.

For Parallel volume scheduling, excluded transitions violate the stated scoped rule: Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling. This is an inner source-derived exclusion under the domain, not a complement of arbitrary unseen runtime behavior.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Status: partial source-derived model.

### reverse_reconstruction

Subject: roundtrip-main-workers, source hash 00f4bbcd3c873394f1a661e52a0dc3360dc8f4f368d9f33113d3f6c6ac2e4109, transition observation.

Fix outputs and post-state of workers; compatible antecedents are all scoped inputs/pre-state satisfying: Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling. Fields outside this byte scope are held fixed; discarded fields remain ambiguous.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Status: partial source-derived model.

### worker_order

Subject: roundtrip-main-workers, source hash 00f4bbcd3c873394f1a661e52a0dc3360dc8f4f368d9f33113d3f6c6ac2e4109, transition observation.

Atomic fetch assigns each volume one index; results stored by index and merged in original order. Worker scheduling can vary, while panic poisons/joins rather than returning a partial tally.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Status: partial source-derived model.

### scope_precondition

Subject: roundtrip-main-workers, source hash 00f4bbcd3c873394f1a661e52a0dc3360dc8f4f368d9f33113d3f6c6ac2e4109, transition observation.

Parallel volume scheduling requires the coordinate/state assumptions of this fragment; inspect its exact byte range. Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling. Invalid arbitrary state is outside the reconstruction law.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Status: partial source-derived model.

### resource_boundary

Subject: roundtrip-main-workers, source hash 00f4bbcd3c873394f1a661e52a0dc3360dc8f4f368d9f33113d3f6c6ac2e4109, transition observation.

Parallel volume scheduling: allocations/clones and recursion/scans within this scope are retained. Parent cost bound is conservative for this subroutine: Spec parse O(bytes). run_set uses max(threads,1) workers and O(volume count) result slots, plus pipeline cost; tally merges sequentially by index. CLI I/O proportional to read/write bytes; allocations and thread creation can fail/panic.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Status: partial source-derived model.

### observation_projection

Subject: roundtrip-main-workers, source hash 00f4bbcd3c873394f1a661e52a0dc3360dc8f4f368d9f33113d3f6c6ac2e4109, transition observation.

Observe only outputs/state produced by Parallel volume scheduling, holding caller state fixed. Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling. Downstream aggregation is not an injective observation of this scope.

Domain: bounded synthetic values, valid source-specific coordinates, nonoverflowing counts, available allocation; fixed environment controls. Relations are source-derived partial models with finite checks, not universal proofs.

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Status: partial source-derived model.

### tests

#### Scoped evidence

Evidence: external wave32 rt_core receipt includes native-commands.json, exact named outcomes twice debug/twice release, raw status/log files, compiled production controls with byte restoration and paired syntax. Only named synthetic helpers execute; model_path/export and live CLI paths have representation/source evidence.

Coverage is limited to this fragment's reached branches; parent tests do not prove every scoped branch.

### invariant-and-cost

#### Scoped invariant and cost

Workers claim atomic unique indices and write indexed result slots; merge order remains volume order independent of scheduling.

Spec parse O(bytes). run_set uses max(threads,1) workers and O(volume count) result slots, plus pipeline cost; tally merges sequentially by index. CLI I/O proportional to read/write bytes; allocations and thread creation can fail/panic.

The parent bound is conservative; unrelated parent effects are excluded from this fragment.
