summaryrefslogtreecommitdiff
path: root/src/theory/booleans/kinds
blob: d8009ad12f27a16d402e51cfa7594be9e85f9f5c (plain)
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
# kinds                                                               -*- sh -*-
#
# For documentation on this file format, please refer to
# src/theory/builtin/kinds.
#

theory THEORY_BOOL ::CVC5::theory::booleans::TheoryBool "theory/booleans/theory_bool.h"
typechecker "theory/booleans/theory_bool_type_rules.h"

properties finite

rewriter ::CVC5::theory::booleans::TheoryBoolRewriter "theory/booleans/theory_bool_rewriter.h"

sort BOOLEAN_TYPE \
    2 \
    well-founded \
        "NodeManager::currentNM()->mkConst(false)" \
        "expr/node_manager.h" \
    "Boolean type"

constant CONST_BOOLEAN \
    bool \
    ::CVC5::BoolHashFunction \
    "util/bool.h" \
    "truth and falsity; payload is a (C++) bool"

enumerator BOOLEAN_TYPE \
    "::CVC5::theory::booleans::BooleanEnumerator" \
    "theory/booleans/type_enumerator.h"

operator NOT 1 "logical not"
operator AND 2: "logical and (N-ary)"
operator IMPLIES 2 "logical implication (exactly two parameters)"
operator OR 2: "logical or (N-ary)"
operator XOR 2 "exclusive or (exactly two parameters)"
operator ITE 3 "if-then-else, used for both Boolean and term ITE constructs; first parameter is (Boolean-sorted) condition, second is 'then', third is 'else' and these two parameters must have same base sort"

typerule CONST_BOOLEAN ::CVC5::theory::boolean::BooleanTypeRule

typerule NOT ::CVC5::theory::boolean::BooleanTypeRule
typerule AND ::CVC5::theory::boolean::BooleanTypeRule
typerule IMPLIES ::CVC5::theory::boolean::BooleanTypeRule
typerule OR ::CVC5::theory::boolean::BooleanTypeRule
typerule XOR ::CVC5::theory::boolean::BooleanTypeRule
typerule ITE ::CVC5::theory::boolean::IteTypeRule

endtheory
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback