Z3
Public Member Functions | Data Fields
Fixedpoint Class Reference

Fixedpoint. More...

+ Inheritance diagram for Fixedpoint:

Public Member Functions

def __init__ (self, fixedpoint=None, ctx=None)
 
def __del__ (self)
 
def set (self, args, keys)
 
def help (self)
 
def param_descrs (self)
 
def assert_exprs (self, args)
 
def add (self, args)
 
def append (self, args)
 
def insert (self, args)
 
def add_rule (self, head, body=None, name=None)
 
def rule (self, head, body=None, name=None)
 
def fact (self, head, name=None)
 
def query (self, query)
 
def push (self)
 
def pop (self)
 
def update_rule (self, head, body, name)
 
def get_answer (self)
 
def get_num_levels (self, predicate)
 
def get_cover_delta (self, level, predicate)
 
def add_cover (self, level, predicate, property)
 
def register_relation (self, relations)
 
def set_predicate_representation (self, f, representations)
 
def parse_string (self, s)
 
def parse_file (self, f)
 
def get_rules (self)
 
def get_assertions (self)
 
def __repr__ (self)
 
def sexpr (self)
 
def to_string (self, queries)
 
def statistics (self)
 
def reason_unknown (self)
 
def declare_var (self, vars)
 
def abstract (self, fml, is_forall=True)
 
- Public Member Functions inherited from Z3PPObject
def use_pp (self)
 

Data Fields

 ctx
 
 fixedpoint
 
 vars
 

Detailed Description

Fixedpoint.

Fixedpoint API provides methods for solving with recursive predicates

Definition at line 6149 of file z3py.py.

Constructor & Destructor Documentation

def __init__ (   self,
  fixedpoint = None,
  ctx = None 
)

Definition at line 6152 of file z3py.py.

6152  def __init__(self, fixedpoint=None, ctx=None):
6153  assert fixedpoint == None or ctx != None
6154  self.ctx = _get_ctx(ctx)
6155  self.fixedpoint = None
6156  if fixedpoint == None:
6157  self.fixedpoint = Z3_mk_fixedpoint(self.ctx.ref())
6158  else:
6159  self.fixedpoint = fixedpoint
6160  Z3_fixedpoint_inc_ref(self.ctx.ref(), self.fixedpoint)
6161  self.vars = []
6162 
Z3_fixedpoint Z3_API Z3_mk_fixedpoint(Z3_context c)
Create a new fixedpoint context.
def __init__(self, fixedpoint=None, ctx=None)
Definition: z3py.py:6152
void Z3_API Z3_fixedpoint_inc_ref(Z3_context c, Z3_fixedpoint d)
Increment the reference counter of the given fixedpoint context.
def __del__ (   self)

Definition at line 6163 of file z3py.py.

6163  def __del__(self):
6164  if self.fixedpoint != None:
6165  Z3_fixedpoint_dec_ref(self.ctx.ref(), self.fixedpoint)
6166 
void Z3_API Z3_fixedpoint_dec_ref(Z3_context c, Z3_fixedpoint d)
Decrement the reference counter of the given fixedpoint context.
def __del__(self)
Definition: z3py.py:6163

Member Function Documentation

def __repr__ (   self)
Return a formatted string with all added rules and constraints.

Definition at line 6327 of file z3py.py.

6327  def __repr__(self):
6328  """Return a formatted string with all added rules and constraints."""
6329  return self.sexpr()
6330 
def __repr__(self)
Definition: z3py.py:6327
def sexpr(self)
Definition: z3py.py:6331
def abstract (   self,
  fml,
  is_forall = True 
)

Definition at line 6363 of file z3py.py.

Referenced by Fixedpoint.add_rule(), Fixedpoint.assert_exprs(), Fixedpoint.query(), and Fixedpoint.update_rule().

6363  def abstract(self, fml, is_forall=True):
6364  if self.vars == []:
6365  return fml
6366  if is_forall:
6367  return ForAll(self.vars, fml)
6368  else:
6369  return Exists(self.vars, fml)
6370 
6371 
def Exists(vs, body, weight=1, qid="", skid="", patterns=[], no_patterns=[])
Definition: z3py.py:1829
def ForAll(vs, body, weight=1, qid="", skid="", patterns=[], no_patterns=[])
Definition: z3py.py:1810
def abstract(self, fml, is_forall=True)
Definition: z3py.py:6363
def add (   self,
  args 
)
Assert constraints as background axioms for the fixedpoint solver. Alias for assert_expr.

