grind
mvcgen
do
Lean 中的以下命令类似于定义:
def
abbrev
example
theorem
opaque
所有这些命令都会导致 Lean 变为 详细精化基于 签名的术语。 除了 Lean.Parser.Command.exampleexample 会丢弃结果之外,Lean 核心语言中的结果表达式将被保存以供将来在环境中使用。 Lean.Parser.Command.declaration : commandinstance 命令在 有关实例声明的部分中进行了描述。
Lean.Parser.Command.example
Lean.Parser.Command.declaration : command
instance