A Lean Zulip discussion (https://leanprover.zulipchat.com/#narrow/channel/583339...

@zwarich@hachyderm.io

A Lean Zulip discussion (leanprover.zulipchat.com/#narr) about the formalization of Anthropic's recent Riemann zeta result brought up some of the perils of junk values, since Anthropic's definition of the Riemann zeta function doesn't match the usual definition, although they are equivalent modulo undergraduate complex analysis.

I find it interesting how almost everyone involved in formalization has decided that junk values are totally fine, despite being a large divergence from informal mathematical practice. The main exception I can think of is William Farmer's work (realized in the IMPS system and its successors) on extending first-order logic and simple type theory to include a first-class notion of partiality. He argues that this formalizes the common understanding of undefinedness in calculus, but it's obviously hard to generalize to cover all uses of undefinedness from informal mathematics without formalizing a wide array of mathematics. I do think that the intuition that the trickiest examples come from analysis is broadly correct, though.