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
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.
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.