这是一个证明:
theory Example
imports Main
begin
datatype natural = Zero | Succ natural
lemma "⋀ n. n = Succ m ⟹ n ≠ Zero"
proof -
fix n
assume "n = Succ m"
from this show "n ≠ Zero" by (metis natural.distinct(2))
qed
end
在整个证明过程中该depth
值为 0,但之后
show "n ≠ Zero"
它变为
proof (prove): depth 1
这里是什么depth
意思?进行证明时是否重要?