Skip to content

Commit

Permalink
Stark continuous read-only memory example (#940)
Browse files Browse the repository at this point in the history
* create file

* continuity and single value constraint

* imp air

* permutation constraint

* evaluate function for SingleValueConstraint

* add last element constraint

* add public inputs

* add sort function for the trace

* add integration test

* fix clippy

* fix constraints

* add documentation

* handle possible panic

* rename variables

* fix doc

---------

Co-authored-by: Nicole <[email protected]>
Co-authored-by: jotabulacios <[email protected]>
Co-authored-by: Nicole Graus <[email protected]>
  • Loading branch information
4 people authored Dec 5, 2024
1 parent fc33967 commit e443c93
Show file tree
Hide file tree
Showing 3 changed files with 481 additions and 0 deletions.
1 change: 1 addition & 0 deletions provers/stark/src/examples/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ pub mod fibonacci_2_cols_shifted;
pub mod fibonacci_2_columns;
pub mod fibonacci_rap;
pub mod quadratic_air;
pub mod read_only_memory;
pub mod simple_fibonacci;
pub mod simple_periodic_cols;
Loading

0 comments on commit e443c93

Please sign in to comment.