Closed VTrelat closed 11 months ago
Example exhibiting the reported defect.
Fix proposed in commit aadf983707197db2c8c9e24e96a27d38c0f4885f
.
The identifiers for the axioms now include the type of the relations over which the iterate operator is axiomatized.
SMT2 file produced with the proposed fix : m0-0-0.fix.smt2.txt
Note: The TPTP backend does not exhibit this errror.
Mostly to @DavidDeharbe:
Link to the issue: https://github.com/CLEARSY/pptranssmt/blob/09b5a4bcebce292b25c7dfb5cf6e7ce42812fc05/PPTRANSSMT/ppTrans.cpp#L212-L249
Issue: Function
registerIterate
fromnamespace ppTrans
generates axioms namediterate_axiom_x
withx
ranging over{1,2,3,4}
. Apparently, this function may be called several times, thus generating duplicateiterate_axiom_x
names (even though the formulas differ). This makes the smt solver crash.Way to solve it: