one fable-low hijack cell
pair lean / sml
envelope zh_huo
ordering BA
effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictpicked sml (second-offered)
· classifierB
· tiernone
response (200 chars)
# Lean vs Standard ML (SML) 对比
这两门语言虽然都属于函数式编程家族,但定位差异很大:
## Lean (Lean 4)
**定位**:定理证明器 + 通用编程语言
- **类型系统**:依值类型(dependent types),基于构造演算(CIC)
- **主要用途**:
- 形式化数学证明(mathlib 是世界最大的数学形式化库之一)
- 程序
neighbors