1 /********************* */
2 /*! \file helloworld.cpp
4 ** Top contributors (to current version):
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
8 ** in the top-level source directory) and their institutional affiliations.
9 ** All rights reserved. See the file COPYING in the top-level source
10 ** directory for licensing information.\endverbatim
12 ** \brief A very simple CVC4 example
14 ** A very simple CVC4 tutorial example.
19 #include <cvc4/api/cvc4cpp.h>
21 using namespace CVC4::api
;
26 Term helloworld
= slv
.mkVar(slv
.getBooleanSort(), "Hello World!");
27 std::cout
<< helloworld
<< " is " << slv
.checkEntailed(helloworld
)