Skip to content
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

Why is simp! needed in simp_alive_meta #349

Open
tobiasgrosser opened this issue May 27, 2024 · 0 comments
Open

Why is simp! needed in simp_alive_meta #349

tobiasgrosser opened this issue May 27, 2024 · 0 comments

Comments

@tobiasgrosser
Copy link
Collaborator

Lean is complaining about motive not type correct. @bollu and I debugged for an hour and could not figure out what's wrong.

github-merge-queue bot pushed a commit that referenced this issue May 28, 2024
- add `ConcreteOrMVar.instantiate_ofNat_eq` to simplify instantiation
and canonicalize to ofNat.

Unfortunately, this seems to lead to a 'motive not type correct' error.
To resolve it we use simp! that just unfolds. This should be debugged
further: #349.

- generalize `toSnoc_toMap` to work on sequences of snoc

---------

Co-authored-by: Siddharth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant