-
Install ollama.
-
Pull a language model:
ollama pull solobsd/llemma-7b
- Add
llmlean
to lakefile:
require llmlean from git
"https://github.com/cmu-l3/llmlean.git"
- Import:
import LLMlean
Now use a tactic described below.
-
Get a together.ai API key.
-
Set 2 environment variables in VS Code. Example:
Then do steps (3) and (4) above. Now use a tactic described below.
Next-tactic suggestions via llmstep "{prefix}"
. Examples:
The suggestions are checked in Lean.
Complete the current proof via llmqed
. Examples:
The suggestions are checked in Lean.
Please see the following: