MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / slt

Method slt

smt/expr.cpp:1768–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1766}
1767
1768expr expr::slt(const expr &rhs) const {
1769 C();
1770 if (rhs.isSMin())
1771 return false;
1772
1773 int64_t n;
1774 if (rhs.isInt(n))
1775 return sle(mkInt(n - 1, sort()));
1776
1777 return !rhs.sle(*this);
1778}
1779
1780expr expr::sge(const expr &rhs) const {
1781 return rhs.sle(*this);

Callers 2

toSMTMethod · 0.80
toSMTMethod · 0.80

Calls 3

isSMinMethod · 0.80
sleMethod · 0.80
isIntMethod · 0.45

Tested by

no test coverage detected