Definition at line 6195 of file z3py.py.

6195  def add(self, *args):
6196  """Assert constraints as background axioms for the fixedpoint solver. Alias for assert_expr."""
6197  self.assert_exprs(*args)
6198 
def assert_exprs(self, args)
Definition: z3py.py:6181
def add(self, args)
Definition: z3py.py:6195
def add_cover (   self,
  level,
  predicate,
  property 
)
Add property to predicate for the level'th unfolding. -1 is treated as infinity (infinity)

Definition at line 6291 of file z3py.py.

6291  def add_cover(self, level, predicate, property):
6292  """Add property to predicate for the level'th unfolding. -1 is treated as infinity (infinity)"""
6293  Z3_fixedpoint_add_cover(self.ctx.ref(), self.fixedpoint, level, predicate.ast, property.ast)
6294 
void Z3_API Z3_fixedpoint_add_cover(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred, Z3_ast property)
Add property about the predicate pred. Add a property of predicate pred at level. It gets pushed forw...
def add_cover(self, level, predicate, property)
Definition: z3py.py:6291
def add_rule (   self,
  head,
  body = None,
  name = None 
)
Assert rules defining recursive predicates to the fixedpoint solver.
>>> a = Bool('a')
>>> b = Bool('b')
>>> s = Fixedpoint()
>>> s.register_relation(a.decl())
>>> s.register_relation(b.decl())
>>> s.fact(a)
>>> s.rule(b, a)
>>> s.query(b)
sat

Definition at line 6207 of file z3py.py.

Referenced by Fixedpoint.fact(), and Fixedpoint.rule().

6207  def add_rule(self, head, body = None, name = None):
6208  """Assert rules defining recursive predicates to the fixedpoint solver.
6209  >>> a = Bool('a')
6210  >>> b = Bool('b')
6211  >>> s = Fixedpoint()
6212  >>> s.register_relation(a.decl())
6213  >>> s.register_relation(b.decl())
6214  >>> s.fact(a)
6215  >>> s.rule(b, a)
6216  >>> s.query(b)
6217  sat
6218  """
6219  if name == None:
6220  name = ""
6221  name = to_symbol(name, self.ctx)
6222  if body == None:
6223  head = self.abstract(head)
6224  Z3_fixedpoint_add_rule(self.ctx.ref(), self.fixedpoint, head.as_ast(), name)
6225  else:
6226  body = _get_args(body)
6227  f = self.abstract(Implies(And(body, self.ctx),head))
6228  Z3_fixedpoint_add_rule(self.ctx.ref(), self.fixedpoint, f.as_ast(), name)
6229 
void Z3_API Z3_fixedpoint_add_rule(Z3_context c, Z3_fixedpoint d, Z3_ast rule, Z3_symbol name)
Add a universal Horn clause as a named rule. The horn_rule should be of the form: ...
def to_symbol(s, ctx=None)
Definition: z3py.py:94
def And(args)
Definition: z3py.py:1489
def Implies(a, b, ctx=None)
Definition: z3py.py:1434
def add_rule(self, head, body=None, name=None)
Definition: z3py.py:6207
def abstract(self, fml, is_forall=True)
Definition: z3py.py:6363
def append (   self,
  args 
)
Assert constraints as background axioms for the fixedpoint solver. Alias for assert_expr.

Definition at line 6199 of file z3py.py.

6199  def append(self, *args):
6200  """Assert constraints as background axioms for the fixedpoint solver. Alias for assert_expr."""
6201  self.assert_exprs(*args)
6202 
def assert_exprs(self, args)
Definition: z3py.py:6181
def append(self, args)
Definition: z3py.py:6199
def assert_exprs (   self,
  args 
)
Assert constraints as background axioms for the fixedpoint solver.

Definition at line 6181 of file z3py.py.

Referenced by Fixedpoint.add(), Optimize.add(), Fixedpoint.append(), and Fixedpoint.insert().

