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

[OM-SEC RESEARCH] Check bounded safe-state frontiers before optimizing effect schedules

Open · #760 · open 2026-10-25 19:05 UTC

Imported from GitHub aien-dev/omega-mv#760, by drakestapleton

drakestapleton wrote on 2026-10-25 19:05 UTC

Purpose and ownership

Add one finite safety-game experiment under #647 analysis, #583 offline schedule/cost modeling and #673 security. This is the concrete computational follow-through to Hamilton-Jacobi action-wavefront discussion, not a replacement runtime, a PDE over every program variable, or a physical speed claim.

Frozen model

  • Define state x including protocol state, policy epoch, object version, resource reservations, effect/persistence status and needed history. Define controller actions U(x), adversarial events D(x,u), transition F, terminal/quiescent states and event ordering. Prevent empty-action or empty-disturbance sets from giving accidental vacuous success.
  • Start K0 at states satisfying declared invariants. Compute K[n+1]={x in K[n] : exists u in U(x), for all d in D(x,u), F(x,u,d) in K[n]}. For finite models iterate to a fixed point; distinguish finite-horizon survival from invariant safety. No fairness or progress follows unless separately proved.
  • Enumerate allowed disturbances honestly: concurrent request, revocation, crash, delayed completion and namespace interference as supported. State bounds/fairness/persistence assumptions and abstraction relation to concrete code.
  • Produce a candidate invariant region, safe-action relation and counterexample/winning strategy where justified. An independent checker verifies initial inclusion and closure against every modeled disturbance; checking a conservative safe subset is not proof of maximality. Timeout is UNKNOWN.
  • Use a separate optimization objective only within admitted actions. Security is a hard constraint, never a finite penalty. Reuse #583 costs/uncertainty/domain checks and #647 worklist facilities where qualified; no global optimizer rewrite.
  • For secrecy use paired states and permitted observations; the single-run safe set is insufficient. Learned approximations may propose candidates but cannot admit execution without sound validation.

Acceptance

  • Two-client durable-append model includes epoch change, object substitution, competing reservations, interrupted write and lost acknowledgement. Compare the solver with an independently implemented exhaustive finite oracle.
  • Mutants swap exists/forall, omit a disturbance, use stale generation, release uncertain reservations, accept an unsafe optimizer proposal or terminate fixed-point iteration early. Checker refuses each for the stated reason.
  • Demonstrate one state that is locally valid but loses safety under future modeled events; report concrete trace/strategy. Also demonstrate legal serialization that eager scheduling rejects.
  • Verify source/compiled consumer correspondence for the supported transition slice through #623. A correct abstract game alone proves no deployed system.
  • Measure states, transitions, memory, construction/checking cost and end-to-end overhead. Begin offline/shadow; promote only through existing ownership after independent review. Do not block unrelated live inference measurement work.

Research and interpretation

https://imaginingphysics.com/action-wavefronts/ motivates the geometry; equal action is not equal elapsed time, and stationary action is not necessarily a minimum. Safety-game analysis is the proposed software adaptation. https://doi.org/10.1109/CDC.2017.8263977 and https://doi.org/10.1109/CDC45484.2021.9683085 connect HJ reachability to safety controllers. Grid methods suffer dimensionality growth; approximate numerical results require sound error bounds before a proof claim.

Delivery contract

Parent: aien-dev/omega-mv#673. Additive scoped work; preserve existing programme, compiler, authority/store, verifier and publication owners. Reconcile main, live branches/PRs, issue comments and applicable repository instructions before edits. One writer per shared path. New first-party implementation, test and runner logic is seeded .om; independent third-party provers/Wolfram may be development oracles outside the delivered runtime. No second compiler, scheduler, authority or store. Version semantic changes; qualify consumers before removing superseded active implementations; preserve historical evidence.

Separate implementation status from assurance: formal proof, exact finite-model result, differential tests, native/emulated run and hardware qualification are distinct. Unknown/timeouts/build errors/missing evidence never establish safety. Record exact source, semantic profile, compiler, target, executable, checker, model/config/fixtures, raw commands/exits and independent final-source review. No deployment or live workload interruption is authorized by this issue.

Linked dependencies

Model contracts: #625, #670, #659, #757 and #759. Reuse analysis/cost owners #647 and #583. Concrete correspondence: #623. End-to-end model consumer: aien-dev/omnet#3. Offline model development may proceed after interface freeze.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:16 UTC

Recovered GitHub comment. Original comment 6402892635

Independent final-source review reproduced the prior finite corpus exactly but found its claims incorrect: zero-cost refusing split was selectable in120 states, stale rename was only a conformance mismatch rather than an invariant violation, and a post-failure hidden-label amendment lacked versioning. Earlier evidence is retained as historical, not accepted. BEFORE source repairs, model v3 is frozen at commit028fc3afb, seed/qualification/security673/game/MODEL-v3.md sha256fa062dba15b5b7cccacfa4a5ea4b670d15b9a8c9e764b68b6e53b70dabd0eb19 on security/760-safe-game. Parent reviewed this freeze. Changes: enable split only at current generation0/0; independent freshness-at-rename/uncertain-refund event monitors; actual forall-disturbance closure witnesses instead of fixed fingerprints; actual optimizer mutation and every-winning-state ranking checks; certificate-consuming paired product with distinct/identical hidden counts; source-fixed separately compiled controls and exact input-corpus bindings. Original model bytes recovered with full original hash and preserved. SC1 governing contract ced61dec...4523496 (#770). Offline only: no runtime adoption or omnet/TKA-policy correspondence claim. Implementation/clean replay follows this public freeze.

Sign in to comment