Elamur GroupantsโŒ•
โ˜ฐ

onto-pron-pronoun-policy

The groupant beside onto/src/pron.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
masc_fibermasc_fiberpartial source derived modelmasc_fiber
fem_fiberfem_fiberpartial source derived modelfem_fiber
animal_genderanimal_genderpartial source derived modelanimal_gender
default_fiberdefault_fiberpartial source derived modeldefault_fiber

Model text

descriptant

onto-pron-pronoun-policy

Ordered cases on(human,persona,gender) produce a fixed allowed singular pronoun slice

Epoch 2026-10-31

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

approximant

Scoped forward

Ordered cases on(human,persona,gender) produce a fixed allowed singular pronoun slice

Domain

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

[he] requires Masc and human Yes or persona

[she] requires Fem and human Yes or persona

Nonhuman/nonpersona cue returns it then he/she

[it] loses distinction Neut versus Unknown

No executable percentage surrogate established.

invariant

Local observations

Human Yes excludes only-it; neutral persona excludes only-he/she

[he] requires Masc and human Yes or persona

[she] requires Fem and human Yes or persona

Nonhuman/nonpersona cue returns it then he/she

[it] loses distinction Neut versus Unknown

cost

Scoped cost

Fixed ordered match has O(1) time and zero heap allocation; returns a static slice of one to three string literals. It does not charge the caller's Kb/WSD computations or inspect why text.

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

composition

Parent join

pronoun-policy supplies the parent relation: Ordered cases on(human,persona,gender) produce a fixed allowed singular pronoun slice

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

models

behavior_complement

Human Yes excludes only-it; neutral persona excludes only-he/she

reverse_reconstruction

[he,she,it] implies persona true,human!=Yes,gender neither Masc nor Fem; animate/concept/why unconstrained

masc_fiber

[he] requires Masc and human Yes or persona

fem_fiber

[she] requires Fem and human Yes or persona

animal_gender

Nonhuman/nonpersona cue returns it then he/she

default_fiber

[it] loses distinction Neut versus Unknown

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/pron.rs.groupant/pronoun-policy.groupant/