[wip] Legendre triple product