blob: 8a0279b9372a47fa07d73c91eb49dfbd1d12a084 [file]
import Lean
import Std.Tactic.BVDecide
/-!
Regression test for mdata in bv_decide's `cond` preprocessor.
-/
open Lean Elab Term
syntax "mdata% " term : term
elab_rules : term
| `(mdata% $t) => return .mdata {} (← elabTerm t none)
theorem mdata_cond (b : Bool) :
(mdata% (bif b then true else false)) = b := by
bv_decide