6181  def assert_exprs(self, *args):
6182  """Assert constraints as background axioms for the fixedpoint solver."""
6183  args = _get_args(args)
6184  s = BoolSort(self.ctx)
6185  for arg in args:
6186  if isinstance(arg, Goal) or isinstance(arg, AstVector):
6187  for f in arg:
6188  f = self.abstract(f)
6189  Z3_fixedpoint_assert(self.ctx.ref(), self.fixedpoint, f.as_ast())
6190  else:
6191  arg = s.cast(arg)
6192  arg = self.abstract(arg)
6193  Z3_fixedpoint_assert(self.ctx.ref(), self.fixedpoint, arg.as_ast())
6194 
def assert_exprs(self, args)
Definition: z3py.py:6181
void Z3_API Z3_fixedpoint_assert(Z3_context c, Z3_fixedpoint d, Z3_ast axiom)
Assert a constraint to the fixedpoint context.
def abstract(self, fml, is_forall=True)
Definition: z3py.py:6363
def BoolSort(ctx=None)
Definition: z3py.py:1346
def declare_var (   self,
  vars 
)
Add variable or several variables.
The added variable or variables will be bound in the rules
and queries

Definition at line 6354 of file z3py.py.

6354  def declare_var(self, *vars):
6355  """Add variable or several variables.
6356  The added variable or variables will be bound in the rules
6357  and queries
6358  """
6359  vars = _get_args(vars)
6360  for v in vars:
6361  self.vars += [v]
6362 
def declare_var(self, vars)
Definition: z3py.py:6354
def fact (   self,
  head,
  name = None 
)
Assert facts defining recursive predicates to the fixedpoint solver. Alias for add_rule.

Definition at line 6234 of file z3py.py.

6234  def fact(self, head, name = None):
6235  """Assert facts defining recursive predicates to the fixedpoint solver. Alias for add_rule."""
6236  self.add_rule(head, None, name)
6237 
def fact(self, head, name=None)
Definition: z3py.py:6234
def add_rule(self, head, body=None, name=None)
Definition: z3py.py:6207
def get_answer (   self)
Retrieve answer from last query call.

Definition at line 6277 of file z3py.py.

6277  def get_answer(self):
6278  """Retrieve answer from last query call."""
6279  r = Z3_fixedpoint_get_answer(self.ctx.ref(), self.fixedpoint)
6280  return _to_expr_ref(r, self.ctx)
6281 
def get_answer(self)
Definition: z3py.py:6277
Z3_ast Z3_API Z3_fixedpoint_get_answer(Z3_context c, Z3_fixedpoint d)
Retrieve a formula that encodes satisfying answers to the query.
def get_assertions (   self)
retrieve assertions that have been added to fixedpoint context

Definition at line 6323 of file z3py.py.

6323  def get_assertions(self):
6324  """retrieve assertions that have been added to fixedpoint context"""
6325  return AstVector(Z3_fixedpoint_get_assertions(self.ctx.ref(), self.fixedpoint), self.ctx)
6326 
Z3_ast_vector Z3_API Z3_fixedpoint_get_assertions(Z3_context c, Z3_fixedpoint f)
Retrieve set of background assertions from fixedpoint context.
def get_assertions(self)
Definition: z3py.py:6323
def get_cover_delta (   self,
  level,
  predicate 
)
Retrieve properties known about predicate for the level'th unfolding. -1 is treated as the limit (infinity)

Definition at line 6286 of file z3py.py.

6286  def get_cover_delta(self, level, predicate):
6287  """Retrieve properties known about predicate for the level'th unfolding. -1 is treated as the limit (infinity)"""
6288  r = Z3_fixedpoint_get_cover_delta(self.ctx.ref(), self.fixedpoint, level, predicate.ast)
6289  return _to_expr_ref(r, self.ctx)
6290 
def get_cover_delta(self, level, predicate)
Definition: z3py.py:6286
Z3_ast Z3_API Z3_fixedpoint_get_cover_delta(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred)
def get_num_levels (   self,
  predicate 
)
Retrieve number of levels used for predicate in PDR engine

Definition at line 6282 of file z3py.py.

6282  def get_num_levels(self, predicate):
6283  """Retrieve number of levels used for predicate in PDR engine"""
6284  return Z3_fixedpoint_get_num_levels(self.ctx.ref(), self.fixedpoint, predicate.ast)
6285 
unsigned Z3_API Z3_fixedpoint_get_num_levels(Z3_context c, Z3_fixedpoint d, Z3_func_decl pred)
Query the PDR engine for the maximal levels properties are known about predicate. ...
def get_num_levels(self, predicate)
Definition: z3py.py:6282
def get_rules (   self)
retrieve rules that have been added to fixedpoint context

