ModuleAgda-2.7.0.1Haskell2010
Agda.TypeChecking.Rules.LHS.Unify.Types
- 9 types
- 22 values
- PackageAgda-2.7.0.1
- Exports31
- LanguageHaskell2010
- LicenceMIT
- SourceTypes.hs
Instances3Show, PrettyTCM, Reduce
Show UnifyStateDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.TypesPrettyTCM UnifyStateDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.TypesReduce UnifyStateDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.TypesDon't ever reduce the whole varTel, as it will destroy readability of the context in interactive editing! To make sure this insight is not lost, the following dummy instance should prevent a proper Reduce instance for UnifyState.
Get the type of the i'th variable in the given state
Get the k'th equality in the given state. The left- and right-hand sides of the equality live in the varTel telescope, and the type of the equality lives in the varTel++eqTel telescope
As getEquality, but with the unraised type
solveVar :: IntIndex
k-> DeBruijnPatternSolution
u-> UnifyState-> Maybe (UnifyState, PatternSubstitution)
Instantiate the k'th variable with the given value. Returns Nothing if there is a cycle.
Solve the k'th equation with the given value, which can depend on regular variables but not on other equation variables.
Constructors
DeletiondeleteAt :: IntdeleteType :: TypedeleteLeft :: TermdeleteRight :: Term
SolutionsolutionAt :: IntsolutionType :: Dom TypesolutionVar :: FlexibleVar IntsolutionTerm :: TermsolutionSide :: Either () ()side of the equation where the variable is.
InjectivityConflictCyclecycleAt :: IntcycleType :: TypecycleDatatype :: QNamecycleParameters :: ArgscycleVar :: IntcycleOccursIn :: Term
EtaExpandVarEtaExpandEquationLitConflictStripSizeSucstripAt :: IntstripArgLeft :: TermstripArgRight :: Term
SkipIrrelevantEquationTypeConInjectivity
Constructors
Constructors
Instances2Semigroup, Monoid
Semigroup UnifyOutputDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.TypesMonoid UnifyOutputDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.Types