到目前为止,我所拥有的是:
module Foo
postulate P : 'P
postulate NP : 'NP
complexityProof : P = NP
complexityProof = ?complexityProof_rhs
但是在尝试加载文件时,我得到:
When elaborating type of Foo.complexityProof:
When elaborating argument y to type constructor =:
Can't unify
'NP
with
'P
Specifically:
Can't unify
"NP"
with
"P"
对这个错误有点惊讶,因为我认为 Idris 具有异构的“John Major”相等性,在 = 的左侧和右侧使用不同的类型很好。现在有一个不同的符号?