Skip to content

Commit

Permalink
Merge pull request #96 from lita-xyz/prove
Browse files Browse the repository at this point in the history
Prove
  • Loading branch information
morganthomas authored Jan 18, 2024
2 parents 9bfe764 + 9e911a1 commit 50f0505
Show file tree
Hide file tree
Showing 31 changed files with 446 additions and 101 deletions.
2 changes: 1 addition & 1 deletion alu_u32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ p3-baby-bear = { path = "../../Plonky3/baby-bear" }
p3-field = { path = "../../Plonky3/field" }
p3-matrix = { path = "../../Plonky3/matrix" }
p3-maybe-rayon = { path = "../../Plonky3/maybe-rayon" }

p3-uni-stark = { path = "../../Plonky3/uni-stark" }
valida-bus = { path = "../bus" }
valida-derive = { path = "../derive" }
valida-machine = { path = "../machine" }
Expand Down
2 changes: 1 addition & 1 deletion alu_u32/src/add/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use valida_machine::config::StarkConfig;
use p3_uni_stark::StarkConfig;
use valida_util::pad_to_power_of_two;

pub mod columns;
Expand Down
2 changes: 1 addition & 1 deletion alu_u32/src/bitwise/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use valida_machine::config::StarkConfig;
use p3_uni_stark::StarkConfig;
use valida_util::pad_to_power_of_two;

pub mod columns;
Expand Down
4 changes: 2 additions & 2 deletions alu_u32/src/div/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use valida_machine::config::StarkConfig;
use valida_util::pad_to_power_of_two;

use valida_util::pad_to_power_of_two;
use p3_uni_stark::StarkConfig;
pub mod columns;
pub mod stark;

Expand Down
4 changes: 2 additions & 2 deletions alu_u32/src/lt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use valida_machine::config::StarkConfig;
use valida_util::pad_to_power_of_two;

use valida_util::pad_to_power_of_two;
use p3_uni_stark::StarkConfig;
pub mod columns;
pub mod stark;

Expand Down
2 changes: 1 addition & 1 deletion alu_u32/src/mul/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use core::borrow::BorrowMut;
use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use valida_machine::config::StarkConfig;
use p3_uni_stark::StarkConfig;

pub mod columns;
pub mod stark;
Expand Down
2 changes: 1 addition & 1 deletion alu_u32/src/shift/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use valida_machine::config::StarkConfig;
use p3_uni_stark::StarkConfig;
use valida_util::pad_to_power_of_two;

pub mod columns;
Expand Down
3 changes: 2 additions & 1 deletion alu_u32/src/sub/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use valida_machine::config::StarkConfig;
use p3_uni_stark::StarkConfig;

use valida_util::pad_to_power_of_two;

pub mod columns;
Expand Down
11 changes: 9 additions & 2 deletions basic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ p3-baby-bear = { path = "../../Plonky3/baby-bear" }
p3-field = { path = "../../Plonky3/field" }
p3-maybe-rayon = { path = "../../Plonky3/maybe-rayon" }
p3-util = { path = "../../Plonky3/util" }

p3-goldilocks = {path = "../../Plonky3/goldilocks" }
p3-uni-stark = {path = "../../Plonky3/uni-stark" }
p3-commit = { path = "../../Plonky3/commit" }
p3-air = { path = "../../Plonky3/air" }
p3-matrix = { path = "../../Plonky3/matrix" }
[dev-dependencies]

p3-challenger = { path = "../../Plonky3/challenger" }
p3-commit = { path = "../../Plonky3/commit" }

p3-dft = { path = "../../Plonky3/dft" }
p3-field = { path = "../../Plonky3/field" }
p3-fri = { path = "../../Plonky3/fri" }
Expand All @@ -40,4 +45,6 @@ p3-mds = { path = "../../Plonky3/mds" }
p3-merkle-tree = { path = "../../Plonky3/merkle-tree" }
p3-poseidon = { path = "../../Plonky3/poseidon" }
p3-symmetric = { path = "../../Plonky3/symmetric" }


rand = "0.8.5"
Loading

0 comments on commit 50f0505

Please sign in to comment.