issues
search
siddhartha-gadgil
/
LeanAide
Tools based on AI for helping with Lean 4
Apache License 2.0
62
stars
2
forks
source link
Introduce terms and lemmas based on context
#28
Closed
siddhartha-gadgil
closed
1 year ago
siddhartha-gadgil
commented
1 year ago
This is meant for stuff predicted by LLMs.
In the case of Lemmas, the predicted context may be part of the statement, so we should fold $\forall$'s with variables in the context.
In general, we should drop matched part of the context, in particular checking if all the context is present.
We use
let
and
using
to introduce, but after checking to avoid duplication.
let
andusing
to introduce, but after checking to avoid duplication.