Skip to content

Commit

Permalink
Merge pull request #99 from valida-xyz/finish_prover
Browse files Browse the repository at this point in the history
Finishing the prover
  • Loading branch information
dlubarov authored Jan 23, 2024
2 parents 3019431 + f23f0c4 commit ad0d444
Show file tree
Hide file tree
Showing 34 changed files with 1,328 additions and 489 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
- name: Checkout Plonky3
uses: actions/checkout@v4
with:
repository: lita-xyz/Plonky3
repository: Plonky3/Plonky3
path: Plonky3
ref: batch_prover

- name: Checkout Valida
uses: actions/checkout@v4
Expand Down Expand Up @@ -49,9 +48,8 @@ jobs:
- name: Checkout Plonky3
uses: actions/checkout@v4
with:
repository: lita-xyz/Plonky3
repository: Plonky3/Plonky3
path: Plonky3
ref: batch_prover

- name: Checkout Valida
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions alu_u32/src/add/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ use valida_range::MachineWithRangeChip;
use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use p3_uni_stark::StarkConfig;
use p3_maybe_rayon::prelude::*;
use valida_machine::config::StarkConfig;
use valida_util::pad_to_power_of_two;

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

pub mod columns;
Expand Down
6 changes: 3 additions & 3 deletions alu_u32/src/div/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ use columns::{Div32Cols, DIV_COL_MAP, NUM_DIV_COLS};
use core::mem::transmute;
use valida_bus::MachineWithGeneralBus;
use valida_cpu::MachineWithCpuChip;
use valida_machine::config::StarkConfig;
use valida_machine::core::SDiv;
use valida_machine::{instructions, Chip, Instruction, Interaction, Operands, Word};
use valida_opcodes::{DIV32, SDIV32};
use valida_range::MachineWithRangeChip;
use valida_util::pad_to_power_of_two;

use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use p3_maybe_rayon::prelude::*;

use p3_uni_stark::StarkConfig;
use valida_util::pad_to_power_of_two;
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 @@ -15,9 +15,9 @@ use valida_opcodes::LT32;
use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use p3_maybe_rayon::prelude::*;

use p3_uni_stark::StarkConfig;
use valida_machine::config::StarkConfig;
use valida_util::pad_to_power_of_two;
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 p3_uni_stark::StarkConfig;
use valida_machine::config::StarkConfig;

pub mod columns;
pub mod stark;
Expand Down
4 changes: 2 additions & 2 deletions alu_u32/src/shift/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ use valida_opcodes::{DIV32, MUL32, SDIV32, SHL32, SHR32, SRA32};
use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use p3_uni_stark::StarkConfig;
use p3_maybe_rayon::prelude::*;
use valida_machine::config::StarkConfig;
use valida_util::pad_to_power_of_two;

pub mod columns;
Expand Down
5 changes: 2 additions & 3 deletions alu_u32/src/sub/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ use valida_range::MachineWithRangeChip;
use p3_air::VirtualPairCol;
use p3_field::{AbstractField, Field, PrimeField};
use p3_matrix::dense::RowMajorMatrix;
use p3_maybe_rayon::*;
use p3_uni_stark::StarkConfig;

use p3_maybe_rayon::prelude::*;
use valida_machine::config::StarkConfig;
use valida_util::pad_to_power_of_two;

pub mod columns;
Expand Down
Loading

0 comments on commit ad0d444

Please sign in to comment.