Elamur Groupants⌕
☰

onto-hs-chunks

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
continuationcontinuationpartial source derived modelcontinuation
negationnegationpartial source derived modelnegation
main_selectionmain_selectionpartial source derived modelmain_selection
level_boundarylevel_boundarypartial source derived modellevel_boundary

Model text

descriptant

onto-hs-chunks

(tokens,exclude,cont,level)→ordered branch features; parenthesis restores exclude/cont

Epoch 2026-10-31

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

approximant

Scoped forward

(tokens,exclude,cont,level)→ordered branch features; parenthesis restores exclude/cont

Domain

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

Bare NP inherits Of/Has/Purpose/Exclude at level

not toggles neg0 except noun-list exclusion

First maximal-level Item else Head

u8 colon depth requires<=255 to avoid overflow

No executable percentage surrogate established.

invariant

Local observations

whether excludes distinguishing feat; excluded nouns cannot become Head/Item

Bare NP inherits Of/Has/Purpose/Exclude at level

not toggles neg0 except noun-list exclusion

First maximal-level Item else Head

u8 colon depth requires<=255 to avoid overflow

cost

Scoped cost

Token index vectors and repeated noun-group/tail scans can take O(T²) time and copying; state vectors O(colon levels), features O(emissions). Parenthesis state cloning adds O(levels) per nested chunk. Recursive tail depth/resource exhaustion unbounded outside finite domain.

Symbolic accounting; no timing claim or whole-system speed bound.

composition

Parent join

chunks supplies the parent relation: (tokens,exclude,cont,level)→ordered branch features; parenthesis restores exclude/cont

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

models

behavior_complement

whether excludes distinguishing feat; excluded nouns cannot become Head/Item

reverse_reconstruction

Many filler/punctuation variants yield same features with same branch states

continuation

Bare NP inherits Of/Has/Purpose/Exclude at level

negation

not toggles neg0 except noun-list exclusion

main_selection

First maximal-level Item else Head

level_boundary

u8 colon depth requires<=255 to avoid overflow

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/chunks.groupant/