-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add New Rule Builder: Tactic Generator #70
Conversation
…od, along with up/downstream parts
Kaiyu lean infer dev add detection for hidden sorry/admit
…ang-LeanInfer-dev
Peiyang lean infer dev
Hey Kaiyu! Thanks for the nice PR. I've made various changes (hopefully improvements), but didn't want to clobber your master branch, so I've pushed them here: https://github.com/JLimperg/aesop/tree/aesop-llm Could you look at these to check whether anything seems wrong to you? |
Hi @JLimperg, thank you for the changes; they look great to me. I'll try to integrate it with LLMs and do more testing. I'll post an update later. |
Hi Jannis, I see you're also working on the script builder (not in this PR). How far are we from always being able to produce a proof script whenever the |
I have tested https://github.com/JLimperg/aesop/tree/aesop-llm in the I plan to integrate this feature into the next release of LeanInfer, which will probably come out later this month (together with ongoing improvements in the speed and quality of tactic generation). A minor question: The |
Producing a functioning script is not so difficult and should already work, apart from small bugs. E.g. in What I'm currently working on is making these scripts more idiomatic (no weird tactics, proper structure, etc.). This is, as it turns out, quite annoying.
Nice, happy to hear! I'll merge this into Aesop master then.
I could maybe special-case |
Closing this PR since the |
This PR adds a new rule builder, allowing the user to tag an
MVarID -> MetaM (Array (String × Float))
as a "tactic generator". For example,Here the scores (0.5, 0.9, 0.8) are "probability modifiers". They are multiplied to the success probabilities during proof search.
Please see the new
AesopTest/TacGen.lean
file for a complete use case.The user is free to make the tactic generator arbitrarily complex (e.g., using LLMs).