Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Martin Jonáš
BVExprSimplifier
Commits
5e14a0fb
Commit
5e14a0fb
authored
Mar 13, 2017
by
Martin Jonáš
Browse files
Add SMT2 output.
parent
120878ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.cpp
View file @
5e14a0fb
...
...
@@ -148,19 +148,19 @@ int main(int argc, char* argv[])
e
=
e
.
simplify
();
//std::cout << e << std::endl;
if
(
runZ3
)
{
solver
s
=
tactic
(
ctx
,
"bv"
).
mk_solver
();
params
p
(
ctx
);
solver
s
=
tactic
(
ctx
,
"bv"
).
mk_solver
();
params
p
(
ctx
);
// p.set(":max_memory", 3u);
s
.
set
(
p
);
// p.set(":max_memory", 3u);
s
.
set
(
p
);
s
.
add
(
e
);
s
.
add
(
e
);
if
(
runZ3
)
{
std
::
cout
<<
s
.
check
()
<<
std
::
endl
;
}
else
{
std
::
cout
<<
e
<<
std
::
endl
;
std
::
cout
<<
s
.
to_smt2
()
<<
std
::
endl
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment