This is from Justin Thaler's book - Proofs, Arguments & Zero Knowledge
Page 43
For it to make sense to talk about multilinear extensions, we need to view the adjacency matrix $A$ not as a matrix, but rather as a function $f_A$ mapping $\lbrace0,1\rbrace^ {log n} \times \lbrace0,1\rbrace^ {log n}$ to $\lbrace0,1\rbrace$. The natural way to do this is to define $f_A(x,y)$ so that it interprets $x$ and $y$ as the binary representations of some integers $i$ and $j$ between $1$ and $n$, and outputs $A_{i, j}$. See Figure $4.5$ for an example.
This is figure 4.5
(I have shaded in yellow the element which I am going use below as an example).
The 4 parameters of function $f_A$ seem to be the bit representation of the element number of the matrix - i.e if I consider the matrix elements having numbers $0$ to $15$ (Considering element numbers of first row as $0, 1, 2$ & $3$ & so on)
For e.g. if I consider the element $6$ in row number $4$ & column number $2$- it's the $13$th element of the Matrix. The bit pattern of $13$ is $1101$.
So $f_A$ takes 4 parameters same as the bit pattern - i.e. $f_A(1,1,0,1) = 6$
I hope my understanding above is correct.
However, right after, on Page 44, he says counts triangles using the following equation
$\Delta = \frac {1}{6} \sum_{{x,y,z \in \lbrace 0, 1 \rbrace}^{log\space n}} f_A(x,y)\cdot f_A(y,z) \cdot fA(x,z)$
I assume above that the parameters to $f_A$ are row & column numbers.
In figure $4.5$, the parameters of $f_A$ is the bit pattern of the element number of the matrix. However, above it changes to row & column numbers. How does this match with figure $4.5$?
In the particular case of a $4 \times 4$ matrix the element number bit pattern is the same as bit pattern of row number joined with bit pattern of column number. But this isn't true for others - i.e. not true even for $5\times 5$?