Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
bv_decide_enums_two.lean
blob: 27aac12f4e402869d1d53c9e6a5f24fec72f5be3 [
file
]
import
Std
.
Tactic
.
BVDecide
inductive
State
:
Type
|
A
:
State
|
B
:
State
def
myFunc
(
s
:
State
)
:
Bool
:=
match s
with
|
.
A
=>
true
|
_
=>
false
theorem test
(
h
:
s
≠
State
.
B
)
:
myFunc s
=
true
:=
by
simp only
[
myFunc
]
bv_decide