Remix.run Logo
▲ keyle 6 hours ago

Is anyone going through this stuff? [1]

It looks like a miserable job; reading LLM produced code is bad enough but I feel lean could have been named 'thick'.

[1] https://github.com/lsernau/grh-lean/blob/main/grh-compact/sr...

▲Paracompact 5 hours ago | parent [-]

There are only two theorem statements here. When vetting a (trusted) theory as a mathematician, scrutinizing proof bodies tends to be the very last thing on the checklist. Top-down learning beats bottom-up.

Plus, this big proof really isn't that bad. What a line like

simp_rw [invDFT_apply, ← nsmul_eq_mul', AddChar.map_nsmul_eq_pow, ← smul_sum, @sum_comm _ _ ℕ, ← sum_smul, hψ.fourierTransform_eq_inv_mul_gaussSum]

really means to say is simply, "simplify and rewrite the goal statement iteratively according to these equalities, in the specified directions." Understanding this in an interactive proof assistant just comes down to comparing the before-and-after of the goal state, only referring to the specific equalities mentioned if it's not obvious to you. The `grw` tactic used all over is similarly a rewriter.

▲keyle 3 hours ago | parent [-]

I read what you wrote and I have absolutely no idea about what you're talking about! :-)

In this, I appreciate you and quietly envy you.

Maybe this is my 2026 xmas-break project...