Skip to content

Refactor discriminant lookup - #923

Merged
automergerpr-permission-manager[bot] merged 3 commits into
masterfrom
refactor-discriminant-lookup
Jan 30, 2026
Merged

automergerpr-permission-manager[bot] merged 3 commits into
masterfrom
refactor-discriminant-lookup

Conversation

@jberthold

Copy link
Copy Markdown
Collaborator

The staged function evaluation created issues with the SMT solver (unevaluated terms could contain #lookupDiscriminant calls while the path condition held #lookupDiscrAux constraints).
Making the first evaluation step a rewrite changes the step counters but avoids this problem altogether because rewrite symbols don't normally go to the SMT solver.

@automergerpr-permission-manager
automergerpr-permission-manager Bot merged commit 8bcee59 into master Jan 30, 2026
7 checks passed
@automergerpr-permission-manager
automergerpr-permission-manager Bot deleted the refactor-discriminant-lookup branch January 30, 2026 11:29
@dkcumming dkcumming mentioned this pull request Jan 31, 2026
dkcumming added a commit that referenced this pull request Jan 31, 2026
jberthold added a commit that referenced this pull request Feb 4, 2026
* reverts the rewrite counts in the golden files (by removing the
rewrite symbol introduced in #923
* new helper functions to ensure definedness of discriminant/variantIdx
lookup
* Fixes p-token proofs (while still passing sync_native in SPL token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants