FOLPosition

gapt.expr.formula.fol.FOLPosition
See theFOLPosition companion class
object FOLPosition

Attributes

Companion
class
Source
FOLPosition.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(is: Int*): FOLPosition

Attributes

Source
FOLPosition.scala

Compares two FOLExpressions and returns the list of outermost positions where they differ.

Compares two FOLExpressions and returns the list of outermost positions where they differ.

Value parameters

exp1

The first expression.

exp2

The second expression.

Attributes

Returns

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

Source
FOLPosition.scala

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 gapt.expr.formula.hol.HOLPosition.getPositions.

Value parameters

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.

Attributes

Returns

Positions of subexpressions satisfying pred.

Source
FOLPosition.scala

Replaces a a subexpression in a FOLFormula. This function is actually a wrapper around gapt.expr.util.LambdaPosition.replace.

Replaces a a subexpression in a FOLFormula. This function is actually a wrapper around gapt.expr.util.LambdaPosition.replace.

Value parameters

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.

Attributes

Source
FOLPosition.scala

Replaces a a subexpression in a FOLExpression. This function is actually a wrapper around gapt.expr.util.LambdaPosition.replace.

Replaces a a subexpression in a FOLExpression. This function is actually a wrapper around gapt.expr.util.LambdaPosition.replace.

Value parameters

f

The expression in which to perform the replacement.

pos

The position at which to replace.

repTerm

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

Attributes

Source
FOLPosition.scala
def toList(pos: FOLPosition): List[Int]

Attributes

Source
FOLPosition.scala