File: sort.rst

package info (click to toggle)
bitwuzla 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 43,292 kB
  • sloc: cpp: 94,870; python: 3,254; ansic: 1,613; sh: 50; makefile: 10
file content (53 lines) | stat: -rw-r--r-- 1,397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Sort
----

Bitwuzla supports array (SMT-LIB: :code:`Array`), Boolean (SMT-LIB:
:code:`Bool`), bit-vector (SMT-LIB: :code:`(_ BitVec n)`), floating-point
(SMT-LIB: :code:`(_ FloatingPoint e s)`), rounding mode (SMT-LIB:
:code:`RoundingMode`), and uninterpreted sorts (SMT-LIB: :code:`declare-sort`).
As for array sorts, this includes nested arrays, i.e., array sorts where the
element sort is an array sort.

.. note::

   Sorts are not tied to a specific Bitwuzla instance and can be shared across
   instances.

----

- class :cpp:class:`bitwuzla::Sort`
- struct :cpp:struct:`std::hash\<bitwuzla::Sort>`
- :cpp:func:`bool bitwuzla::operator==(const Sort& a, const Sort& b)`
- :cpp:func:`bool bitwuzla::operator!=(const Sort& a, const Sort& b)`
- :cpp:func:`std::ostream& bitwuzla::operator<<(std::ostream& out, const Sort& term)`

----

:code:`namespace bitwuzla {`

.. doxygenclass:: bitwuzla::Sort
    :project: Bitwuzla_cpp
    :members:

----

.. doxygenfunction:: bitwuzla::operator==(const Sort& a, const Sort& b)
    :project: Bitwuzla_cpp

.. doxygenfunction:: bitwuzla::operator!=(const Sort& a, const Sort& b)
    :project: Bitwuzla_cpp

.. doxygenfunction:: bitwuzla::operator<<(std::ostream& out, const Sort& term)
    :project: Bitwuzla_cpp

:code:`}`

----

:code:`namespace std {`

.. doxygenstruct:: std::hash< bitwuzla::Sort >
    :project: Bitwuzla_cpp
    :members:

:code:`}`