Object/Class

at.logic.gapt.expr.hol

HOLPosition

Related Docs: class HOLPosition | package hol

Permalink

object HOLPosition

Source
HOLPosition.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HOLPosition
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(is: Int*): HOLPosition

    Permalink
  5. def apply(list: List[Int]): HOLPosition

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def definesHOLPosition(exp: LambdaExpression)(pos: LambdaPosition): Boolean

    Permalink

    Tests whether a LambdaPosition denotes a HOLPosition for the given expression.

  9. def differingPositions(exp1: LambdaExpression, exp2: LambdaExpression): List[HOLPosition]

    Permalink

    Compares to LambdaExpressions and returns the list of outermost positions where they differ.

    Compares to LambdaExpressions and returns the list of outermost positions where they differ.

    exp1

    The first expression.

    exp2

    The second expression.

    returns

    The list of outermost positions at which exp1 and exp2 differ.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getPositions(exp: LambdaExpression, pred: (LambdaExpression) ⇒ Boolean = _ => true): List[HOLPosition]

    Permalink

    Returns a list of positions of subexpressions that satisfy some predicate.

    Returns a list of positions of subexpressions that satisfy some predicate.

    This function is a wrapper around at.logic.gapt.expr.LambdaPosition.getPositions.

    exp

    The expression under consideration.

    pred

    The predicate to be evaluated. Defaults to "always true", i.e. if called without this argument, the function will return all positions.

    returns

    Positions of subexpressions satisfying pred.

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def replace(exp: LambdaExpression, positions: Seq[HOLPosition], repTerm: LambdaExpression): LambdaExpression

    Permalink
  21. def replace(exp: LambdaExpression, pos: HOLPosition, repTerm: LambdaExpression): LambdaExpression

    Permalink

    Replaces a a subexpression in a LambdaExpression.

    Replaces a a subexpression in a LambdaExpression. This function is actually a wrapper around at.logic.gapt.expr.LambdaPosition.replace.

    exp

    The expression in which to perform the replacement.

    pos

    The position at which to replace.

    repTerm

    The expression that exp(pos) should be replaced with.

  22. def replace(f: HOLFormula, pos: HOLPosition, repTerm: LambdaExpression): HOLFormula

    Permalink

    Replaces a a subexpression in a HOLFormula.

    Replaces a a subexpression in a HOLFormula. This function is actually a wrapper around at.logic.gapt.expr.LambdaPosition.replace.

    f

    The formula in which to perform the replacement.

    pos

    The position at which to replace.

    repTerm

    The expression that f(pos) should be replaced with.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toHOLPosition(exp: LambdaExpression)(pos: LambdaPosition): HOLPosition

    Permalink

    Converts a LambdaPosition into the corresponding HOLPosition.

    Converts a LambdaPosition into the corresponding HOLPosition.

    Note that position conversion is always relative to a given expression.

    exp

    The relevant LambdaExpression.

    pos

    The position to be converted.

    returns

    The corresponding HOLPosition.

  25. def toLambdaPosition(exp: LambdaExpression)(pos: HOLPosition): LambdaPosition

    Permalink

    Converts a HOLPosition into the corresponding LambdaPosition.

    Converts a HOLPosition into the corresponding LambdaPosition.

    Note that position conversion is always relative to a given expression.

    exp

    The relevant LambdaExpression.

    pos

    The position to be converted.

    returns

    The corresponding LambdaPosition.

  26. def toLambdaPositionOption(exp: LambdaExpression)(pos: HOLPosition): Option[LambdaPosition]

    Permalink

    Converts a HOLPosition into the corresponding LambdaPosition, if one exists.

    Converts a HOLPosition into the corresponding LambdaPosition, if one exists.

    Note that position conversion is always relative to a given expression.

    exp

    The relevant LambdaExpression.

    pos

    The position to be converted.

    returns

    The corresponding LambdaPosition.

  27. def toList(pos: HOLPosition): List[Int]

    Permalink
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped