A few days ago, I noted the revival of one archaic mathematical practice, namely that of encrypting one's proofs (or announcements). Today, as part of the ongoing Integrated Explicit Analytic Number Theory Network project https://www.ipam.ucla.edu/news-research/special-projects/integrated-explicit-analytic-number-theory-network/ , we found ourselves reviving another archaic piece of mathematical infrastructure: the logarithm table.

These tables, pioneered by Napier in the 17th century, were a mainstay of mathematical computation until eventually supplanted first by calculators and then by modern computers. But we are finding that verifying in Lean that, say, ln 2 is equal to 0.693147 to six decimal places is somewhat fiddly and computationally expensive to formally verify (one has to use a Taylor series with explicit remainder and figure out where to cut off the series).

Eventually we settled on what is basically the 17th century solution, modernized for the era of formal proof verification: the project now sports a file `LogTables.lean` which systematically gathers formally verified calculations of logarithms via a new interval arithmetic package. Similar to a precomputed log table, this file is intended to be typechecked once (as a laborious calculation), and then imported as needed by all other files.

It is a fascinating paradox that cutting edge technology can sometimes make obsolete practices relevant again, albeit with a modern spin. (Yet another example: the capability of current AI tools has revived the in-person class exam, which we had just started to move away from in the COVID era.)

@tao

Not just making exams in class, but also tightening up and more people (myself included) making them closed-book, even though I have never liked that and it's not how we do research. There's just no choice. There are too many shortcuts available outside of the exam that we have to tighten up the rules to encourage students to study and learn, even at the expense of creating more "unrealistic" settings.

@tao

Also, with log tables, there is the question of what AI-based or AI-necessited things should be added to projects like the Digital Library of Mathematical Functions (DLMF). This is an exact question that Charles Clark asked me last week.

The DLMF is the 'modern' version (though getting older) of Abramowitz and Stegun, and one change is that the latter has things like tables of values of evaluated special functions but the former does not (deemed as old-fashioned).

@masonporter @tao I am old enough to have had a copy of Abramowitz and Stegun on the shelf ready for this kind of thing (though I haven't used mine in years).
@masonporter @tao honestly. I don't think in-person exams are a result of AI, whereas it was the lack of in-person that's a relic of covid era. Plus, it's worse than *any* non in-person assessment has been affected by AI. So the classical homework is also threatened.
@adityakhanna @masonporter @tao the classical homework is, effectively, dead as a means of assessment. Of course, it has tremendous value in preparing for exams in that people who don't do their own homework are screwed when it comes to exams, and I suspect a lot of people are still giving homework in the hope that at least some people are doing it themselves and getting value from it.
@tao Out of curiosity, how difficult are such interval arithmetic calculations? I'm curious how far one is from a Lean version of Abramowitz and Stegun.
@tao pre-compiled tables are rather common in implementations of numerical methods, such as e.g. computing the Π“ - function. It's remarkable that it's essentially the same trick helps in formal proofs.
@tao
As an aside, I remember writing programs using trigonometric lookup tables in the 1980s to speed up graphics rendering before we had more capable microprocessors. :)

@tao The research group around Sylvie Boldo has done a great deal of work on verified computer arithmetic in Rocq, in case you ever have to go beyond 17th century methods. For example, they formalized numerical methods for Lebesgue intergration.

Here are some relevant links for reference:
https://pages.saclay.inria.fr/sylvie.boldo/research.html, https://depot.lipn.univ-paris13.fr/mayero/rocq-num-analysis

P.S. I should also mention Assia Mahboubi and https://fresco.gitlabpages.inria.fr – their work is quite relevant here as well.

@tao Indeed, logarithm tables are of interest in themselves. Simon Newcomb discovered a useful probability distribution by analyzing the wear patterns of log tables used for astronomical calculations at the U.S. Naval Observatory.