Definition at line 6319 of file z3py.py.

6319  def get_rules(self):
6320  """retrieve rules that have been added to fixedpoint context"""
6321  return AstVector(Z3_fixedpoint_get_rules(self.ctx.ref(), self.fixedpoint), self.ctx)
6322 
def get_rules(self)
Definition: z3py.py:6319
Z3_ast_vector Z3_API Z3_fixedpoint_get_rules(Z3_context c, Z3_fixedpoint f)
Retrieve set of rules from fixedpoint context.
def help (   self)
Display a string describing all available options.

Definition at line 6173 of file z3py.py.

6173  def help(self):
6174  """Display a string describing all available options."""
6175  print(Z3_fixedpoint_get_help(self.ctx.ref(), self.fixedpoint))
6176 
Z3_string Z3_API Z3_fixedpoint_get_help(Z3_context c, Z3_fixedpoint f)
Return a string describing all fixedpoint available parameters.
def help(self)
Definition: z3py.py:6173
def insert (   self,
  args 
)
Assert constraints as background axioms for the fixedpoint solver. Alias for assert_expr.

Definition at line 6203 of file z3py.py.

6203  def insert(self, *args):
6204  """Assert constraints as background axioms for the fixedpoint solver. Alias for assert_expr."""
6205  self.assert_exprs(*args)
6206 
def assert_exprs(self, args)
Definition: z3py.py:6181
def insert(self, args)
Definition: z3py.py:6203
def param_descrs (   self)
Return the parameter description set.

Definition at line 6177 of file z3py.py.

6177  def param_descrs(self):
6178  """Return the parameter description set."""
6179  return ParamDescrsRef(Z3_fixedpoint_get_param_descrs(self.ctx.ref(), self.fixedpoint), self.ctx)
6180 
def param_descrs(self)
Definition: z3py.py:6177
Z3_param_descrs Z3_API Z3_fixedpoint_get_param_descrs(Z3_context c, Z3_fixedpoint f)
Return the parameter description set for the given fixedpoint object.
def parse_file (   self,
  f 
)
Parse rules and queries from a file

Definition at line 6315 of file z3py.py.

6315  def parse_file(self, f):
6316  """Parse rules and queries from a file"""
6317  return AstVector(Z3_fixedpoint_from_file(self.ctx.ref(), self.fixedpoint, f), self.ctx)
6318 
Z3_ast_vector Z3_API Z3_fixedpoint_from_file(Z3_context c, Z3_fixedpoint f, Z3_string s)
Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context...
def parse_file(self, f)
Definition: z3py.py:6315
def parse_string (   self,
  s 
)
Parse rules and queries from a string

Definition at line 6311 of file z3py.py.

6311  def parse_string(self, s):
6312  """Parse rules and queries from a string"""
6313  return AstVector(Z3_fixedpoint_from_string(self.ctx.ref(), self.fixedpoint, s), self.ctx)
6314 
Z3_ast_vector Z3_API Z3_fixedpoint_from_string(Z3_context c, Z3_fixedpoint f, Z3_string s)
Parse an SMT-LIB2 string with fixedpoint rules. Add the rules to the current fixedpoint context...
def parse_string(self, s)
Definition: z3py.py:6311
def pop (   self)
restore to previously created backtracking point

Definition at line 6264 of file z3py.py.

6264  def pop(self):
6265  """restore to previously created backtracking point"""
6266  Z3_fixedpoint_pop(self.ctx.ref(), self.fixedpoint)
6267 
void Z3_API Z3_fixedpoint_pop(Z3_context c, Z3_fixedpoint d)
Backtrack one backtracking point.
def pop(self)
Definition: z3py.py:6264
def push (   self)
create a backtracking point for added rules, facts and assertions

Definition at line 6260 of file z3py.py.

6260  def push(self):
6261  """create a backtracking point for added rules, facts and assertions"""
6262  Z3_fixedpoint_push(self.ctx.ref(), self.fixedpoint)
6263 
def push(self)
Definition: z3py.py:6260
void Z3_API Z3_fixedpoint_push(Z3_context c, Z3_fixedpoint d)
Create a backtracking point.
def query (   self,
  query 
)
Query the fixedpoint engine whether formula is derivable.
   You can also pass an tuple or list of recursive predicates.

