Appearance
Grand product argument
To motivate the concrete algorithm, consider the following. Assume
we expect to be
One useful observation is that we can write the
because the values are in the equivalence class defined by
Now, in practice we want to have an efficient "hash" function that has the same security properties as before, such that
for random interactive challenges
We will now step by step construct the argument that takes advantage of this. First we start by defining a numerator and denominator functions, and their respective accumulators.
Exercise 15
Compute the numerator using the formula
and the denominator as
python
def numerator(i, column,f,sigma,beta, gamma):
#Solve here!
return value
def denominator(i, column,f,sigma,beta, gamma):
#Solve here!
return value
python
#Test cases
assert numerator(3,1,a,sigma,42,42) == 87
assert denominator(3,1,a,sigma,42,42) == 90
assert numerator(6,2,b,sigma,42,42) == 94
assert denominator(6,2,b,sigma,42,42) == 91