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 / UNIVERSAL-622 / first-import / README.md
| 1 | # First bounded handwritten C importer: executed evidence |
| 2 | |
| 3 | Functional source freeze: `50f75da28845f21b118bcf8e3499b96c35ddb587`. |
| 4 | Upstream #621 feature source: `cd2c41f3c697524629585b2a228e2f0ab5b99c45`. |
| 5 | This evidence-only successor does not change either runtime source closure. |
| 6 | Independent combined source review L602 is pending. No merge, signed judge, |
| 7 | production transformation authority or complete #622/#295 claim is made. |
| 8 | |
| 9 | ## Committed-source cold replay |
| 10 | |
| 11 | A new local shared clone was checked out detached at the exact source freeze, |
| 12 | with no build directory. The declared source-only bootstrap and native commands |
| 13 | were rebuilt from the pinned bridge source. Three commands executed sequentially: |
| 14 | |
| 15 | 1. `make -f mk/c-u64-import.mk test-c-u64-import`: PASS. 35 original C programs, |
| 16 | 48 refusal cases, 817 actual native-GCC behavioral observations, 105 existing |
| 17 | native #621 decode/replay/legality requests; 15 boundary/public controls; |
| 18 | five successfully compiled C-importer semantic mutants caught by actual |
| 19 | mismatched values, not compilation/refusal failures. |
| 20 | 2. `make PHYSICS_DIR=<exact pinned physics checkout> test-source-aware`: PASS. |
| 21 | 10000 unique valid and 100000 unique malformed units, 131000 consumed-input |
| 22 | hash-checked structural requests, plus the capability/edge/public/direct/core |
| 23 | and nine compiled mutant controls recorded in its complete receipt. Sixty |
| 24 | legacy OSC fixtures retain byte identity and use existing decode/checker2. |
| 25 | 3. `make -j2 OUT_DIR=build/L589/foundation PHYSICS_DIR=<same pin> test`: PASS. |
| 26 | Fourteen base gates plus two existing reference demonstrations. Their canonical |
| 27 | identity examples are not behavioral-equivalence proofs for C conversion. |
| 28 | |
| 29 | The C gate's consumed #621 native artifact hash was compared with the later full |
| 30 | #621 receipt and matched. Exactly105 requests equals three actually executed |
| 31 | component operations for each of35 accepted C programs; see raw receipts. |
| 32 | All actual source/toolchain/artifact identities, machine/OS facts, complete logs, |
| 33 | per-program C and upper values, preserved source bytes and upper units accompany |
| 34 | this record. This is correctness evidence on the physical Linux AArch64 Spark, |
| 35 | not a performance/energy measurement or x86/RV64/GPU qualification. |
| 36 | |
| 37 | ## Preserved failures |
| 38 | |
| 39 | `development/` contains the original native-stub missing-behavior RED, the initial |
| 40 | oracle fixture error from treating valid unused parameters as compiler errors, |
| 41 | and the later eight-case source-spelling/namespace RED. No original fixture was |
| 42 | removed. The GCC unused-parameter diagnostic alone was excluded from the oracle's |
| 43 | error policy; other selected warnings remain errors. |
| 44 | |
| 45 | The original source spelling probe compiled and ran valid C examples independently |
| 46 | and reproduced three genuine pre-freeze semantic defects: octal010 yielded8 in C |
| 47 | versus10 after import; backslash line-splicing and trigraph line-splicing yielded1 |
| 48 | in C versus3 after import. The corrected profile explicitly refuses these source |
| 49 | forms before canonical graph publication. These are uncommitted development |
| 50 | history, not qualified immutable-candidate receipts. The final cold replay is |
| 51 | exact-source pinned and includes the resulting refusal regressions. |
| 52 | |
| 53 | ## What this does not establish |
| 54 | |
| 55 | The imported C computation is compared using a development upper evaluator; it |
| 56 | is not yet lowered/executed through Omega's CPU backend. The native handwritten |
| 57 | Omega program executed here is the importer and the existing semantic codec. |
| 58 | No C exporter, additional integer widths, general preprocessing/control flow, |
| 59 | 10k-C-program acceptance corpus, checker-bound translation proof, Rust/Python |
| 60 | adapter, other CPU backend or GPU operation is supplied by this slice. Source |
| 61 | replay is byte storage, finite comparison is differential evidence, hash equality |
| 62 | is identity, and retained lowering obligations remain unproved. See |
| 63 | `spec/universal/c-u64-import-v1.{md,json}` for precise supported/refused grammar. |