2022-01-14 13:45:19 -08:00
|
|
|
Base Python API
|
2021-11-17 11:40:49 -08:00
|
|
|
========================
|
|
|
|
|
|
|
|
|
|
.. only:: not bindings_python
|
|
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
|
2024-08-05 11:49:50 -07:00
|
|
|
This documentation was built while python bindings were disabled.
|
|
|
|
|
This part of the documentation is likely either empty or outdated.
|
|
|
|
|
Please enable :code:`BUILD_BINDINGS_PYTHON` in :code:`cmake` and
|
|
|
|
|
build the documentation again.
|
2021-11-17 11:40:49 -08:00
|
|
|
|
2022-01-14 13:45:19 -08:00
|
|
|
This is the base Python API.
|
2024-08-05 11:49:50 -07:00
|
|
|
It is implemented on top of the C++ API and mirrors the :doc:`C++ API
|
|
|
|
|
<../../cpp/cpp>`.
|
2022-01-14 13:45:19 -08:00
|
|
|
|
2024-08-05 11:49:50 -07:00
|
|
|
For a higher-level, more pythonic programming experience, cvc5 provides the
|
|
|
|
|
:doc:`pythonic API <../pythonic/pythonic>`.
|
2022-01-14 13:45:19 -08:00
|
|
|
|
2021-11-17 11:40:49 -08:00
|
|
|
.. toctree::
|
2024-07-16 15:39:37 -07:00
|
|
|
:maxdepth: 1
|
2024-08-05 11:49:50 -07:00
|
|
|
:hidden:
|
2021-11-17 11:40:49 -08:00
|
|
|
|
|
|
|
|
quickstart
|
2024-08-05 11:49:50 -07:00
|
|
|
command
|
2021-11-17 11:40:49 -08:00
|
|
|
datatype
|
|
|
|
|
datatypeconstructor
|
|
|
|
|
datatypeconstructordecl
|
|
|
|
|
datatypedecl
|
|
|
|
|
datatypeselector
|
|
|
|
|
grammar
|
2024-08-05 11:49:50 -07:00
|
|
|
inputparser
|
2021-11-23 12:59:26 -08:00
|
|
|
kind
|
2025-08-23 17:10:09 -05:00
|
|
|
modes
|
2021-11-17 11:40:49 -08:00
|
|
|
op
|
2024-08-05 11:49:50 -07:00
|
|
|
plugin
|
2024-07-16 16:07:30 -07:00
|
|
|
proof
|
2021-11-17 11:40:49 -08:00
|
|
|
result
|
|
|
|
|
roundingmode
|
|
|
|
|
solver
|
|
|
|
|
sort
|
2024-07-16 15:39:37 -07:00
|
|
|
sortkind
|
2022-03-31 22:45:33 -07:00
|
|
|
statistics
|
2024-08-05 11:49:50 -07:00
|
|
|
symbolmanager
|
2022-03-23 16:56:33 -05:00
|
|
|
synthresult
|
|
|
|
|
term
|
2024-07-16 15:39:37 -07:00
|
|
|
termmanager
|
2021-11-17 11:40:49 -08:00
|
|
|
unknownexplanation
|
2024-08-05 11:49:50 -07:00
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
Classes
|
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
|
- :doc:`command`
|
|
|
|
|
- :doc:`datatype`
|
|
|
|
|
- :doc:`datatypeconstructor`
|
|
|
|
|
- :doc:`datatypeconstructordecl`
|
|
|
|
|
- :doc:`datatypedecl`
|
|
|
|
|
- :doc:`datatypeselector`
|
|
|
|
|
- :doc:`grammar`
|
|
|
|
|
- :doc:`inputparser`
|
|
|
|
|
- :doc:`op`
|
|
|
|
|
- :doc:`plugin`
|
|
|
|
|
- :doc:`proof`
|
|
|
|
|
- :doc:`result`
|
|
|
|
|
- :doc:`solver`
|
|
|
|
|
- :doc:`sort`
|
|
|
|
|
- :doc:`statistics`
|
|
|
|
|
- :doc:`symbolmanager`
|
|
|
|
|
- :doc:`synthresult`
|
|
|
|
|
- :doc:`term`
|
|
|
|
|
|
|
|
|
|
Enums
|
|
|
|
|
-----
|
|
|
|
|
|
|
|
|
|
- :doc:`kind`
|
|
|
|
|
- :doc:`proofrule`
|
|
|
|
|
- :doc:`roundingmode`
|
|
|
|
|
- :doc:`unknownexplanation`
|
|
|
|
|
|
|
|
|
|
- enums for :doc:`configuration modes <modes>`
|
|
|
|
|
|
|
|
|
|
- :py:obj:`BlockModelsMode <cvc5.BlockModelsMode>`
|
|
|
|
|
- :py:obj:`LearnedLitType <cvc5.LearnedLitType>`
|
2025-09-08 10:47:59 -03:00
|
|
|
- :py:obj:`OptionCategory <cvc5.OptionCategory>`
|
2024-08-05 11:49:50 -07:00
|
|
|
- :py:obj:`ProofComponent <cvc5.ProofComponent>`
|
|
|
|
|
- :py:obj:`ProofFormat <cvc5.ProofFormat>`
|
|
|
|
|
|