# NUMA 0.3: Provisional Semantic Language Specification

**Working title:** Numerical Universal Meaning Architecture (NUMA)  
**Date:** 13 October 2026  
**Status:** Experimental prototype. Not an approved standard, natural-language replacement, or validated universal language.  
**Researchers:** Frank Cases (researcher); Stevenson Morin (collaborator).  
**Dedication:** his father.

## 1. Objectives

Implementation 0.3.1 clarifications and the normative validation contract are recorded in [CONFORMANCE.md](CONFORMANCE.md). Profile and numerical assignments remain 0.3.

NUMA is a proof-of-concept auxiliary communication formalism. Its initial design has four goals:

1. **Consistency:** a semantic concept has a stable numerical identifier within a pinned registry version.
2. **Composability:** a function identifies its ordered semantic arguments and yields a typed result.
3. **Determinism:** a valid readable sentence is reversible to/from a compact digits-only transport encoding.
4. **Human learnability:** experiment with whether novices can learn a small number-based meaning system, using their native languages as support.

There is no claim that concepts, digits, numerals or grammar are already universally understood. In particular, speech and typography remain culture-specific. A person must learn the mappings.

## 2. Version profile

This document describes NUMA profile `0.3`, with exactly three ASCII digits per concept ID. The seed registry in `site/data/concepts.json` contains 167 **provisional**, not peer-reviewed entries. The profile is intentionally limited so experiments can measure its strengths and failures.

| Namespace | Purpose |
|:---|:---|
| 001-099 | Contextual references; only a subset assigned |
| 100-199 | Semantic predicates or relations |
| 200-299 | Entities / abstract objects |
| 300-399 | Properties |
| 700-799 | Measurement and currency units |
| 800-899 | Literal and quantity construction |
| 900-989 | Logical, grammatical and discourse operations |
| 990-999 | Reserved wire controls and future transport extensions |

The namespace and ranges are conventions, not mathematical properties of meaning. Every assignment can be challenged before a stable major version.

## 3. Readable syntax

```ebnf
message    ::= expression
expression ::= code | code "(" expression ("," expression)* ")"
code       ::= digit digit digit
digit      ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
```

Space around tokens can be ignored. The lexical exception `800(DDD)` uses a **literal** `DDD` that is not a registry concept; a parser MUST preserve its literal type. `800(990)` means the number 990, not an open delimiter or a semantic concept. Generic parsers that forget this distinction are incorrect.

Examples:

```text
110(001,201)                        DRINK(speaker,water)
901(110(001,201))                   PAST(DRINK(speaker,water))
903(107(002,201))                   QUESTION(HAVE(addressee,water))
108(001,002,201)                    GIVE(speaker,addressee,water)
121(231,232,210)                    TEACH(teacher,student,language)
113(211,801(800(025),701))         COST(book,QUANTITY(25,USD))
```

## 4. Typed semantic functions

A valid expression has a static semantic type. Types in this profile:

- `reference`: context-bound participant such as 001 (speaker)
- `entity`: a named entity or conceptual object
- `property`: an attribute such as 304 (safe)
- `unit`: a currency or measurement unit
- `number`: a numeric value created with 800
- `quantity`: a number paired with a unit via 801
- `proposition`: a semantic relation that may be asserted, questioned or modified

A role declared as `entity` can accept an `entity` or a `reference`. Other types must match exactly. A complete message must evaluate to a `proposition`. A bare entity (`201`) is a valid component but not a complete message.

### Selected roles

| Code | Name | Roles, in order | Result |
|:---|:---|:---|:---|
| 107 | HAVE | holder:entity, object:entity | proposition |
| 108 | GIVE | giver:entity, recipient:entity, item:entity | proposition |
| 110 | DRINK | agent:entity, liquid:entity | proposition |
| 113 | COST | item:entity, price:quantity | proposition |
| 121 | TEACH | teacher:entity, student:entity, subject:entity | proposition |
| 133 | DESCRIBE | entity:entity, property:property | proposition |
| 900 | NOT | proposition | proposition |
| 901 | PAST | proposition | proposition |
| 902 | FUTURE | proposition | proposition |
| 903 | QUESTION | proposition | proposition |
| 904 | AND | proposition, proposition | proposition |
| 905 | IF | condition:proposition, consequent:proposition | proposition |
| 906 | REQUEST | proposition | proposition |
| 908 | POSSIBLE | proposition | proposition |
| 800 | NUMBER_VALUE | number-literal | number |
| 801 | QUANTITY | number, unit | quantity |

