lean2/tests/lean/noncomp.lean

9 lines
137 B
Text
Raw Normal View History

open nat
axiom n : nat
definition f (x : nat) := -- Error this is not computable
x + n
noncomputable definition f (x : nat) := x + n