Packages

trait Formula extends Expr

Source
Formula.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Formula
  2. Expr
  3. AnyRef
  4. 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

Abstract Value Members

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

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

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

    Definition Classes
    Expr
  3. abstract def ty: Ty

    Type of this expression (e.g.

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

    Definition Classes
    Expr

Concrete Value Members

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

    Definition Classes
    Expr
  13. def apply(that: Iterable[Expr]): Expr
    Definition Classes
    Expr
  14. def apply(that: Expr*): Expr
    Definition Classes
    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.

    Definition Classes
    Expr
  16. def apply(p: LambdaPosition): Expr
    Definition Classes
    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

    Definition Classes
    Expr
  20. def ensuring(cond: (Formula) => Boolean, msg: => Any): Formula
    Implicit
    This member is added by an implicit conversion from Formula toEnsuring[Formula] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (Formula) => Boolean): Formula
    Implicit
    This member is added by an implicit conversion from Formula toEnsuring[Formula] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: => Any): Formula
    Implicit
    This member is added by an implicit conversion from Formula toEnsuring[Formula] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): Formula
    Implicit
    This member is added by an implicit conversion from Formula toEnsuring[Formula] 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.

    Definition Classes
    Expr
  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.

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

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

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

    Definition Classes
    Expr
  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.

    Definition Classes
    Expr
  32. def isDefinedAt(p: LambdaPosition): Boolean

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

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

    Definition Classes
    Expr
  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, exp: Expr): Formula
    Definition Classes
    FormulaExpr
  38. def replace(pos: LambdaPosition, replacement: Expr): Expr
    Definition Classes
    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.

    Definition Classes
    Expr
  41. def toRawAsciiString: String
    Definition Classes
    Expr
  42. def toRawString: String
    Definition Classes
    Expr
  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).

    Definition Classes
    Expr
  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
    Definition Classes
    Expr
  46. def toUntypedString(implicit sig: BabelSignature): String
    Definition Classes
    Expr
  47. def unary_-: Formula
    Definition Classes
    Expr
  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
    Definition Classes
    Expr

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 Formula toStringFormat[Formula] 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): (Formula, B)
    Implicit
    This member is added by an implicit conversion from Formula toArrowAssoc[Formula] 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 Expr

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromFormula to any2stringadd[Formula]

Inherited by implicit conversion StringFormat fromFormula to StringFormat[Formula]

Inherited by implicit conversion Ensuring fromFormula to Ensuring[Formula]

Inherited by implicit conversion ArrowAssoc fromFormula to ArrowAssoc[Formula]

Ungrouped