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
| component | label | where |
|---|---|---|
| approximant | partial | approximant |
| ast | partial | ../syntax.json |
| composition | partial | composition |
| cost | partial | cost |
| descriptant | present | descriptant |
| invariant | partial | invariant |
| tests | executed bounded checks | 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 |
reverse_reconstruction | reverse_reconstruction | partial source derived model | reverse_reconstruction |
masc_fiber | masc_fiber | partial source derived model | masc_fiber |
fem_fiber | fem_fiber | partial source derived model | fem_fiber |
animal_gender | animal_gender | partial source derived model | animal_gender |
default_fiber | default_fiber | partial source derived model | default_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/