Closed ghost closed 10 years ago
This was a bug in the error detection of combine, this is fixed in commit 59d66ae16e2dca9767a8a8a24be276639b6d6277.
The above example then fails correctly in combine, because you are passing a term to sym, not a theorem.
I want to write a general
gsym
derived rule which appliessym
to the body of a quantified formula. So the idea is that if you have a theorem⊢ ∀x y. x = y
, and you applygsym
to it, you get⊢ ∀x y. y = x
.Here's my first shot at an implementation:
This doesn't work, with proofscript complaining that antecedents don't match in
modusponens
. But the problem appears to be withcombine
. If I do:The call to
combine
succeeds, but the assertion fails. That can't be right, surely?