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 / tests / visor / sessions / e2e.expected
| 1 | Ω> let x: u64 = 7 |
| 2 | 7 |
| 3 | Ω> let y: u64 = 11 |
| 4 | 11 |
| 5 | Ω> x + y |
| 6 | 18 |
| 7 | Ω> type _ |
| 8 | u64 |
| 9 | Ω> id _ |
| 10 | sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 |
| 11 | canonical_len: 177 |
| 12 | canonical_sha256: c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 |
| 13 | Ω> graph _ |
| 14 | OPERATION sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 apply ADD(fef7efa7112d,745f463215c5) : u64 |
| 15 | OPERATION sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1 op ADD WRAP arity=2 -> u64 |
| 16 | TYPE sha256:037a444b0f120fd4bbabd0c16ae143599b231d2469827fccbf9bc79c57bab822 type u64 |
| 17 | VALUE sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db value 7 : u64 |
| 18 | VALUE sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2 value 11 : u64 |
| 19 | <machine block: host-dependent, masked> |
| 20 | Ω> realize _ |
| 21 | [pure-execution] |
| 22 | realization |
| 23 | id sha256:ffe7656dc91cf25a4aacfc005ffb643fa79f3fd8ce55d11420fd4982e9d0ff76 |
| 24 | subject sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7 |
| 25 | realized sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1 |
| 26 | <host machine line: host-dependent, masked> |
| 27 | bound none |
| 28 | target aarch64-v8a profile=0x01 |
| 29 | code 8 bytes, 2 instructions |
| 30 | 8b010000 add x0, x0, x1 |
| 31 | d65f03c0 ret |
| 32 | compatible yes |
| 33 | runnable yes |
| 34 | why profile 0x01 vs machine 0x01 match; realizer bound no machine; run allowed |
| 35 | cost (four separate classes; never merged) |
| 36 | predicted cycles=2 insns=2 bytes=8 [static: code_len/4 = 2 instructions x 1 cycle; no machine model] |
| 37 | <host machine line: host-dependent, masked> |
| 38 | measured ABSENT [absent: Visor V1 ingests no execution receipts] |
| 39 | qualified ABSENT [absent: no qualified gate result for this realization in V1] |
| 40 | Ω> cost _ |
| 41 | [simulation] |
| 42 | cost (four separate classes; never merged) |
| 43 | predicted cycles=2 insns=2 bytes=8 [static: code_len/4 = 2 instructions x 1 cycle; no machine model] |
| 44 | <host machine line: host-dependent, masked> |
| 45 | measured ABSENT [absent: Visor V1 ingests no execution receipts] |
| 46 | qualified ABSENT [absent: no qualified gate result for this realization in V1] |
| 47 | Ω> run _ |
| 48 | [pure-execution] |
| 49 | 18 |
| 50 | Ω> verify _ |
| 51 | [pure-execution] |
| 52 | STRUCTURAL PASS V0 graph typing + DAG integrity (5 object(s)) |
| 53 | TYPE PASS OPERATION(apply) object validates |
| 54 | INVARIANTS PASS V2 reference-evaluator algebra (commutativity, identity, wrap, range); not object-specific |
| 55 | REALIZATION PASS V1 differential, OP_ADD with c=0 (17 check(s), incl. V0 realization id) |
| 56 | AUTHORITY PASS NONE: no effect or capability ref reachable (5 object(s) walked) |
| 57 | <host machine line: host-dependent, masked> |
| 58 | VERDICT PASS |
| 59 | Ω> evidence _ |
| 60 | evidence: 0 shown, 0 matched, 1 scanned, 0 unparsed |
| 61 | no evidence |
| 62 | Ω> effects |
| 63 | [effect-request] |
| 64 | no effect objects in session |
| 65 | Ω> fn transform(x: u64) -> u64 requires true ensures result >= 1 { x * 2 + 1 } |
| 66 | fn transform: u64 -> u64 |
| 67 | Ω> realize transform |
| 68 | [pure-execution] |
| 69 | realization |
| 70 | id sha256:87c6fbd6d54c90525d018c65138314eb404cba4efa8d66d42dab17441e609ba6 |
| 71 | subject sha256:83bd39597742d3bb83e5140c662532c0a2ecb59e5f868e38be16276981644543 |
| 72 | realized sha256:83bd39597742d3bb83e5140c662532c0a2ecb59e5f868e38be16276981644543 |
| 73 | <host machine line: host-dependent, masked> |
| 74 | bound none |
| 75 | target aarch64-v8a profile=0x01 |
| 76 | code 20 bytes, 5 instructions |
| 77 | d2800041 movz x1, #0x2 |
| 78 | 9b017c00 mul x0, x0, x1 |
| 79 | d2800021 movz x1, #0x1 |
| 80 | 8b010000 add x0, x0, x1 |
| 81 | d65f03c0 ret |
| 82 | compatible yes |
| 83 | runnable yes |
| 84 | why profile 0x01 vs machine 0x01 match; realizer bound no machine; run allowed |
| 85 | cost (four separate classes; never merged) |
| 86 | predicted cycles=5 insns=5 bytes=20 [static: code_len/4 = 5 instructions x 1 cycle; no machine model] |
| 87 | <host machine line: host-dependent, masked> |
| 88 | measured ABSENT [absent: Visor V1 ingests no execution receipts] |
| 89 | qualified ABSENT [absent: no qualified gate result for this realization in V1] |
| 90 | Ω> run _ 5 |
| 91 | [pure-execution] |
| 92 | 11 |
| 93 | Ω> bindings |
| 94 | x object sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db |
| 95 | y object sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2 |
| 96 | transform program sha256:83bd39597742d3bb83e5140c662532c0a2ecb59e5f868e38be16276981644543 |
| 97 | _ realization sha256:87c6fbd6d54c90525d018c65138314eb404cba4efa8d66d42dab17441e609ba6 |