logoalt Hacker News

eternauta3k • today at 6:32 AM • 1 reply • view on HN

Is there a way to avoid the translation or replace it with normal parsing?


Replies

choeger • today at 6:42 AM

In principle, yes.

I am not a lean expert, but I imagine that python primitives like dicts, ints, functions, etc., have been defined in lean. So if you add a way to annotate python code with a proof, you should as well be able to automatically translate it to Lean completely.

➕ show 1 reply