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 / evidence / OM2-COMPILER / s4 / part / s4fuel.cases

22 lines · 1616 bytes Raw Blame History
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.
8deadline 10
9# E14 control 1: depth 2 (64 + 4096 = 4160 units) compiles; the program exits 0
10fuel-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)
12fuel-d3 emit seed/qualification/om2/sec/s4fuel/fuel-d3.om - err:7:14 14
13fuel-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
15deadline 2
16fuel-d4 emit seed/qualification/om2/sec/s4fuel/fuel-d4.om - err:8:14 14
17fuel-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)
19deadline 10
20fuel-inl emit seed/qualification/om2/sec/s4fuel/fuel-inl.om - err:7:14 14
21fuel-inl-code refuse seed/qualification/om2/sec/s4fuel/fuel-inl.om 14
22deadline 30