one fable-low hijack cell
pair coq / idris
envelope zh_huo
ordering BA
effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictpicked idris (second-offered)
· classifierB
· tiernone
response (200 chars)
# Coq 与 Idris 简介与对比
两者都是基于依赖类型理论的语言/证明助手,但定位不同。
## Coq(现已更名为 Rocq)
**定位**:主要是**定理证明助手**,也能提取程序。
```coq
(* 定义自然数加法并证明交换律 *)
Theorem plus_comm : forall n m : nat, n + m = m + n.
Proof.
intros n m.
neighbors