logoalt Hacker News

vatsachak • yesterday at 7:36 PM • 1 reply • view on HN

Nice. Is the lean used to formalize formulas?


Replies

RGS1811 • yesterday at 7:42 PM

Sort of. The formulas for each line live in the form YAML I described above. The formulas are built out of a set of primitive operations that are defined in lean, with their properties proved there (non-negativity, monotonicity, etc.). There's also a lean evaluator that's run on compiled form data and cross checked with the typescript evaluator. (There's a lot more detail in the README.)

➕ show 1 reply