Zulip Chat Archive
Stream: general
Topic: Finding a Lean to English analysis project
Gareth Ma (Jul 26 2024 at 00:30):
I remember seeing a project (in fact a talk presenting it) that turns Lean code into English, basically by translating line by line. It turns something like
example : Tendsto f atTop (nhds 0) := by rw [Metric.tendsto_nhds_iff_dist_ball_thing] intro eps h_eps let delta := eps / 2 use delta ...
into English
We want to show that tends to as tends to
A function tends to if and only if , <delta, ...>
Let be an arbitrary positive real number.
Let .
Then ...
it's just line by line translation. Does anyone know which project that is?
cc @Julian Berman :D
Eric Wieser (Jul 26 2024 at 00:37):
https://kmill.github.io/informalization/rudin.html ?
Gareth Ma (Jul 26 2024 at 00:38):
Looks vyer much like it!!! Thanks :)
Xiyu Zhai (Aug 07 2024 at 01:44):
Interesting!!! Is there any source code for this? I googled "kmill github informalization" but it doesn't give me anything related.
Julian Berman (Aug 07 2024 at 01:48):
I think the source for what you see is here -- but the tool to do it isn't there.
I have vague recollection that @Kyle Miller mentioned in some other thread that it may not be public (because it was still a POC?) but I could be wildly misremembering.
Xiyu Zhai (Aug 07 2024 at 02:39):
Great, thanks a lot!
Xiyu Zhai (Aug 07 2024 at 02:42):
My brief glance gives me the impression that this is based on symbolic ai. I wonder is there a linguistic component in the project? I personally am interested in bringing back the value of symbolic ai and linguistics in the context of llms. This seems a promising direction. Is there any timeline on published work or info?
Mario Carneiro (Aug 07 2024 at 22:49):
Yes, the tool which does this informalization is not public, which is quite frustrating to me (as I have already expressed to @Patrick Massot ) because I have projects that would like to build upon this tool and are currently in a holding pattern until it is released
Xiyu Zhai (Aug 08 2024 at 00:00):
Personally I believe informalization is a direction where many research could be conducted to find the best way to do things. And I believe we should make things as open as possible. A closed source translation loses much of the trust we could have on a symbolic system.
Eric Wieser (Aug 08 2024 at 00:04):
I think you're confusing "closed source" (a black box exists but you can't see what's inside) with "unreleased" (you don't get the black box)
Xiyu Zhai (Aug 08 2024 at 00:07):
I see
Xiyu Zhai (Aug 08 2024 at 00:08):
So probably we will see it open in the near future.
Kyle Miller (Aug 08 2024 at 13:28):
Thanks for all of your interest everyone —we will make these informalization tools available once they're ready for others to build on them, and it will certainly be open source.
@Xiyu Zhai Your impression is correct, it's symbolic. We want to feel confident that translations are correct (or at least incorrect in systematic ways that we can fix :-) )
I am hoping to see some things finally released in the next month or two.
Xiyu Zhai (Aug 08 2024 at 14:32):
Exciting. I’m curious how it handles things like compactifying conditions as adjectives and stuffs.
Xiyu Zhai (Aug 08 2024 at 14:33):
I’m eager to see complementary approaches to LLMs. These days people forgot there are other options for translation besides llm
Eric Paul (Mar 16 2025 at 20:08):
The examples seem really great! @Kyle Miller is there any update on the progress releasing this?
Patrick Massot (Mar 16 2025 at 20:57):
There is no update, sorry.
Kyle Miller (Mar 16 2025 at 20:58):
Patrick and I are thinking about it though and do still plan to release it.
Last updated: May 02 2025 at 03:31 UTC