This PR adds configuration options for `decide`/`decide!`/`native_decide` and refactors the tactics to be frontends to the same backend. Adds a `+revert` option that cleans up the local context and reverts all local variables the goal depends on, along with indirect propositional hypotheses. Makes `native_decide` fail at elaboration time on failure without sacrificing performance (the decision procedure is still evaluated just once). Now `native_decide` supports universe polymorphism. Closes #2072
3 lines
142 B
Text
3 lines
142 B
Text
1825.lean:2:71-2:84: error: tactic 'native_decide' evaluated that the proposition
|
|
-2147483648 + 2147483648 = -18446744069414584320
|
|
is false
|