Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/ir/term/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,12 @@ pub enum Op {
/// A random value, sampled uniformly and independently of its arguments.
///
/// Takes a name (if deterministically sampled, challenges of different names are sampled
/// differentely) and a field to sample from.
/// differently) and a field to sample from.
///
/// In IR evaluation, we sample deterministically based on a hash of the name.
///
/// In an multi-round SNARK context, we set this based on hashing commitments
/// to the witnesses for previous rounds.
PfChallenge(Box<ChallengeOp>),
/// Requires the input pf element to fit in this many (unsigned) bits.
PfFitsInBits(usize),
Expand Down
Loading