Repository navigation
t27b: check_elide_plan rule (c), the accumulator bound (Refs #12871) - #13403
Merged
Merged
Conversation
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>
Contributor
…27c (Refs #12871) Lab run 42585448578. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
PR DashboardGenerated at: 2026-11-09 08:30:29 UTC
Summary
Seal Status
|
This was referenced Nov 9, 2026
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rule (c) of check_elide_plan:
acc = acc + eloses its overflow trap when acc <= i holds at the loop head (lawaccumulator_elides, proof sketch in the spec header). Thecur_tick + 1trap stays.specs/tri/t27b/check_elide_plan.t27,specs/tri/shootout/check_elide.t27.cli/t27b/src/lower.rselide_checkscollects 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 unreferencedcontrib/backend/music-generator/generate_tsar_bell.py(-167).gen/rust/tri/t27b/check_elide_plan.rsbyte for byte from lab run 42582152224 (gen leg).Lab run 42583117270 (sha 5e8756f), leg=t27b:
leg=asm, bench_audit verdict_benchmark_200m: 15 words before (run 42578328864), 14 after (gcc -O2: 10); the
adds x22 ... b.hson acc is a plainadd.Refs #12871
🤖 Generated with Claude Code