changeTypeIn

gapt.expr.formula.fol.changeTypeIn
object changeTypeIn

Introducing abstractions and converting to fol changes more complex types to fol compatible ones. With changeTypeIn you can change them back.

Attributes

Source
hol2fol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type TypeMap = Map[String, Ty]

Attributes

Source
hol2fol.scala

Value members

Concrete methods

def apply(expression: Expr, typeMap: TypeMap): Expr

Maps types of constants and variables to the given types.

Maps types of constants and variables to the given types.

Value parameters

expression

The expression in which the types are to be replaced.

typeMap

Specifies the names of constants and variables whose type is to be replaced by the associated type.

Attributes

Returns

An expression obtained from expression by replacing the types of leaf-occurrences of variables and constants by the given types. The types of inner constants and variables are changed according to the new types of their arguments.

Source
hol2fol.scala
def apply(e: Formula, tmap: TypeMap): Formula

Attributes

See also

changeTypeIn.apply( Expr, TypeMap ).

Source
hol2fol.scala
def apply(fs: HOLSequent, tmap: TypeMap): HOLSequent

Attributes

Source
hol2fol.scala