While working hard on the approach to deformalization of massive Lean repos like the Riemann…
@nasqret19K followers
15,134 views
14 Comments
Comments from the original post on X (Twitter)

@nasqret
1/ Link:
12 likes

@nasqret
2/ The idea: never jump from Lean straight to prose. In between sits a structured proof: a tree of steps, each quoting at most 8 Lean lines, checked byte for byte against the pinned source. Only then is the note written, in standard mathematical language.
6 likes

@nasqret
4/ Tested on the Lean archive of the announced proof of the Riemann hypothesis (a claim; 175,187 modules): 3 notes, 57 pages. Blind round trip: a fresh session rewrote the 16 statements in Lean from the notes alone. Lean confirmed 9; none of the notes' statements was shown wrong.
3 likes

@nasqret
5/ Early release, 0BSD. It installs with make install and starts with two commands, one per agent. Feedback, and Lean artifacts to read, are welcome.
2 likes

@senno_kai
good idea. I feel like math is heading towards lean first and paper second, or at least it is a new way of doing things. various reasons for this like agents performing better with this type of setup and journals being too slow to referee results.
2 likes

@nasqret
3/ Nothing hidden. Every argument of a Lean definition is written in the notes, and every hypothesis stands in its statement. The build enforces it, and the gate is itself tested on notes broken on purpose.
2 likes

@ErnstKummer
nice
1 like

@MAGASubsidyBro
HUGE MISSED OPPORTUNITY to call it LeanBack
1 like

@xxmuizzi
This is really cool. Would love to compare this with verbose lean.
1 like

@nasqret
Thanks, looking forward to your feedback.
1 like

@Eyal__Weiss
Very cool. Thanks for sharing!
1 like

@nasqret
Thank you! Please send feedback if you manage to deformalize some Lean code. Curious to see what people will bring.
1 like

@01100001bc
@nasqret Czy to cos zmienia ?

@kramertweet
I wanted my manuscript to sound more natural/human. Still needs fine-tuning, though, but applying the following really helped improve the prose. The biggest two things that were reduced: the sloganing and the contrast setups. HTH.