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
omega-mv / evidence / DUAL / 0b-1a-binding-controller / receipt.md
| 1 | # DUAL-0b + DUAL-1a receipt: ESTIMATION binding, staleness, reference controller (ADR 0031 s4.2, s5) |
| 2 | |
| 3 | | Field | Value | |
| 4 | |---|---| |
| 5 | | repository | aien-dev/omega | |
| 6 | | base commit | f056b77f64ee94a80f4ed2899b5f9495aa3ef840 (branch dual/0a-records, PR #266, on top of main cb7cc216147664549484fcca8e8ceadbd6f6cdbf) | |
| 7 | | candidate commit | this commit | |
| 8 | | compiler | cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 | |
| 9 | | flags | EST_CFLAGS (-std=c11 -Wall -Wextra -Werror -pedantic -O2 -ffp-contract=off -fno-fast-math) and EST_ASAN | |
| 10 | | host | Spark aarch64 Linux, host-only, no GPU | |
| 11 | | controller schema | RxDualController (eta, rho, k_sigma, max_age, cadence, per-resource lambda_max), digest domain omega.dual.controller.v1 = controller_id | |
| 12 | |
| 13 | ## Commands and results |
| 14 | | Command | Result | |
| 15 | |---|---| |
| 16 | | make dual-purity | PASS (rx_dual.o, rx_dual_bind.o, rx_dual_update.o: no authority/promotion/process symbol) | |
| 17 | | make test-dual-types | 14107 / 1667 (ASan) checks, 0 failures | |
| 18 | | make test-dual-bind | 85 / 85 checks, 0 failures | |
| 19 | | make test-dual-update | 355348 / 35837 (ASan) checks, 0 failures | |
| 20 | |
| 21 | ## What is proven |
| 22 | - Binding: estimate and uncertainty are copied from est_belief / est_prediction / est_observation and the record digest is cited; a prediction must cite the exact model (unit source) and prior belief (evidence source) by digest; a declared prior (zero evidence root) is refused as evidence; est units map by one explicit table, NONE/unknown refused. |
| 23 | - Evidence: a belief's root must equal est_evidence_root_extend(parent_root, digest(obs)); broken root, wrong observation, wrong parent root and an input not bound from the belief are all refused. The DUAL state root chains estimate_ref digests with the same primitive. |
| 24 | - Classification: REFUSED (NaN/Inf/negative uncertainty/missing digests/future generation), STALE (age > max_age, older than prev, unverified evidence), FROZEN (regime signal), UNCALIBRATED (no EST-3 receipt), FRESH; unit mismatch is a structural refusal (no conversion). |
| 25 | - Controller: analytic cases match the independent closed form (tests/dual/dual_ref.c, derived on paper from s5.1) to 1e-9: single binding constraint, slack constraint decaying to 0, two competing constraints, inside-deadband no movement, clip saturation, zero eta no movement, rho>0 geometric forgetting; byte-identical records for identical inputs. Property suite (3000 rounds x 39 ticks): lambda finite, 0 <= lambda <= lambda_max, held under STALE, equals clipped recursion otherwise. Held states keep lambda, estimate, generation and evidence root; parent/tick advance. Parameter mutation (controller_id mismatch), unknown resource, unit/id mismatch, zero/negative scale, INVARIANT class, lambda above max, malformed parent, overflow to Inf are refused with no record. |
| 26 | |
| 27 | ## Negative controls (mutants, same suites) |
| 28 | | Mutant | Result | |
| 29 | |---|---| |
| 30 | | remove lambda_max clipping | test_dual_update 35634 failures: FAIL (killed) | |
| 31 | | remove deadband (g always = pressure) | test_dual_update 1052 failures: FAIL (killed) | |
| 32 | | remove controller_id check | test_dual_update 1 failure: FAIL (killed) | |
| 33 | | unverified evidence no longer STALE | test_dual_bind 1 failure: FAIL (killed) | |
| 34 | | evidence root comparison removed | test_dual_bind 4 failures: FAIL (killed) | |
| 35 | |
| 36 | ## Verdict |
| 37 | DUAL-0b IMPLEMENTED. DUAL-1a IMPLEMENTED. DUAL_CONSTRAINT_CONTRACT: PASS on host for the record/binding contract (typed records, |
| 38 | canonical round trip, kind bytes and digest domains, unit registry, class rules, staleness detection, property tests, zero runtime |
| 39 | linkage). DUAL_PRICE_REFERENCE: NOT YET CLAIMED (needs DUAL-1b replay on digest-bound traces with the oscillation bound). |
| 40 | No production influence. EST-3 remains FAILED on main, so no price may control anything. |