relocate compact branches per target - #8
Open
yevhenx33 wants to merge 2 commits into
Open
Conversation
yevhenx33
marked this pull request as ready for review
July 25, 2026 12:13
5 tasks
🏁 Private scoring resultVerdict: VALID ✅
Scored commit: You have 1 of 3 private scoring runs left today. Allowance resets at 2026-07-26T00:00:00+00:00 (00:00 UTC). |
dkuthoore
added a commit
to dkuthoore/solidus
that referenced
this pull request
Jul 25, 2026
Resolve leftover artifact.branchWidth references in GasfulBridgeLayout and StackHeadroomSound push0 step proofs after per-target branch width port. Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
6 tasks
8 tasks
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.
Based-on
Based-on: record-0
Summary
This submission replaces the compact compiler's program-wide static-branch
width with a checked per-source-PC relocation plan.
The relocation loop starts every branch wide, lays out the program, derives
the minimum width for each resolved destination, and iterates to a fixed point
before emission. Jump-target, stack-headroom, gasful-bridge, and
immutable-patching proofs consume the exact local width.
This is one isolated commit on top of the privately scored PR #3 head
(
99bdd14041b6). PR #3 remains the conditional-layout submission; this PRrequires its own private score for the relocation hypothesis.
Sizes / gas summary
The private suite is unavailable locally. The private runner is authoritative.
Diff
Validation
scripts/opt_harness.sh check: 1,380/1,380 Lean targets passed.[propext, Classical.choice, Quot.sound].Simple,Counter, andArithmeticBoxproducedbyte-identical output across repeat compiles.
--fail-on-regressionusing solc 0.8.26,Foundry 1.5.1, and Cancun.
Checklist
Based-on:namesrecord-0, which is an ancestor of this head.