【发布时间】:2018-12-10 20:53:27
【问题描述】:
我对 Isabelle 很陌生,如果这个问题的格式不正确,我深表歉意。
我试图证明以下几点:
record
Point =
x :: nat
y :: nat
definition
cond :: "Point ⇒ Point ⇒ ????"
where
"cond point1 point2 ≡
abs (x point1 - x point2) = 1 ∨ abs (y point1 - y point2) = 1"
我的证明是:
lemma cond_proof : "∃ point1 point2 . cond point1 point2 = True"
sledgehammer
by (metis Point_ext_def abs_division_segment add_diff_cancel_left' cond_def select_convs(1))
这会触发警告:
Metis: Unused theorems:
请有人解释一下这是什么意思? 如果可能的话,请帮助我得出一个满足这个条件的证明。
我对 Isabelle 还是很陌生,所以感谢所有 cmets。
【问题讨论】:
标签: isabelle formal-verification