Z3
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions
BoolRef Class Reference
+ Inheritance diagram for BoolRef:

Public Member Functions

def sort
 
def __rmul__
 
def __mul__
 
- Public Member Functions inherited from ExprRef
def as_ast
 
def get_id
 
def sort
 
def sort_kind
 
def __eq__
 
def __hash__
 
def __ne__
 
def params
 
def decl
 
def num_args
 
def arg
 
def children
 
- Public Member Functions inherited from AstRef
def __init__
 
def __del__
 
def __deepcopy__
 
def __str__
 
def __repr__
 
def __eq__
 
def __hash__
 
def __nonzero__
 
def __bool__
 
def sexpr
 
def as_ast
 
def get_id
 
def ctx_ref
 
def eq
 
def translate
 
def __copy__
 
def hash
 
- Public Member Functions inherited from Z3PPObject
def use_pp
 

Additional Inherited Members

- Data Fields inherited from AstRef
 ast
 
 ctx
 

Detailed Description

All Boolean expressions are instances of this class.

Definition at line 1394 of file z3py.py.

Member Function Documentation

def __mul__ (   self,
  other 
)
Create the Z3 expression `self * other`.

Definition at line 1402 of file z3py.py.

1403  def __mul__(self, other):
1404  """Create the Z3 expression `self * other`.
1405  """
1406  if other == 1:
1407  return self
1408  if other == 0:
1409  return 0
1410  return If(self, other, 0)
1411 
def If
Definition: z3py.py:1238
def __mul__
Definition: z3py.py:1402
def __rmul__ (   self,
  other 
)

Definition at line 1399 of file z3py.py.

1400  def __rmul__(self, other):
1401  return self * other
def __rmul__
Definition: z3py.py:1399
def sort (   self)

Definition at line 1396 of file z3py.py.

1397  def sort(self):
1398  return BoolSortRef(Z3_get_sort(self.ctx_ref(), self.as_ast()), self.ctx)
Booleans.
Definition: z3py.py:1360
def sort
Definition: z3py.py:1396
def as_ast
Definition: z3py.py:344
def ctx_ref
Definition: z3py.py:352
Z3_sort Z3_API Z3_get_sort(Z3_context c, Z3_ast a)
Return the sort of an AST node.