CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
GitHub aien-dev/CUDApp#61 (code only)
Apply it
git checkout -b patch-8ae0b53a01ff7637 80f3a2492eef315106feebfdffcb32de39be7d95 curl -fsSL https://interplane.io/drakestapleton/CUDApp/patches/8ae0b53a01ff7637.patch | git am
Provenance
github-import 1
aien-dev/CUDApp
61
3d43aaa9e807a4f219e5fa5aaade43fba9e4c8c6
{"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":61,"url":"https://github.com/aien-dev/CUDApp/pull/61","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:23Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/docs/learn53/CATALOG.md b/docs/learn53/CATALOG.md new file mode 100644 index 00000000..a5f7500f --- /dev/null +++ b/docs/learn53/CATALOG.md @@ -0,0 +1,100 @@ +# Frozen public CUL1 catalog and Omega653 adapter + +This is a **native-host domain component**, not a generated-candidate experiment, +protected evaluator, authenticated verdict service or GPU qualification. All +implementation and behavioral tests are seeded `.om`. Existing Linux tools are +development orchestration only; #15 still owns the native build boundary. + +## Frozen public profile + +`kload(id:ulong)->ulong` writes the fixed task into `kt`, returning its length. +IDs outside1..8 return0 without modifying either `kt` or `ko`. Valid loads clear +all4096 task bytes before writing; they never modify candidate observations `ko`. +The contents, arithmetic mode, strides, tolerances and task membership cannot be +selected through observed-output bytes. Existing generic `kvalid`/`keval` remain +useful trusted-manifest APIs; this catalog does not replace or rename them. + +|ID|Task|Task bytes|Guarded output bytes| +|--|--|--:|--:| +|1|add3, stride2, wraparound|136|28| +|2|add8, dense,7+9|160|40| +|3|add17, dense,UINT32_MAX+3|232|76| +|4|reduce3, stride2,UINT32_MAX+2+3|116|12| +|5|reduce8, dense, allUINT32_MAX|128|12| +|6|reduce17, dense, allUINT32_MAX|164|12| +|7|matmul M2,N3,K2, row strides3/4/4|144|36| +|8|matmul M3,N2,K3, row strides3/2/2|156|32| + +CUL1 pool1 means public development. It maps to Omega653 public development +split2. All these cases are public, deliberately share algorithm/template +families, and are **not** disjoint training/adaptive/final evaluation pools. +Memorizing their outputs can pass them; no generalization claim is possible. +Exact emitted bytes/digests are published in the continuation receipt. + +`catalog-export.om` is a development fixture emitter: exactly one stdin byte +selects ID1..8; stdout is only the frozen CUL1 task. Invalid frame length65, +unsupported ID77, I/O failure74; failure emits no task bytes. Its test checker +compares complete streams natively. Neither program executes candidate code. + +## Canonical dependency, not a second framework + +`native/learn53/omega653.lock` pins Omega source84d03c55 and the exact SHA256 of +`src/learning/benchmark/core.om`. Export that committed Git object explicitly, +check its digest and concatenate it with task.om, catalog.om and omega-adapter.om. +There is no vendored implementation, mutable sibling binary, implicit download +or changed upstream code. The inspected exact upstream LICENSE is GNU AGPLv3. +Its185-check component ELF is independently reconstructed byte-for-byte before +this consumer is exercised. Full upstream653 review/acceptance remains separate. + +## Adapter API and authority + +`aobserve(id,status,code,n)->ulong` consumes candidate bytes from `LGot[256]`. +It reloads the fixed catalog, validates CUL1, constructs independent expected +bytes from the existing `kexpect` reference (including both guards and padding) +in `LWant`, then calls the unchanged `lobserve`. It does not accept a claimed +PASS, tolerance, task payload or expected-output field from a candidate. +Result codes are canonical:0 correct,1..6 executor failures,7 wrong bytes, +8 exit/trap mismatch,9 empty output,10 malformed/unknown task. + +`abegin(budget)->ulong` requires eight caller-owned LT records in ID order1..8: +public development split2, visibility1, numeric family=operation1/2/3, source +profile/schema1, oracle53, template1, input/output bounds from the table, declared +step bound1000000 and reserved0. The five digest groups retain their upstream +meaning and must be supplied by the qualified independent metadata owner; this +adapter does not invent or authenticate them. `lbegin(8,1,budget)` validates the +canonical manifest and starts a one-attempt-per-task run. If scalar catalog +fields disagree, `lbegin(0,1,budget)` intentionally invalidates the fresh run +(code1), clearing any prior completed-valid scores. An already active run is +refused with20 and preserved, matching the canonical lifecycle. + +`aattempt(index,ordinal,status,code,n)->ulong` observes catalog ID=index+1 and +passes the derived outcome to `lattempt`. It never rewrites LC, LPin or the +outcome to fabricate success. Caller finishes using canonical `lfinish()`; +omitted tasks30, repeated ordinals28, bad identities26, missing costs23 and +exceeded time budget29 prevent a valid completed run. A wrong candidate may +produce a valid experiment record with a failure in the fixed denominator; +that is not candidate acceptance. Only completed-valid runs can report scores. +The step bound is declared metadata, not a process time limit enforced here. + +All arrays are single-threaded, nonconcurrent scratch. LT, LPin, LC, status and +exit code belong to a **trusted executor**, not the candidate. Matching claimed +hashes do not authenticate an executable or establish custody. A same-process +hostile caller can change globals; this API is not a sandbox. Source hashing, +process supervision, measured costs, result authenticity and protected task +custody remain Omega653/L408/L605 and existing canonical owners' obligations. + +## Evidence boundary + +The tests use **explicitly synthetic** LT digest words, compiler/ELF identities +and cost vectors to exercise the canonical admission/accounting behavior. They +are not real candidate records, training feedback, measured baseline costs, +complete-workload performance, corpus qualification or release approval. Literal +observed-output fixtures are independently derived public arithmetic answers; +they do not claim to be output from a newly generated candidate program. + +No runtime, encoder, disassembler, operation lowering, numerical contract, +benchmark collector, admission/session system, model graph, reuse store, trainer +or RSI judge is replaced. No legacy dependency is retired because no production +consumer has cut over. Larger generic CUL1 layouts remain valid in task.om but +are not silently narrowed into the256-byte Omega public observation profile. +Full #53 and #54–60 acceptance gates remain open. diff --git a/docs/learn53/CONTINUATION-COMMANDS.md b/docs/learn53/CONTINUATION-COMMANDS.md new file mode 100644 index 00000000..f401c4cb --- /dev/null +++ b/docs/learn53/CONTINUATION-COMMANDS.md @@ -0,0 +1,61 @@ +# Continuation reconstruction + +Run on Linux AArch64. Source revision and resulting hashes are named in +`evidence/LEARN53-L777-CONTINUATION/RECEIPT.md`. Use a fresh private output +directory; commands are disclosed existing development orchestration, not a +shipped native runner, installer, performance harness or complete build cutover. + +Reuse the previously reconstructed source-only toolchain at bridge +`0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`. Check `sha256sum` of +`build/bootstrap/omc` equals +`191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. + +Export exact committed CUDApp sources with `git archive "$REV"`; do not use a +mutable worktree. Export upstream source with: + +```sh +git -C "$OMEGA" show 84d03c5523f39ca1045d1c313c5f62597779462b:src/learning/benchmark/core.om > "$OUT/omega-core.om" +sha256sum "$OUT/omega-core.om" +``` + +Require `a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c`. +The corresponding upstream `tests/learning/benchmark/core-test.om` must build +and run with this source first; expected `BENCHMARK_CORE_PASS` and185. + +Ordered concatenation lists (no hidden source inputs): + +- catalog: task.om, catalog.om, tests/learn53/fixtures.om, catalog-fixtures.om, catalog-unit.om. +- omega: upstream omega-core.om, task.om, catalog.om, omega-adapter.om, tests/learn53/fixtures.om, catalog-fixtures.om, omega-unit.om. +- catalog-export: task.om, catalog.om, tests/learn53/catalog-export.om. +- catalog-check: task.om, catalog.om, tests/learn53/catalog-check.om. +- original-core/frame/stream: unchanged commands in evidence/LEARN53-L777/COMMANDS.md. + +Product basenames above resolve under native/learn53; test basenames under +tests/learn53. Assemble each ordered list into a private translation unit, then: + +```sh +quiet-build timeout 30 "$OMC" < "$OUT/unit.om" > "$OUT/unit.elf" 2> "$OUT/compile.stderr" +# Require compile exit0 before any execution; empty output is not an ELF. +test -s "$OUT/unit.elf" +readelf -h "$OUT/unit.elf" +chmod 700 "$OUT/unit.elf" +timeout 10 "$OUT/unit.elf" +sha256sum "$OUT/unit.elf" +``` + +Catalog expected83 PASS lines; Omega adapter160 PASS lines; original core77 +and frame17. Every test main returns fixed1 for any failed assertion. +For each byte ID1..8, route it to catalog-export, save stdout as task-N.cul; +prepend that same selector byte and route the result to catalog-check (exit0). +Empty input or two selector bytes must yield exporter65; byte0 or9 yields77. +No failure may emit a partial task. Save all stdout/stderr/status. + +The three compiled negative-control copies change only omega-adapter.om: +ignore-outcome passes0 to lattempt; omit-task calls lbegin7; ignore-length +passes expected length as observed length. Unchanged160-check suite must fail +with nonzero status after successful compilation. Original sources remain +unchanged. Raw source copies and outcomes are preserved in evidence. + +Host command timings/RSS, where recorded, are coarse process observations only; +LC unit fixture values are NOT those measurements. Full lifecycle cost and +energy remain UNKNOWN. No GPU launch, candidate sandbox or model is invoked. diff --git a/docs/learn53/CONTINUATION-PLAN.md b/docs/learn53/CONTINUATION-PLAN.md new file mode 100644 index 00000000..18fb8057 --- /dev/null +++ b/docs/learn53/CONTINUATION-PLAN.md @@ -0,0 +1,43 @@ +# Frozen public catalog and canonical framework attachment + +> **For agentic workers:** REQUIRED SUB-SKILL: use superpowers:executing-plans. Continue the authorized L777 implementation inline. + +**Goal:** Freeze all eight supported public CUL1 families into a compiled catalog and attach the independent evaluator to the existing Omega653 component. +**Architecture:** task.om stays authoritative for CUL1 validation/reference. catalog.om supplies fixed public data. omega-adapter.om prepares independent expected bytes and calls unchanged pinned lbegin/lobserve/lattempt APIs; lfinish remains canonical. No second scheduler, budget recorder, custodian, process runner, hash implementation or judge. +**Tech Stack:** seeded .om, source-only compiler191b776e; Linux AArch64. +**Spec:** CUDApp #53/#52, docs/learn53/CONTRACT.md and pinned Omega docs/learning/benchmark-v1.md. + +## Global Constraints +- Reuse existing worktree and PR61. Preserve all old receipts and source11ad6a0. +- Canonical dependency: omega-mv84d03c5523f39ca1045d1c313c5f62597779462b, src/learning/benchmark/core.om, SHA256 a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c. AGPL-3.0. No vendored fork. +- IDs1..8: add3/add8/add17/reduce3/reduce8/reduce17/mat2x3x2/mat3x2x3. All public development; these are NOT disjoint heldout pools. +- Fixed membership eight, one attempt per task. Metadata, costs and compiler/ELF identities are trusted executor inputs, never candidate result fields. +- Genuine source/structure/family/lineage metadata and measured costs belong to the qualified framework caller. Unit metadata/cost fixtures are SYNTHETIC, not validated feedback or measured baseline costs. +- No model, GPU, process isolation, receipt authentication, protected splits, production cutover or full-issue acceptance. + +## Review Focus +Candidate bytes cannot alter input values, strides, arithmetic, shape, tolerances or membership. Missing/duplicate tasks cannot produce valid complete-run scores. Invalid next run cannot expose stale completed-valid state. Bounds precede reads; invalid IDs preserve buffers. Tests must not be promoted to measured experiment records. + +### Task 1: Fixed public domain catalog +Files: native/learn53/catalog.om; tests/learn53/catalog-fixtures.om, catalog-unit.om. +Interfaces: kload(id:ulong)->ulong returns canonical task byte count; zero on unsupported ID without changing kt/ko. kput(word,value) is internal LE32 serialization. +- [ ] Tests: all eight independently derived literal outputs, exact headers/bounds, every output tail corrupted, invalid0/9/max IDs preserve buffers, poisoned policy reset on reload. +- [ ] Compile stub; expected behavioral FAIL and fixed nonzero status. +- [ ] Implement catalog; compiled test expected all PASS. + +### Task 2: Canonical observation and accounting attachment +Files: native/learn53/omega-adapter.om, omega653.lock; tests/learn53/omega-unit.om. +Interfaces: aobserve(id,status,code,n)->ulong consumes LGot and builds LWant using kexpect; abegin(budget)->ulong validates fixed scalar LT fields and calls lbegin(8,1,budget); aattempt(index,ordinal,status,code,n)->ulong calls aobserve then lattempt. Production never synthesizes LC/LPin. Caller finishes via lfinish. +- [ ] Synthetic unit-only fixtures: full8, omitted task, duplicate, wrong values/guard/tail/stride/PASS spoof, failed process, empty/oversize, poisoned manifest reset, unknown ID, wrong compiler/ELF identity word, missing costs, over-budget, invalid-next-run stale-state rejection. +- [ ] Compile stubs, observe intended behavioral failures. +- [ ] Implement thin adapter; expected all PASS. + +### Task 3: Immutable qualification, review and publication +- [ ] Replay exact pinned upstream185 checks before dependent gates. Exercise original native suites. +- [ ] Compile behavioral mutants; require successful native ELF build then intended test failure. Preserve all failed attempts. +- [ ] Freeze source, fresh export/reconstruction, source/binary hashes, commands, raw results and limitations. +- [ ] One independent exact-source review; fix findings through RED/GREEN. +- [ ] Push existing feature branch, verify remote head, update issues and existing desk intake. No second PR or full53 acceptance claim. + +## Ruling +The initially considered native candidate experiment is not supported by the published component: custody/process/cost prerequisites remain unqualified. Deliver native domain/API composition with explicitly synthetic accounting tests instead of fabricating real source identities or lifecycle measurements. Cost if wrong: this component must not be promoted as an experiment runner. diff --git a/docs/learn53/CONTRACT.md b/docs/learn53/CONTRACT.md new file mode 100644 index 00000000..19e5d1cc --- /dev/null +++ b/docs/learn53/CONTRACT.md @@ -0,0 +1,72 @@ +# CUL1 public native-host task contract + +Scope: the bounded CUDA++ domain adapter for #53. **NOT full #53 acceptance, a new benchmark service, or a GPU execution path.** All newly delivered executable logic/tests are seeded `.om`. Existing Linux/shell commands still assemble/build the modules; replacing that inherited host glue belongs to Omega #635/#636 and CUDA++ #15. No retirement claim. + +## Authority and interface + +`task.om` exports `kvalid(n:ulong)->int` and `keval(n:ulong,c:ulong)->int`, using single-threaded fixed scratch arrays `kt:uchar[4096]` (trusted frozen task) and `ko:uchar[1032]` (observed candidate output). It never writes either array. `wire.om` exposes `kframe(n:ulong)->int` over `packet:uchar[5137]`, copying a complete public developer frame into those arrays before checking. Buffers must not be used concurrently. + +The eventual Omega #653 caller must bind the manifest, compiler, evaluator, actual candidate/launch and output acquisition to immutable identities and keep the task inaccessible to candidate modification. No such framework attachment is qualified here. The data-only stdin entry can be given any public task by its caller; it does **not authenticate** that task and is not a sandbox or promotion authority. Its `HOST_ONLY 0` text is a diagnostic, not a signed receipt. Candidate bytes are never interpreted as code, claimed timing, policy, tolerances or a PASS flag. Tests of fake result bytes do not qualify protection against substituting the evaluator executable or recorder. + +## Canonical serialization + +One manifest is 24 little-endian unsigned 32-bit header words (96 bytes), followed by A's complete physical footprint and then B's, in little-endian u32 words. Exact length only, no optional/trailing fields, whitespace or alternate serialization. Serialization is this fixed byte layout, not JSON. Headers and all unused flags are validated before any payload access. + +| Word | Field | Accepted values | +|---:|---|---| +| 0 | magic | ASCII `CUL1`, LE value827086147 | +| 1 | schema | 1 | +| 2 | operation | 1 add; 2 left-to-right sum; 3 matmul | +| 3 | scalar profile | 1 unsigned32 modular | +| 4 | numerical mode | 0 exact integer, no floating tolerance | +| 5,6,7 | M,N,K | registered shapes below | +| 8,9,10 | A,B,output element/row strides | bounded0..32 and checked footprints; zero B stride only for sum | +| 11,12,13 | A,B,output physical word counts | each <=256; A/output nonempty by shape; B zero only for sum | +| 14 | pool | 1 public development; 2 validation and3 final refused with77 | +| 15 | normalized shape/operation family | derived from actual dimensions, not a caller-selected family | +| 16 | display task ID | nonzero u32, **not** a deduplication or content identity | +| 17 | reference semantics revision | 1 | +| 18 | alias rights | 0 disjoint inputs/output only | +| 19 | effects | 1 output-only writes, inputs unchanged | +| 20 | target/evidence class | 1 native-host reference; 121/other targets unsupported | +| 21,22 | absolute/relative tolerances | both exactly0, changing either is invalid | +| 23 | reserved | exactly0 | + +A manifest's immutable identity is its exact bytes, externally hashed by the framework. Semantic fields/input bytes, provenance/task label/pool and performance context must remain separately identified in that framework. This module does not invent an abbreviated hash or a second identity registry. A renamed task is not declared novel. Family tags are necessary metadata, not a completed family-split/deduplication service. + +Registered families: +- Add: `(M,N,K)=(3,1,1),(8,1,1),(17,1,1)`, families101/102/103. Each operand/output footprint is `(M-1)*stride+1`, positive strides. +- Sum: same shapes, families201/202/203. A has that footprint; B count/stride0, output count/stride1. +- Matmul: `(2,3,2),(3,2,3)`, families301/302. A is MxK, B is KxN, output MxN. Respective row strides >=K, >=N, >=N. Footprint is `(rows-1)*stride+columns` with no unused trailing row padding. +- All products/offsets are bounded after shape/stride/count admission; unsupported shape is never a GPU capability claim. + +The scalar reference is independent of CUDA++'s generator, encoder and candidate implementations. Add/multiply/sum retain the low32 bits. Sum and matmul traverse the reduction dimension in increasing order. For this modular integer domain different summation orders are mathematically equivalent; these tests **cannot detect or prove floating-point reduction-order preservation**. NaN/Inf/signed-zero/subnormal semantics and FP conversion/approximation are unsupported, not covered as floats by integer bit patterns. This implements the exact-integer branch required by #16's addendum, not a replacement for its finite-FP comparator, model-quality authority or trace format. + +## Observed output layout + +Candidate output is `(output_count+2)*4` bytes: leading canary, complete physical output footprint, trailing canary. Canaries and internal padding equal `0xA5A5A5A5`. Every logical word is independently recomputed from the trusted task, every padding/canary checked. Exact output size is mandatory. Correct initial bytes cannot prove a write occurred; skipped-write controls poison the output and demonstrate detection of omitted observable results, not arbitrary memory-effect tracing. The future acquisition owner must also observe protected inputs and actual device memory. + +Statuses:0 checked match in this public native-host domain;1 mismatch/canary corruption;65 malformed record, counts, policy or output length;69 unsupported version/profile/op/shape/effects/target;77 non-public pool access refused;74 stream I/O failure. Input-length bounds precede field reads; structural checks precede semantic support, pool, shape/stride and output checks. No cached PASS survives another call. + +## Native developer replay + +Build only with the explicit, source-reconstructed compiler SHA256 +`191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. +Qualified source import: omega-bridge `0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`, seed origin omega-mv `29b12760f4c962606411d6bf25032aedef063301`. + +Existing development commands on Linux AArch64, with a private fresh output directory and `OMC` pointing to that verified compiler: + +```sh +cat native/learn53/task.om native/learn53/wire.om native/learn53/stream.om > "$OUT/stream.om" +"$OMC" < "$OUT/stream.om" > "$OUT/stream" +# Require successful compilation, nonempty static AArch64 EXEC, then chmod700. +timeout 10 "$OUT/stream" < public-frame.bin +``` + +A frame is `u32le(task_length) || manifest || u32le(output_length) || observed_output`. EOF is required. The reader handles fragmented reads, refuses truncation/trailing bytes and reads at most5137 bytes. It never opens a file or launches a process. An open pipe can stall: the caller's existing deadline/isolation is required; no native wall-clock/process supervisor is claimed. + +Native test construction follows the same concatenation with `tests/learn53/fixtures.om` plus `unit.om`. The frame tests add `wire.om`, `stream-fixtures.om`, `stream-unit.om`. The public emitter substitutes `stream-input.om` and reads one mode byte:0 valid,1 wrong result,2 truncated,3 extra byte,4 forged length,5 final-pool refusal. `stream-check.om` independently checks the exact success diagnostic. No test runner or compiler wrapper in another implementation language was added. + +## Acceptance still pending + +Omega653 framework attachment and complete attempt/budget record; independent split custody/deduplication/sealing; #15 seeded host qualification; #16 FP/numerical policy migration; #17 real native full-cost collector/paired baselines; one measured hot operator; #10/#35 independent binary/launch admission; #24 runtime memory/session integration; GB10 and full consuming graph; independent judge and production release. No speed reward, candidate generation, training, proof or default selection occurs in this slice. Hardware/consumer tests are NOT_RUN, not NO-GO experiments. diff --git a/docs/learn53/DEPENDENCIES.md b/docs/learn53/DEPENDENCIES.md new file mode 100644 index 00000000..831d909a --- /dev/null +++ b/docs/learn53/DEPENDENCIES.md @@ -0,0 +1,60 @@ +# CUDA-LEARN dependency and evidence reconciliation + +Historical inspection baseline: CUDApp public main `80f3a2492eef315106feebfdffcb32de39be7d95`. +All #52-60 issue bodies/comments, #15/#16/#17/#19/#22/#26/#35 addenda, and linked Omega/trainer/RSI requirements were fetched before editing. Only existing open CUDApp PR was #28 (LocalRouter); it does not implement these tasks. No active CUDA-LEARN implementation owner was displaced. Parent ledger L777; independent review L778. Canonical backend, compiler, runtime, source owners and Merge Desk remain unchanged. + +## Preserved implementation and evidence + +| Existing owner/input | Resolved head | What its evidence actually establishes | +|---|---|---| +| #15, L466 host qualification | `2bf8b781219ac179336d5e7a876d63e6fb5d1873` | executable1f281708;35 host targets,8 legacy OSC slices; x86 cross-compile only. Native .om replacement and final consumer not established | +| #16, L467 numerical contracts | `2da3fa1b2392bcab593bbb5f71a36b04a6d289b1` | source3565287250e4ebd40e79a23d978edd3c936c94f2; finite nonempty FP comparison,285 API/236 router-simulator/19 trace fixture tests. No full model or GB10 receipt | +| #17, L468 benchmark collector | `65948c9c9420391782939e3492b9ed310ec774c7` | source4fdc3dabc5a0243ad93b6106e76497d0ce428d8a;18 formatter/12 wrapper/62 JS tests; real graph API but fixture observations only, batch1, unknown counters omitted. No measured native model baseline | +| #24, L475 reservation | `65e7ae4b8b52d51664153e9cf02b752473165fac` | source264c7752bceb38e18b4f58125a07ad1719b1ad6b;228 parent checks, real process recovery,8 mutants. No actual device allocation/cleanup or disjoint memory overhead measurement | +| #48, L600 weight codec | `566dc53502321166f4a898a29f8e4f828a209239` | existing native/weightpack/weightpack.om,464 codec cases and selected five real-matrix exact replays. Not a full payload census, loader/model cutover or speed result | +| Recovery provenance | `22965981baf78b3ae8768444f071f9b2c5410a55` | inventory/recovery snapshot, not qualification of this source or final artifact | +| #5, L457 canonical backend | `349913f17c083996680c72b32f767b225005155d` | existing integration branch owns runtime/library changes. Not copied or overwritten by this adapter | + +These refs and receipts are left immutable. No cherry-pick of the legacy runners is presented as seeded delivery. New code resides only under `native/learn53/` and tests under `tests/learn53/`. The scalar reference is not a second runtime, GPU IR, disassembler, schedule search, store, trainer or judge. It adds a GPU-domain public contract evaluator to be consumed by the existing framework. + +## Finite remaining work, in required order + +| Issue | Current deliverable/status | Exact remaining prerequisite and owner | +|---|---|---| +| #53 | Seeded native-host public u32 manifest/reference/output slice; three operation kinds, eight registered shape families, refusal/negative controls. Full issue OPEN | #653/L775-L776 qualified framework/profile and independent split custody/result accounting; #15/L466 seeded eight-slice/build path; #16/L467 qualified numerical modes; #17/L468 native .om collector and full-cost hot-operator baseline; #10/#35 byte/launch path. Host-only results cannot substitute | +| #54 | NOT_RUN | #53's frozen independent framework plus qualified .om microkernel/lowering records #35, legal action interface #22/L473 and independent decoder #10. No speculative competing registry/search created | +| #55 | NOT_RUN, not NO-GO | #53 corpus; #13 repeatability; #10/#22 qualified native perturbation instruction/control and device path. Existing runtime/session owner must admit bounded instrumented artifact; no delay opcode guessed, no live waits removed | +| #56 | NOT_RUN | one supported task + actual #55 scope, existing Omega #623/#624/#625 checker/semantic interface and #35 binary correspondence. No duplicate proof engine or claim from hashes/real algebra | +| #57 | NOT_RUN | validated candidate #54 or #22, #16/#17 numerical/full-graph costs, #19 dependency records/L470, #24/L475 native memory/session cutover; #5/L457 canonical consuming graph. No incumbent/default modified | +| #58 | NOT_RUN | real applicable #53-57 receipts, Omega #651/#658 existing semantic store and RSI #67 independent evaluation; matched total-cost experiment. No new store or claimed break-even | +| #59 | NOT_RUN parameter training; current public fixtures are development-only, not a trained corpus | #53/#54 validated task/action/feedback interface, native gradients/update/checkpoint/resume under Omega606 and existing trainer L491, then aien-train3/4. No inference-budget gain mislabelled training | +| #60 | NOT_RUN | qualified native rollout/update path and objective snapshot semantics from Omega606/aien-train3/4, #16/#17/#35; must compare exact logits/probabilities/KV and wrong-snapshot controls. No probability cache or optimizer consumer changed | + +At the initial inspection Omega #653's existing L775/L776 work was stopped at an account cap (superseded by the continuation below). Its coordination record explicitly says TICK-OFF is set and continuation is queued/unacknowledged. This chat did not restart them or invent a replacement framework. A dependency request was appended to the existing L775 inbox naming the public domain adapter and requesting its qualified immutable interface. Missing process/deadline/isolation/build-host primitives remain with Omega #635/#636/L408/L605. Native library tests proceed independently; authenticated custody and whole-workload qualification do not. + +## Identity and cost limits + +This slice is not using a model/tokenizer, policy checkpoint, generated GPU binary, launch descriptor or driver. Their identities are NOT_APPLICABLE to native-host reference execution; actual GB10/consumer rows are NOT_RUN. The manifest itself fixes the host target and numerical mode and rejects a GB10 target request. + +No candidates generated, no optimization/training arms, no model inference or GPU time requested. Full lifecycle baseline, uncertainty, performance, energy, and caller CPU/GPU/time/token budget enforcement are NOT_RUN. Output/input byte capacities and executed check counts are measured/verified separately. Existing host suite timing printouts are diagnostics, not performance evidence. + +No superseded production code/dependency was removed because none has yet been qualified and cut over by this additive domain slice. Legacy C/.osc/build/runner presence remains unfinished work under its existing owners, never the accepted final state. Removing it now would discard un-replaced consumers. A future integration must qualify and delete those active paths while preserving history. + +## Continuation: canonical component became available + +Source94ada80cd8acf2c31441ab1dcee98f896ce884c4 adds the frozen public catalog and +an actual native composition with Omega653 core84d03c5523f39ca1045d1c313c5f62597779462b. +L775/L776 were resumed by their authorized owner, not this chat. Published +upstream headdd28ebc0a84abc4dab3a38bde49aeae98c846c78 carries the bounded185-check +component and public observation evidence. This supersedes the old stopped-owner +status, not the remaining process/custody/full-cost gates. The continuation uses +that exact core by external source lock, without copying it into active product +source or changing its owner. Catalog83 and adapter160 assertions pass; detailed +limits and receipts are in CATALOG.md and LEARN53-L777-CONTINUATION. + +Canonical admission/accounting is now exercised through the domain adapter, +including complete membership, failed outcomes, identity mismatch and cost +rejection. Metadata/cost test fixtures are explicitly synthetic. Actual native +candidate supervision, independent source/structure/lineage metadata, protected +splits, real cost collection, hot operators, GB10 and integrated consumers remain +unqualified. No validated training records or complete baseline costs are claimed. diff --git a/docs/learn53/PLAN.md b/docs/learn53/PLAN.md new file mode 100644 index 00000000..341c2487 --- /dev/null +++ b/docs/learn53/PLAN.md @@ -0,0 +1,48 @@ +# CUDA-LEARN public task adapter implementation plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. + +**Goal:** Deliver the dependency-ready public native-host task-contract/output-evaluation part of CUDApp #53, not substitute it for final #53 qualification. +**Architecture:** A pure bounded CUDA++ domain module consumes a caller-owned frozen manifest and candidate output bytes. Omega #653 owns scheduling, custody, aggregate outcomes and budgets. CUDA++ #15/#16/#17 retain qualification, numerical policy and measurement ownership. No generated host code is executed by this module. +**Tech Stack:** Seeded Omega .om, compiler SHA256 191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9, Linux AArch64. Existing shell/Linux commands are disclosed development orchestration, not new delivered automation. +**Spec:** CUDApp #52/#53 and integration addenda #15/#16/#17; omega-mv #599/#653. NOT A MASTER PLAN. + +## Global constraints +- New executable logic, tests and fixtures are .om. Preserve existing legacy code/history until its owning replacement and consumer cutover qualify; this additive slice does not retire the runtime. +- Own only native/learn53, tests/learn53, docs/learn53, evidence/LEARN53-L777. Do not resume existing prerequisite workers or create a second compiler/runtime/judge/store. +- Public development input only. Refuse validation/final splits at this entry; do not inspect sealed tasks or invent a seal. +- Exact modular u32 semantics only; no tolerance or FP support. No model inference, search, training, GPU execution, timing reward or performance claim. +- Bound manifest to 4096 bytes, each input/output extent to 256 u32 words, all loops by these bounds. Candidate output has exact padded extent plus two canaries, maximum1032 bytes. Registration limited to listed shape families. + +## Review focus +- Length/count overflow before any read: exercise lengths0,95,4097,2^64-1 and forged u32 counts. +- Semantic-policy downgrade or false evidence: reject tolerance/mode, target and split substitutions before output comparison; candidate PASS text is not a result. +- Sparse output layout and ragged tails: compare every logical result and every padding/guard word; skipped/wrong-tail outputs must fail. +- Reuse after refusal: a malformed second record cannot reuse the previous success; valid third record must recover, inputs unchanged. +- Oracle correlation: literal Wolfram-checked add/reduce/matmul answers and compiled evaluator mutants, not expected values produced by this implementation. + +### Task 1: Domain contract and independent evaluator +**Files:** native/learn53/task.om; tests/learn53/unit.om; docs/learn53/CONTRACT.md. +**Interfaces:** globals kt[4096] and ko[1032]; kvalid(task_bytes:ulong)->int; keval(task_bytes:ulong,output_bytes:ulong)->int. Caller fills manifest once from trusted pinned task storage; only ko receives candidate bytes. These are single-threaded scratch buffers, not an authority or sandbox. +- [ ] Write unit fixtures and kvalid/keval compilable stubs. Run native combined source; expect intended assertions to fail, not compile/setup errors. +- [ ] Implement canonical fixed little-endian manifest and exact shape/stride/count policy; prove structural/unsupported/split failures and no buffer mutation. +- [ ] Implement independent scalar u32 add, fixed-order sum and small matmul checking with guards; retain wrong values, skipped writes, sample memorization, strides/tails, weakened tolerance and spoofing controls. +- [ ] Execute complete native suite and compiled semantic mutants; keep every raw result and actual exit. +- [ ] Commit source freeze and reproduce from immutable Git export. + +### Task 2: Data-only native entry point +**Files:** native/learn53/stream.om; tests/learn53/stream-input.om; tests/learn53/stream-check.om. +**Interfaces:** length-framed task then candidate bytes on stdin, no arguments/files/process launch. Result is authoritative process status; stdout contains only a fixed evidence-class/status record, never a candidate-provided result. +- [ ] Write native stream tests first; reject empty, truncated, extra and forged-length input; require no success output on failure. +- [ ] Implement bounded read/copy/check entry; run valid and wrong-output data through the real executable. +- [ ] Confirm static AArch64 ELF and no linked foreign runtime. Record build/input/binary identities and declared closure limits. + +### Task 3: Review and dependency-safe publication +**Files:** docs/learn53/DEPENDENCIES.md; evidence/LEARN53-L777/; existing desk intake and issue-update packet. +- [ ] Preserve exact prerequisite branch/source/receipt pins and map every remaining #53-60 gate to its current owner. No hardware or proof credit from this unit. +- [ ] Run unchanged repository host suite separately. Preserve baseline/final failures without changing owned legacy gates. +- [ ] Independent reviewer checks exact final source, source closure, public oracle cases and mutants. Fix substantive findings with RED/GREEN. +- [ ] Publish scoped branch/evidence and request one reviewable PR through the sole desk; read back exact remote head and issue updates. Keep #52-60 open until their final acceptance is met. + +## Pre-flight ruling +Omega653/L775/L776 currently stopped at account cap with TICK-OFF set; no published qualified adapter/profile. This module provides a non-speculative domain seam (trusted manifest plus observed output bytes) but does not impersonate the absent framework. #15 eight-slice .om runner, #16 FP comparator and #17 native graph collector migration remain owned prerequisites. #54-60 dependent experiments cannot qualify on this slice. No primitive/generator is promoted or timed here. diff --git a/evidence/LEARN53-L777-CONTINUATION-review.sha256 b/evidence/LEARN53-L777-CONTINUATION-review.sha256 new file mode 100644 index 00000000..febb465c --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION-review.sha256 @@ -0,0 +1,165 @@ +6d17a5b9647ef66480206f0163beca7bfe1e118836ab31cd40945e3ab5d0697b evidence/LEARN53-L777-CONTINUATION/review-L783.md +9091f24f512c76f915def1323b1b43205c86af5a5d32239725a22f3170316438 evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md +9345f587816d9883d80603ad7d964ef0d31fd24710d1d9f73da0ff767b70e03a evidence/LEARN53-L777-CONTINUATION/review-L783-parent-verification.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf-header +85b7e703cabddb03f74715eb1c267c6d02561293f436409f26f260a5ae6361a5 evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf.sha256 +a47cf74e9d8416d54c45c42f2ccc9d7f5435134d707b5284642680d51990688a evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf-header +8ddd0d4c7e92f8f7ed1a2e8fbed866788222ea7e1869bc5e73a13be1acadcd7a evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf.sha256 +d7668b31c4491e18dcaf89fff6bea5c0f8f6072bc00dbc04e7eeb6627f3bbb94 evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf-header +1104acf1fd4c89ab6d87a6d2876fc7623a77ca6aed704714de6265ff7e5a5e2c evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/catalog-review.exit +e42102e26bd6fd760c8037fe066351eb242f5c886f4584d25792bda898792225 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stderr +2f100a1dc90da1dcc6a3ef4a00a2e203bdfe714659407d7249b5c252c49c1920 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stdout +04b35049b10bfe40c0f23698f0d35d4d52a46f5f29649a1ca122894c8de4a18d evidence/LEARN53-L777-CONTINUATION/review/catalog-tasks.sha256 +3e1567b07b22c75f8642d3aa03ca868dbdb5791c4b778a8ec21a6de7d688562b evidence/LEARN53-L777-CONTINUATION/review/check-1.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-1.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-1.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-1.stdout +9a26f4bf107781cbc005feb45a924287bbce9f66616119eead53cbccdd242fc2 evidence/LEARN53-L777-CONTINUATION/review/check-2.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-2.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-2.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-2.stdout +85a8a3977c64cf29dafdbaa51be84db83cc3902d2492402560b0a6ef2672d5f2 evidence/LEARN53-L777-CONTINUATION/review/check-3.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-3.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-3.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-3.stdout +335afa7879f8c94f373692c91c2208481d3fe9e10095c837b13ecf8837f245a1 evidence/LEARN53-L777-CONTINUATION/review/check-4.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-4.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-4.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-4.stdout +49866ef09cbc5a079f0d1a0877ea163d7817e8330120ff0702f2958e4cb56516 evidence/LEARN53-L777-CONTINUATION/review/check-5.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-5.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-5.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-5.stdout +dbc8980affebd5f91076a832a761d69c00182ac08e24241dcec24432d9d9b46b evidence/LEARN53-L777-CONTINUATION/review/check-6.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-6.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-6.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-6.stdout +9b78ec8b4a32f691de65c9476830c8ea198f0c617b70288ca99d226a38b9456e evidence/LEARN53-L777-CONTINUATION/review/check-7.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-7.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-7.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-7.stdout +f4db41f1d010643ea84d146078948575a1f1593ff53f4d57ee2f6d7e01320f57 evidence/LEARN53-L777-CONTINUATION/review/check-8.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-8.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-8.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-8.stdout +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-1.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-1.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-2.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-2.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-3.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-3.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-4.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-4.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-5.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-5.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-6.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-6.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-7.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-7.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-8.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-8.stderr +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/review/export-empty.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-empty.stderr +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/review/export-id0.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-id0.stderr +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/review/export-id9.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-id9.stderr +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/review/export-max.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-max.stderr +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/review/export-two.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-two.stderr +02f036f6e16161a922578743f6931e7c64174ae3176161d3d75d713bcac0334e evidence/LEARN53-L777-CONTINUATION/review/ignore-length.adapter.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf-header +d98e8b7976c48d841272ed79a8f695c0dd4b20c82d5cb3595c82919ae777ea55 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.exit +5ccfed1ad85ca178182b2b463a59d2db39898fbd59ce5ee547f2916417202f36 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stderr +d7fcbafcf23c5c909f46e007403dd7996a988889d75f9525306c5d95879727aa evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stdout +ee7c3e67e0ef58262283a277e11940d92aadc9c08d487c7a39807f465e7038bc evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.adapter.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf-header +6a8a684d8c3922091ccd8b5766cce857bf29484f5e3d723ec0b226f980b9c3a6 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.exit +90fd44e6a82a6823a1721561aa7bc599a0a3b69d3a7923e1166428dbea30af56 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stderr +666bdcf967c8efc9131c14fc1b423514e84096f61ee3cf4fec8de8110cab2f21 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/input-empty.bin +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d evidence/LEARN53-L777-CONTINUATION/review/input-id0.bin +2b4c342f5433ebe591a1da77e013d1b72475562d48578dca8b84bac6651c3cb9 evidence/LEARN53-L777-CONTINUATION/review/input-id9.bin +a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb89 evidence/LEARN53-L777-CONTINUATION/review/input-max.bin +a12871fee210fb8619291eaea194581cbd2531e4b23759d225f6806923f63222 evidence/LEARN53-L777-CONTINUATION/review/input-two.bin +7b64d50ae9e85167bded2c5a534c394d2f7af5ed7d0adee285fa36d6488741de evidence/LEARN53-L777-CONTINUATION/review/omega-core-test.om +a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c evidence/LEARN53-L777-CONTINUATION/review/omega-core.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omega-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf-header +5822da0e5a76369090760176e6f3f739870d2c67448c4aa285476335fca7c4ca evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/omega-review.exit +bd9c025d82157b01a6e217503bef9c786bd3ce44fffb3c7c07fac29960e327ce evidence/LEARN53-L777-CONTINUATION/review/omega-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omega-review.stderr +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/review/omega-review.stdout +625741c3663eb2a755b905624af2346c788c5a4754d9941d7017c144e01dcaad evidence/LEARN53-L777-CONTINUATION/review/omit-task.adapter.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omit-task.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf-header +5c830950ae93ab811a7f4a97e155bf7e7cf45b3c8f25592db4b6f067d0112dc8 evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/review/omit-task.exit +98d7e4ed43278b31ace9ffc0eb4398aa7f20e93eb6224f6256fa922675eae165 evidence/LEARN53-L777-CONTINUATION/review/omit-task.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omit-task.stderr +5ea44a9d83faa47de8d60b5cc728062bae1bcd304d7afb70743510bbcf007166 evidence/LEARN53-L777-CONTINUATION/review/omit-task.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf-header +64938829288405804def84f54c22bf7e72813f8f4e431c3212d98a9d01488f5b evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/original-core-review.exit +48e63e880628cc4b35de6caa7b43e67463f0edf59622332d175892944177e69a evidence/LEARN53-L777-CONTINUATION/review/original-core-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stderr +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf-header +c5afd797a8b51bc26a74bc1dafcaf06c5090c27e2dd379b9b3fc1b889cf5f624 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.exit +b8cfde399c7fc5707c15dd01e8044707a963c39894a0b449c4ebed417a9609de evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stderr +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-empty.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-id0.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-id9.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-max.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-two.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.elf-header +48e63e880628cc4b35de6caa7b43e67463f0edf59622332d175892944177e69a evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stderr +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stdout +34a62ce2efdb93c3d0675cf200fdc713d91152f5dc4b738365d3958030015ad4 evidence/LEARN53-L777-CONTINUATION/review/review-artifacts.sha256 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a evidence/LEARN53-L777-CONTINUATION/review/selector-1.bin +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 evidence/LEARN53-L777-CONTINUATION/review/selector-2.bin +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 evidence/LEARN53-L777-CONTINUATION/review/selector-3.bin +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 evidence/LEARN53-L777-CONTINUATION/review/selector-4.bin +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db evidence/LEARN53-L777-CONTINUATION/review/selector-5.bin +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 evidence/LEARN53-L777-CONTINUATION/review/selector-6.bin +ca358758f6d27e6cf45272937977a748fd88391db679ceda7dc7bf1f005ee879 evidence/LEARN53-L777-CONTINUATION/review/selector-7.bin +beead77994cf573341ec17b58bbf7eb34d2711c993c1d976b128b3188dc1829a evidence/LEARN53-L777-CONTINUATION/review/selector-8.bin +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 evidence/LEARN53-L777-CONTINUATION/review/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 evidence/LEARN53-L777-CONTINUATION/review/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 evidence/LEARN53-L777-CONTINUATION/review/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 evidence/LEARN53-L777-CONTINUATION/review/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d evidence/LEARN53-L777-CONTINUATION/review/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 evidence/LEARN53-L777-CONTINUATION/review/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a evidence/LEARN53-L777-CONTINUATION/review/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 evidence/LEARN53-L777-CONTINUATION/review/task-8.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf-header +4b0e9a3ac148e581562a2e11201ea42d9e00b797136fa51c34c8ac975b37b707 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.exit +4215adf4e308fe8e796d61d060420c2f446ea0bedbed66ae8341273eeb5865c6 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stderr +ab3eab2904dc2551de4eb11272066a5b51869023ef170e261bb937db0482f29e evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stdout +01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b evidence/LEARN53-L777-CONTINUATION/review/worktree-status.txt diff --git a/evidence/LEARN53-L777-CONTINUATION.sha256 b/evidence/LEARN53-L777-CONTINUATION.sha256 new file mode 100644 index 00000000..77c0259d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION.sha256 @@ -0,0 +1,154 @@ +0c889fed767c25ed9e0766b520226c4315c67eddd340fe82d71c72fa30488acc evidence/LEARN53-L777-CONTINUATION/RECEIPT.md +26c7087303028cce713e1905c595716d87f69c56ffba1c37e1f3cee60dc54abe evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-check.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header +a47cf74e9d8416d54c45c42f2ccc9d7f5435134d707b5284642680d51990688a evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-export.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header +d7668b31c4491e18dcaf89fff6bea5c0f8f6072bc00dbc04e7eeb6627f3bbb94 evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header +e42102e26bd6fd760c8037fe066351eb242f5c886f4584d25792bda898792225 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stderr +2f100a1dc90da1dcc6a3ef4a00a2e203bdfe714659407d7249b5c252c49c1920 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header +dd7d2da1d80cb987c5d8ead22c0c12917e7d1856101e4889b7ff2b8189328f45 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stderr +98d12420dbc20676e7bde61fc8caf6d44671d69ef27848a5c375dc8d513c85a8 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout +02f036f6e16161a922578743f6931e7c64174ae3176161d3d75d713bcac0334e evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om +ee7c3e67e0ef58262283a277e11940d92aadc9c08d487c7a39807f465e7038bc evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header +5ccfed1ad85ca178182b2b463a59d2db39898fbd59ce5ee547f2916417202f36 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stderr +d7fcbafcf23c5c909f46e007403dd7996a988889d75f9525306c5d95879727aa evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header +90fd44e6a82a6823a1721561aa7bc599a0a3b69d3a7923e1166428dbea30af56 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stderr +666bdcf967c8efc9131c14fc1b423514e84096f61ee3cf4fec8de8110cab2f21 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header +98d7e4ed43278b31ace9ffc0eb4398aa7f20e93eb6224f6256fa922675eae165 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stderr +5ea44a9d83faa47de8d60b5cc728062bae1bcd304d7afb70743510bbcf007166 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout +7b64d50ae9e85167bded2c5a534c394d2f7af5ed7d0adee285fa36d6488741de evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om +a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c evidence/LEARN53-L777-CONTINUATION/author/omega-core.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-green.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header +bd9c025d82157b01a6e217503bef9c786bd3ce44fffb3c7c07fac29960e327ce evidence/LEARN53-L777-CONTINUATION/author/omega-green.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stderr +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-red.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header +9cc923f51c556e5e30e460c32180369012c1c30b4b81fe46484214ac2557746b evidence/LEARN53-L777-CONTINUATION/author/omega-red.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stderr +d5408b687c408042c7cdd0cbd4989398564c41319cce571a827543ed9db793e8 evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header +4215adf4e308fe8e796d61d060420c2f446ea0bedbed66ae8341273eeb5865c6 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stderr +ab3eab2904dc2551de4eb11272066a5b51869023ef170e261bb937db0482f29e evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout +625741c3663eb2a755b905624af2346c788c5a4754d9941d7017c144e01dcaad evidence/LEARN53-L777-CONTINUATION/author/omit-task.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-core.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header +741a00d9c622f81c39b4835450596ae0784b8eef4c32d2353f1182da148f49dc evidence/LEARN53-L777-CONTINUATION/author/original-core.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stderr +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-frame.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header +b8cfde399c7fc5707c15dd01e8044707a963c39894a0b449c4ebed417a9609de evidence/LEARN53-L777-CONTINUATION/author/original-frame.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stderr +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 evidence/LEARN53-L777-CONTINUATION/author/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 evidence/LEARN53-L777-CONTINUATION/author/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 evidence/LEARN53-L777-CONTINUATION/author/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 evidence/LEARN53-L777-CONTINUATION/author/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d evidence/LEARN53-L777-CONTINUATION/author/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 evidence/LEARN53-L777-CONTINUATION/author/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a evidence/LEARN53-L777-CONTINUATION/author/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 evidence/LEARN53-L777-CONTINUATION/author/task-8.cul +6032e7259218bfecc07d0fbe00e5aa3ab3dcfc820679231d8d7d11953b7c0d31 evidence/LEARN53-L777-CONTINUATION/build-readback.txt +6270e3408edb407f1c3ddd44219c94f635fe605f4038d4ccacb7e13febb55d5c evidence/LEARN53-L777-CONTINUATION/host.txt +7927c4d983af4fd6020fcf3a51948a673e802fa7cb8afafacec3e092446574a0 evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header +a47cf74e9d8416d54c45c42f2ccc9d7f5435134d707b5284642680d51990688a evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.rebuild.stderr +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header +d7668b31c4491e18dcaf89fff6bea5c0f8f6072bc00dbc04e7eeb6627f3bbb94 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.rebuild.stderr +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header +e42102e26bd6fd760c8037fe066351eb242f5c886f4584d25792bda898792225 evidence/LEARN53-L777-CONTINUATION/replay/catalog.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog.rebuild.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stderr +2f100a1dc90da1dcc6a3ef4a00a2e203bdfe714659407d7249b5c252c49c1920 evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout +a71b8a9e541411095dfabceb3d11153c1f47402eb2366ff5167cbd0d91d3e625 evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt +9f9cc668e915eae7043a69db501c009efa1ddbf95ea874d3b65c9553117afff2 evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.stderr +28f5c77b5e0efdd38d3be881de2d9d9986028f1d1820ad01ae207ad6d6947068 evidence/LEARN53-L777-CONTINUATION/replay/omega.cost +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header +bd9c025d82157b01a6e217503bef9c786bd3ce44fffb3c7c07fac29960e327ce evidence/LEARN53-L777-CONTINUATION/replay/omega.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/omega.rebuild.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/omega.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stderr +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stdout +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stdout +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stdout +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stdout +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stdout +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stdout +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 evidence/LEARN53-L777-CONTINUATION/replay/task-1.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-1.stderr +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 evidence/LEARN53-L777-CONTINUATION/replay/task-2.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-2.stderr +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 evidence/LEARN53-L777-CONTINUATION/replay/task-3.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-3.stderr +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 evidence/LEARN53-L777-CONTINUATION/replay/task-4.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-4.stderr +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d evidence/LEARN53-L777-CONTINUATION/replay/task-5.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-5.stderr +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 evidence/LEARN53-L777-CONTINUATION/replay/task-6.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-6.stderr +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a evidence/LEARN53-L777-CONTINUATION/replay/task-7.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-7.stderr +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 evidence/LEARN53-L777-CONTINUATION/replay/task-8.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-8.stderr +11bc1800df9711ff1ae69036b693fccd3c9f3627dc7ec9695e976dae7a805eb9 evidence/LEARN53-L777-CONTINUATION/replay-readback.txt +db4ddf9dd45f9219b06fbbc91bb293dd82d9676e12770f0359058d2be71d7b71 evidence/LEARN53-L777-CONTINUATION/source-inventory.json diff --git a/evidence/LEARN53-L777-CONTINUATION/RECEIPT.md b/evidence/LEARN53-L777-CONTINUATION/RECEIPT.md new file mode 100644 index 00000000..5333e340 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/RECEIPT.md @@ -0,0 +1,73 @@ +# CUDA-LEARN53 continuation receipt + +Status: author-qualified bounded native-host component; independent L783 review +pending. Full #53/#52 OPEN. This is not acceptance of #54–60 or upstream653. + +## Exact inputs + +- CUDApp executable/test source: `94ada80cd8acf2c31441ab1dcee98f896ce884c4`; parent `4337fb2b8f81ba661b23868012210b2fc71daef3`. +- Canonical Omega653 source: `84d03c5523f39ca1045d1c313c5f62597779462b`; file `src/learning/benchmark/core.om`, SHA256 `a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c`. +- Compiler source: omega-bridge `0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`, imported seed origin omega-mv `29b12760f4c962606411d6bf25032aedef063301`; previously rebuilt source-only. +- Consumed compiler SHA256: `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. +- Target: static Linux AArch64 native ELF. Runtime observation is in replay/omega-static.txt and omega-syscalls.log; no generated GPU binary or launch descriptor. +- Model/tokenizer/checkpoint/policy: NOT_APPLICABLE to these host component tests; training/GPU/integrated-consumer evidence: NOT_RUN. +- Source membership/hashes: source-inventory.json (17 active native/test/lock files), plus the exact external core lock. There is no mutable sibling/prebuilt override in reconstruction. + +## Native results + +|Gate|Actual result| +|---|---| +|Canonical upstream component|185 checks, exit0, exact ELF e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 reproduced| +|Frozen public catalog|83/83 assertions, exit0| +|Canonical adapter/accounting|160/160 assertions, exit0| +|Unchanged original domain/core|77/77 assertions, exit0| +|Unchanged original frame|17/17 assertions, exit0| +|Immutable source reconstruction|All four new binaries byte-identical to author builds| +|Native emitted catalog|All eight cases emitted and complete-byte checked; exact .cul files and hashes preserved| +|Exporter refusal controls|empty65, extra65, IDs0/9/255 each77; all stdout empty| +|Compiled ignore-outcome mutant|exit1,2 failed assertions| +|Compiled omit-task mutant|exit1,11 failed assertions| +|Compiled ignore-length mutant|exit1,4 failed assertions| + +All mutants compiled successfully as nonempty AArch64 ELF before execution. +The RED catalog stub compiled then failed54 of83 assertions; the RED adapter +stubs compiled then failed86 of160. Empty exporter output is rejected by the +native checker (exit1). Original failed sources/stdout/stderr remain immutable. + +The old33-target legacy host receipt remains in the original evidence directory; +its product/build/test inputs were not changed. It is not relabeled as seeded +qualification and was not rerun for each additive rung. + +## Artifact identities + +- catalog ELF: `8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2` +- Omega adapter ELF: `11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069` +- catalog-export ELF: `9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03` +- catalog-check ELF: `6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3` + +Reproduction commands: docs/learn53/CONTINUATION-COMMANDS.md; raw ordered +translation units and compile logs are retained under author/. The two new +production files and all tests are .om. Existing Linux utilities assemble sources, +run processes, hash files and capture evidence; no new foreign wrapper is delivered. +Full seeded build/automation cutover remains #15's gate. + +## Costs and limitations + +Fresh host command measurement: wall0.00s, user0.00s, system0.00s at two-decimal +precision, maximum RSS1656KiB, exit0. These are coarse process observations of +the adapter unit suite, **not zero-cost execution or a performance benchmark**. +Full compilation/search/judging/training/storage lifecycle total and energy are +UNKNOWN. Early development attempts were not timed. No speedup is claimed. + +LT digests, LPin identities and LC values in omega-unit.om are SYNTHETIC unit +fixtures. Correctly classifying them establishes API behavior, not genuine +candidate provenance, authenticated feedback, measured costs or a training corpus. +Expected output fixtures are public independent arithmetic literals, not new +candidate program executions. All eight catalog tasks are public development; +sharing families/templates is intentional and does not establish disjoint pools. + +No GPU launch, model run, native process isolation, protected custody, production +cutover, incumbent replacement, legacy retirement, default change or release. +Changed source must be requalified; a later evidence-only commit does not change +this executable source pin. Independent review of this continuation is separate +from L778's earlier public-domain review and from the existing upstream653 reviewer. diff --git a/evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md b/evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md new file mode 100644 index 00000000..122348e6 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md @@ -0,0 +1,57 @@ +# L783 review disposition + +Accepted for the bounded native-host draft increment only. Original review is +preserved unchanged in review-L783.md. No Critical, Important or Minor findings; +no executable-source change was requested or made. + +## Identity verification and metadata correction + +The reviewed artifact source is `94ada80cd8acf2c31441ab1dcee98f896ce884c4`. All17 active native/test/lock files +in the review export and current product match those Git objects exactly. +The report names this valid40-character pin correctly. The completion summary +instead printed `94ada80cd8acf2c31441ab1d1cee98f896ce884c4`, which is **41 characters +and invalid as a full Git SHA**. That token was rejected before lookup; it was +not normalized or used as evidence. Correct provenance comes from the original +report, exact exported bytes and Git objects, not from repairing the summary. + +Actual reviewer runtime model: gpt-6-luna (deleg_fbf0f9ee, childsa-0-80fa2a9a), +reported by delegation completion metadata. This is independent of the author. + +## Parent verification + +- Verified review-artifacts.sha256 in the review workspace (exit0). +- Recounted sequential PASS outputs and exits:185+83+160+77+17 =522 checks. +- Verified all eight task payload lengths/digests and exporter/checker exits0; + five refusal cases have expected65/77 exits and zero output bytes. +- Verified compiled mutant ELF identities and actual runtime failures2/11/4. +- New catalog/adapter/export/check artifacts and upstream component match author + identities. The reviewer's original-core binary differs from the author's + original-core binary because its translation unit additionally includes the + unchanged wire.om module. Parent rebuilt and ran that exact composition: + SHA256f88637fad13bb395297ee6fc96b96427ce8a31a5ab62719e72ee9ba262ec29dd, + byte-identical to reviewer binary and77/77 checks. The standalone author core + remains06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681. + No different product source or compiler is concealed by this distinction. +- The report calls the17-check target original stream; this is the original + stream-unit/frame suite, not17 complete candidate execution experiments. + +Raw reviewer outputs and input snapshots are under review/. Only files generated +by this review are copied there; historical receipts inherited in its full source +export are not republished as new evidence. Parent readback is preserved alongside. + +## Rulings on every declined scope + +GPU correctness/performance remains NOT_RUN; this component issues no GPU launches. +Generated-candidate execution and isolation remain existing runtime obligations; +stdin/arrays are not a sandbox. LT/LPin/LC/status/exit authenticity remains the +trusted executor/custody owner's job; synthetic unit words are not real provenance +or measured costs. Protected pools, generalization, training and promotion remain +unqualified: all catalog cases are public and known. Full #53/#653 and production +release/cutover remain OPEN and retain their independent gates. These exclusions +are correct for this additive component and do not waive the final requirements. +The cost of treating them as approved would be invalid scientific scores or unsafe +activation, so no merge/release/activation/issue closure is authorized by this review. + +Deferred minors: none. Full lifecycle baseline, native process/custody attachment, +true metadata/cost integration, seeded #15/#16/#17, hot operators and physical +GPU/consumer evidence remain prerequisites, not review findings resolved by host tests. diff --git a/evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 b/evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 new file mode 100644 index 00000000..aa4444e6 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 @@ -0,0 +1,12 @@ +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 catalog-check.elf +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 catalog-export.elf +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 catalog-green.elf +a2e4bc06a816e58e279ffc037191439902162375e9952393d1609c1923e83d9f catalog-red.elf +702251c771cb0383bca693b5b9bf396e19feba436a4a6c095ad2a53c58b3818f mutant-ignore-length.elf +ea67974ce32faf9f21606a355ab2b8c2de3fa3bc543c326ae2ea219c763573bc mutant-ignore-outcome.elf +57f27e435c9ca79a6b3ec0d000a03276aabf5866ac5a24214668a42d25b09d52 mutant-omit-task.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 omega-green.elf +fb5529f7708204e64d28e281262d5ef65b09648107c4dbe5837d48eda62cac29 omega-red.elf +e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 omega-upstream185.elf +06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681 original-core.elf +e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 original-frame.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.stdout b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om new file mode 100644 index 00000000..ab14e597 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om @@ -0,0 +1,453 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Emitter stream checker; first byte selects expected catalog, remaining bytes task. +global CBuf uchar 258 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 259 +r = read 0 CBuf pos sub 258 pos +if lt r 0 +ret 1 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 258 +ret 1 +end +end +end +if eq pos 0 +ret 1 +end +n = kload ulong get CBuf 0 +if or eq n 0 ne pos add n 1 +ret 1 +end +for i ulong n +if ne get kt i get CBuf add i 1 +ret 1 +end +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om new file mode 100644 index 00000000..6d05fbbd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om @@ -0,0 +1,456 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Development fixture emitter: exactly one input byte, public catalog ID1..8. +global CIn uchar 2 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 3 +r = read 0 CIn pos sub 2 pos +if lt r 0 +ret 74 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 2 +ret 65 +end +end +end +if ne pos 1 +ret 65 +end +n = kload ulong get CIn 0 +if eq n 0 +ret 77 +end +pos = 0 +while lt pos n bound 257 +w = write 1 kt pos sub n pos +if le w 0 +ret 74 +end +pos = add pos ulong w +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om new file mode 100644 index 00000000..535b3500 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om @@ -0,0 +1,702 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout new file mode 100644 index 00000000..93d21bca --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout @@ -0,0 +1,83 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om new file mode 100644 index 00000000..060cb206 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om @@ -0,0 +1,556 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note RED stub: fixed public task catalog not yet implemented. +fn kload id ulong to ulong +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout new file mode 100644 index 00000000..8f928925 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout @@ -0,0 +1,83 @@ +FAIL 1 +FAIL 2 +FAIL 3 +FAIL 4 +PASS 5 +PASS 6 +PASS 7 +FAIL 8 +FAIL 9 +FAIL 10 +FAIL 11 +FAIL 12 +FAIL 13 +PASS 14 +PASS 15 +PASS 16 +FAIL 17 +FAIL 18 +FAIL 19 +FAIL 20 +FAIL 21 +FAIL 22 +PASS 23 +PASS 24 +PASS 25 +FAIL 26 +FAIL 27 +FAIL 28 +FAIL 29 +FAIL 30 +FAIL 31 +PASS 32 +PASS 33 +PASS 34 +FAIL 35 +FAIL 36 +FAIL 37 +FAIL 38 +FAIL 39 +FAIL 40 +PASS 41 +PASS 42 +PASS 43 +FAIL 44 +FAIL 45 +FAIL 46 +FAIL 47 +FAIL 48 +FAIL 49 +PASS 50 +PASS 51 +PASS 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +FAIL 57 +FAIL 58 +PASS 59 +PASS 60 +PASS 61 +FAIL 62 +FAIL 63 +FAIL 64 +FAIL 65 +FAIL 66 +FAIL 67 +PASS 68 +PASS 69 +PASS 70 +FAIL 71 +FAIL 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +FAIL 77 +FAIL 78 +PASS 79 +FAIL 80 +FAIL 81 +FAIL 82 +FAIL 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om b/evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om new file mode 100644 index 00000000..ea0aeb3d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want want +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om b/evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om new file mode 100644 index 00000000..d7caffef --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om new file mode 100644 index 00000000..98cbcad5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want want +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout new file mode 100644 index 00000000..75aaf774 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +FAIL 20 +FAIL 21 +FAIL 22 +FAIL 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om new file mode 100644 index 00000000..60ca0379 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout new file mode 100644 index 00000000..13a8093b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +FAIL 91 +FAIL 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om new file mode 100644 index 00000000..56c38187 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 7 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout new file mode 100644 index 00000000..b6cdee25 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +FAIL 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +FAIL 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +FAIL 88 +FAIL 89 +FAIL 90 +PASS 91 +PASS 92 +FAIL 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om new file mode 100644 index 00000000..cb73de7d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om @@ -0,0 +1,325 @@ +note Handwritten component acceptance tests; public task oracle belongs to L776. +global Checks ulong 1 +global Digits uchar 16 +text Good "BENCHMARK_CORE_PASS\n" +text PhraseA "Add the two input numbers and return their sum" +text PhraseB "ADD the TWO input numbers, and return their sum." +text PhraseC "Find a maximum element in a sorted collection" +text HalfA "a b c" +text HalfB "a b c d" +text Repeat "a a a a a a" + +fn check actual ulong expected ulong to void +put Checks 0 add get Checks 0 1 +if ne actual expected +exit int add get Checks 0 40 +end +end + +fn fixture to void +for i ulong 2048 +put LT i 0 +end +for i ulong 4 +a = mul i 32 +put LT a add i 1 +put LT add a 1 add div i 2 1 +put LT add a 2 1 +put LT add a 3 add i 1 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 776 +put LT add a 7 add i 1 +for j ulong 20 +put LT add a add j 8 add add mul i 100 j 1 +end +put LT add a 28 16 +put LT add a 29 16 +put LT add a 30 1000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +for i ulong 24 +put LS i 0 +end +end + +fn manifesttests to void +fixture +check lmanifest 4 0 +check lmanifest 0 1 +check lmanifest 65 1 +put LT 0 0 +check lmanifest 4 2 +fixture +put LT 5 2 +check lmanifest 4 3 +fixture +put LT 4 0 +check lmanifest 4 3 +fixture +put LT 6 0 +check lmanifest 4 4 +fixture +put LT 1 4 +check lmanifest 4 5 +fixture +put LT 1 3 +check lmanifest 4 5 +fixture +put LT 2 2 +check lmanifest 4 5 +fixture +for j ulong 4 +put LT add 8 j 0 +end +check lmanifest 4 6 +fixture +put LT 29 257 +check lmanifest 4 7 +fixture +put LT 32 1 +check lmanifest 4 8 +fixture +for j ulong 4 +put LT add 40 j get LT add 8 j +end +check lmanifest 4 9 +fixture +for j ulong 4 +put LT add 44 j get LT add 12 j +end +check lmanifest 4 10 +fixture +put LT 71 1 +check lmanifest 4 11 +fixture +for j ulong 4 +put LT add 80 j get LT add 16 j +end +check lmanifest 4 12 +fixture +for j ulong 4 +put LT add 84 j get LT add 20 j +end +check lmanifest 4 13 +fixture +for j ulong 4 +put LT add 88 j get LT add 24 j +end +check lmanifest 4 14 +fixture +put LT 67 1 +check lmanifest 4 15 +fixture +put LT 31 1 +check lmanifest 4 7 +fixture +put LT 28 0 +check lmanifest 4 7 +fixture +put LT 30 1000001 +check lmanifest 4 7 +end + +fn observationtests to void +for i ulong 256 +put LWant i uchar and i 255 +put LGot i uchar and i 255 +end +check lobserve 0 0 0 8 8 0 +put LGot 7 99 +check lobserve 0 0 0 8 8 7 +check lobserve 0 0 0 8 0 9 +check lobserve 0 0 0 8 7 7 +check lobserve 0 0 0 0 0 10 +check lobserve 0 102 102 0 0 0 +check lobserve 0 102 103 0 0 8 +check lobserve 0 102 102 0 1 8 +check lobserve 0 9 9 0 0 10 +check lobserve 0 0 102 8 0 8 +check lobserve 0 0 0 257 257 10 +for i ulong 6 +check lobserve add i 1 0 0 8 8 add i 1 +end +check lobserve 7 0 0 8 8 10 +end + +fn accountingtests to void +fixture +check lbegin 4 2 1000 0 +check lbegin 4 2 1000 20 +check lattempt 0 1 7 0 +check lattempt 0 2 0 0 +check lattempt 1 1 0 0 +check lattempt 2 1 4 0 +check lattempt 3 1 11 0 +check lfinish 0 +check get LS 3 5 +check get LS 4 1 +check get LS 5 2 +check get LS 8 50 +check get LS 9 100 +check get LS 10 150 +check get LS 11 200 +check get LS 12 250 +check get LS 13 300 +check get LS 14 4096 +check get LS 16 5 +check get LS 19 1 +check lattempt 0 3 0 24 +check lfinish 24 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 1 0 0 +check lfinish 30 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 2 0 28 +check get LS 8 10 +check lfinish 28 +fixture +check lbegin 4 1 1000 0 +check lattempt 0 1 7 0 +check lattempt 0 2 0 28 +check get LS 5 0 +fixture +check lbegin 4 2 99 0 +check lattempt 0 1 0 29 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +put LPin 7 999 +check lattempt 0 1 0 26 +check get LS 8 10 +check get LS 5 0 +fixture +check lbegin 4 2 1000 0 +put LPin 15 999 +check lattempt 0 1 0 26 +fixture +check lbegin 4 2 1000 0 +put LC 0 18446744073709551615 +check lattempt 0 1 0 23 +fixture +check lbegin 4 2 1000 0 +put LC 7 1 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LC 7 13 +put LC 8 1 +check lattempt 0 1 0 0 +check get LS 15 13 +check get LS 16 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 64 1 0 27 +check get LS 8 10 +fixture +check lbegin 4 0 1000 21 +fixture +check lbegin 4 65 1000 21 +fixture +check lbegin 4 2 0 21 +fixture +check lbegin 4 2 1000 0 +put LC 8 2 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LS 8 1000000000000 +check lattempt 0 1 0 23 +check get LS 18 0 +fixture +check lbegin 1 64 100000 0 +for i ulong 64 +check lattempt 0 add i 1 7 0 +end +check lattempt 0 65 0 31 +check get LS 3 65 +check get LS 8 650 +check get LS 5 0 +check lfinish 31 +fixture +check lbegin 1 1 1000 0 +put LC 6 8192 +check lattempt 0 1 0 0 +check get LS 14 8192 +check lfinish 0 +end + +fn neartests to void +for i ulong len PhraseA +put LText i get PhraseA i +end +for i ulong len PhraseB +put LText add 256 i get PhraseB i +end +check lnear len PhraseA len PhraseB 1 +for i ulong len PhraseC +put LText add 256 i get PhraseC i +end +check lnear len PhraseA len PhraseC 0 +check lnear 0 0 2 +check lnear 257 1 3 +put LText 0 255 +check lnear len PhraseA len PhraseC 3 +for i ulong len HalfA +put LText i get HalfA i +end +for i ulong len HalfB +put LText add 256 i get HalfB i +end +check lnear len HalfA len HalfB 0 +for i ulong len Repeat +put LText i get Repeat i +put LText add 256 i get Repeat i +end +check lnear len Repeat len Repeat 1 +for i ulong 128 +put LText mul i 2 97 +put LText add mul i 2 1 32 +end +check lnear 256 5 3 +end + +fn countout to void +n = get Checks 0 +put Digits 0 uchar add div n 100 48 +put Digits 1 uchar add rem div n 10 10 48 +put Digits 2 uchar add rem n 10 48 +put Digits 3 10 +w = write 1 Digits 0 4 +if ne w 4 +exit 36 +end +end + +fn main to int +manifesttests +observationtests +accountingtests +neartests +w = write 1 Good 0 len Good +if ne w long len Good +ret 35 +end +countout +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-core.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-core.om new file mode 100644 index 00000000..b8d92188 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-core.om @@ -0,0 +1,448 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.om new file mode 100644 index 00000000..d51f098d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.om new file mode 100644 index 00000000..c8b9f763 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.om @@ -0,0 +1,1326 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note RED stubs: canonical attachment not implemented. +fn aobserve id ulong status ulong code ulong n ulong to ulong +ret 0 +end +fn abegin budget ulong to ulong +ret 0 +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout new file mode 100644 index 00000000..cf097d29 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +FAIL 2 +PASS 3 +FAIL 4 +PASS 5 +FAIL 6 +PASS 7 +FAIL 8 +PASS 9 +FAIL 10 +PASS 11 +FAIL 12 +PASS 13 +FAIL 14 +PASS 15 +FAIL 16 +FAIL 17 +FAIL 18 +FAIL 19 +FAIL 20 +FAIL 21 +FAIL 22 +FAIL 23 +FAIL 24 +FAIL 25 +FAIL 26 +FAIL 27 +FAIL 28 +FAIL 29 +FAIL 30 +FAIL 31 +PASS 32 +FAIL 33 +FAIL 34 +FAIL 35 +FAIL 36 +FAIL 37 +FAIL 38 +FAIL 39 +FAIL 40 +FAIL 41 +FAIL 42 +PASS 43 +FAIL 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +FAIL 57 +FAIL 58 +FAIL 59 +FAIL 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +PASS 71 +PASS 72 +PASS 73 +FAIL 74 +FAIL 75 +PASS 76 +PASS 77 +FAIL 78 +FAIL 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +FAIL 89 +FAIL 90 +FAIL 91 +FAIL 92 +FAIL 93 +FAIL 94 +PASS 95 +FAIL 96 +PASS 97 +FAIL 98 +PASS 99 +FAIL 100 +PASS 101 +FAIL 102 +PASS 103 +FAIL 104 +PASS 105 +FAIL 106 +PASS 107 +FAIL 108 +PASS 109 +FAIL 110 +PASS 111 +FAIL 112 +PASS 113 +FAIL 114 +PASS 115 +FAIL 116 +PASS 117 +FAIL 118 +PASS 119 +FAIL 120 +PASS 121 +FAIL 122 +PASS 123 +FAIL 124 +PASS 125 +FAIL 126 +PASS 127 +FAIL 128 +PASS 129 +FAIL 130 +PASS 131 +FAIL 132 +FAIL 133 +PASS 134 +FAIL 135 +PASS 136 +FAIL 137 +PASS 138 +FAIL 139 +PASS 140 +FAIL 141 +PASS 142 +FAIL 143 +PASS 144 +FAIL 145 +PASS 146 +FAIL 147 +PASS 148 +FAIL 149 +PASS 150 +FAIL 151 +PASS 152 +FAIL 153 +PASS 154 +FAIL 155 +PASS 156 +FAIL 157 +PASS 158 +FAIL 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om new file mode 100644 index 00000000..59b283a5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om @@ -0,0 +1,773 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note Handwritten component acceptance tests; public task oracle belongs to L776. +global Checks ulong 1 +global Digits uchar 16 +text Good "BENCHMARK_CORE_PASS\n" +text PhraseA "Add the two input numbers and return their sum" +text PhraseB "ADD the TWO input numbers, and return their sum." +text PhraseC "Find a maximum element in a sorted collection" +text HalfA "a b c" +text HalfB "a b c d" +text Repeat "a a a a a a" + +fn check actual ulong expected ulong to void +put Checks 0 add get Checks 0 1 +if ne actual expected +exit int add get Checks 0 40 +end +end + +fn fixture to void +for i ulong 2048 +put LT i 0 +end +for i ulong 4 +a = mul i 32 +put LT a add i 1 +put LT add a 1 add div i 2 1 +put LT add a 2 1 +put LT add a 3 add i 1 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 776 +put LT add a 7 add i 1 +for j ulong 20 +put LT add a add j 8 add add mul i 100 j 1 +end +put LT add a 28 16 +put LT add a 29 16 +put LT add a 30 1000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +for i ulong 24 +put LS i 0 +end +end + +fn manifesttests to void +fixture +check lmanifest 4 0 +check lmanifest 0 1 +check lmanifest 65 1 +put LT 0 0 +check lmanifest 4 2 +fixture +put LT 5 2 +check lmanifest 4 3 +fixture +put LT 4 0 +check lmanifest 4 3 +fixture +put LT 6 0 +check lmanifest 4 4 +fixture +put LT 1 4 +check lmanifest 4 5 +fixture +put LT 1 3 +check lmanifest 4 5 +fixture +put LT 2 2 +check lmanifest 4 5 +fixture +for j ulong 4 +put LT add 8 j 0 +end +check lmanifest 4 6 +fixture +put LT 29 257 +check lmanifest 4 7 +fixture +put LT 32 1 +check lmanifest 4 8 +fixture +for j ulong 4 +put LT add 40 j get LT add 8 j +end +check lmanifest 4 9 +fixture +for j ulong 4 +put LT add 44 j get LT add 12 j +end +check lmanifest 4 10 +fixture +put LT 71 1 +check lmanifest 4 11 +fixture +for j ulong 4 +put LT add 80 j get LT add 16 j +end +check lmanifest 4 12 +fixture +for j ulong 4 +put LT add 84 j get LT add 20 j +end +check lmanifest 4 13 +fixture +for j ulong 4 +put LT add 88 j get LT add 24 j +end +check lmanifest 4 14 +fixture +put LT 67 1 +check lmanifest 4 15 +fixture +put LT 31 1 +check lmanifest 4 7 +fixture +put LT 28 0 +check lmanifest 4 7 +fixture +put LT 30 1000001 +check lmanifest 4 7 +end + +fn observationtests to void +for i ulong 256 +put LWant i uchar and i 255 +put LGot i uchar and i 255 +end +check lobserve 0 0 0 8 8 0 +put LGot 7 99 +check lobserve 0 0 0 8 8 7 +check lobserve 0 0 0 8 0 9 +check lobserve 0 0 0 8 7 7 +check lobserve 0 0 0 0 0 10 +check lobserve 0 102 102 0 0 0 +check lobserve 0 102 103 0 0 8 +check lobserve 0 102 102 0 1 8 +check lobserve 0 9 9 0 0 10 +check lobserve 0 0 102 8 0 8 +check lobserve 0 0 0 257 257 10 +for i ulong 6 +check lobserve add i 1 0 0 8 8 add i 1 +end +check lobserve 7 0 0 8 8 10 +end + +fn accountingtests to void +fixture +check lbegin 4 2 1000 0 +check lbegin 4 2 1000 20 +check lattempt 0 1 7 0 +check lattempt 0 2 0 0 +check lattempt 1 1 0 0 +check lattempt 2 1 4 0 +check lattempt 3 1 11 0 +check lfinish 0 +check get LS 3 5 +check get LS 4 1 +check get LS 5 2 +check get LS 8 50 +check get LS 9 100 +check get LS 10 150 +check get LS 11 200 +check get LS 12 250 +check get LS 13 300 +check get LS 14 4096 +check get LS 16 5 +check get LS 19 1 +check lattempt 0 3 0 24 +check lfinish 24 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 1 0 0 +check lfinish 30 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 2 0 28 +check get LS 8 10 +check lfinish 28 +fixture +check lbegin 4 1 1000 0 +check lattempt 0 1 7 0 +check lattempt 0 2 0 28 +check get LS 5 0 +fixture +check lbegin 4 2 99 0 +check lattempt 0 1 0 29 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +put LPin 7 999 +check lattempt 0 1 0 26 +check get LS 8 10 +check get LS 5 0 +fixture +check lbegin 4 2 1000 0 +put LPin 15 999 +check lattempt 0 1 0 26 +fixture +check lbegin 4 2 1000 0 +put LC 0 18446744073709551615 +check lattempt 0 1 0 23 +fixture +check lbegin 4 2 1000 0 +put LC 7 1 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LC 7 13 +put LC 8 1 +check lattempt 0 1 0 0 +check get LS 15 13 +check get LS 16 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 64 1 0 27 +check get LS 8 10 +fixture +check lbegin 4 0 1000 21 +fixture +check lbegin 4 65 1000 21 +fixture +check lbegin 4 2 0 21 +fixture +check lbegin 4 2 1000 0 +put LC 8 2 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LS 8 1000000000000 +check lattempt 0 1 0 23 +check get LS 18 0 +fixture +check lbegin 1 64 100000 0 +for i ulong 64 +check lattempt 0 add i 1 7 0 +end +check lattempt 0 65 0 31 +check get LS 3 65 +check get LS 8 650 +check get LS 5 0 +check lfinish 31 +fixture +check lbegin 1 1 1000 0 +put LC 6 8192 +check lattempt 0 1 0 0 +check get LS 14 8192 +check lfinish 0 +end + +fn neartests to void +for i ulong len PhraseA +put LText i get PhraseA i +end +for i ulong len PhraseB +put LText add 256 i get PhraseB i +end +check lnear len PhraseA len PhraseB 1 +for i ulong len PhraseC +put LText add 256 i get PhraseC i +end +check lnear len PhraseA len PhraseC 0 +check lnear 0 0 2 +check lnear 257 1 3 +put LText 0 255 +check lnear len PhraseA len PhraseC 3 +for i ulong len HalfA +put LText i get HalfA i +end +for i ulong len HalfB +put LText add 256 i get HalfB i +end +check lnear len HalfA len HalfB 0 +for i ulong len Repeat +put LText i get Repeat i +put LText add 256 i get Repeat i +end +check lnear len Repeat len Repeat 1 +for i ulong 128 +put LText mul i 2 97 +put LText add mul i 2 1 32 +end +check lnear 256 5 3 +end + +fn countout to void +n = get Checks 0 +put Digits 0 uchar add div n 100 48 +put Digits 1 uchar add rem div n 10 10 48 +put Digits 2 uchar add rem n 10 48 +put Digits 3 10 +w = write 1 Digits 0 4 +if ne w 4 +exit 36 +end +end + +fn main to int +manifesttests +observationtests +accountingtests +neartests +w = write 1 Good 0 len Good +if ne w long len Good +ret 35 +end +countout +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout new file mode 100644 index 00000000..bd3413e4 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout @@ -0,0 +1,2 @@ +BENCHMARK_CORE_PASS +185 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omit-task.om b/evidence/LEARN53-L777-CONTINUATION/author/omit-task.om new file mode 100644 index 00000000..1a45185e --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omit-task.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 7 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-core.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.om b/evidence/LEARN53-L777-CONTINUATION/author/original-core.om new file mode 100644 index 00000000..0b68eb4a --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.om @@ -0,0 +1,711 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +fn valid to void +vec +check eq kvalid 136 0 +check eq keval 136 28 0 +red +check eq kvalid 116 0 +check eq keval 116 12 0 +mat +check eq kvalid 144 0 +check eq keval 144 36 0 +note Wraparound multiply, independently derived answers, not signed/FP comparison. +tw 24 4294967295 +cw 1 11 +cw 2 12 +cw 3 13 +check eq keval 144 36 0 +end +fn invalid to void +vec +check eq kvalid 0 65 +check eq kvalid 95 65 +check eq kvalid 4097 65 +check eq kvalid 18446744073709551615 65 +check eq kvalid 135 65 +check eq kvalid 137 65 +tw 0 0 +check eq kvalid 136 65 +vec +tw 1 2 +check eq kvalid 136 69 +vec +tw 11 4294967295 +check eq kvalid 136 65 +vec +tw 12 257 +check eq kvalid 136 65 +vec +tw 13 0 +check eq kvalid 136 65 +vec +tw 13 257 +check eq kvalid 136 65 +vec +tw 23 1 +check eq kvalid 136 65 +vec +tw 16 0 +check eq kvalid 136 65 +vec +tw 17 0 +check eq kvalid 136 69 +vec +tw 11 4 +check eq kvalid 132 65 +vec +tw 9 3 +check eq kvalid 136 65 +vec +tw 10 3 +check eq kvalid 136 65 +end +fn policy to void +vec +tw 2 4 +check eq kvalid 136 69 +vec +tw 3 2 +check eq kvalid 136 69 +vec +tw 4 1 +check eq kvalid 136 69 +vec +tw 21 1 +check eq kvalid 136 65 +vec +tw 22 1 +check eq kvalid 136 65 +vec +tw 14 2 +check eq kvalid 136 77 +vec +tw 14 3 +check eq kvalid 136 77 +vec +tw 14 0 +check eq kvalid 136 65 +vec +tw 14 4 +check eq kvalid 136 65 +vec +tw 15 201 +check eq kvalid 136 65 +vec +tw 18 1 +check eq kvalid 136 69 +vec +tw 19 0 +check eq kvalid 136 69 +vec +tw 20 121 +check eq kvalid 136 69 +vec +tw 5 4 +check eq kvalid 136 69 +vec +tw 5 4294967295 +check eq kvalid 136 69 +vec +tw 8 0 +check eq kvalid 136 65 +vec +tw 8 4294967295 +check eq kvalid 136 65 +vec +tw 6 2 +check eq kvalid 136 69 +mat +tw 8 1 +check eq kvalid 144 65 +mat +tw 9 2 +check eq kvalid 144 65 +mat +tw 10 2 +check eq kvalid 144 65 +end +fn wrong to void +vec +cw 3 12 +check eq keval 136 28 1 +note Skipped writes retain initialization poison. +vec +cw 1 2779096485 +check eq keval 136 28 1 +vec +cw 5 2779096485 +check eq keval 136 28 1 +note Dense writer ignores declared output stride; both logical/padding fail. +vec +cw 2 11 +cw 3 15 +cw 5 2779096485 +check eq keval 136 28 1 +vec +cw 0 0 +check eq keval 136 28 1 +vec +cw 6 0 +check eq keval 136 28 1 +vec +cw 2 0 +check eq keval 136 28 1 +note A memorized old answer fails a changed input, no candidate judge flags. +vec +tw 28 10 +check eq keval 136 28 1 +cw 5 16 +check eq keval 136 28 0 +vec +check eq keval 136 0 65 +check eq keval 136 24 65 +check eq keval 136 29 65 +check eq keval 136 1033 65 +check eq keval 136 18446744073709551615 65 +note A claimed PASS is just wrong bytes, never parsed as a result. +vec +cw 1 1397965136 +check eq keval 136 28 1 +red +cw 1 3 +check eq keval 116 12 1 +mat +cw 7 60 +check eq keval 144 36 1 +end +fn repeat to void +vec +for i ulong 4096 +put saved i get kt i +end +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +note No cached success after refusal, then recover. +tw 21 1 +check eq keval 136 28 65 +vec +cw 3 7 +check eq keval 136 28 1 +vec +check eq keval 136 28 0 +end +fn shapes to void +note Nonzero odd-tail shape17, different inputs, fixed literal each output. +header 1 +tw 5 17 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 17 +tw 12 17 +tw 13 17 +tw 15 103 +for i ulong 17 +tw add 24 i 4294967295 +tw add 41 i 3 +cw add 1 i 2 +end +check eq keval 232 76 0 +cw 17 0 +check eq keval 232 76 1 +note Registered length8 reduction with explicit wraparound answer. +header 2 +tw 5 8 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 8 +tw 12 0 +tw 13 1 +tw 15 202 +for i ulong 8 +tw add 24 i 4294967295 +end +cw 1 4294967288 +check eq keval 128 12 0 +end +fn more to void +note Other registered families and largest admitted vector footprint. +header 1 +tw 5 8 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 8 +tw 12 8 +tw 13 8 +tw 15 102 +for i ulong 8 +tw add 24 i 7 +tw add 32 i 9 +cw add 1 i 16 +end +check eq keval 160 40 0 +header 2 +tw 5 17 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 17 +tw 12 0 +tw 13 1 +tw 15 203 +for i ulong 17 +tw add 24 i 4294967295 +end +cw 1 4294967279 +check eq keval 164 12 0 +header 3 +tw 5 3 +tw 6 2 +tw 7 3 +tw 8 3 +tw 9 2 +tw 10 2 +tw 11 9 +tw 12 6 +tw 13 6 +tw 15 302 +for i ulong 9 +tw add 24 i add i 1 +end +for i ulong 6 +tw add 33 i add i 1 +end +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +check eq keval 156 32 0 +header 1 +tw 5 17 +tw 8 15 +tw 9 15 +tw 10 15 +tw 11 241 +tw 12 241 +tw 13 241 +tw 15 103 +for i ulong 17 +tw add 24 mul i 15 4294967295 +tw add 265 mul i 15 3 +cw add 1 mul i 15 2 +end +check eq keval 2024 972 0 +cw 241 0 +check eq keval 2024 972 1 +tw 8 16 +tw 11 257 +check eq kvalid 2088 65 +end +fn main to int +valid +more +invalid +policy +wrong +repeat +shapes +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.om b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.om new file mode 100644 index 00000000..f281e5a1 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.om @@ -0,0 +1,492 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public data-only frame decoder. Not a sandbox or task-custody service. +global packet uchar 5137 +fn kp p ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get packet add p j mul j 8 +end +ret v +end +fn kframe n ulong to int +if lt n 8 +ret 65 +end +if gt n 5136 +ret 65 +end +t = kp 0 +if lt t 96 +ret 65 +end +if gt t 4096 +ret 65 +end +if gt t sub n 8 +ret 65 +end +c = kp add t 4 +if gt c 1032 +ret 65 +end +if ne n add add t c 8 +ret 65 +end +for i ulong t +put kt i get packet add i 4 +end +for i ulong c +put ko i get packet add add t 8 i +end +ret keval t c +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Native data-frame tests. No generated program is compiled or executed here. +fn pw p ulong v ulong to void +for i ulong 4 +put packet add p i uchar and shr v mul i 8 255 +end +end +fn frame to void +vec +pw 0 136 +for i ulong 136 +put packet add 4 i get kt i +end +pw 140 28 +for i ulong 28 +put packet add 144 i get ko i +end +end +fn main to int +frame +check eq kframe 172 0 +check eq kframe 0 65 +check eq kframe 7 65 +check eq kframe 5137 65 +check eq kframe 18446744073709551615 65 +check eq kframe 171 65 +check eq kframe 173 65 +pw 0 4294967295 +check eq kframe 172 65 +frame +pw 0 4097 +check eq kframe 172 65 +frame +pw 0 95 +check eq kframe 172 65 +frame +pw 140 4294967295 +check eq kframe 172 65 +frame +pw 140 1033 +check eq kframe 172 65 +frame +pw 140 0 +check eq kframe 144 65 +frame +pw 148 9 +check eq kframe 172 1 +frame +pw 88 1 +check eq kframe 172 65 +frame +pw 60 3 +check eq kframe 172 77 +frame +check eq kframe 172 0 +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-1.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-1.cul new file mode 100644 index 00000000..e5a49b3e Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-1.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-2.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-2.cul new file mode 100644 index 00000000..ba2c2db7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-2.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-3.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-3.cul new file mode 100644 index 00000000..10ee17c7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-3.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-4.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-4.cul new file mode 100644 index 00000000..ecf8321a Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-4.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-5.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-5.cul new file mode 100644 index 00000000..ca261820 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-5.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-6.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-6.cul new file mode 100644 index 00000000..3b5c9001 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-6.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-7.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-7.cul new file mode 100644 index 00000000..adbedea9 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-7.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-8.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-8.cul new file mode 100644 index 00000000..b55708c5 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-8.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/build-readback.txt b/evidence/LEARN53-L777-CONTINUATION/build-readback.txt new file mode 100644 index 00000000..ffdbbbb9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/build-readback.txt @@ -0,0 +1,4 @@ +catalog compile=0 +omega compile=0 +catalog-export compile=0 +catalog-check compile=0 \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/host.txt b/evidence/LEARN53-L777-CONTINUATION/host.txt new file mode 100644 index 00000000..e3c8a6cd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/host.txt @@ -0,0 +1 @@ +Linux spark-b87b 7.0.0-1019-nvidia #19~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Sun Sep 6 18:35:11 UTC 2 aarch64 aarch64 aarch64 GNU/Linux diff --git a/evidence/LEARN53-L777-CONTINUATION/replay-readback.txt b/evidence/LEARN53-L777-CONTINUATION/replay-readback.txt new file mode 100644 index 00000000..9c561271 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay-readback.txt @@ -0,0 +1,39 @@ +emit1=0 +check1=0 +emit2=0 +check2=0 +emit3=0 +check3=0 +emit4=0 +check4=0 +emit5=0 +check5=0 +emit6=0 +check6=0 +emit7=0 +check7=0 +emit8=0 +check8=0 +refuse-empty=65 +refuse-zero=77 +refuse-nine=77 +refuse-huge=77 +refuse-extra=65 +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-empty.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-extra.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-huge.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-nine.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-zero.stdout +0 total +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/catalog-check.elf +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/catalog.elf +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/catalog-export.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/omega.elf +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-8.cul \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 b/evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 new file mode 100644 index 00000000..6d300016 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 @@ -0,0 +1,4 @@ +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 catalog-check.elf +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 catalog-export.elf +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 catalog.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 omega.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om new file mode 100644 index 00000000..ab14e597 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om @@ -0,0 +1,453 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Emitter stream checker; first byte selects expected catalog, remaining bytes task. +global CBuf uchar 258 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 259 +r = read 0 CBuf pos sub 258 pos +if lt r 0 +ret 1 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 258 +ret 1 +end +end +end +if eq pos 0 +ret 1 +end +n = kload ulong get CBuf 0 +if or eq n 0 ne pos add n 1 +ret 1 +end +for i ulong n +if ne get kt i get CBuf add i 1 +ret 1 +end +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om new file mode 100644 index 00000000..6d05fbbd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om @@ -0,0 +1,456 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Development fixture emitter: exactly one input byte, public catalog ID1..8. +global CIn uchar 2 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 3 +r = read 0 CIn pos sub 2 pos +if lt r 0 +ret 74 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 2 +ret 65 +end +end +end +if ne pos 1 +ret 65 +end +n = kload ulong get CIn 0 +if eq n 0 +ret 77 +end +pos = 0 +while lt pos n bound 257 +w = write 1 kt pos sub n pos +if le w 0 +ret 74 +end +pos = add pos ulong w +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.om b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.om new file mode 100644 index 00000000..535b3500 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.om @@ -0,0 +1,702 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout new file mode 100644 index 00000000..93d21bca --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout @@ -0,0 +1,83 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt b/evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt new file mode 100644 index 00000000..8b480adc --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt @@ -0,0 +1,14 @@ + +Elf file type is EXEC (Executable file) +Entry point 0x4000b0 +There are 2 program headers, starting at offset 64 + +Program Headers: + Type Offset VirtAddr PhysAddr + FileSiz MemSiz Flags Align + LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 + 0x000000000000942c 0x000000000000942c R E 0x1000 + LOAD 0x0000000000000000 0x0000000010000000 0x0000000010000000 + 0x0000000000000000 0x00000000008075e0 RW 0x1000 + +There is no dynamic section in this file. diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log b/evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log new file mode 100644 index 00000000..97fb3e28 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log @@ -0,0 +1,707 @@ +2985686 execve("/usr/bin/timeout", ["timeout", "10", "/home/drakestapleton/handoffs/cu"...], 0xfffff9f54268 /* 17 vars */) = 0 +2985686 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 +2985686 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 +2985686 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\360\206\2\0\0\0\0\0"..., 832) = 832 +2985686 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 +2985686 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 +2985686 read(3, "# Locale name alias data base.\n#"..., 4096) = 2996 +2985686 read(3, "", 4096) = 0 +2985686 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) +2985686 openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 +2985686 openat(AT_FDCWD, "/usr/lib/aarch64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY|O_CLOEXEC) = 3 +2985687 execve("/home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/omega.elf", ["/home/drakestapleton/handoffs/cu"...], 0xfffff2ef2678 /* 17 vars */) = 0 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 +++ exited with 0 +++ +2985686 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2985687, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +2985686 +++ exited with 0 +++ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.cost b/evidence/LEARN53-L777-CONTINUATION/replay/omega.cost new file mode 100644 index 00000000..f0d9e7be --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.cost @@ -0,0 +1 @@ +wall_s=0.00 user_s=0.00 system_s=0.00 maxrss_kib=1656 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.om b/evidence/LEARN53-L777-CONTINUATION/replay/omega.om new file mode 100644 index 00000000..d51f098d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end +