I am new to SMT solver and these topics. I need to convert a C++ code into an equivalent of SMT2 (I have a tool that needs .smt2 as input). I've already found this solution but it does not explain completely how to do that? Could you help me. Thanks
while (x<y)
{
x=5*x+3;
y=3*y+5;
w=3*z+w;
z=z+6;
}
Is there any kind of tool for this conversion? or how should I learn about this topic?