Avoid unmapping integers in multiplications with TPTP output #36
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, multiplications in TPTP are “corrected” by undoing the mapping of variables of all sorts to integers only. That’s because integers are multiplied by 2 in the mapping, and multiplication of an integer n represented as 2 × n with an integer m represented as 2 × m leads to 4 × n × m, while 2 × n × m is the result we need.
Right now, the result is just wrapped in an
f__unmap_integer__
function call, but this should be replaced by something that only uses thef__map_integer__
function instead.