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

# layers-lib-global-math

The groupant beside layers/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:** [`layers/src/lib.rs`](https://github.com/ElamurAI/mova-free/blob/main/layers/src/lib.rs)
- **source SHA-256:** `f7a2576c1bcd7945…`
- **covers:** Exact calculator and independent-check admission, plus principle/consequence delegation. (bytes 2735–3898)
- **part of:** [layers-lib](https://md.groupants.elamur.ai/free/en/mova/layers/src/lib.rs.groupant/)
- **repository folder:** [`layers/src/lib.rs.groupant/global-math.groupant`](https://github.com/ElamurAI/mova-free/tree/main/layers/src/lib.rs.groupant/global-math.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** | 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) |
| `admission_order` | admission_order | partial source derived model | [admission_order](#admission-order) |
| `verification_optional` | verification_optional | partial source derived model | [verification_optional](#verification-optional) |
| `value_render` | value_render | partial source derived model | [value_render](#value-render) |
| `delegation` | delegation | partial source derived model | [delegation](#delegation) |

## Model text


### descriptant

#### layers-lib-global-math

Exact calculator and independent-check admission, plus principle/consequence delegation.

##### Epoch 2026-10-31

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

### approximant

#### Scoped forward relation

Trim query; parse; eval with Limits5seconds; collect substitutions; reject independent check disagreement; return exact value and optional check reason.

##### Domain and gap

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

### invariant

#### Scoped invariant

Parsing precedes eval; independent check evaluated only after success.

##### Cost

Calculator parse/eval/independent check delegated with Limits5seconds; no strict bound on all callbacks or complete checking guarantee.

### models

## Scoped typed relations

### behavior_complement

Parse/eval failure or explicit independent-check disagreement excludes a global answer. Absence of an independent check does not exclude acceptance.

### reverse_reconstruction

Same exact value admits distinct expressions; failed admission includes parse/eval/check failure. No unique original expression recovery.

### admission_order

Parsing precedes eval; independent check evaluated only after success.

### verification_optional

No independent check Some does not reject; only Some with !ok rejects.

### value_render

Result uses v.exact(), distinct from mlab f64 display.

### delegation

principles/consequences call global module, not the calculator.


### tests

#### Evidence scope

Parent selected tests: tests::global_math_first, tests::domain_by_coverage_and_escalation, tests::explain_mode_only_when_asked, tests::garbage_is_not_math, wave30_tests::finite_ties_declines_and_threshold. 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.
