Zulip Chat Archive
Stream: Equational
Topic: Some sorry's in Lean files
Bruno Le Floch (Nov 08 2025 at 18:39):
The Lean code includes some sorry and TODO, should we address them before making a snapshot of the code for arXiv/journal submission?
List of files with sorry
Most of them are perfectly fine, but the Definability ones look like unfinished code, e.g., equational_theories/Definability/Law43.lean. This is clearly not part of the formalization of the implication graph, but it is worrisome that there could be some sorry anywhere in the repository.
Maybe we should also clean up any TODO?
Files including TODO
Cody Roux (Nov 10 2025 at 04:10):
Probably worth nothing that probably all non trivial software contains TODOs, and many mature formalizations contain sorrys (or their equivalent)
Bruno Le Floch (Nov 10 2025 at 08:48):
TODOs I can understand (and I've left my share of them in the LaTeX kernel), but I'm surprised about sorry. How can a reviewer check that we tracked properly the lack of sorry in the statements that we claim to be formalized?
Kevin Buzzard (Nov 10 2025 at 12:51):
#print axioms name_of_statement
Aaron Hill (Nov 10 2025 at 14:53):
We also have some custom metaprogramming code that essentially checks the output of #print axioms on each implication/non-implication theorem
Aaron Hill (Nov 10 2025 at 14:54):
Alex Meiburg (Nov 13 2025 at 19:20):
I think I'm responsible for checking those two sorries in to the repo. Of those files you listed, only four are .lean, and two of those (FactsSyntax.lean and Definability.lean) only have sorry in comments. Which leaves just the Law43.lean and Law46.lean. Each of which has one sorried theorem.
These were from me exploring relatively definable equations, which ... some day, would be nice to revisit and do more study of. But it never became a "real" part of the final product here.
Last updated: Dec 20 2025 at 21:32 UTC