### Prerequisites * [x] Put an X between the brackets on this line if you have done all of the following: * Checked that your issue isn't already [filed](https://github.com/leanprover/lean/issues). * Specifically, check out the [wishlist](https://github.com/leanprover/lean/issues?q=is%3Aissue+is%3Aopen+label%3AI-wishlist), open [RFCs](https://github.com/leanprover/lean/issues?q=is%3Aissue+is%3Aopen+label%3ARFC), or [feature requests](https://github.com/leanprover/lean/issues?q=is%3Aissue+is%3Aopen+label%3AFeature). * Reduced the issue to a self-contained, reproducible test case. ### Description Under certain (entirely pure) circumstances, a `match` seems to go down the wrong branch. ### Steps to Reproduce https://gist.github.com/dselsam/bc46a2e3fb1d61929bc56b26f2f25568 **Expected behavior:** [CONST(1), APP, APP] **Actual behavior:** [CONST(1), APP, CONST(2)] **Reproduces how often:** Every time. ### Versions Lean (version 4.0.0, commit bb8b13d240a1, Release) Ubuntu 18.04.2 LTS ### Additional Information Many minor changes to the function cause it behave correctly.
Activity
feat(Logic/Function/Basic) port most remaining items (leanprover#26)
fix: include `libleanshared` in Lean trace
chore: disable #4006
chore: disable #4006 (#4021)