interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / neuralese / README.md

486 lines · 33000 bytes Raw Blame History Rendered
1# Neuralese supplement to Omega
2
3Status: **PROPOSED** learned-representation design. The bounded, hand-authored
4codebook below is **IMPLEMENTED / EXERCISED** on the host, not learned reasoning or
5hardware **QUALIFIED**. It remains a pending implementation candidate. Omega keeps
6its name. Neuralese is a representation supplement, not a second execution
7language, compiler mode, authority source or bypass.
8
9Source baseline: `aien-dev/omega-mv` main
10`6999fa9e6dae4847c155ef4eacaece74f491d3ca` (2026-10-28).
11Compiler: committed `seed/out/omc`, SHA-256
12`d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84`.
13Compiler source SHA-256:
14`3f937160c823d3a90a6b4cc296f00f517f36ede7fd27a06505c998985ec62240`.
15Authority: `docs/one_layer/OMEGESE.md`, sections 9, 10 and 12, and
16`seed/omc/omc.om` at that baseline. No syntax changes are proposed by this patch.
17
18## Active reproduction pin (not historical run evidence)
19
20Current pin after omc KFD GET_PROCESS_APERTURES_NEW owned-mapping span, branch `amdserve/kfd-aperture` on Radicle main 46520074 (2026-11-13): committed
21`seed/out/omc` SHA-256
22`26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991`, compiler
23source SHA-256 `9977db63aae76ee41c35a7a5715d7dc40427f3c7711597f31e5b60697ef8e7ef`.
24The previous pin, after omc KFD CREATE_QUEUE queue object, amd_queue_v2_t extent; effects rows for the KFD words (branch `amdserve/kfd-queueobj`, not landed), was
25`46dedc0a55c3e6187f7c7cea896c9691761f961210c906337a4cdbac7baa32f1` (source
26`b676af9ead6eef53ede18da136dabc89b15e879b4d0bb1a2ad66276f517a3c67`); before that, after omc KFD CREATE_QUEUE compiler-owned queue-object binding (branch `amdserve/kfd-queueobj`, not landed), was
27`bef974c1414dbac5b8f636d872a5815fb04594cda7bb213e9c0e0a1ff6f31c5b` (source
28`2805d733f646291cfe9763167db66e88d83871c8146adef2ce5b2172752932eb`); before that, after omc KFD words rebased with current diagnostic and module compiler work (branch `amdserve/kfd-word-r2`, not landed separately (merged into this line)), was
29`5fe037d9653e72dfc57a346312ec9284f388a6e002adce6fdee1305fe70c5bdc` (source
30`4155f90148dae34dd1fc78f035fbf98c4352a28158ddef79b1f200efba46858c`); before that, after omc's arena is a run-time pool that grows under a caller-stated memory ceiling, OMC_MEMORY_MAX (om4 learns the pool subset and envcnt/envread; error 14 now means the host or the ceiling refused; branch `completion/integrated-20261112`, landed as a7260bed, 2026-11-12), was
31`106558ba36e28d1a55384b9e2e1387ec429ff267bb03f1215f86c9c03ca64bed` (source
32`eac9784b018dff579f8c1c187f209c241973d52d355f39a4729073379345521f`); before that, after omc run-time pools, landing 1 (global NAME T *, enlarge, len; OMEGESE 9.15; branch `omc/pools`, landed as 35524fb1, 2026-11-11), was
33`a5613368f427aacd73ebeee16d46f8b3203405711d4de5b860d0cbee11ce4533` (source
34`763747fc549c1270cce0471b32b744664dcde975abb0e7f4e6e564e254ac5a4f`); before that, after omc inline-cycle check reads the inline-edge tables only (no trap 3 past the calls' room; gate-nocaps drives every table past its first room; branch `omc/inline-edges`, landed as 83507124, 2026-11-11), was
35`2495bc253c662dce362ac62393796a3579156dcfd5df7e3eba06df3436ae5d04` (source
36`ec414f48bd973dc0fbfd181d9475a4636dc0b2ff8e7c9bbadc97d8504d548448`); before that, after omc arena accesses written inline, in range by construction, and input-sized first rooms (compile time at or below f4fa7951 on the stack's units; branch `omc/perf`, landed as d6840959, 2026-11-11), was
37`1e628c80d5bd2ad0b08eb46d8abff66eff284a74e5a302e589c2d61cfe9f7347` (source
38`de4099cad761a315d6bf9898bc29eb18b9eedddb568594d41e80d0de462f4199`); before that, after omc tables in one growing arena, no table capacities (branch `omc/no-caps`, landed as 3537baad, 2026-11-11), was
39`c52e986ed693c241f0bbb5c673a81a4aef70b9b923c447004360ffd111383607` (source
40`ed8e6a6aca3dfed740de2a1aa458095a8a50a757f5b1d3f2b1683ad4ba9cb740`); before that, after OM-2 AArch64 global array bases and lengths pinned in X18..X26, with factory bay 16's pinshut fix (branch `ham/omc-perf-mem-3`, 2026-11-10), was
41`f4fa7951816bbd09c5eaaae6692852a70c3c305164b365027c5b683dec7d63e9` (source
42`c86159627820cf5741be0a2a4c05df0efb78f5c91a652b986fec5d745baa62ed`); before that, after scheduler host words cpuset/cpuget/cpunow/setprio/getprio 236..240 (branch `ham/om-threads-4`, stacked on `ham/omc-perf-loops-5` on Radicle main `12bdb787`, 2026-11-10), was
43`0ed21175a1709cb755c289383cd8fcbfaac8330c3967fe4656b9f82fc96a3c4f` (source
44`232f89ebe688e81c289a9d0225dd06e4d8e8aaad8e489433634e7f8bf0b9b0a9`); before that, after OM-2 AArch64 `for` loops tested at the latch (branch `ham/omc-perf-loops-5` on Radicle main `12bdb787`, 2026-11-10), was
45`6844d173abc85ecbc04154cce85e4e5eeec8bf7b21f4ab1c10728c55efe7dd00` (source
46`f2def4bbc5d42afefc01b0fbca385157974249ac0ab22f9f4ff4cd87e93517e0`); before that, after names of up to 63 bytes (branch `omc/long-names` 2e20b286 merged after `pearl/exec-limits` on rad main `a59a425b` in `ham/omc-train`, 2026-11-10), was
47`564c5835f307a65c07908eb5bd236addb060a42f44cfb7ac496879195486c999` (source
48`9f93a91aee8c6a37e88d61b96f8224a8dd73168e787732d634de7f82a380b8c3`); before that, after the exec argv limits (branch `pearl/exec-limits` in `ham/omc-train`, 2026-11-10), was
49`b87c8b651fc74c90357c9a6df93172aec18e89324bd9be8adb85f5142670318e` (source
50`23efffceff5e3266629529dc9b10a6e91e9774643ced18b2e4add5cc41cfdc7b`); before that, after the prlimit 235 host word (branch `seed/prlimit-host-word` on rad main `408c76b7`, 2026-11-08), was
51`6d1b1cf5a44803389a831b67f750ea4cd1c9f53edfde9d6d9241d7352887f1f8` (source
52`7995e0e31bb3abcf9905fbb6257d56613b2dc67dd22be56f7396151fa84e7189`); before that, after x86 types `fma` operands before its error 9 (branch `fix/x86-fma-order`, 2026-11-08), was
53`0f2de85153b07656f4b992d101272987fe6ed1eee471ef70b132a37f5ba6b02f` (source
54`7d8026837cfcafe53222228f076e4dab58279ae78a4b008440e6262f5b3c91ab`); before that, after the execenv 233 host word
55(branch `hive/execprog-env`, 2026-11-07), was
56`cfd96b48b0460ab5557853d6856f9c741b96ac8d0d624e06198defb4cbfa0d8a` (source
57`062c9649af6a1d499b911e5b2f39b5419d7b75047616fe59fbcdc25f7b7b5b73`); before that, after the
58x86efi anchor fix (#1054, merged as `3e3dc205d`), was
59`5f90edea61bac241398df5036990d899361a5acd9decb37954ce088ec0f6f6df` (source
60`2c0fc44bdd607f9e84315e15c7c7ea263a5f0b6d83aa3f446fa6ed975e8ef34c`); before that,
61after the #1045 VFIO integration (merged as
62`8dc0fc5cee188d863b271611e678faf08e1966bd`), was
63`b1d9cff6d765d85159e14d8346ed946704e32e9ca39554fb22a7c3f23fe0cca3` (source
64`5419943aad39c6205bb673c1ddb1be874b1877163cc2f143c07a742cf347456c`); before that, after
65the hosted-x86 ABI1 stack (#1050, merged as
66`49d7961628ffbed5a8b013c7541995a24e64820f`), was
67`96eda108a064e419a6cda9112d3bf56ab64f2265fb04f8bb62c08a0786569763` (source
68`9622f66b63b09ae3ba6a22339058f22e789f8956007caf2ded166cba966c2d4d`); before that,
69after the x86efi reseed (#1015, merged as
70`d3d1b1bc7e3b970016a2176435f78c8f0251bad1`), was
71`b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55` (source
72`16b4ca40a5bd7796ac08b55d1ceadac1260e52298ed123f45418e77b3221c749`); before that, after
73the scrub live-float reseed (#994) merged as
74`9920aab1413983c2867d02d75b2276341595adb8`, was
75`be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a` (source
76`d4b4b89d8a58cc90d30d15a525b417e4b31e5bfe5288d21d665f1c7958a330f6`); before that, after
77the #857 `for ... bound N` reseed on main `3a163bc5eafa5be4b9ca97b7f17046c33f0d9032`, it was
78`24caacf463cc29c5413d5b2565ef8f88c76e60a585bbad44d2388cb1ac29abb7` (source
79`0ed35c70437d498cbce3deb661bb24ba4753ec16a8890450a482aaea147bca2a`); before that, after
80the #848 `while ... bound N` reseed on main `157bab57c67ff80f5b988b91bd39bc1099852915`, it was
81`90c8884c7f6888be47e4aa8e211eb48b776950fc43eef937ea963f96f7083983` (source
82`6cba87748df4faf3566b0688321942960a2b4c9f92298950e4319e0a95d2e651`); before that, after
83the #853 float reseed on main `4722cba587954c3257c7b4de13cfef2ba78d4329`, it was
84`469532a50ecb8a0e5ca8e914dd46754bb3fbde7825fb33b7037208caf09779bc` (source
85`6c0e9bdd2c27f2022bac2ef8931e8793d9b1c5826f39901f2570715b9fc09960`); and after
86merging main `62d1d0d668f897386a0e311374f8dbcc5c32dde8`, it was
87`62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b` (source
88`96d51b63c8f451661ac715395078e04f39195e50c9e8fe37746cda121e4d7a1e`).
89The conductor compares the supplied hash to the compiler it actually reads and
90refuses a mismatch before case execution. The reproduction commands below use
91the active pin; dated observations below describe earlier runs, not this tree.
92
93On future reseeds, update this active binary/source pair and the reproduction
94commands only. Dated observations below retain the compiler actually used; add a
95new dated result for a new run instead of globally replacing hashes. An active
96pin is a reproduction input, not evidence that either Neuralese suite was rerun.
97
98## Proposed learned-representation envelope
99
100An untrusted producer may submit a learned representation for communication or an
101intermediate proposal. The envelope must bind all of the following:
102
103- Envelope version and an unambiguous framing length, with a receiver-owned bound.
104- Producer model identity: an immutable model artifact digest plus architecture,
105 tokenizer/preprocessor and representation-layer/version identities. A friendly
106 model name alone is insufficient. A non-model producer must identify itself as
107 such; it cannot claim a model identity.
108- Decoder identity: immutable decoder artifact digest, codebook/schema version,
109 decoder configuration and exact compatible producer identities.
110- Dimension/shape, dtype, byte encoding, byte order and canonical serialization.
111 A decoder's registry entry fixes the permitted values and payload limit.
112- Checksum algorithm and digest of the metadata and payload together. A checksum
113 detects accidental corruption; it authenticates nobody and grants no authority.
114- Context/task binding when representations depend on a task or preceding state.
115 A future contextual decoder must reject missing, stale or mismatched context.
116
117Identity pairs are exact registry keys. Vectors from different models, layers,
118quantizations or decoder revisions are not interchangeable even if their shape
119matches. Registry admission is a separate reviewed change, not a model decision.
120The proposed learned format is not accepted by this reference implementation.
121
122## Decode boundary and normal checked execution
123
1241. Bound and frame the entire input; reject unsupported identities, shapes,
125 encodings, checksum mismatches and noncanonical fields before emitting output.
1262. Decode only into explicit Omega source or a separately specified explicit
127 operation representation. Keep the original envelope and decoded artifact for
128 replay; never treat payload bytes, logits or model confidence as instructions.
1293. Feed the explicit artifact into the ordinary compiler. Apply the same type,
130 ownership, bounds, effect and capability admission policy that applies to a
131 source-text proposal. Never grant a decoder a privileged execution entry point.
1324. Runtime checks and the actual receiver's capabilities remain authoritative at
133 execution. Validate the resulting behavior with independent task acceptance
134 checks, not a second assertion by the producer or decoder.
135
136The current native compiler's host words use ambient process permissions
137(`seed/host/README.md`); compiling a host operation does **not** establish capability
138confinement. This supplement does not invent or claim such confinement. Its
139implemented codebook emits only pure scalar operations, no host/device words,
140capability handles, resources or effects. Consequently no effectful request is
141admissible in this implementation. A future effectful consumer must use its
142existing checked capability/effect executor; absent that executor, it must refuse.
143
144Contracts use `om2 debug`, not release erasure. This is not a sandbox for arbitrary
145source, and the test runner executes only the closed, hand-authored codebook.
146
147## Implemented bounded reference format: NLE1
148
149This is an intentionally small discrete representation, **not a latent vector**.
150All fields are unsigned bytes. Byte offsets and lengths below are bookkeeping.
151The complete frame is exactly 78 bytes; a 79-byte read buffer detects oversize
152without allocating from an untrusted length. The reader handles short reads and
153requires EOF. Read/write errors are failures, not successful empty artifacts.
154
155| Offset | Bytes | Meaning and required value |
156| --- | --- | --- |
157| 0 | 4 | ASCII `NLE1` |
158| 4 | 1 | Producer registry id `1`: `hand-authored-codebook-fixture/v1`, no model |
159| 5 | 1 | Decoder registry id `1`: `omega-neuralese-codebook/v1`, source `decode.om` |
160| 6 | 1 | Dimension `4` (four payload bytes, not a learned feature dimension) |
161| 7 | 1 | Dtype id `1`: unsigned 8-bit integer |
162| 8 | 1 | Encoding id `1`: raw bytes, byte order not applicable to one-byte scalars |
163| 9 | 1 | Payload length `4` |
164| 10 | 1 | Opcode: `1` increment, `2` double, `3` identity |
165| 11 | 1 | Operand, unsigned byte; ordinary decoded contract accepts at most `16` |
166| 12 | 2 | Reserved, must both be zero |
167| 14 | 64 | SHA-256 of bytes `[0,14)`, canonical lowercase hexadecimal in FIPS 180-4 digest order |
168
169The explicit registry names above bind to the candidate source revision and its
170recorded SHA-256 in `host-results.json`; numeric ids are not globally portable
171model names. Any decoder or codebook change requires a new reviewed registry
172version, not reinterpretation of an existing envelope. NLE1 is proposed until
173review/merge and is not a public or production wire protocol.
174
175Each opcode emits the complete source for `apply(x: uint)` with `requires le x 16`
176and `ensures le result 32`, followed by `main`. The operand is emitted as canonical
177decimal text, never copied as source bytes. The compiler emits the normal type,
178arithmetic and contract checks. An input operand of `17` is a syntactically valid
179proposal but the ordinary runtime precondition refuses it (exit `109`). Validation
180is not a certificate that a task was solved.
181
182Refusal statuses: `10` oversize; `11` magic/version; `12` unknown producer/decoder
183pair; `13` dimension; `14` dtype; `15` byte encoding; `16` short frame; `17`
184checksum; `18` reserved field; `19` unknown opcode; `20` payload length. `80` is
185input I/O failure and `81` output I/O failure. All validation refusals emit no
186source. SHA-256 reuses `om/tls/sha2.om`; there is no host decoder fallback.
187
188## Host reproduction and verification scope
189
190From the repository root on Linux AArch64:
191
192```sh
193sha256sum seed/out/omc seed/omc/omc.om
194mkdir -p build
195if seed/out/omc < seed/qualification/om2/gate.om > build/neuralese-gate; then
196 chmod +x build/neuralese-gate &&
197 build/neuralese-gate seed/out/omc \
198 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 \
199 neuralese/host.cases build/neuralese-host
200else
201 exit 1
202fi
203```
204
205The scratch directory must not exist, and its exact relative name is part of
206`host.cases`: later cases compile the earlier decoder's actual `.out` artifact.
207Do not run the gate executable if compiling it returned nonzero. The existing
208native Omega conductor checks the compiler hash, concatenates the decoder and
209existing program-library SHA implementation, then sends each emitted source
210through **that same unchanged compiler** and executes it. No stale output from a
211failed compile is run.
212The conductor provides bounded child deadlines, exact stdout/stderr/status checks,
213exclusive scratch creation and source substitution for mutants. No new host-
214language conductor, production library or runtime dependency is introduced.
215
216The committed `.wire` fixtures are independent SHA-256 test data constructed
217with Python 3.12.3 standard-library `hashlib` as a read-only verification oracle;
218their metadata/payload bytes and exact decoded-source oracles are committed.
219The implementation and test conductor remain `.om`. SHA-256 of the first
220fourteen bytes can also be compared with the fixture's trailing lowercase digest
221using an independent `sha256sum` byte checker. No Python implementation participates
222in decoding, compilation or the repeatable host suite.
223
224The suite covers every codebook operation, contract boundary inputs, unknown
225producer and decoder separately, dimension/dtype/encoding/length/checksum/magic,
226both reserved bytes, both opcode bounds, empty/short/oversize input, and ordinary
227compiler type/purity and runtime contract refusals. Every validation return has
228an independent success-return mutant, exercised against each applicable refusal
229fixture; the mutant must exit successfully and emit source instead of the empty
230refusal oracle. A wrong-codebook mutant must change exact emitted bytes and the
231subsequently compiled result. An erased precondition must change the ordinary
232contract refusal into the operand result. A false postcondition must trap.
233SHA digests are independent byte-checker results, not mathematical predictions.
234
235Independent expected arithmetic: WolframLanguageEvaluator query
236`{7+1,7*2,7,16+1,16*2}` returned `{8,14,7,17,32}` on 2026-10-28.
237The Wolfram mount was verified with `Integrate[x^2,{x,0,1}] -> 1/3` and
238WolframAlpha `sqrt(27)/2 -> (3 sqrt(3))/2`. These establish expected arithmetic,
239not execution evidence. The clean implementation pin exercised was
240`39e89fb1c2aaed99ddc05ec565274dd05792b70f`. The host conductor returned
241`OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0`, including seventeen
242guard-removal mutant kills, the wrong-codebook control, and ordinary type,
243purity, precondition and postcondition checks. Measured source/artifact hashes,
244commands and every verdict are in
245[`host-results.287fdc263f7af93107c378ba63c92202a0e6c1479cb1ff6971706b423b0b15fb.json`](host-results.287fdc263f7af93107c378ba63c92202a0e6c1479cb1ff6971706b423b0b15fb.json);
246the unedited conductor transcript is
247[`host-3163bdc1f56d02803df5061439d0a51156443b339e8e08870a93647894e99222.log`](host-3163bdc1f56d02803df5061439d0a51156443b339e8e08870a93647894e99222.log).
248Those files record the baseline-compiler run and are kept unedited. After merging
249main `62d1d0d668f897386a0e311374f8dbcc5c32dde8`, the same unchanged `host.cases`
250against compiler `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b`
251returned `OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0` on
2522026-10-30 (host CPU, Linux AArch64).
253No model inference, learned representation, GPU, hardware qualification,
254production transport, merge or deployment is claimed.
255
256## Concrete extension proposals and non-requirements
257
258**Required new language features for this patch: none.** Byte framing, bounded
259arrays, SHA-256, discrete decoding, source emission, contracts and host testing all
260use existing syntax. A fixed-size learned CPU decoder could likewise be written
261with existing bounded arrays and scalar arithmetic; its weights, implementation
262and independent correctness evidence are missing work, not new keywords.
263
264The following are concrete conditional proposals, not implemented syntax:
265
2661. **Typed effect/capability admission for a general effectful decoder consumer.**
267 Add a separately specified compiler/executor interface that accepts explicit
268 operations plus receiver-owned capability ids, checks declared effects against
269 those ids, and refuses unknown, expired or insufficient capabilities before any
270 host/device effect. It must not accept authority from envelope metadata. The
271 smallest gate uses an explicit denied file-write operation and proves no file
272 exists, then grants only the exact resource and proves a write; a gate-removal
273 mutant must be caught. This requires an executor/policy design decision and
274 operator review, not a decoder privilege or a change in this patch.
2752. **Typed bounded accelerator submission if the later decoder requires it.**
276 Specify input/output pool handles, element types/shapes and maximum work before
277 adding any host word. Refuse unknown handles, incompatible shape/dtype,
278 out-of-range regions and unauthorized submissions. The first test is a host
279 simulator plus refusal mutants; only a separately authorized physical run can
280 qualify device behavior. Existing low-level device words are not evidence that
281 such a typed inference interface or GPU model path exists.
282
283No heap, dynamic tensor sizes, implicit imports, vector coercion, new latent
284primitive or arbitrary foreign runtime is required or proposed for the bounded
285experiment. Do not add them as a prerequisite by assumption. Protocol framing,
286model registry, decoder implementations and task adapters are ordinary Omega
287application work, not necessarily language extensions.
288
289## Later bounded experiment: PROPOSED, NOT_RUN
290
291Preregister a task corpus of small pure integer/state-transform programs expressible
292in the current compiler. Specify input bounds, outputs, forbidden effects and an
293independent reference checker before running a producer. Use the same tasks and
294held-out cases for all arms:
295
296- Source-text producer: emits explicit Omega directly.
297- Structured-operations producer: emits a fixed operation schema/codebook decoded
298 deterministically into explicit Omega.
299- Learned-representation producer: emits a model-bound representation consumed by
300 an explicitly pinned compatible decoder, then the same explicit Omega boundary.
301
302Pin task corpus, producer/model artifacts, tokenizer, decoder/configuration,
303representation location/dimension/dtype/encoding, seeds, prompts, retry budget,
304compiler and acceptance checker. Separate codebook fitting/training tasks from
305held-out tasks. Do not compare vectors from incompatible producers.
306
307Apply identical compiler checks, kept contracts, receiver capability/effect
308policy and independent semantic acceptance checks to every arm. Preserve all
309attempts, decoded source and refusals; malformed envelopes, compiler refusals,
310contract violations, wrong results and missing evidence remain failures or
311NOT_RUN, never silently dropped. Preregister comparison definitions for task
312success, checked refusal rate, proposal bytes, total producer plus decoder cost,
313latency and reproducibility. Require independent replays and guard-removal/wrong-
314result controls. Do not infer private latent reasoning from either success or
315compression, and do not claim efficiency before measuring the full path.
316
317No models have been run for this supplement. A later run needs its own authority,
318resource reservation where applicable, immutable evidence and separate review.
319
320## NL4: canonical numerical payload to closed pure execution
321
322This additive boundary addresses [#920](https://github.com/aien-dev/omega-mv/issues/920)
323on draft #919, without replacing its historical NLE1 fixtures or receipts.
324It consumes the canonical LTP0 schema and `lpvalid` from
325[aien-protocols-mv #69](https://github.com/aien-dev/aien-protocols-mv/issues/69),
326not another envelope. Exact immutable native dependency commits, hashes, licenses
327and staging paths are in [`nl4-dependencies.json`](nl4-dependencies.json).
328The reused NL1 Hadamard unit is handwritten `.om`, licensed AGPL-3.0-only.
329Composed qualification executables retain that license; it is not silently
330reimplemented in a host language. No permanent foreign decoder/runtime is added.
331
332`proposal.om` implements a bounded native IEEE32 big-endian payload encoder and
333a tensor-to-typed-proposal decoder. Rank-one length-eight contiguous f32 and
334signed affine i8 payloads are admitted by LTP0; quantization scale and signed
335zero-point are checked against the receiver template. The codec itself does not
336authenticate a model or grant authority. Native-model profile2 is deliberately
337refused by this synthetic-only consumer.
338
339The fixed G0 projection uses Hadamard columns {2,3,5,8}/sqrt(8), producing eight
340coordinates from four features. It is not the learned three-coordinate channel.
341The first two decoded bits propose opcode1 increment,2 double or3 identity;
342opcode0 is refused. The other two propose explicit uint operand0..3.
343Scores within1/16 of exactly0 or1 are accepted; everything ambiguous refuses.
344These thresholds are frozen correctness fixtures, not tuned held-out results.
345The receiver independently supplies the expected opcode and operand on the CLI;
346the message cannot provide its own objective oracle.
347
348The proposed `uint[16]` descriptor is explicit:
349
350| Index | Meaning |
351|---|---|
352|0|opcode1/2/3|
353|1|left operand uint0..3|
354|2|right operand1 increment,2 double,0 identity|
355|3,4,5|rank1, sole dimension1, element count1|
356|6,7,8,9|result byte bound4, operation step bound1, required effects0, closed uint type id1|
357|10..15|reserved zero|
358
359`nlproposal(frame,proposal)` requires prior successful canonical `lpvalid`;
360it proposes, never executes or reserves. All refusal paths preserve the caller's
361descriptor. `nlmatch` compares all sixteen fields with a receiver-owned descriptor.
362The host harness first validates LTP0 against a local admitted fixture context,
363then proposes, compares, and calls ordinary compiled `om2 debug` functions with
364`requires x<=16` and `ensures result<=32`. Vectors are never instructions or
365dynamically executed source. All nonzero producer effect classes are refused,
366even if the synthetic template admits them.
367
368The receipt stream is `NL4R1 decision op lhs rhs rank dim0 dim1 elements effects result`.
369Success decision0 is stdout after executing the closed pure function. Refusals
370write stderr with a nonzero decision and every other numeric field zero, stdout
371empty. These are **HOST_SYNTHETIC** observations, not signed/authorized production
372receipts. The fixture's issued time is the receiver's synthetic clock and its
373high-water is0. This one-shot pure process has no durable replay ledger.
374Shape/type/resource admission and capability-reference equality are necessary
375checks, not capability authorization.
376
377LTP0 field101 is the producer-node effect class; fields192/224 preserve existing
378producer MJR1 DAG/input-binding semantics. A production caller must verify a
379completed producer MJR1.output_digest equals SHA256(entire LTP0), equals the
380independently admitted consumer CONTENT digest, and matches generation plus
381objective/tenant/subject. Consumer capability/verifier admission is independent.
382`lpvalid` does not verify this signed relation. Current native host words have
383ambient process permissions, not a capability sandbox. The absent canonical
384bindings are concrete owner proposals:
385[AEGIS #79](https://github.com/aien-dev/aegis-runtime-mv/issues/79) and
386[microjob reservation #70](https://github.com/aien-dev/aien-protocols-mv/issues/70).
387They must bind existing authority and lifecycle, never invent a Neuralese grant.
388Production admission, durable replay protection and all effectful execution are
389**NOT_RUN**.
390
391### Independent math and replay
392
393Raw actual Wolfram tool-call/result events are preserved in `nl4-wolfram-*.jsonl`;
394no private model activations or inference traces are included.
395Verification calls were `Integrate[x^2,{x,0,1}] -> 1/3` and Alpha
396`sqrt(27)/2 -> 3 sqrt(3)/2`. The exact query in `nl4-wolfram-oracle.jsonl`
397checks `Transpose[E].E == IdentityMatrix[4]`, all sixteen `X.E^T.E-X` zero,
398and all sixteen exact real decodes after IEEE32 rounding. Its exact maximum
399feature error is `1-47453131/(33554432*Sqrt[2])`.
400That models quantized input decoded in exact arithmetic, not a claim that native
401floating-point execution is exact. The native encoder is separately compared
402byte-for-byte against independently Wolfram-exported IEEE32 payloads.
403`nl4-wolfram-int8.jsonl` queries `Q=Round[16 H]`, `Q.E/16`,
404returning maximum exact feature error `-1+3/(2*Sqrt[2])` and all sixteen bits
405recovered within the frozen tolerance. Independent ambiguity, wrong-sign and
406wrong-scale controls are in `nl4-wolfram-ambiguity.jsonl`.
407
408The scoped compiler hash `d6290c76...` is not a substitute for older pins.
409It is exactly the committed `seed/out/omc` introduced by
410`1fe5976d398646b17acabbf6d9dfae96b017e439`, with the full binary/source hashes in
411the lock. Read-only `git show <revision>:seed/out/omc | sha256sum` resolved the
412older `2c824805...` at82a399b9 and `49923639...` at ec07d25d as different
413historical binaries. No compiler change is part of NL4. After the reseed
414recorded at the top of this file, the committed compiler is `26540e6d...`; the
415lock and receipt below keep the `d6290c76...` run unedited, and the command
416below uses the current pin because the conductor refuses any other hash.
417
418From this checkout with separately fetched sibling source repositories. The lock names
419aien-protocols-mv `6fb728a1`, the draft commit the original run read; that commit is not
420in the canonical history, which carries the same `validator.om` bytes in the landed NL3
421commit `703eb1b2`, so the command reads it there and the sha256 check below still decides:
422
423```sh
424mkdir -p build/nl4-deps
425git -C ../aien-train show 0e01c58a41f1a2fb976efa75c1cc554503aa2ee4:native/neuralese/hadamard.om > build/nl4-deps/h.om
426git -C ../aien-protocols-mv show 703eb1b2fdf72cc03ef9851957d70054957e01fe:specs/latent-payload/validator.om > build/nl4-deps/v.om
427sha256sum build/nl4-deps/h.om build/nl4-deps/v.om
428# Refuse to continue unless both hashes equal nl4-dependencies.json.
429seed/out/omc < seed/qualification/om2/gate.om > build/nl4-gate
430chmod +x build/nl4-gate
431build/nl4-gate seed/out/omc 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 neuralese/nl4-host.cases build/nl4-host
432```
433
434The conductor hashes the compiler itself and requires a previously absent scratch
435directory. `codec-check.om` checks all sixteen independent encoder payloads and
436refusal output preservation; the end-to-end cases use independent expected
437results, explicit wrong objective/operand, quantization ambiguity and malformed/
438stale/foreign/withdrawn-context refusals. Guard-removal and wrong-operation
439mutants must be killed, and native pre/postcondition violations must trap.
440These are deterministic correctness cases, not independent statistical trials
441or the preregistered learned-arm campaign (benchmarks draft #56).
442
443Observed at clean implementation `09b1394fe68287eaa10b0d90cf07a9dd00e6cb60`:
444`OM2GATE PASS cases=63 pass=63 fail=0 invalid=0 not_run=0`
445(24 pure executions,27 deliberate refusals,9 killed mutants,2 native contract
446traps,1 sixteen-payload independent codec oracle).
447The unchanged inherited suite separately returned54/54PASS.
448The actual receipt is
449[`nl4-host-results.03b624d6ad393604d958f554fc55844885712ca49f425f98459974846e9e5280.json`](nl4-host-results.03b624d6ad393604d958f554fc55844885712ca49f425f98459974846e9e5280.json).
450`nl4-host-pass.log` and `nl4-inherited-pass.log` preserve every verdict;
451the initial compiler/name and lexical-order failures are retained separately,
452not rewritten as success. Representative actual channels are
453`nl4-success.stdout` and `nl4-refusal.stderr`.
454
455Re-run on 2026-10-30 after merging main `62d1d0d668f897386a0e311374f8dbcc5c32dde8`,
456with both staged dependencies matching the lock hashes and compiler
457`62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b`: the unchanged
458`nl4-host.cases` returned `OM2GATE PASS cases=63 pass=63 fail=0 invalid=0 not_run=0`
459and the inherited `host.cases` returned `OM2GATE PASS cases=54 pass=54 fail=0
460invalid=0 not_run=0` (host CPU, Linux AArch64).
461
462Re-run on 2026-10-30 after the #946 reseed, with the same staged dependencies and
463compiler `1578b35781f8f4eed7bc7fe27eeb333fadba08941d8d014f521684b5a5bcdbe1`:
464`nl4-host.cases` returned `OM2GATE PASS cases=63 pass=63 fail=0 invalid=0 not_run=0`
465and `host.cases` returned `OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0`;
466the same conductor given the previous pin `62775d2a...` returned `OM2GATE INVALID
467cases=54 pass=0 fail=0 invalid=0 not_run=54` (host CPU, Linux AArch64).
468
469### Historical attribution correction (2026-10-31)
470
471Successive reseeds changed the compiler hash in the dated #946 paragraph above;
472at #948 merge `dc0d06e953e4e6729a6ea9d8a18a6fe2e18a4324` it incorrectly
473named `e4d84bc3...`; #875 merge
474`2367874399001efdc7f1ff345fb327469bc1a135` subsequently named `38626559...`,
475#918 merge `2d848d939b102e53049d66ead554a18f56791abb` named `38748442...`,
476and #853 merge `4722cba587954c3257c7b4de13cfef2ba78d4329` named `469532a5...`.
477The paragraph is restored to the compiler recorded in
478[#946 merge `d9461717721856602626c3202751d7653e1aa5f7`](https://github.com/aien-dev/omega-mv/blob/d9461717721856602626c3202751d7653e1aa5f7/neuralese/README.md).
479Read-only `git show d9461717721856602626c3202751d7653e1aa5f7:seed/out/omc | sha256sum`
480independently matches `1578b357...`; the compiler source at that revision hashes
481to `b25079742d1157cd614fe92eeb2dd5e9a5e3b19e978007c7ecb7a6105ab6c65d`.
482The active pin above now names #994's actual binary/source pair separately.
483
484This corrects documentation provenance, not execution: no historical receipt,
485log or fixture has been replaced, and no new Neuralese run is claimed. The
486Oct-30 observations do not establish the same results under later compilers.