Appearance
A first example
Consider the following scenario: You have a low resource device
Squared Fibonacci
For example, let's assume that
with the base cases
Note that this computation can be expressed as a circuit as illustrated in Figure 1.
The goal of this example will be to design a first simple protocol that allows us to validate whether this circuit has been correctly evaluated by the processor
To achieve this, let us start by picturing the circuit and all intermediate computations as a table. Consider the following picture.
Exercise 1
Consider the set of indexes from 1 to 4 as the vector
Note: Since Python/Sage arrays are numbered from
python
I = [1,2,3,4]
LI = {1:0,2:1,3:1,4:3}
RI =
O =