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 / discovery.md

64 lines · 3949 bytes Raw Blame History Source

Specification: Milestone 11 — Omega Library Discovery (OMEGA_LIBRARY_DISCOVERY)

Document ID:     SPEC-OMEGA-M11
Milestone:       Milestone 11 (OMEGA_LIBRARY_DISCOVERY)
Classification:  Sovereign Machine Canonical Specification
Target Substrate: Autonomous Abstraction Discovery from Program Corpus with Verified Reuse
Status:          SPECIFIED / IN PROGRESS (aien-spark/omega#17, aien-spark/aien-architecture#23)
Lineage:         SILICON -> ATLAS (M1) -> PHYSICS (M2/M3) -> OMEGA (M4-M11) -> AIEN

1. Executive Summary & Doctrine

Milestone 10 established the verified program library (OMEGA_LIBRARY_V1), enabling storage and retrieval of verified components. Milestone 11 establishes autonomous abstraction discovery (OMEGA_LIBRARY_DISCOVERY):

THE MACHINE MUST INVENT ITS OWN ABSTRACTIONS. IT EXTRACTS COMMON MEANINGS FROM PAST SOLUTIONS, PROVES THEM VALID, AND ADMITS THEM TO COMPRESS REASONING.

The Four M11 Invariants:

  1. Corpus Compression: Discovered abstraction compresses multiple verified programs across the corpus, reducing total description length ($\Delta \text{Cost} > 0$).
  2. Semantic Preservation: Factoring the abstraction into corpus programs preserves exact input-output behavior on all validation domains ($f_{factored}(x) == f_{original}(x)$).
  3. Reused on Held-Out Tasks: The discovered abstraction is successfully reused to solve previously unseen held-out synthesis tasks.
  4. Search Cost Reduction: The discovered abstraction reduces synthesis search depth and candidate exploration count compared to the primitive baseline.

2. Abstraction Discovery Architecture

2.1 Corpus Representation (OmegaCorpus)

A corpus contains verified programs $P_1, \dots, P_N$ generated by synthesis or manual specification to solve a collection of computational tasks.

2.2 Common Sub-Expression Mining

The discovery engine enumerates contiguous instruction sub-sequences and composition slices across the corpus programs. Candidates occurring with frequency $\ge 2$ across distinct programs are extracted as candidate abstractions.

2.3 Non-Triviality & Utility Scoring

2.4 Verification Ladder & Admission

Every proposed abstraction is subjected to the full M7 verification engine:


3. Qualification Gates

  1. OMEGA_DISCOVERY_CORPUS_MINING_PASS: Extract recurring sub-programs from corpus.
  2. OMEGA_DISCOVERY_NONTRIVIAL_PASS: Reject trivial or single-op candidates.
  3. OMEGA_DISCOVERY_COMPRESSION_PASS: Verify positive description length reduction ($\Delta \text{Cost} > 0$).
  4. OMEGA_DISCOVERY_SEMANTIC_PRESERVATION_PASS: Behavioral equivalence preserved after refactoring.
  5. OMEGA_DISCOVERY_V0_STRUCTURAL_PASS: M7 V0 verification passes on discovered abstraction.
  6. OMEGA_DISCOVERY_V1_DIFFERENTIAL_PASS: M7 V1 differential verification passes on discovered abstraction.
  7. OMEGA_DISCOVERY_V2_PROPERTY_PASS: M7 V2 property verification passes on discovered abstraction.
  8. OMEGA_DISCOVERY_LIBRARY_ADMISSION_PASS: Discovered abstraction admitted to library catalog.
  9. OMEGA_DISCOVERY_SEARCH_ACCELERATION_PASS: Held-out task solved at lower depth / candidate count.
  10. OMEGA_DISCOVERY_RECEIPT_PASS: Master qualification receipt generated with full provenance.