Elamur Groupants⌕
☰

onto-hs-thresholds

The groupant beside onto/src/hs.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

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

componentlabelwhere
approximantpartialapproximant
astpartial../syntax.json
compositionpartialcomposition
costpartialcost
descriptantpresentdescriptant
invariantpartialinvariant
testsexecuted bounded checkstests

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.

idtypelabelwhere
behavior_complementbehavior_complementpartial source derived modelbehavior_complement
reverse_reconstructionreverse_reconstructionpartial source derived modelreverse_reconstruction
unit_relationunit_relationpartial source derived modelunit_relation
topologytopologypartial source derived modeltopology
scaling_failurescaling_failurepartial source derived modelscaling_failure
dimension_domaindimension_domainpartial source derived modeldimension_domain

Model text

descriptant

onto-hs-thresholds

endpoint=x*factor; complete last interval on opposite missing side with same attr/base

Epoch 2026-10-31

Specialized source fragment bytes [13087,24748); shared parent AST. Excludes unrelated parent operations and added test module.

approximant

Scoped forward

endpoint=x*factor; complete last interval on opposite missing side with same attr/base

Domain

This byte-scoped operator uses the parent valid-state domain plus the following local restrictions:

cc→m³ factor1/1000000; kg/g rescale

below(h,l)=h<l OR(h=l AND NOT both inclusive)

Rat::mul error drops hit, not float approximation

overlaps requires caller equal attr/base/basis

No executable percentage surrogate established.

invariant

Local observations

No comparator excludes hit; touching open endpoint excludes overlap

cc→m³ factor1/1000000; kg/g rescale

below(h,l)=h<l OR(h=l AND NOT both inclusive)

Rat::mul error drops hit, not float approximation

overlaps requires caller equal attr/base/basis

cost

Scoped cost

O(T²) nearest-attribute/unit scans; rational arithmetic cost depends on integer width.

Restriction to this operator's traversed inputs; parent total is not charged to every fragment. No standalone measurement.

composition

Parent join

thresholds supplies the parent relation: endpoint=x*factor; complete last interval on opposite missing side with same attr/base

Output compatibility is conditional on the local domain and earlier-branch exclusions. Other parent branches are outside this fragment.

models

behavior_complement

No comparator excludes hit; touching open endpoint excludes overlap

reverse_reconstruction

Any token/comparator/unit sequence normalizing to same endpoint pair is compatible

unit_relation

cc→m³ factor1/1000000; kg/g rescale

topology

below(h,l)=h<l OR(h=l AND NOT both inclusive)

scaling_failure

Rat::mul error drops hit, not float approximation

dimension_domain

overlaps requires caller equal attr/base/basis

tests

Evidence

Parent tests.md identifies selected actual-code checks. Fragment is a source-scoped partial model; parent finite fixtures do not establish exhaustive branch coverage or every local equation.

This page in Markdown → https://md.groupants.elamur.ai/free/en/mova/onto/src/hs.rs.groupant/thresholds.groupant/