z3.scala

ProceduralAttachment

class ProceduralAttachment [T] extends Z3Theory

Linear Supertypes
Z3Theory, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ProceduralAttachment
  2. Z3Theory
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProceduralAttachment (context: Z3Context)

Type Members

  1. type Fun1 = (T) ⇒ T

  2. type Fun2 = (T, T) ⇒ T

  3. type Fun3 = (T, T, T) ⇒ T

  4. type Pred1 = (T) ⇒ Boolean

  5. type Pred2 = (T, T) ⇒ Boolean

  6. type Pred3 = (T, T, T) ⇒ Boolean

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def assertAxiom (axiom: Z3AST): Unit

    Adds an axiom to the logical context.

    Adds an axiom to the logical context. The axiom should always be a tautology with respect to the theory. The axiom is guaranteed to be maintained in all (backtracking) levels beyond the one where it is asserted. Note that in the current version, calling assertAxiom from within the following callbacks does not work: newElem, newApp, push, pop. It is strongly advised to call it from within the following callbacks only: newEq, newDiseq, newAssignment, finalCheck. It is unclear whether this is a bug with Z3 or a feature.

    Attributes
    final
    Definition Classes
    Z3Theory
  8. def assumeEq (lhs: Z3AST, rhs: Z3AST): Unit

    Indicates to Z3 that in the model being built by the theory, two elements are equal.

    Indicates to Z3 that in the model being built by the theory, two elements are equal.

    Attributes
    final
    Definition Classes
    Z3Theory
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def constant (value: T): Z3AST

  11. def delete : Unit

    Method that Z3 will call (if activated) to delete the theory.

    Method that Z3 will call (if activated) to delete the theory. After that call, no more callbacks will be made by Z3.

    Definition Classes
    Z3Theory
  12. implicit def elemToAST (value: T): Z3AST

    Attributes
    implicit
  13. implicit def elemToLazyElem (value: T): () ⇒ T

    Attributes
    implicit
  14. def enableAxiomSimplification (flag: Boolean): Unit

    Attributes
    final
    Definition Classes
    Z3Theory
  15. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalCheck : Boolean

    Method that Z3 will call (if activated) just before Z3 starts building a model.

    Method that Z3 will call (if activated) just before Z3 starts building a model.

    Definition Classes
    ProceduralAttachmentZ3Theory
  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def function (fun: Fun3): Z3FuncDecl

  20. def function (fun: Fun2): Z3FuncDecl

  21. def function (fun: Fun1): Z3FuncDecl

  22. def getApp (i: Int): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  23. def getApps : Iterator[Z3AST]

    Returns an iterator over all theory function applications in the context.

    Returns an iterator over all theory function applications in the context.

    Attributes
    final
    Definition Classes
    Z3Theory
  24. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  25. def getContext : Z3Context

    Attributes
    final
    Definition Classes
    Z3Theory
  26. def getElem (i: Int): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  27. def getElems : Iterator[Z3AST]

    Returns an iterator over all theory elements in the context.

    Returns an iterator over all theory elements in the context.

    Attributes
    final
    Definition Classes
    Z3Theory
  28. def getEqClassMembers (ast: Z3AST): Iterator[Z3AST]

    Returns an iterator over all elements of the equivalence class of a term.

    Returns an iterator over all elements of the equivalence class of a term.

    Attributes
    final
    Definition Classes
    Z3Theory
  29. def getEqClassNext (ast: Z3AST): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  30. def getEqClassRoot (ast: Z3AST): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  31. def getNumApps : Int

    Attributes
    final
    Definition Classes
    Z3Theory
  32. def getNumElems : Int

    Attributes
    final
    Definition Classes
    Z3Theory
  33. def getNumParents (ast: Z3AST): Int

    Attributes
    final
    Definition Classes
    Z3Theory
  34. def getParent (ast: Z3AST, i: Int): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  35. def getParents (ast: Z3AST): Iterator[Z3AST]

    Returns an iterator over all terms that have a given term as a subtree.

    Returns an iterator over all terms that have a given term as a subtree.

    Attributes
    final
    Definition Classes
    Z3Theory
  36. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  37. def initSearch : Unit

    Method that Z3 will call (if activated) when it starts the search.

    Method that Z3 will call (if activated) when it starts the search.

    Definition Classes
    Z3Theory
  38. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  39. def isTheoryDecl (f: Z3FuncDecl): Boolean

    Attributes
    final
    Definition Classes
    Z3Theory
  40. def isTheoryValue (v: Z3AST): Boolean

    Attributes
    final
    Definition Classes
    Z3Theory
  41. def mkTheoryConstant (symbol: Z3Symbol, sort: Z3Sort): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  42. def mkTheoryFuncDecl (symbol: Z3Symbol, domainSorts: Seq[Z3Sort], rangeSort: Z3Sort): Z3FuncDecl

    Attributes
    final
    Definition Classes
    Z3Theory
  43. def mkTheorySort (symbol: Z3Symbol): Z3Sort

    Attributes
    final
    Definition Classes
    Z3Theory
  44. def mkTheoryValue (symbol: Z3Symbol, sort: Z3Sort): Z3AST

    Attributes
    final
    Definition Classes
    Z3Theory
  45. val name : String

    Definition Classes
    Z3Theory
  46. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  47. def newApp (app: Z3AST): Unit

    Method that Z3 will call (if activated) when an application of a theory function enters the context.

    Method that Z3 will call (if activated) when an application of a theory function enters the context.

    Definition Classes
    Z3Theory
  48. def newAssignment (pred: Z3AST, polarity: Boolean): Unit

    Method that Z3 will call (if activated) when a theory predicate is assigned to a truth value in the logical context.

    Method that Z3 will call (if activated) when a theory predicate is assigned to a truth value in the logical context.

    pred

    the predicate

    polarity

    its truth value in the context

    Definition Classes
    ProceduralAttachmentZ3Theory
  49. def newDiseq (term1: Z3AST, term2: Z3AST): Unit

    Method that Z3 will call (if activated) when a disequality is concluded in the logical context.

    Method that Z3 will call (if activated) when a disequality is concluded in the logical context.

    Definition Classes
    Z3Theory
  50. def newElem (elem: Z3AST): Unit

    Method that Z3 will call (if activated) when an element of a theory sort enters the context.

    Method that Z3 will call (if activated) when an element of a theory sort enters the context.

    Definition Classes
    Z3Theory
  51. def newEq (t1: Z3AST, t2: Z3AST): Unit

    Method that Z3 will call (if activated) when an equality is concluded in the logical context.

    Method that Z3 will call (if activated) when an equality is concluded in the logical context.

    Definition Classes
    ProceduralAttachmentZ3Theory
  52. def newRelevant (ast: Z3AST): Unit

    Definition Classes
    Z3Theory
  53. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  54. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  55. def pop : Unit

    Method that Z3 will call (if activated) when it backtracks a case-split.

    Method that Z3 will call (if activated) when it backtracks a case-split.

    Definition Classes
    Z3Theory
  56. def predicate (pred: Pred3): Z3FuncDecl

  57. def predicate (pred: Pred2): Z3FuncDecl

  58. def predicate (pred: Pred1): Z3FuncDecl

  59. val ptr : Long

    Definition Classes
    Z3Theory
  60. def push : Unit

    Method that Z3 will call (if activated) when it creates a case-split (backtracking point).

    Method that Z3 will call (if activated) when it creates a case-split (backtracking point).

    Definition Classes
    Z3Theory
  61. def reduceApp (fd: Z3FuncDecl, args: Z3AST*): Option[Z3AST]

    Method that Z3 will call (if activated) to simplify an application of a theory function.

    Method that Z3 will call (if activated) to simplify an application of a theory function.

    Definition Classes
    ProceduralAttachmentZ3Theory
  62. def reduceDistinct (terms: Z3AST*): Option[Z3AST]

    Method that Z3 will call (if activated) to simplify a (n-ary) disequality tree, when the operands are of a theory sort.

    Method that Z3 will call (if activated) to simplify a (n-ary) disequality tree, when the operands are of a theory sort.

    Definition Classes
    Z3Theory
  63. def reduceEq (term1: Z3AST, term2: Z3AST): Option[Z3AST]

    Method that Z3 will call (if activated) to simplify an equality tree, when the operands are of a theory sort.

    Method that Z3 will call (if activated) to simplify an equality tree, when the operands are of a theory sort.

    term1

    the left operand of the equality

    term2

    the right operand of the equality

    Definition Classes
    Z3Theory
  64. def reset : Unit

    Method that Z3 will call (if activated) when the context is reset by the user.

    Method that Z3 will call (if activated) when the context is reset by the user.

    Definition Classes
    Z3Theory
  65. def restart : Unit

    Method that Z3 will call (if activated) when it restarts the search.

    Method that Z3 will call (if activated) when it restarts the search.

    Definition Classes
    Z3Theory
  66. def setCallbacks (delete: Boolean = false, reduceEq: Boolean = false, reduceApp: Boolean = false, reduceDistinct: Boolean = false, newApp: Boolean = false, newElem: Boolean = false, initSearch: Boolean = false, push: Boolean = false, pop: Boolean = false, restart: Boolean = false, reset: Boolean = false, finalCheck: Boolean = false, newEq: Boolean = false, newDiseq: Boolean = false, newAssignment: Boolean = false, newRelevant: Boolean = false): Unit

    Use this function at construction time to set which callbacks should be used.

    Use this function at construction time to set which callbacks should be used.

    Attributes
    final
    Definition Classes
    Z3Theory
  67. def showCallbacks (show: Boolean): Unit

    Displays all callbacks, with their arguments.

    Displays all callbacks, with their arguments. Off by default.

    show

    whether callbacks should be printed out

    Attributes
    final
    Definition Classes
    Z3Theory
  68. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  69. def toString (): String

    Definition Classes
    AnyRef → Any
  70. def variable : Z3AST

  71. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  72. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  73. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Z3Theory

Inherited from AnyRef

Inherited from Any