-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first pass at error check evaluation
- Loading branch information
Showing
9 changed files
with
1,507 additions
and
1,006 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
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
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
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,31 @@ | ||
use std::collections::BTreeMap; | ||
|
||
use crate::poly::{LagrangeCoeff, Polynomial}; | ||
use halo2curves::CurveAffine; | ||
|
||
// enum CircuitInstance<C:CurveAffine> { | ||
// Raw(Vec<Poly<C::Scalar, LagrangeCoeff>>), | ||
// Committed(Vec<C>), | ||
// } | ||
|
||
struct AccumulatorInstance<C: CurveAffine> { | ||
// challenges[i][p] = challenge[i][0]^{p-1} | ||
// p is the power of the challenge and >1. | ||
challenges: Vec<Vec<C::Scalar>>, | ||
instance_polys: Vec<Polynomial<C::Scalar, LagrangeCoeff>>, | ||
advice_commitments: Vec<C>, | ||
|
||
// powers of the constraint separation challenge | ||
y_challenges: Vec<C::Scalar>, | ||
// thetas: Vec<C::Scalar>, | ||
// aux_lookup_commitments: Vec<C>, | ||
// aux_table_online_commitments: Vec<C>, | ||
// aux_table_fixed_commitments: Vec<C>, | ||
} | ||
|
||
struct AccumulatorWitness<C: CurveAffine> { | ||
advice_polys: Vec<Polynomial<C::Scalar, LagrangeCoeff>>, | ||
// aux_lookup_polys: Vec<Polynomial<C::Scalar, LagrangeCoeff>>, | ||
// aux_table_polys: Vec<BTreeMap<usize, C::Scalar>>, | ||
// aux_cached_polys: Vec<BTreeMap<usize, C::Scalar>>, | ||
} |
Oops, something went wrong.