mirror of
https://github.com/AdaCore/cvc5.git
synced 2026-02-12 12:32:16 -08:00
22 lines
732 B
Python
22 lines
732 B
Python
###############################################################################
|
|
# Top contributors (to current version):
|
|
# Alex Ozdemir
|
|
#
|
|
# This file is part of the cvc5 project.
|
|
#
|
|
# Copyright (c) 2009-2024 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 simple demonstration of the transcendental extension.
|
|
##
|
|
from cvc5.pythonic import *
|
|
|
|
if __name__ == '__main__':
|
|
x, y = Reals("x y")
|
|
solve(x > Pi(),
|
|
x < 2 * Pi(),
|
|
y ** 2 < Sine(x))
|