Packages

abstract class Expr extends AnyRef

Source
typedLambdaCalculus.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Expr
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Expr()

Abstract Value Members

  1. abstract def alphaEquivalentHashCode: Int
  2. abstract def syntaxEquals(e: Expr): Boolean

    Syntactic equality (takes names of variables in binders into account).

  3. abstract def ty: Ty

    Type of this expression (e.g.

    Type of this expression (e.g. i>i>o).

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def !==(that: Expr): Formula
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def &(that: Expr): Formula
  5. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Expr toany2stringadd[Expr] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  6. def -->(that: Expr): Formula
  7. def ->[B](y: B): (Expr, B)
    Implicit
    This member is added by an implicit conversion from Expr toArrowAssoc[Expr] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. def <->(that: Expr): Formula
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def ===(that: Expr): Atom
  11. def ^(n: Int)(that: Expr): Expr
  12. def alphaEquals(that: Expr): Boolean

    Alpha-equality.

    Alpha-equality.

    that

    Lambda expression to compare against.

    returns

    whether this lambda expression is equal to that lambda expression modulo alpha-conversion.

  13. def apply(that: Iterable[Expr]): Expr
  14. def apply(that: Expr*): Expr
  15. def apply(pos: HOLPosition): Expr

    Retrieves this expression's subexpression at a given position.

    Retrieves this expression's subexpression at a given position.

    pos

    The position to be retrieved.

    returns

    The subexpression at pos.

  16. def apply(p: LambdaPosition): Expr
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  19. def contains(exp: Expr): Boolean

    Tests whether an expression is a subexpression.

    Tests whether an expression is a subexpression.

    exp

    The subexpression to be found.

    returns

    A boolean that is true if exp is a subexpression

  20. def ensuring(cond: (Expr) => Boolean, msg: => Any): Expr
    Implicit
    This member is added by an implicit conversion from Expr toEnsuring[Expr] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (Expr) => Boolean): Expr
    Implicit
    This member is added by an implicit conversion from Expr toEnsuring[Expr] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: => Any): Expr
    Implicit
    This member is added by an implicit conversion from Expr toEnsuring[Expr] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): Expr
    Implicit
    This member is added by an implicit conversion from Expr toEnsuring[Expr] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(a: Any): Boolean
    Definition Classes
    Expr → AnyRef → Any
  26. def find(exp: Expr): List[HOLPosition]

    Finds all HOL positions of a subexpression in this expression.

    Finds all HOL positions of a subexpression in this expression.

    exp

    The subexpression to be found.

    returns

    A list containing all positions where exp occurs.

  27. def get(pos: HOLPosition): Option[Expr]

    Retrieves this expression's subexpression at a given position, if there is one.

    Retrieves this expression's subexpression at a given position, if there is one.

    pos

    The position to be retrieved.

    returns

    If there is a subexpression at that position, return Some(that expression). Otherwise None.

  28. def get(p: LambdaPosition): Option[Expr]

    Returns the subexpression at the given position, if it exists.

  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  31. def isDefinedAt(pos: HOLPosition): Boolean

    Tests whether this expression has a subexpression at a given position.

    Tests whether this expression has a subexpression at a given position.

    pos

    The position to be tested.

    returns

    Whether this(pos) is defined.

  32. def isDefinedAt(p: LambdaPosition): Boolean

    Tests whether this Expression has a subexpression at the given position.

  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  37. def replace(pos: HOLPosition, replacement: Expr): Expr
  38. def replace(pos: LambdaPosition, replacement: Expr): Expr
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toAsciiString: String

    Converts this expression into a 7-bit safe ASCII string.

    Converts this expression into a 7-bit safe ASCII string.

    The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.

  41. def toRawAsciiString: String
  42. def toRawString: String
  43. def toSigRelativeString(implicit sig: BabelSignature): String

    Converts this expression into a string, taking the signature into account.

    Converts this expression into a string, taking the signature into account.

    This produces a similar output as toString, but will use the variable convention indicated by the signature. That is, if sig defines x to be a constant, then we output just x instead of the default #c(x: i).

  44. def toString(): String

    Converts this expression into a string.

    Converts this expression into a string.

    The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.

    Definition Classes
    Expr → AnyRef → Any
  45. def toUntypedAsciiString(implicit sig: BabelSignature): String
  46. def toUntypedString(implicit sig: BabelSignature): String
  47. def unary_-: Formula
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. def |(that: Expr): Formula

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Expr toStringFormat[Expr] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (Expr, B)
    Implicit
    This member is added by an implicit conversion from Expr toArrowAssoc[Expr] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromExpr to any2stringadd[Expr]

Inherited by implicit conversion StringFormat fromExpr to StringFormat[Expr]

Inherited by implicit conversion Ensuring fromExpr to Ensuring[Expr]

Inherited by implicit conversion ArrowAssoc fromExpr to ArrowAssoc[Expr]

Ungrouped