Open dselsam opened 3 years ago
Examples of other indexing issues (besides (n + <offset>
)) would be very helpful. Please post here if you stumble on one.
Leo added offset support: https://github.com/leanprover/lean4/commit/cc0712fc827fb0e60b0e00c875aaf2a715455c47
I'll keep this issue open for now to encourage reporting other problematic examples.
Here is one example:
It is easy to detect a particular pattern and to always wrap it with
noindex!
. The issue is which patterns to do this for, and in what contexts to do it. Since[simp]
can be toggled after-the-fact, presumably we need to translate all theorem types.