class
HOLPosition extends AnyRef
Instance Constructors
-
new
HOLPosition(list: List[Int])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
head: Int
-
-
-
final
def
isInstanceOf[T0]: Boolean
-
-
val
list: List[Int]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
def
toList: List[Int]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Represents a position in a at.logic.gapt.expr.LambdaExpression.
Positions are represented by lists of Integers. The empty list denotes the expression itself. A nonempty list denotes a position in the left or right subexpression according to whether it starts with 1 or 2.
The difference between this and at.logic.gapt.expr.LambdaPosition lies in the handling of quantifiers and binary logical connectives. LambdaPositions treat e.g. conjunctions like any other function, while HOLPositions treat them naturally, i.e. 1 denotes the left conjunct and 2 the right conjunct.
Note that this can cause unexpeted behavior: Say a variable of type o -> o -> o is substituted by ∧ in some expression. The LambdaPositions will stay the same, but the HOLPositions won't.