abstract class Expr extends AnyRef
- Alphabetic
- By Inheritance
- Expr
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Expr()
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def !==(that: Expr): Formula
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def &(that: Expr): Formula
- def +(other: String): String
- def -->(that: Expr): Formula
- def ->[B](y: B): (Expr, B)
- def <->(that: Expr): Formula
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===(that: Expr): Atom
- def ^(n: Int)(that: Expr): Expr
-
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.
- def apply(that: Iterable[Expr]): Expr
- def apply(that: Expr*): Expr
-
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.
- def apply(p: LambdaPosition): Expr
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
- def ensuring(cond: (Expr) ⇒ Boolean, msg: ⇒ Any): Expr
- def ensuring(cond: (Expr) ⇒ Boolean): Expr
- def ensuring(cond: Boolean, msg: ⇒ Any): Expr
- def ensuring(cond: Boolean): Expr
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(a: Any): Boolean
- Definition Classes
- Expr → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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.
- def formatted(fmtstr: String): String
-
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.
-
def
get(p: LambdaPosition): Option[Expr]
Returns the subexpression at the given position, if it exists.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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.
-
def
isDefinedAt(p: LambdaPosition): Boolean
Tests whether this Expression has a subexpression at the given position.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def replace(pos: HOLPosition, replacement: Expr): Expr
- def replace(pos: LambdaPosition, replacement: Expr): Expr
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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.
-
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).
-
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
- def toUntypedAsciiString(implicit sig: BabelSignature): String
- def toUntypedString(implicit sig: BabelSignature): String
- def unary_-: Formula
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def |(that: Expr): Formula
- def →[B](y: B): (Expr, B)