[SMTChecker] Removing usage of UFs to access SSA indices

This commit is contained in:
Leonardo Alt
2018-04-05 12:48:58 +02:00
parent 36d6c27e68
commit 8d087d1889
6 changed files with 20 additions and 10 deletions
+5 -1
View File
@@ -30,7 +30,11 @@ SymbolicBoolVariable::SymbolicBoolVariable(
SymbolicVariable(_decl, _interface)
{
solAssert(m_declaration.type()->category() == Type::Category::Bool, "");
m_expression = make_shared<smt::Expression>(m_interface.newFunction(uniqueSymbol(), smt::Sort::Int, smt::Sort::Bool));
}
smt::Expression SymbolicBoolVariable::valueAtSequence(int _seq) const
{
return m_interface.newBool(uniqueSymbol(_seq));
}
void SymbolicBoolVariable::setZeroValue(int _seq)