Preserve aggregate state through SCF - #650
Draft
iangneal wants to merge 1 commit into
Draft
Conversation
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 28, 2026 20:07
4955055 to
a63f2ff
Compare
7 tasks
Contributor
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 28, 2026 22:08
a63f2ff to
a195113
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 28, 2026 22:24
a195113 to
6618a80
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 28, 2026 22:46
6618a80 to
9eb7629
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 29, 2026 02:20
9eb7629 to
566713d
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 29, 2026 15:06
566713d to
78e4176
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 29, 2026 15:30
78e4176 to
ccdeafb
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 29, 2026 16:07
ccdeafb to
305824f
Compare
iangneal
force-pushed
the
codex/circom-analysis-3-scf-aggregates
branch
from
July 29, 2026 17:05
305824f to
df58ee6
Compare
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.
Summary
Preserves aggregate analysis state across SCF loops using the storage model from #649. This is PR 3 of 6 in the stacked series.
Related issues
No standalone issue; depends on #649.
Changes
scf.whileoperands, block arguments, conditions, yields, and results.Testing
git diff --checknix build -Lon this exact stacked commit (371 lit tests plus the full unit/CAPI suite passed)Submission checklist
approved; otherwise, this does not apply.create-changelogin the Nix development shell creates a template.)AI assistance
Tools used: OpenAI Codex.
How the tools contributed: Codex helped partition the original working-tree change, preserve dependency ordering, add focused regressions, and prepare this draft PR.
How I verified the contribution: Reviewed the isolated diff and ran
git diff --check, the focused analysis regressions through the project test suite, andnix build -Lon this exact commit.