-
Notifications
You must be signed in to change notification settings - Fork 286
refactor(air): remove tagging, apply uniform constraint description, and optimize evaluation #2856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 72 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
45af24a
chore: set up constraint change tracking
adr1anh 5df9b1b
refactor: inline tagged_assert_zero variants, remove tagging indirection
adr1anh 9bc0b91
refactor: inline trivial assert wrappers in stack and decoder modules
adr1anh bb5cb22
refactor: remove empty section headers and apply lint fixes
adr1anh cf9722c
refactor: remove constraint tagging infrastructure
adr1anh a7dbe96
refactor: introduce MidenAirBuilder trait alias
adr1anh 06c39d9
refactor: remove unused decoder constants and inline last assert wrapper
adr1anh fa1cce2
refactor: remove dead code and unnecessary allow(dead_code) annotations
adr1anh b7c32f8
refactor: remove unnecessary clone() calls on Copy types
adr1anh f06e0dd
refactor: use semantic assertion methods in constraint code
adr1anh 6a886e9
refactor: inline field constants and centralize in constants.rs
adr1anh e4478fe
refactor: introduce BoolNot trait for boolean negation in constraints
adr1anh 5880e08
refactor: defer Var-to-Expr conversions and simplify array construction
adr1anh 313a9af
refactor: add ChipletFlags/ChipletSelectors structs with precomputed …
adr1anh 000bd6a
refactor: thread ChipletSelectors through all constraint and bus func…
adr1anh 7b487df
refactor: enforce all chiplet selectors are 1 in last row
adr1anh daf0f26
refactor: remove when_transition from chiplet constraints
adr1anh 8d43331
refactor: add per-bus domain separation to Challenges encoding
adr1anh 92ca9ca
refactor: narrow per-chiplet constraint functions to &ChipletFlags
adr1anh a572620
refactor: inline small constraint helper functions
adr1anh bc860be
refactor: add typed column structs, col map, and Borrow impls
adr1anh 114cf15
refactor: wire MainCols into eval() — MainTraceRow becomes type alias
adr1anh 8bdff1f
refactor: migrate range constraints to named struct fields
adr1anh ea6b215
refactor: migrate decoder constraints to DecoderCols named fields
adr1anh 517dc4f
refactor: migrate stack constraints to StackCols named fields
adr1anh a4c7bbf
refactor: migrate bitwise chiplet constraints to BitwiseCols
adr1anh 5c1b037
refactor: migrate hasher + memory chiplet constraints to typed cols
adr1anh 5200b41
refactor: migrate ACE chiplet constraints to AceCols
adr1anh 674e07d
refactor: migrate kernel ROM constraints to KernelRomCols
adr1anh d09b5dc
refactor: migrate chiplet bus wiring + hash_kernel to typed cols
adr1anh 378d04f
refactor: migrate chiplets bus constraints to typed column structs
adr1anh 8d8566e
refactor: post-review cleanup of typed column structs
adr1anh 69d1a02
refactor: add typed chiplet accessors to MainCols, eliminate raw chip…
adr1anh e926705
chore: format imports in chiplet constraint files
adr1anh 4146ab0
refactor: split chiplets bus into requests/responses modules, reduce …
adr1anh 5aaf74a
refactor: apply constraint style rules — when() decomposition, semant…
adr1anh f0db2d5
refactor: flatten single-file stack constraint modules into sibling f…
adr1anh 56ec41c
refactor: type ACE shared columns into named fields with QuadFeltExpr
adr1anh a4a1903
refactor: type periodic columns into named structs and simplify chipl…
adr1anh 6c3d544
refactor: simplify op_flags with bit-selector pattern and iterative e…
adr1anh 607d241
refactor: use Algebra trait bound and remove op_flags indirection
adr1anh 2f7fd7d
fix: use core::array for no-std compatibility
adr1anh 2f5dc9f
refactor(decoder): improve readability of composite flags
adr1anh 4296f05
refactor(decoder): inline all constraint helpers into enforce_main an…
adr1anh 860d340
refactor: decouple column layout types from trace storage
adr1anh 967c0fb
Merge origin/next into constraint-simplification
adr1anh cbcb370
refactor(crypto): improve readability of crypto operation constraints
adr1anh dc0bec8
feat: add per-bus domain separation to ACE circuit and MASM verifier
adr1anh 8d259ed
feat: add dead-node elimination pass to ACE DAG
adr1anh 3379699
refactor: move column structs from trace/ to constraints/
adr1anh 468acac
refactor: remove unsafe Index impls, rename MainTraceRow to MainCols
adr1anh 90ce10e
refactor: merge chiplets bus sub-files back into single chiplets.rs
adr1anh e875d3d
Merge origin/next into constraint-simplification
adr1anh 5389a12
refactor: unify periodic column generation with typed struct construc…
adr1anh 4eb4a39
refactor: split hasher chiplet into controller and permutation sub-mo…
adr1anh db23d39
refactor: restructure hasher controller constraints by operation life…
adr1anh a037c8f
docs: clarify structural confinement bullet in hasher.md
adr1anh 3f6dc13
refactor(hasher): tighten digest-routing gate to local soundness
adr1anh 2196f49
Merge remote-tracking branch 'origin/next' into adr1anh/constraint-si…
adr1anh b8731df
docs: add changelog entry for PR #2856
adr1anh 9a140df
docs(CONSTRAINT_CHANGES): record merge baseline and entries 44-46
adr1anh 0cd3fa6
docs(CONSTRAINT_CHANGES): dedup boilerplate interpretations via ancho…
adr1anh ac21cfa
chore: drop constraint-refactor scratch files
adr1anh 4164cd2
feat(core): add testable constraints regeneration command
huitseeker 05ffd82
Fix core-lib constraints tool feature gating
huitseeker 8c31a7a
ci: check recursive constraints for drift
huitseeker 3eb18ab
Merge pull request #3002 from huitseeker/constraint-simplification
adr1anh c02ca89
refactor(bus): domain-separate hasher perm-link bus
adr1anh 311f294
refactor(chiplets): fill s_ctrl selector via .fill(ONE) memset
adr1anh 16246ba
revert(ace-codegen): drop stale dead-node elimination tests
adr1anh d2326eb
refactor(air): address PR review nits and add HALT boundary constraint
adr1anh d87517e
docs(air): enrich ACE chiplet column documentation
adr1anh 423fb8d
refactor(air): address remaining PR review comments
adr1anh 42a0521
Merge remote-tracking branch 'origin/next' into adr1anh/constraint-si…
adr1anh 9289e66
fix(air): port stack_arith u32 constraint tests from origin/next
adr1anh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.