Class Lambda

    • Method Detail

      • getNumBound

        public int getNumBound()
        The number of bound variables.
      • getBoundVariableNames

        public Symbol[] getBoundVariableNames()
        The symbols for the bound variables.
        Throws:
        Z3Exception
      • getBoundVariableSorts

        public Sort[] getBoundVariableSorts()
        The sorts of the bound variables.
        Throws:
        Z3Exception
      • getBody

        public Expr getBody()
        The body of the quantifier.
        Throws:
        Z3Exception
      • translate

        public Lambda translate​(Context ctx)
        Translates (copies) the quantifier to the Context ctx.
        Overrides:
        translate in class Expr
        Parameters:
        ctx - A context
        Returns:
        A copy of the quantifier which is associated with ctx
        Throws:
        Z3Exception - on error
      • of

        public static Lambda of​(Context ctx,
                                Expr[] bound,
                                Expr body)
        Parameters:
        ctx - Context to create the lambda on.
        bound - Bound variables.
        body - Body of the lambda expression.