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 / OM2-COMPILER / s4 / fuel-e16 / s4fuel.cases
| 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | # Erratum E14 (expansion fuel 65536 per function; each unrolled copy and each inline expansion costs 1). |
| 3 | # Expected lines come from oracle/s4fuel/fuel_e16.py (erratum E16: an unrolled loop is charged K at its line |
| 4 | # when it starts, an inline expansion 1 at its call line; error 14 names the construct whose charge exceeds |
| 5 | # the fuel). fuel.py (pre-order per-copy charge) is the superseded pre-E16 model, kept for the record. |
| 6 | # A line mismatch with code 14 is a compiler defect against E16 (coordinator ruling). |
| 7 | # Deadline: 10 s per compile. Runaway compile work is INVALID (deadline) or FAIL (no error), never PASS. |
| 8 | deadline 10 |
| 9 | # E14 control 1: depth 2 (64 + 4096 = 4160 units) compiles; the program exits 0 |
| 10 | fuel-d2 run seed/qualification/om2/sec/s4fuel/fuel-d2.om - - - 0 |
| 11 | # E14 control 2: depth 3 (262144 innermost copies) is error 14; E16 oracle (fuel_e16.py): exhausted at the c loop, line 7 (used 65600) |
| 12 | fuel-d3 emit seed/qualification/om2/sec/s4fuel/fuel-d3.om - err:7:14 14 |
| 13 | fuel-d3-code refuse seed/qualification/om2/sec/s4fuel/fuel-d3.om 14 |
| 14 | # depth 4 (E14's 1.58 s case under c23b3376): must be refused as quickly; oracle: line 8 |
| 15 | deadline 2 |
| 16 | fuel-d4 emit seed/qualification/om2/sec/s4fuel/fuel-d4.om - err:8:14 14 |
| 17 | fuel-d4-code refuse seed/qualification/om2/sec/s4fuel/fuel-d4.om 14 |
| 18 | # inline variant: expansions of f1..f4 under 64-copy unrolls; E16 oracle: exhausted at the f3 unroll, line 7 (used 65537) |
| 19 | deadline 10 |
| 20 | fuel-inl emit seed/qualification/om2/sec/s4fuel/fuel-inl.om - err:7:14 14 |
| 21 | fuel-inl-code refuse seed/qualification/om2/sec/s4fuel/fuel-inl.om 14 |
| 22 | deadline 30 |