Closed gebner closed 9 years ago
Yes, in general cut-elimination does not work in presence of equality rules. What is possible is to permute the equality rules upwards, such that there is a layer of equational rules working on axioms only, followed by a layer of pure logical reasoning. Then the cut can be pushed out of the logical layer.
I think that our interpolation algorithm can be extended to handle the proofs returned by EquationalProver, i.e. I think it is possible to extend the algorithm to handle equational rules and atomic cuts. It should be possible to adapt the techniques described in Bernhard's master thesis.
I'm afraid, the link has expired... this one should stay valid: http://permalink.obvsg.at/AC12110884 (B. Mallinger: Interpolation in first-order logic with equality )
Thanks, Martin! Edited my comment with the permalink.
I have worked out an interpolation algorithm in detail (on paper) which extends the currently implemented one by being able to treat atomic cuts and our equality rules. This algorithm will produce an interpolant which contains only predicate symbols that appear on both sides of the partition. The interpolant may always contain equality-atoms (which is unavoidable) and the constant and function symbols are not restricted in any way (which would require quantified interpolants).
If anybody wants to implement it, let me know.
Thus far, the interpolation algorithm only works if all axioms in the proof are of the form A :- A. Since this was already the case in the previous version, I was wondering whether this behaviour is intended or should the algorithm also be able to handle proofs containing instances of the reflexivity axiom?
This question arose because I tried to test the above example with the new version of the interpolation algorithm.
fails with
Apparently the proof returned by EquationalProver and passed to Interpolate contains a cut. I tried to apply cut elimination, but apparently that chokes on equation rules: