lean4-htt/tests/lean/run/3229.lean
Leonardo de Moura 17520fa0b8
fix: cache issue at split tatic (#3258)
closes #3229

---------

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
2024-02-06 19:44:28 +00:00

4 lines
205 B
Text

-- This example exposed a caching issue with the `discharge?` method used by the `split` tactic.
example (b : Bool) :
(if b then 1 else if b then 1 else 0) = (if b then 1 else 0) := by
split <;> rfl