Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
5779e4e58daf29ce99dc044d016c4e89990f4ad8
/
.
/
tests
/
lean
/
cdotTuple.lean
blob: e73f13308725945269eb2e54d376a3da3cfab06c [
file
]
#eval [1, 2, 3].map (·, 1)
#eval (·, ·) 1 2
#eval (., ., .) 1 2 3
theorem ex1
:
[
1
,
2
,
3
].
map
(·,
1
)
=
[(
1
,
1
),
(
2
,
1
),
(
3
,
1
)]
:=
rfl
theorem ex2
:
(.,
.)
1
2
=
(
1
,
2
)
:=
rfl