问题描述
当我有很多假设时,有时我最终会得到很多使证明混乱的临时名称。
我在谈论这样的事情:
lemma foo: ...
proof
assume P: ... and Q: ... and R: ...
then have ...
then have ... using P ...
then have ... using P R ...
then show ...
proof
assume A: ... and B: ... and C: ...
then have ...
then have ... using B C ...
...
你能想象它是如何演变的吗?很多语句的名称,从总体上讲,不值得命名,但仍然命名,因为我们需要在几行之后引用它们。
另一方面,如果我们使用所有当前的假设,多余的名称不会使证明变得混乱:
lemma foo: ...
proof
assume ... and ... and ...
then have ...
then have ... using assumptions ...
then have ... using assumptions ...
then show ...
proof
assume ... and ... and ...
then have ...
then have ... using assumptions ...
...
当然,using assumptions
在 Isabelle 中不是有效的语句。我知道 assms
,它引用了 assumes
子句,但我不知道 assume
是否存在这样的东西。
有没有办法引用 assume
创建的所有当前假设?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)