The general glossary is deliberately *not* a compositional definition of complete natural-language sentences. Tense operators do not presently encode anchor time, perfectivity, aspect or verb agreement. The `003` reference lacks discourse identity resolution. Translation may be ambiguous even if the input passes validation.

## 5. Digits-only transport encoding

Readable parentheses and comma have separate control tokens:

| Code | Meaning |
|:---|:---|
| 990 | Open argument list |
| 991 | Separate arguments |
| 992 | Close argument list |
| 993 | Escape next three-digit token as a numeric literal |

All tokens in this profile are three digits and their boundaries are implicit. The encoder MUST emit 993 before a numeric payload inside 800; the decoder MUST reject an unescaped literal or an unbalanced argument list.

```text
Readable: 110(001,201)
Digits:   110990001991201992

Readable: 113(211,801(800(990),701))
Digits:   113990211991801990800990993990992991701992992
```

The second example demonstrates escape handling of payload 990. The stream itself does not include human-language labels. A party interpreting it must possess the same profile and a compatible dictionary. This profile does not define frame lengths, checksums, cryptographic signatures, error correction, network packet framing or human speech encoding.

## 6. Validation and security limits

A parser MUST reject incomplete three-digit tokens, nested delimiters without matching closure, invalid type combinations, incorrect arity, unknown IDs, and misplaced reserved tokens. The reference implementation limits user input to 8,192 characters, nesting to 32 levels, and AST size to 500 nodes to reduce resource exhaustion risk. These are implementation safeguards, not limits on future NUMA research.

A valid message conveys *structure*, not factual truth. The grammar does not make messages trustworthy or safe. Transports should authenticate endpoints separately, and translations should never be treated as medical, legal or emergency guidance without professional review.

## 7. Registry governance

Before a stable 1.0, all concepts must have:

1. Unique immutable code and machine-readable key.
2. Formal meaning definition that avoids English-only circularity where possible.
3. Argument roles, types and examples.
4. English/French/Spanish labels, translated by independent speakers.
5. Ambiguity/cultural bias notes, provenance and revision history.
6. Controlled change process and semantic versioning.

A future major version should use registry and protocol version headers, extended literals, namespaced identifiers, extensible semantic roles, bound referents and precise event semantics. These will be **new designs**, not retroactive reinterpretations of v0.3 messages.

## 8. Explicit unresolved questions

- Are fixed three-digit identifiers learnable at educationally meaningful scale?
- Is prefix function grammar sufficiently natural for young learners?
- How should ambiguities, negation scope, modal scope and quantification be represented?
- Can cultures agree on one ontology without erasing local meaning?
- Can an accessible visual/tactile/audio companion reduce cognitive load?
- Which tasks outperform existing pictographic systems or bilingual instruction?

## 9. Standards perspective

NUMA must distinguish its proposed human-facing numerical layer from prior work. **Universal Networking Language** addresses machine-readable, language-independent meaning; **Abstract Meaning Representation** models sentence meaning as labeled graphs and explicitly does not claim to be an interlingua; **Blissymbolics** is a longstanding graphical semantic communication system with an international vocabulary. We should publish objective comparisons rather than exclusive novelty claims.

### References
- UNDL Foundation, *UNL Specifications* (2010): https://www.unlarchive.org/docs/2010.html
- Banarescu et al., *AMR 1.2.6 Guidelines* (2019): https://github.com/amrisi/amr-guidelines/blob/master/amr.md
- Blissymbolics Communication International: https://www.blissymbolics.org/
- UNESCO, *Languages matter: Global guidance on multilingual education* (2025, updated 2026): https://www.unesco.org/en/articles/languages-matter-global-guidance-multilingual-education
