Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/qualification/om2/sec/s4fuel/candidate.cases # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / qualification / om2 / sec / s4fuel / candidate.cases` 26 lines ยท 1963 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. 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 (fuel-inl: f4, f3, f2, f1, main in source order). fuel_e16f.py: every function, inline ones too, is 19 # compiled in source order with its own fuel; f1 standalone exhausts first: 56th f3 loop reaches 65536, the next f4 20 # call (line 8) makes 65537 21 deadline 10 22 fuel-inl emit seed/qualification/om2/sec/s4fuel/fuel-inl.om - err:8:14 14 23 fuel-inl-code refuse seed/qualification/om2/sec/s4fuel/fuel-inl.om 14 24 # main first (fuel-inl-mainfirst): main compiled before the inline functions exhausts at the f3 unroll (line 11) 25 fuel-inl-mainfirst emit seed/qualification/om2/sec/s4fuel/fuel-inl-mainfirst.om - err:11:14 14 26 deadline 30