Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
hmulDefaultInstance.lean
blob: 9bf6d911846de0605f9f5bfaaa6133687d6a9a48 [
file
]
instance
:
HMul
Nat
Bool
Nat
where
hMul
|
x
,
true
=>
x
|
x
,
false
=>
0
#check (10:Nat) * true
#check fun x => x * 1