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 / spec / crumbline.md

49 lines · 2327 bytes Raw Blame History Rendered
1# Crumbline adapter (Omega as a Crumb v1 learner)
2
3Crumbline is the AIEN training curriculum of unlabeled input/output
4observations. Its contracts, generators, sealed verifier, mixer, trace schema,
5promotion ladder and ledger live in the `crumbs` crate
6(aien-spark/aien-sovereign-core, `crates/crumbs`, see its `SPEC.md`). This
7repository implements only the consumer adapter.
8
9## What Omega receives
10
11`build/crumbline-learner` is a separate executable. It speaks the crumbs
12learner protocol v1 on stdin/stdout and links only learner-side code:
13
14| Linked | Not linked |
15|---|---|
16| Crumb v1 visible reader (`src/crumbline/cl_crumb.c`) | any generator, sealed record, held-out set or label |
17| program / realize / verify stack, synthesis vocabulary | physics, NVRM, gate suites, evidence tooling |
18| OmegaLibrary + Crumbline search (`cl_program.c`, `cl_search.c`) | |
19
20Everything the learner can know arrives as protocol frames: visible crumb
21bytes, a one-byte verdict per submission, and admitted operations (a CPG1
22program, an opaque reference and a scope in bits).
23
24## Loop
25
26```text
27CRUMB (visible bytes)
28 -> cl_crumb_decode (strict; one input lane, one output lane supported)
29 -> bank = omega_synth_base_prim_defs() + OmegaLibrary entries whose scope covers the inputs
30 -> level-by-level composition search, observational-equivalence pruning
31 over visible inputs + 32 public probes
32 -> visible fit -> omega_program_verify (V0 + V2) + native vs reference differential
33 -> ambiguity scan (keep looking for behaviourally different rival fits)
34 -> SUBMIT as CPG1 -> sealed verifier -> VERDICT byte
35 reject: recorded as an event, search continues
36 -> no exact fit: best partial fit may be submitted as a robust guess
37ADMIT -> cl_library_admit: build, verify, omega_library_insert (receipt binds op_ref + program)
38```
39
40`omega_synthesize` is untouched: the M9 gates pin its enumeration order. The
41base vocabulary is shared through `omega_synth_base_prim_defs()`.
42
43## Tests
44
45`make test-crumbline` decodes the committed conformance vectors (one per
46registered crumbs family, generated by `crumbs vectors`), rejects malformed
47inputs, and checks that the learner binary carries no sealed-side symbols.
48The protocol, boundary and learning gates run from the crumbs side:
49`crumbs gates --learner build/crumbline-learner`.