Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
doc
/
examples
/
NFM2022
/
nfm1.lean
blob: 539de041e89fb6a22673f020ae70b4e902ad6704 [
file
]
/- "Hello world" -/
#eval "hello" ++ " " ++ "world"
--
"hello world"
#check true
--
Bool
def
x
:=
10
#eval x + 2
--
12
def
double
(
x
:
Int
)
:=
2
*
x
#eval double 3
--
6
#check double
--
Int
→
Int
example
:
double
4
=
8
:=
rfl