-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Connor O'Hara
authored and
Connor O'Hara
committed
Feb 20, 2024
1 parent
8f3a9c3
commit cb29322
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pub mod extension; | ||
pub mod fri; | ||
pub mod hash; | ||
pub mod plonky2_proof; | ||
pub mod polynomial; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
use crate::frontend::recursion::extension::ExtensionVariable; | ||
use crate::frontend::recursion::fri::proof::FriProofVariable; | ||
use crate::frontend::recursion::hash::MerkleCapVariable; | ||
use crate::prelude::Variable; | ||
pub struct ProofWithPublicInputsVariable<const D: usize> { | ||
proof: ProofVariable<D>, // Add missing generic argument | ||
public_inputs: Vec<Variable>, | ||
} | ||
|
||
pub struct ProofVariable<const D: usize> { | ||
wires_cap: MerkleCapVariable, | ||
plonk_zs_partial_products_cap: MerkleCapVariable, | ||
quotient_polys_cap: MerkleCapVariable, | ||
openings: OpeningSetVariable<D>, | ||
opening_proof: FriProofVariable<D>, | ||
} | ||
|
||
pub struct OpeningSetVariable<const D: usize> { | ||
pub constants: Vec<ExtensionVariable<D>>, | ||
pub plonk_sigmas: Vec<ExtensionVariable<D>>, | ||
pub wires: Vec<ExtensionVariable<D>>, | ||
pub plonk_zs: Vec<ExtensionVariable<D>>, | ||
pub plonk_zs_next: Vec<ExtensionVariable<D>>, | ||
pub partial_products: Vec<ExtensionVariable<D>>, | ||
pub quotient_polys: Vec<ExtensionVariable<D>>, | ||
} |