Also, missed an armType use.
return n.getType().isBoolean() and (n.isVar() or n.isConst());
}
+TypeNode LFSCArithProof::equalityType(const Expr& left, const Expr& right)
+{
+ return TypeNode::fromType(!left.getType().isInteger() ? left.getType() : right.getType());
+}
+
} /* CVC4 namespace */
* Return whether this node, when serialized to LFSC, has sort `Bool`. Otherwise, the sort is `formula`.
*/
bool printsAsBool(const Node& n) override;
+
+ TypeNode equalityType(const Expr& left, const Expr& right) override;
};
}
else
{
- printBoundTerm(term[2], os, map);
+ printBoundTerm(term[2], os, map, armType);
}
os << ")";
return;