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 / r11-aien-faculty.md

136 lines · 6947 bytes Raw Blame History Source

R11: AIEN as a resident cognitive faculty

ADR 0016 §44. Gate R11_CONTINUOUS_COGNITION_PASS.

Rule

AIEN is not a service. Nothing calls AIEN and waits, and AIEN calls no other faculty. The rule is the one R10 proved for Omega:

world state changes
      ↓
AIEN dependencies become ready
      ↓
AIEN reaction forms a belief, prediction, hypothesis or plan
      ↓
publishes it into the world
      ↓
Omega / authority / effects react to it, or do not

rx_aien.o is compiled on its own and the build fails if it has any undefined omega symbol. AIEN reaches Omega only through objects, under capabilities the native Aienux authority checks.

What runs

Code: src/runtime/rx_aien.{c,h}, plus omega.reconsider in src/runtime/rx_omega.c. Test: tests/runtime/rx_r11_aien.c, make test-r11.

ReactionWakes onPublishes
aien.observeOmega demand window, Omega selectionbelief
aien.predictbelief interval countprediction
aien.explainprediction sequence or statehypothesis
aien.assessgoal (human), prediction stateassessment
aien.planhypothesis sequence or state, assessmentplan, memory, hypothesis state
omega.reconsiderplan, Omega selectionOmega search (new epoch)

What AIEN reasons about: Omega's selection is a claim that a realization costs so much. AIEN checks that claim against what production pays.

The living run (DGX Spark)

  1. The whole process, world workers included, is placed on the ten Cortex-A725 cores, and the placement is published.
  2. Omega's own search runs. With a 10% margin, the reference stays the record on A725, because quad4 is only about 3% faster there.
  3. AIEN confirms a prediction of about 6.7 µs per call.
  4. The process is moved to the ten Cortex-X925 cores and the new placement is published. Nothing else is published, and nothing asks for a re-optimization.
  5. Production gets faster. AIEN's prediction fails, and AIEN forms a CORE_CLASS hypothesis (A725 → X925) and publishes a plan.
  6. Omega takes the plan up: search epoch 2 is measured on X925, and quad4 is selected.
  7. Production picks the new record up. AIEN predicts again under X925, confirms it, and marks the hypothesis SUPPORTED.

A control world makes the same move without AIEN. Its search epoch stays 1, and it stays on the reference.

Eight consecutive local runs before the candidate was bound, ns per call. The bound receipt is evidence/R11/6aa6b3b3…json (candidate 381828f): 6597 → 4913 → 2802 ns (1.75×); control 5044 ns, search epoch 1.

A725, referenceX925, old recordX925, after AIEN's planControl X925
range over 8 runs6617–68124872–49482778–28594927–5105 (3 runs)
speedup from AIEN's plan1.70–1.77×none

The receipt checks the causal chain crumb by crumb: selection 2 ← omega.reconsider ← aien.plan ← hypothesis ← failed prediction ← demand evidence and the placement observation. Production commits happen between the plan and the new selection, so production never waited. omega.watch committed once, so Omega did not re-search on its own.

Not claimed / limits