pi(y | x; phi) = pi(y; f(x, phi)).
f_{n} \approx f(x, phi) for x_{n} < x < x_{n + 1}.
Anyways, we're nowhere near done.
f(x^1, x^2, phi) = f(x^1, phi) f(x^2, phi).
Then we can write
f(x^1_n, x^2_m, phi) \approx f^1_n + f^2_m.
f(x^1, x^2, x^3, phi) = f(x^1, x^2, phi) * f(x^2, x^3, phi) * f(x^1, x^3, phi).
Then we can write
f(x^1_n, x^2_m, x^3_l) = f^12_n^12 + f^23_n^23 + f^13_n^13.
1 \otimes 2 \otimes 3 = (1 \oplus 2 \oplus 3) \otimes ( (1 \otimes 2) \oplus (2 \otimes 3) \oplus (1 \otimes 3) )...