Closed ThatDaleMiller closed 1 week ago
I believe this has already been fixed in master (8c86b5ae0473f957e06de5cc6d003b6ce66753c1).
Sorry that I had forgotten about this previous issue. I am glad to know it will be fixed in a new release.
Closing this issue. We'll have a release "soon".
Put the following into a file named
p_and_q.thm
.Put the following into a file named ``p_is_q.thm''.
Abella 2.0.8 happily accepts this proof of false!
The changelog entry that describes the import command with the feature to rename predicates requires that the predicates that are renamed must be undefined predicates and that the predicates that are substituted into those undefined predicates must be defined predicates. This latter restriction is not respected in the current implementation: note that pq is not defined.
The problem still exists if we define pq. That is, Abella will also accept the following file.
I believe that the fix would be to insist (using the symbols in the changelog) that the command
is only allowed as long as the
defid1, ..., defidn
are pairwise distinct. It seems that they can be defined or undefined.