isabelle - 在 Isabelle 中证明类型分类定理
问题描述
我要使用类型类来证明微不足道:
class order =
fixes lesseq :: " 'a ⇒ 'a ⇒ bool" (infix "≼" 50)
assumes refl: "x ≼ x"
and trans: "x ≼ y ⟹ y ≼ z ⟹ x ≼ z"
and antisym: "x ≼ y ⟹ y ≼ x ⟹ x = y"
begin
theorem "(myle:: ('b::order) ⇒ 'b ⇒ bool) x x"
proof -
show ?thesis by (rule refl)
qed
end
在这里,Isabelle/jEditby (rule refl)
用粉红色突出显示并说
Failed to apply initial proof method⌂:
goal (1 subgoal):
1. myle x x
这里有什么问题?否则,证明似乎通过了。
解决方案
推荐阅读
- ionic3 - 离子警报控制器:占位符不适用于输入类型文件
- jenkins - 如何将 github webhook 配置到 Google Cloud IAP 后面的 Jenkins 服务器
- c# - 如何从数据库中获取最后输入的 ID
- jpa - 创建一列 JPA 存储库的所有字符串的列表
- ios - 在自定义模式解除转换后,第一个视图控制器的生命周期方法不会被调用
- nginx - 使用 Nginx 服务器镜像公共站点
- node.js - Node express.js 响应 post 请求
- javascript - 使用浏览器扩展更改分辨率
- python - 如何在python中使用jsonp和jsonify并捕获ajax的返回
- c# - 打开流订阅时出现 EWS ServiceRequestException