Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
grind_prod.lean
blob: 34d595c32c1bf104848a7521dd9d8520c8eae8a5 [
file
]
module
open
Prod
theorem swap_swap
:
∀
x
:
α
×
β,
swap
(
swap x
)
=
x
|
⟨
_
,
_
⟩
=>
by
grind
theorem fst_swap
{
p
:
α
×
β}
:
(
swap p
).
1
=
p
.
2
:=
by
grind
theorem snd_swap
{
p
:
α
×
β}
:
(
swap p
).
2
=
p
.
1
:=
by
grind