Definition at line 6238 of file z3py.py.

6238  def query(self, *query):
6239  """Query the fixedpoint engine whether formula is derivable.
6240  You can also pass an tuple or list of recursive predicates.
6241  """
6242  query = _get_args(query)
6243  sz = len(query)
6244  if sz >= 1 and isinstance(query[0], FuncDeclRef):
6245  _decls = (FuncDecl * sz)()
6246  i = 0
6247  for q in query:
6248  _decls[i] = q.ast
6249  i = i + 1
6250  r = Z3_fixedpoint_query_relations(self.ctx.ref(), self.fixedpoint, sz, _decls)
6251  else:
6252  if sz == 1:
6253  query = query[0]
6254  else:
6255  query = And(query, self.ctx)
6256  query = self.abstract(query, False)
6257  r = Z3_fixedpoint_query(self.ctx.ref(), self.fixedpoint, query.as_ast())
6258  return CheckSatResult(r)
6259 
def And(args)
Definition: z3py.py:1489
def query(self, query)
Definition: z3py.py:6238
Z3_lbool Z3_API Z3_fixedpoint_query(Z3_context c, Z3_fixedpoint d, Z3_ast query)
Pose a query against the asserted rules.
def abstract(self, fml, is_forall=True)
Definition: z3py.py:6363
Z3_lbool Z3_API Z3_fixedpoint_query_relations(Z3_context c, Z3_fixedpoint d, unsigned num_relations, Z3_func_decl const relations[])
Pose multiple queries against the asserted rules.
def reason_unknown (   self)
Return a string describing why the last `query()` returned `unknown`.

Definition at line 6349 of file z3py.py.

6349  def reason_unknown(self):
6350  """Return a string describing why the last `query()` returned `unknown`.
6351  """
6352  return Z3_fixedpoint_get_reason_unknown(self.ctx.ref(), self.fixedpoint)
6353 
Z3_string Z3_API Z3_fixedpoint_get_reason_unknown(Z3_context c, Z3_fixedpoint d)
Retrieve a string that describes the last status returned by Z3_fixedpoint_query. ...
def reason_unknown(self)
Definition: z3py.py:6349
def register_relation (   self,
  relations 
)
Register relation as recursive

Definition at line 6295 of file z3py.py.

6295  def register_relation(self, *relations):
6296  """Register relation as recursive"""
6297  relations = _get_args(relations)
6298  for f in relations:
6299  Z3_fixedpoint_register_relation(self.ctx.ref(), self.fixedpoint, f.ast)
6300 
def register_relation(self, relations)
Definition: z3py.py:6295
void Z3_API Z3_fixedpoint_register_relation(Z3_context c, Z3_fixedpoint d, Z3_func_decl f)
Register relation as Fixedpoint defined. Fixedpoint defined relations have least-fixedpoint semantics...
def rule (   self,
  head,
  body = None,
  name = None 
)
Assert rules defining recursive predicates to the fixedpoint solver. Alias for add_rule.

Definition at line 6230 of file z3py.py.

6230  def rule(self, head, body = None, name = None):
6231  """Assert rules defining recursive predicates to the fixedpoint solver. Alias for add_rule."""
6232  self.add_rule(head, body, name)
6233 
def rule(self, head, body=None, name=None)
Definition: z3py.py:6230
def add_rule(self, head, body=None, name=None)
Definition: z3py.py:6207
def set (   self,
  args,
  keys 
)
Set a configuration option. The method `help()` return a string containing all available options.        

Definition at line 6167 of file z3py.py.

6167  def set(self, *args, **keys):
6168  """Set a configuration option. The method `help()` return a string containing all available options.
6169  """
6170  p = args2params(args, keys, self.ctx)
6171  Z3_fixedpoint_set_params(self.ctx.ref(), self.fixedpoint, p.params)
6172 
def args2params(arguments, keywords, ctx=None)
Definition: z3py.py:4527
def set(self, args, keys)
Definition: z3py.py:6167
void Z3_API Z3_fixedpoint_set_params(Z3_context c, Z3_fixedpoint f, Z3_params p)
Set parameters on fixedpoint context.
def set_predicate_representation (   self,
  f,
  representations 
)
Control how relation is represented

Definition at line 6301 of file z3py.py.

