Various utilities (in particular, OrderedSet)

class idp_engine.utils.Semantics(value)[source]

Semantics for inductive definitions

idp_engine.utils.DEF_SEMANTICS = <Semantics.WELLFOUNDED: 3>

String constants

idp_engine.utils.DEFAULT = 'default'

Module that monkey-patches json module when it’s imported so JSONEncoder.default() automatically checks for a special “to_json()” method and uses it to encode the object if found.

exception idp_engine.utils.IDPZ3Error[source]

raised whenever an error occurs in the conversion from AST to Z3

class idp_engine.utils.OrderedSet(els=[])[source]

a list of expressions without duplicates (first-in is selected)

pop(k[, d])v, remove specified key and return the corresponding value.[source]

If key is not found, d is returned if given, otherwise KeyError is raised