leanprover-community / aesop

White-box automation for Lean 4
Apache License 2.0
191 stars 26 forks source link

Add forced and promoted subgoals #114

Open JLimperg opened 7 months ago

JLimperg commented 7 months ago

It sometimes happens that an Aesop rule has a premise that will always be true in practice, but Aesop can't always prove it. In such cases, it would be nice if Aesop could try to construct a proof under the assumption that the premise holds and then report the premise to the user as an additional subgoal.

I propose the following syntax and semantics for this feature: