Avoid unmapping integers in multiplications with TPTP output #36
Labels
No Label
aesthetic
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
suggestion
task
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: patrick/anthem#36
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.