Skip to content

t27b: check_elide_plan rule (c), the accumulator bound (Refs #12871) - #13403

Merged
gHashTag merged 4 commits into
masterfrom
lane/t27b-acc-elide
Nov 9, 2026
Merged

gHashTag merged 4 commits into
masterfrom
lane/t27b-acc-elide

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Rule (c) of check_elide_plan: acc = acc + e loses its overflow trap when acc <= i holds at the loop head (law accumulator_elides, proof sketch in the spec header). The cur_tick + 1 trap stays.

  • Law, 10 new tests and witnesses: specs/tri/t27b/check_elide_plan.t27, specs/tri/shootout/check_elide.t27.
  • Glue: cli/t27b/src/lower.rs elide_checks collects facts only (the callee's constant return range is read at elide time, since inlining happens later in codegen). lower.rs +30/-6; paid by deleting the unreferenced contrib/backend/music-generator/generate_tsar_bell.py (-167).
  • Gen: gen/rust/tri/t27b/check_elide_plan.rs byte for byte from lab run 42582152224 (gen leg).

Lab run 42583117270 (sha 5e8756f), leg=t27b:

  • check_elide_plan: 26/26, FAIL=0, vacuous=0
  • check_elide: 16/16, FAIL=0, vacuous=0
  • inline_select: 17/17, FAIL=0, vacuous=0
  • bench_audit: 1/1, FAIL=0, vacuous=0

leg=asm, bench_audit verdict_benchmark_200m: 15 words before (run 42578328864), 14 after (gcc -O2: 10); the adds x22 ... b.hs on acc is a plain add.

Refs #12871

🤖 Generated with Claude Code

gHashTag and others added 3 commits November 9, 2026 14:47
Law accumulator_elides in check_elide_plan.t27, witnesses in check_elide.t27, glue
in lower.rs elide_checks; paid by deleting the unreferenced generate_tsar_bell.py.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…(Refs #12871)

Lab run 42582152224.

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

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 08:09:34 UTC

Summary

Status Count
Total Open PRs 43
PRs with Failing Checks 38
PRs with All Checks Green 5
READY 4
FAILING 38
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != 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).

…27c (Refs #12871)

Lab run 42585448578.

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

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 08:30:29 UTC

Summary

Status Count
Total Open PRs 42
PRs with Failing Checks 37
PRs with All Checks Green 5
READY 4
FAILING 37
PENDING 0
NO CHECKS YET 0

These columns do not partition: 4 + 37 + 0 + 0 = 41, and there are 42 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != 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.

1 participant