Class LambdaTerm

java.lang.Object
de.uni_freiburg.informatik.ultimate.logic.Term
de.uni_freiburg.informatik.ultimate.logic.LambdaTerm

public class LambdaTerm
extends Term
Represents a lambda term SMTLIB 3. This class represents the SMTLIB 3 construct
 (lambda ((var_1 sort_1) ... (var_n sort_n)) term)
 
Author:
hoenicke
  • Field Summary

    Fields inherited from class de.uni_freiburg.informatik.ultimate.logic.Term

    mTmpCtr
  • Method Summary

    Modifier and Type Method Description
    Sort getSort()
    Returns the SMTLIB sort of this term.
    Term getSubterm()
    Get the formula under the quantifier.
    TermVariable[] getVariables()
    Get the quantified variables.
    static int hashLambda​(TermVariable[] vars, Term f)  
    void toStringHelper​(java.util.ArrayDeque<java.lang.Object> mTodo)
    Convert a term to a string in a stack based fashion.

    Methods inherited from class de.uni_freiburg.informatik.ultimate.logic.Term

    getFreeVars, getTheory, hashCode, toString, toStringDirect

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getVariables

      public TermVariable[] getVariables()
      Get the quantified variables.
      Returns:
      the variables
    • getSubterm

      public Term getSubterm()
      Get the formula under the quantifier.
      Returns:
      the sub-formula.
    • getSort

      public Sort getSort()
      Description copied from class: Term
      Returns the SMTLIB sort of this term.
      Specified by:
      getSort in class Term
      Returns:
      the sort of the term.
    • hashLambda

      public static final int hashLambda​(TermVariable[] vars, Term f)
    • toStringHelper

      public void toStringHelper​(java.util.ArrayDeque<java.lang.Object> mTodo)
      Description copied from class: Term
      Convert a term to a string in a stack based fashion. This is used for internal purposes. External users can just use toString() or toStringDirect().
      Specified by:
      toStringHelper in class Term
      Parameters:
      mTodo - The stack where to put the strings and sub terms.
      See Also:
      PrintTerm