Agda-2.2.6: A dependently typed functional programming language and proof assistant

Agda.TypeChecking.Substitute

Synopsis

Documentation

class Apply t whereSource

Apply something to a bunch of arguments. Preserves blocking tags (application can never resolve blocking).

Methods

apply :: t -> Args -> tSource

piApply :: Type -> Args -> TypeSource

The type must contain the right number of pis without have to perform any reduction.

abstractArgs :: Abstract a => Args -> a -> aSource

class Subst t whereSource

Substitute a term for the nth free variable.

Methods

substs :: [Term] -> t -> tSource

substUnder :: Nat -> Term -> t -> tSource

subst :: Subst t => Term -> t -> tSource

absApp :: Subst t => Abs t -> Term -> tSource

Instantiate an abstraction

class Raise t whereSource

Add k to index of each open variable in x.

Methods

raiseFrom :: Nat -> Nat -> t -> tSource

Instances

raise :: Raise t => Nat -> t -> tSource

data TelView Source

Constructors

TelV Telescope Type 

telePi_ :: Telescope -> Type -> TypeSource

Everything will be a pi.