6301  def set_predicate_representation(self, f, *representations):
6302  """Control how relation is represented"""
6303  representations = _get_args(representations)
6304  representations = [to_symbol(s) for s in representations]
6305  sz = len(representations)
6306  args = (Symbol * sz)()
6307  for i in range(sz):
6308  args[i] = representations[i]
6309  Z3_fixedpoint_set_predicate_representation(self.ctx.ref(), self.fixedpoint, f.ast, sz, args)
6310 
def to_symbol(s, ctx=None)
Definition: z3py.py:94
def set_predicate_representation(self, f, representations)
Definition: z3py.py:6301
void Z3_API Z3_fixedpoint_set_predicate_representation(Z3_context c, Z3_fixedpoint d, Z3_func_decl f, unsigned num_relations, Z3_symbol const relation_kinds[])
Configure the predicate representation.
def sexpr (   self)
Return a formatted string (in Lisp-like format) with all added constraints. We say the string is in s-expression format.        

Definition at line 6331 of file z3py.py.

Referenced by Fixedpoint.__repr__(), and Optimize.__repr__().

6331  def sexpr(self):
6332  """Return a formatted string (in Lisp-like format) with all added constraints. We say the string is in s-expression format.
6333  """
6334  return Z3_fixedpoint_to_string(self.ctx.ref(), self.fixedpoint, 0, (Ast * 0)())
6335 
def sexpr(self)
Definition: z3py.py:6331
Z3_string Z3_API Z3_fixedpoint_to_string(Z3_context c, Z3_fixedpoint f, unsigned num_queries, Z3_ast queries[])
Print the current rules and background axioms as a string.
def statistics (   self)
Return statistics for the last `query()`.

Definition at line 6344 of file z3py.py.

6344  def statistics(self):
6345  """Return statistics for the last `query()`.
6346  """
6347  return Statistics(Z3_fixedpoint_get_statistics(self.ctx.ref(), self.fixedpoint), self.ctx)
6348 
Z3_stats Z3_API Z3_fixedpoint_get_statistics(Z3_context c, Z3_fixedpoint d)
Retrieve statistics information from the last call to Z3_fixedpoint_query.
Statistics.
Definition: z3py.py:5604
def statistics(self)
Definition: z3py.py:6344
def to_string (   self,
  queries 
)
Return a formatted string (in Lisp-like format) with all added constraints.
   We say the string is in s-expression format.
   Include also queries.

Definition at line 6336 of file z3py.py.

6336  def to_string(self, queries):
6337  """Return a formatted string (in Lisp-like format) with all added constraints.
6338  We say the string is in s-expression format.
6339  Include also queries.
6340  """
6341  args, len = _to_ast_array(queries)
6342  return Z3_fixedpoint_to_string(self.ctx.ref(), self.fixedpoint, len, args)
6343 
def to_string(self, queries)
Definition: z3py.py:6336
Z3_string Z3_API Z3_fixedpoint_to_string(Z3_context c, Z3_fixedpoint f, unsigned num_queries, Z3_ast queries[])
Print the current rules and background axioms as a string.
def update_rule (   self,
  head,
  body,
  name 
)
update rule

Definition at line 6268 of file z3py.py.

6268  def update_rule(self, head, body, name):
6269  """update rule"""
6270  if name == None:
6271  name = ""
6272  name = to_symbol(name, self.ctx)
6273  body = _get_args(body)
6274  f = self.abstract(Implies(And(body, self.ctx),head))
6275  Z3_fixedpoint_update_rule(self.ctx.ref(), self.fixedpoint, f.as_ast(), name)
6276 
def update_rule(self, head, body, name)
Definition: z3py.py:6268
def to_symbol(s, ctx=None)
Definition: z3py.py:94
def And(args)
Definition: z3py.py:1489
def Implies(a, b, ctx=None)
Definition: z3py.py:1434
void Z3_API Z3_fixedpoint_update_rule(Z3_context c, Z3_fixedpoint d, Z3_ast a, Z3_symbol name)
Update a named rule. A rule with the same name must have been previously created. ...
def abstract(self, fml, is_forall=True)
Definition: z3py.py:6363

Field Documentation

ctx
fixedpoint
vars

Definition at line 6161 of file z3py.py.

Referenced by Fixedpoint.abstract(), and Fixedpoint.declare_var().