So, we define $F(\mathbf{k}, \mathbf{R}) = \prod_{i \in S_k} k_i c_{k, i} \prod_{i \in S_R} R_i c_{R, i}$ but from the code:
int F(int a, int b, int c, int d) {
return (a & b) ^ (c & d);
}
we get that $\prod_{i \in S_k} k_i c_{k, i}$ is the addition modulo 2 of the vectors $k_i$'s and $\prod_{i \in S_R} R_i c_{R, i}$ is the addition modulo 2 of the vectors $R_i$'s and then the result is the AND operation between the above two results, or not? But why is this the addition modulo 2 when we have a product? @MickLH