Skip to content

theory: compiler sieve C1-C10 and toolchain theorems T728-T742 as t27 specs - #6515

Merged
gHashTag merged 2 commits into
masterfrom
theory-toolchain-20261005T1524
Oct 5, 2026
Merged

gHashTag merged 2 commits into
masterfrom
theory-toolchain-20261005T1524

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 5, 2026

Copy link
Copy Markdown
Owner

The compiler sieve, in the style of the TNF golden sieve, plus the toolchain theorems, as three t27 specs. The PR holds only .t27 and the seals t27c seal --save wrote (master t27c, built on the Railway t27c lab). Nothing in it is hand-written in another language.

Files

File Kind Theorems Tests (t27c test-report, lab)
specs/compiler/theory/toolchain.t27 spec T728-T734 17/17
specs/compiler/theory/isa_round_trip.t27 spec T735-T736 7/7
specs/compiler/theory/sieve.t27 spec T737-T742 9/9
.trinity/seals/theory_*.json (3) generated by t27c seal --save

Every test calls functions, so every assert runs at run time and none is a vacuous pass. Each theorem has a negative control, and a mutated assert was checked to FAIL.

Results

Closes #6502
Refs #6488
Refs #5980
Refs #6063

🤖 Generated with Claude Code

gHashTag and others added 2 commits October 5, 2026 22:48
…ecs (T728-T742)

specs/compiler/theory/toolchain.t27 (T728-T734): what each t27c and t27b
check certifies -- per-test preservation, differential soundness and
common mode, vacuity, the ratchet (through steward.t27's own rules), a
DDC model, the first Futamura projection, and the t27a/t27b/t27c ladder,
plus the tool-letter rule and the agent-linking model.

specs/compiler/theory/isa_round_trip.t27 (T735-T736): the TRI-27 word
round-trips for 42 of 47 opcodes; a widened field table round-trips all
47 and moves no existing word.

specs/compiler/theory/sieve.t27 (T737-T742): filters C1-C10 over Zig
aarch64, Zig x86_64, cg_clif, Go SSA, QBE, CompCert, LLVM, t27c, t27b,
cells TRUE/FALSE/UNKNOWN/NA from opened sources; kills, subsumption,
survivors, the fixing issue per t27 gap, and the golden reference
language with t27's status per property.

Every test calls functions, so every assert runs at run time; each
theorem has a negative control.

Closes #6502
Refs #6488

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, Railway lab)

Refs #6502

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-05 15:55:31 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 38
PRs with All Checks Green 12
READY 9
FAILING 38
PENDING 0
NO CHECKS YET 0

These columns do not partition: 9 + 38 + 0 + 0 = 47, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=9f2c8a4829f6 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

theory: compiler sieve and toolchain theorems as t27 specs (T728+)

1 participant