The Lean theorem
GlobalTheory.BigTop.Fun.GridFit
is stated on:
Grids with compatible choices over a point of a family, and their period functionals