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

# gparse-library-loading

The groupant beside gparse/src/lib.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:** [`gparse/src/lib.rs`](https://github.com/ElamurAI/mova-free/blob/main/gparse/src/lib.rs)
- **source SHA-256:** `8facccb443151321…`
- **covers:** load_vars reads safetensors then sets present variables; load builds config/vocabs/device/net first. (bytes 734–2013)
- **part of:** [gparse-library](https://md.groupants.elamur.ai/free/en/mova/gparse/src/lib.rs.groupant/)
- **repository folder:** [`gparse/src/lib.rs.groupant/loading.groupant`](https://github.com/ElamurAI/mova-free/tree/main/gparse/src/lib.rs.groupant/loading.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 | [approximant](#approximant) |
| **ast** | partial | `../syntax.json` |
| **cost** | symbolic source derived | [invariant](#invariant) |
| **descriptant** | present | [descriptant](#descriptant) |
| **invariant** | partial | [invariant](#invariant) |
| **tests** | unexecuted source derived scope | [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) |
| `read_order` | read_order | partial source derived model | [read_order](#read-order) |
| `device_choice` | device_choice | partial source derived model | [device_choice](#device-choice) |
| `partial_effect` | partial_effect | partial source derived model | [partial_effect](#partial-effect) |
| `missing_parameter` | missing_parameter | partial source derived model | [missing_parameter](#missing-parameter) |

## Model text


### descriptant

#### Source-bound description

load_vars reads safetensors then sets present variables; load builds config/vocabs/device/net first.

##### Epoch 2026-10-31

Prospective model was recorded before edits. Added tests use bounded synthetic fixtures; production algorithms unchanged. Coverage is partial, not proof. No trained corpus, live teacher or throughput experiment was executed.

### approximant

#### Forward approximant

load_vars reads safetensors then sets present variables; load builds config/vocabs/device/net first.

Domain: valid source-specific dimensions and resources stated in invariant; no automatic production substitution. Numerical observations are finite checks, not an end-to-end relative bound. Executable Rust surrogate: unsupported gap; existing exact tests are not surrogates. Future metric-specific caps may be 1/2/5/10%, never above 10%.

### invariant

#### Invariant and cost

Missing named tensor preserves random init, shape errors can occur after other sets.

##### Cost

O(file bytes+parameter elements), device memory proportional to model.

Allocation, finite arithmetic, platform dimensions and external failures are not universally certified.

### models

## Typed model catalog

### behavior_complement

Missing tensor name cannot force zero initialization; it preserves allocated value.

### reverse_reconstruction

Final variables are compatible with files omitting initialized names or including equal values; missing/explicit equality is indistinguishable.

### read_order

cfg precedes words/xpos/upos/rels, then device/Net then safetensors.

### device_choice

Presence of GP_CPU forces CPU, irrespective of its text value.

### partial_effect

var.set may fail after previous variables were changed; no rollback.

### missing_parameter

Unknown extra tensors ignored, absent expected tensors keep initialization.

### tests

#### Checks and limits

This exact fragment remains source-derived and unexecuted in this epoch. Parent/sibling selected evidence, not runtime coverage of this fragment: synthetic_cpu_prediction_preserves_slots_and_fallback (actual predict and predict_scored); load/load_vars remain source-modeled, no model-file runtime claim

Selected commands run twice debug and twice release; exact receipts and source-to-test mapping retained in wave30 gparse external run directory. Tests do not certify allocation failure, all NaN/overflow inputs, trained-model accuracy or corpus timing. Compiled mutants cover selected boundaries; per-source coverage is recorded in the external map, not presumed.
