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-LEARN P1] Restricted contract-to-.om synthesis with independently checked obligations

Open · #656 · open 2026-10-23 19:14 UTC

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

drakestapleton wrote on 2026-10-23 19:14 UTC

Evidence and objective

Parent: #652. #621 has typed source-aware envelopes and #625 owns observable semantics. #623's published boundary experiment explicitly distinguishes bounded IR properties and byte identity from native translation equivalence. This issue consumes that boundary rather than redefining it.

Build a small synthesis path where an agent proposes .om implementations and evidence for frozen contracts, and the existing independent verifier decides admission.

Implementation

  1. Select the smallest supported pure-function domain, for example fixed-width arithmetic and bounded arrays only when actually supported. Specify overflow, preconditions, output, traps, termination/fuel and maximum resource consumption. Exclude concurrency, unrestricted effects and unbounded quantification from the first executable profile.
  2. Define a versioned contract record under #625, including input domain, output relation, proof/checking obligations and immutable obligation digest. The proposer cannot modify the contract during an implementation attempt.
  3. Check specification consistency and, where required by the profile, existence and uniqueness of output. For small finite domains use justified exhaustive enumeration; for larger domains use an existing verified proof mechanism. Label unsupported obligations UNKNOWN rather than treating test success as proof.
  4. Generate .om source and candidate proof/certificate material within fixed budgets. The separate checker receives pinned contract/source/upper/native identities and checks only the evidence class it actually supports.
  5. Reuse #623 for source-to-upper/native correspondence. A valid implementation-level property with UNKNOWN lowering equivalence cannot be advertised as end-to-end verified native code.
  6. Measure compilation and verification cost separately from runtime performance. Include deliberately slow but correct implementations. A candidate must satisfy separately frozen resource/performance requirements before replacing a working implementation.
  7. Produce a teaching example showing specification, rejected candidate, corrected candidate, obligation artifact and independent replay. The research method is implemented in .om; Dafny/Lean from papers are external research references, not a new permanent compiler dependency.

Acceptance and negative controls

  • Unsatisfiable, ambiguous and partial specifications produce distinct supported outcomes; inability to prove is not asserted as unsatisfiability.
  • Wrong overflow, wrong precondition, missing termination bound and a correct answer for only observed test inputs cannot receive stronger evidence.
  • Contract edits after generation, forged proof flags, stale verifier IDs, native-byte changes and profile mismatches are rejected.
  • Counterexamples use the declared observation model and reproduce independently.
  • Proof checker defects are tested by compiled mutations and invalid certificates.
  • Performance is measured independently of semantic correctness; slow correct programs remain visible.
  • Publish exact trusted components and residual assumptions. General self-hosting or universal translation is not claimed.

Dependencies

Requires #653 benchmark/profile fixture, #625 semantics and a supported #623 verification seam. Does not block curriculum or statement-boundary feedback. Coordinate existing compiler/verifier owners and retain current authority boundaries.

Research: Djinnlang. Its specification-to-code result does not establish .om concurrency, hardware correctness or resource guarantees.

Delivery contract

This is a finite workstream under Omega #599, not a new whole-system plan. Read aien-architecture-mv PLAN_AUTHORITY.md, CURRENT_EXECUTION_PLAN.md, the architecture release #190 ledger, applicable AGENTS.md and directory .crumb files, current issue comments and live worktree claims before editing. Record one owner and exact paths; reuse existing compiler, runtime, trainer, store, judge and publisher owners.

The final first-party implementation is seeded .om throughout, including experiment runners, data generation, build/release automation and project-owned tests. Qualify each replacement, cut consumers over, then delete superseded active-tree code and obsolete dependencies. Consult old code in Git history; preserve immutable historical evidence. No new .osc path, foreign runtime/compiler fallback, Python/Rust/C product wrapper or parallel authority service. Missing .om features are scoped dependencies for their existing owners. Independent third-party oracles may run outside the delivered build/runtime closure with disclosed identities.

Pin source, seed/compiler, model/tokenizer/template, dataset/split, policy, arithmetic profile, target and executable identities. Preserve raw failures and actual exit codes. Distinguish IMPLEMENTED from QUALIFIED and PASS/FAIL/INCONCLUSIVE/NOT_RUN; host/emulator evidence never establishes physical GPU qualification. Do not close an implementation issue from a plan or artifact hash alone. Use existing local hardware scheduling and publication/review workflow; do not interrupt active chip runs. A research result may legitimately be negative, but a stub or an unexecuted required gate is not completion. Keep private data local and preserve existing owner-controlled sharing rules.

No comments.

Sign in to comment