Mathematical Tools for Pre-computation