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 / tests / visor / qualification / usability.expected

206 lines · 10368 bytes Raw Blame History
1Ω> // Lane 8 usability trace: a new user, starting only from `help`.
2Ω> help
3Omega Visor commands (classes: inspection, pure-execution, simulation, effect-request):
4 help [command] inspection list commands, or show one
5 quit inspection leave the console
6 inspect <x> inspection show the object a name or id refers to
7 type <x> inspection show the type of an object
8 id <x> inspection show the semantic id of a name, _ or hex id
9 graph <x> inspection show the semantic graph reachable from x
10 verify <x> pure-execution run the verification pipeline on x
11 machine inspection show the current machine model
12 realize <x> [for current.machine] pure-execution build machine code for x (does not run it)
13 cost <x> simulation estimate the cost of x
14 run <x> [args...] pure-execution run x if pure; effects become an effect request
15 evidence [name] inspection show recorded evidence receipts
16 bindings inspection list session names in the order they were made
17 clear inspection forget all session names and objects
18 world [cap] inspection show the runtime world state (read only)
19 effects [x] effect-request show effect objects as requests (never executed)
20 alternatives <x> simulation list other ways to realize x
21 compare <a> <b> simulation compare two objects or realizations
22 why <x> inspection explain where x came from
23 let x: u64 = <expr> | fn .. | <expr> pure-execution Omega source line, evaluated by the language
24Names: a session name, _ (last result), or a semantic id (64 hex, optional sha256: prefix).
25Ω> help inspect
26 inspect <x> inspection show the object a name or id refers to
27Ω> let x: u64 = 7
287
29Ω> let y: u64 = 11
3011
31Ω> x + y
3218
33Ω> inspect _
34id: sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7
35kind: OPERATION
36status: ok
37shape: APPLY
38type: u64
39type_id: sha256:037a444b0f120fd4bbabd0c16ae143599b231d2469827fccbf9bc79c57bab822
40op: sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1
41opcode: ADD
42overflow: WRAP
43operands: 2
44 [0] sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db
45 [1] sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2
46attributes: 0
47relations: 0
48constraints: 0
49canonical_len: 177
50canonical_sha256: c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7
51canonical_id_matches: yes
52dependencies: 3 (dangling 0)
53 [0] op sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1
54 [1] operand0 sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db
55 [2] operand1 sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2
56Ω> type _
57u64
58Ω> why _
59error: why: no realization for _ in this session; use `realize _` first
60Ω> verify _
61[pure-execution]
62STRUCTURAL PASS V0 graph typing + DAG integrity (5 object(s))
63TYPE PASS OPERATION(apply) object validates
64INVARIANTS PASS V2 reference-evaluator algebra (commutativity, identity, wrap, range); not object-specific
65REALIZATION NOT_RUN no realization built
66AUTHORITY PASS NONE: no effect or capability ref reachable (5 object(s) walked)
67MACHINE NOT_RUN no realization built
68VERDICT PASS
69Ω> machine
70<machine block masked>
71Ω> help realize
72 realize <x> [for current.machine] pure-execution build machine code for x (does not run it)
73Ω> realize _
74[pure-execution]
75realization
76 id sha256:ffe7656dc91cf25a4aacfc005ffb643fa79f3fd8ce55d11420fd4982e9d0ff76
77 subject sha256:c794437c57e3aec88e7385c024e427fd9be18aa4cf91fd46778b9e5fd4a31fc7
78 realized sha256:6ff7d47206c867ccadb5c2ea8839b59d49ca9e62c6f95070ad7cd3d8f09c73b1
79 machine sha256:<HOST_MACHINE_ID> (<HOST_MACHINE>)
80 bound none
81 target aarch64-v8a profile=0x01
82 code 8 bytes, 2 instructions
83 8b010000 add x0, x0, x1
84 d65f03c0 ret
85 compatible yes
86 runnable yes
87 why profile 0x01 vs machine 0x01 match; realizer bound no machine; run allowed
88cost (four separate classes; never merged)
89 predicted cycles=2 insns=2 bytes=8 [static: code_len/4 = 2 instructions x 1 cycle; no machine model]
90 estimated cycles=<N> insns=2 bytes=8 [omega_machine_estimate_latency(<HOST_MACHINE>) (assumed profile, not measured)]
91 measured ABSENT [absent: Visor V1 ingests no execution receipts]
92 qualified ABSENT [absent: no qualified gate result for this realization in V1]
93Ω> cost _
94[simulation]
95cost (four separate classes; never merged)
96 predicted cycles=2 insns=2 bytes=8 [static: code_len/4 = 2 instructions x 1 cycle; no machine model]
97 estimated cycles=<N> insns=2 bytes=8 [omega_machine_estimate_latency(<HOST_MACHINE>) (assumed profile, not measured)]
98 measured ABSENT [absent: Visor V1 ingests no execution receipts]
99 qualified ABSENT [absent: no qualified gate result for this realization in V1]
100Ω> run _
101[pure-execution]
10218
103Ω> why _
104why realization
105 compatibility: compatible
106 profile: realization 0x01, machine <HOST_MACHINE>; V1 realizers and both canonical profiles use 0x01, so a match is expected, not a hardware check
107 machine binding: realizer bound none; model sha256:<HOST_MACHINE_ID>
108 target: aarch64-v8a; run allowed (pure AArch64, native)
109 constraints: profile 0x01 vs machine 0x01 match; realizer bound no machine; run allowed
110 cost sources:
111 predicted present: static: code_len/4 = 2 instructions x 1 cycle; no machine model
112 estimated present: omega_machine_estimate_latency(<HOST_MACHINE>) (assumed profile, not measured)
113 measured ABSENT: absent: Visor V1 ingests no execution receipts
114 qualified ABSENT: absent: no qualified gate result for this realization in V1
115Ω> evidence
116evidence: 6 shown, 6 matched, 8 scanned, 2 unparsed
117receipt sha256:73d26b54634d017831a828cb5d83eb25948288be7b49270659cab38e274dd7d9 (name = content hash)
118 path tests/visor/fixtures/evidence/CA/73d26b54634d017831a828cb5d83eb25948288be7b49270659cab38e274dd7d9.json
119 claim FIXTURE_CONTENT_ADDRESSED_V1: FIXTURE_CA_PASS=PASS
120 scope HOST (from scope)
121 gates 1/1 passed
122 commit 8888888888888888888888888888888888888888
123 physics (none)
124 run 20260928T000003Z-fixtureca
125 machine (none)
126 realization (none)
127 tree clean
128receipt sha256:9cb9c065707e63dc506bf45e37703ef2312499a410d850e1385be320e9ff6aea
129 path tests/visor/fixtures/evidence/HOST/host_run_receipt.json
130 claim FIXTURE_HOST_RUN_V1: FIXTURE_HOST_PASS=PASS
131 scope HOST (from hardware_scope)
132 gates 2/3 passed
133 commit 1111111111111111111111111111111111111111
134 physics (none)
135 run 20260928T000000Z-fixturehost
136 machine os=Linux arch=aarch64 kernel=7.0.0-fixture
137 realization (none)
138 tree clean
139receipt sha256:6175fcb5f521860611e780fa232bf75188915d36f33c0230be51dde3167dcd67
140 path tests/visor/fixtures/evidence/SILICON/silicon_run_receipt.json
141 claim FIXTURE_SILICON_RUN_V1: FIXTURE_SILICON=PASS
142 scope SILICON (from silicon_observed=true)
143 gates 1/1 passed
144 commit 4444444444444444444444444444444444444444
145 physics 5555555555555555555555555555555555555555
146 run 20260928T000001Z-fixturesilicon
147 machine node=spark-fixture arch=aarch64 kernel=7.0.0-fixture
148 realization sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
149 tree DIRTY
150receipt sha256:13e75aa959b06e2d36b0ded9ab5e8c0e7c5ba05a31ef7c0d31dd07c65b2e308a
151 path tests/visor/fixtures/evidence/SILICON/standin_no_upgrade_receipt.json
152 claim FIXTURE_STANDIN_V1: FIXTURE_STANDIN_PASS=PASS
153 scope HOST (from silicon_observed=false)
154 gates 1/1 passed
155 commit 6666666666666666666666666666666666666666
156 physics (none)
157 run 20260928T000002Z-fixturestandin
158 machine (none)
159 realization (none)
160 tree clean
161receipt sha256:59645471d31f95d9cf66847c6f098be16e7e0848d4751ff239f811aaa10fb374
162 path tests/visor/fixtures/evidence/qemu_milestone_receipt.json
163 claim FIXTURE MILESTONE - QEMU: QUALIFIED / PASS
164 scope QEMU (from qemu_target)
165 gates 3/3 passed
166 commit 3333333333333333333333333333333333333333
167 physics (none)
168 run (none)
169 machine os=Linux arch=aarch64
170 realization sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
171 tree unknown
172receipt sha256:ef700eb6791ef7db0cba8d2ce801e4959f2657acf5d1df6152719d6b6bfebbb9
173 path tests/visor/fixtures/evidence/unknown_scope_receipt.json
174 claim FIXTURE_UNKNOWN_SCOPE_V1
175 scope UNKNOWN
176 gates 0/0 passed
177 commit 7777777777777777777777777777777777777777
178 physics (none)
179 run (none)
180 machine os=Linux arch=aarch64
181 realization (none)
182 tree unknown
183UNPARSED tests/visor/fixtures/evidence/digests.txt
184UNPARSED tests/visor/fixtures/evidence/malformed_receipt.json
185Ω> help evidence
186 evidence [name] inspection show recorded evidence receipts
187Ω> effects
188[effect-request]
189no effect objects in session
190Ω> world
191world: unattached
192 state: unattached
193 generation: (not observable)
194 resident objects: 0 (shown 0)
195 reactions: 0
196 active work: 0
197 published results: 0 (not observable)
198 staged effects: (not visible)
199 publication tail: 0
200 digest: -
201 gap: no resident World attached in this session: the V1 omega binary does not link the runtime (src/runtime); nothing here is observed
202 note: view only; this view holds no authority over the World
203Ω> bindings
204x object sha256:fef7efa7112d1d8da5f8573bad1e4f882497407474c8798143330089c93c90db
205y object sha256:745f463215c5d2c0a03509b2ce1f7c3f2f393c6cd00d3add00fe79c4720669c2
206_ realization sha256:ffe7656dc91cf25a4aacfc005ffb643fa79f3fd8ce55d11420fd4982e9d0ff76