Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/floatbits
/
.
/
tests
/
lean
/
449.lean
blob: 04e6b81f2b048bf0ee560529fd5373479f0588f4 [
file
] [
edit
]
open
Nat
theorem mul_comm
(
m n
:
Nat
)
:
m
*
n
=
n
*
m
:=
by
induction n
with
|
zero
=>
simp
|
succ n ih
=>
have foo
:
m
*
n
+
m
=
m
*
n
+
(
succ zero
)
*
m
:=
_
rfl
theorem test
(
o
:
x
∨
y
)
:
x
:=
by
cases o
with
|
inl h
=>
exact h
|
inr h
=>
exact _