-
Notifications
You must be signed in to change notification settings - Fork 14
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
lean-auto failure on simple model. #4
Comments
@mww-aws This is a very involved issue. At first glance, I believe to fully fix this we need to implement (1) Support for complicated dependent types (at least for recursors), or support for obtaining definitional equality for functions whose body contain |
O.k., I can prove those. How would I submit them to auto? Could you give a concrete example, then I can generalize. |
The |
Okay, fixed. Now a more complex lemdb example is recorded in https://github.com/leanprover-community/lean-auto/blob/main/Test/LemDBTest.lean and the no-lemdb example is recorded in https://github.com/leanprover-community/lean-auto/blob/main/Test/SmtTranslation/MatchWorkaround.lean |
I have a trivial Lean spec:
I can't seem to prove it by auto because it is not expanding the definition of MinArea1:
I have tried a couple of things like asking lean-auto to unfold Zone.MinArea1: auto u[Zone.MinArea1] but this leads to an error:
lamTerm2STerm :: Unexpected head term Auto.Embedding.Lam.LamTerm.lam (.atom 1) (.app (.base (.nat)) (.base (.icst (.iofNat))) (.base (.ncst (.natVal 10000))))
Can you tell me how to complete this proof properly? Also, is it possible to get lean-auto to handle the cases part?
The text was updated successfully, but these errors were encountered: