mirror of
https://github.com/AdaCore/cvc5.git
synced 2026-02-12 12:32:16 -08:00
This commits changes the build system to cvc5 and removes the remaining occurrences of CVC4. It further cleans up outdated/unused scripts in contrib/.
24 lines
829 B
Python
24 lines
829 B
Python
#!/usr/bin/env python
|
|
###############################################################################
|
|
# Top contributors (to current version):
|
|
# Makai Mann, Aina Niemetz
|
|
#
|
|
# This file is part of the cvc5 project.
|
|
#
|
|
# Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
|
|
# in the top-level source directory and their institutional affiliations.
|
|
# All rights reserved. See the file COPYING in the top-level source
|
|
# directory for licensing information.
|
|
# #############################################################################
|
|
#
|
|
# A very simple example, adapted from helloworld-new.cpp
|
|
##
|
|
|
|
import pycvc5
|
|
from pycvc5 import kinds
|
|
|
|
if __name__ == "__main__":
|
|
slv = pycvc5.Solver()
|
|
helloworld = slv.mkConst(slv.getBooleanSort(), "Hello World!")
|
|
print(helloworld, "is", slv.checkEntailed(helloworld))
|