gapt.expr.util
Members list
Type members
Classlikes
Attributes
- Source
- ConditionalNormalizer.scala
- Supertypes
A conditional rewrite rule.
A conditional rewrite rule.
An instance of this rule can be used to rewrite the left hand side into its right hand side only if the conditions all rewrite to ⊤.
The free variables of the conditions together with those of the right hand side must form a subset of the free variables of the left hand side. The left hand side must not be a variable.
Value parameters
- conditions
-
The conditions of this rewrite rule.
- lhs
-
The left hand side of this rewrite rule.
- rhs
-
The right hand side of this rewrite rule.
Attributes
- Companion
- object
- Source
- ConditionalReductionRule.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ConditionalReductionRule.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- class
- Source
- ExpressionParseHelper.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Extension class that provides string interpolation functions for various expression types.
Extension class that provides string interpolation functions for various expression types.
Value parameters
- sc
-
A StringContext
Attributes
- Companion
- object
- Source
- ExpressionParseHelper.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- LambdaPosition.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LambdaPosition.type
Represents a position in a gapt.expr.Expr.
Represents a position in a gapt.expr.Expr.
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.
Value parameters
- list
-
The list of integers describing the position.
Attributes
- Companion
- object
- Source
- LambdaPosition.scala
- Supertypes
Returns the set of all bound variables occurring in the given argument.
Returns the set of all bound variables occurring in the given argument.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
boundVariables.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
constants.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
expressionDepth.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
expressionSize.type
Returns the set of free variables in the given argument.
Returns the set of free variables in the given argument.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
freeVariables.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isConstructorForm.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isGround.type
A lambda term is in variable-normal form (VNF) if different binders bind different variables, and bound variables are disjoint from the free ones.
A lambda term is in variable-normal form (VNF) if different binders bind different variables, and bound variables are disjoint from the free ones.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isInVNF.type
If t = λx₁...λxₘ(y u₁ ... uₚ) is a normal term of type T₁ → ... → Tₙ → U, with U atomic and m ≤ n, then its long normal form is the term
If t = λx₁...λxₘ(y u₁ ... uₚ) is a normal term of type T₁ → ... → Tₙ → U, with U atomic and m ≤ n, then its long normal form is the term
λx₁...λxₘλxₘ₊₁...λxₙ(y u₁'... uₚ' xₘ₊₁' ... xₙ'),
where uᵢ' is the long normal form of uᵢ and xⱼ' is the long normal form of xⱼ.
Implemented according to Definition 2.25, Higher-Order Unification and Matching by Gilles Dowek.
Attributes
- Source
- longNormalForm.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
longNormalForm.type
get a new variable/constant (similar to the current and) different from all variables/constants in the blackList, returns this variable if this variable is not in the blackList.
get a new variable/constant (similar to the current and) different from all variables/constants in the blackList, returns this variable if this variable is not in the blackList.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
rename.type
Creates capture avoiding replacement contexts.
Creates capture avoiding replacement contexts.
Attributes
- Source
- replacementContext.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
replacementContext.type
Returns the set of all subterms of the given lambda term.
Returns the set of all subterms of the given lambda term.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
subTerms.type
Attributes
- Source
- syntacticMGU.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
syntacticMGU.type
Attributes
- Source
- syntacticMatching.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
syntacticMatching.type
Transforms an expression into an alpha-equivalent expression in variable-normal form, where no two binders bind the same variable, and the bound variables are disjoint from the free ones.
Transforms an expression into an alpha-equivalent expression in variable-normal form, where no two binders bind the same variable, and the bound variables are disjoint from the free ones.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
toVNF.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
typeVariables.type
Returns the set of all variables occurring in the given argument (including bound variables).
Returns the set of all variables occurring in the given argument (including bound variables).
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
variables.type