Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- requireCubical :: Cubical -> String -> TCM ()
- primIntervalType :: (HasBuiltins m, MonadError TCErr m, MonadTCEnv m, ReadTCState m) => m Type
- primINeg' :: TCM PrimitiveImpl
- primDepIMin' :: TCM PrimitiveImpl
- primIBin :: IntervalView -> IntervalView -> TCM PrimitiveImpl
- primIMin' :: TCM PrimitiveImpl
- primIMax' :: TCM PrimitiveImpl
- imax :: HasBuiltins m => m Term -> m Term -> m Term
- imin :: HasBuiltins m => m Term -> m Term -> m Term
- primIdJ :: TCM PrimitiveImpl
- primIdElim' :: TCM PrimitiveImpl
- primPOr :: TCM PrimitiveImpl
- primPartial' :: TCM PrimitiveImpl
- primPartialP' :: TCM PrimitiveImpl
- primSubOut' :: TCM PrimitiveImpl
- primIdFace' :: TCM PrimitiveImpl
- primIdPath' :: TCM PrimitiveImpl
- primTrans' :: TCM PrimitiveImpl
- primHComp' :: TCM PrimitiveImpl
- data TranspOrHComp
- cmdToName :: TranspOrHComp -> String
- data FamilyOrNot a
- mkGComp :: HasBuiltins m => String -> NamesT m (NamesT m Term -> NamesT m Term -> NamesT m Term -> NamesT m Term -> NamesT m Term -> NamesT m Term)
- unglueTranspGlue :: PureTCM m => Arg Term -> Arg Term -> FamilyOrNot (Arg Term, Arg Term, Arg Term, Arg Term, Arg Term, Arg Term) -> m Term
- data TermPosition
- = Head
- | Eliminated
- headStop :: PureTCM m => TermPosition -> m Term -> m Bool
- compGlue :: PureTCM m => TranspOrHComp -> Arg Term -> Maybe (Arg Term) -> Arg Term -> FamilyOrNot (Arg Term, Arg Term, Arg Term, Arg Term, Arg Term, Arg Term) -> TermPosition -> m (Maybe Term)
- compHCompU :: PureTCM m => TranspOrHComp -> Arg Term -> Maybe (Arg Term) -> Arg Term -> FamilyOrNot (Arg Term, Arg Term, Arg Term, Arg Term) -> TermPosition -> m (Maybe Term)
- primTransHComp :: TranspOrHComp -> [Arg Term] -> Int -> ReduceM (Reduced MaybeReducedArgs Term)
- primComp :: TCM PrimitiveImpl
- prim_glueU' :: TCM PrimitiveImpl
- prim_unglueU' :: TCM PrimitiveImpl
- primGlue' :: TCM PrimitiveImpl
- prim_glue' :: TCM PrimitiveImpl
- prim_unglue' :: TCM PrimitiveImpl
- primFaceForall' :: TCM PrimitiveImpl
- decomposeInterval :: HasBuiltins m => Term -> m [(Map Int Bool, [Term])]
- decomposeInterval' :: HasBuiltins m => Term -> m [(Map Int (Set Bool), [Term])]
- transpTel :: Abs Telescope -> Term -> Args -> ExceptT (Closure (Abs Type)) TCM Args
- trFillTel :: Abs Telescope -> Term -> Args -> Term -> ExceptT (Closure (Abs Type)) TCM Args
Documentation
Checks that the correct variant of Cubical Agda is activated.
Note that --erased-cubical
"counts as" --cubical
in erased
contexts.
primIntervalType :: (HasBuiltins m, MonadError TCErr m, MonadTCEnv m, ReadTCState m) => m Type Source #
primIBin :: IntervalView -> IntervalView -> TCM PrimitiveImpl Source #
data TranspOrHComp Source #
Instances
Show TranspOrHComp Source # | |
Defined in Agda.TypeChecking.Primitive.Cubical showsPrec :: Int -> TranspOrHComp -> ShowS # show :: TranspOrHComp -> String # showList :: [TranspOrHComp] -> ShowS # | |
Eq TranspOrHComp Source # | |
Defined in Agda.TypeChecking.Primitive.Cubical (==) :: TranspOrHComp -> TranspOrHComp -> Bool # (/=) :: TranspOrHComp -> TranspOrHComp -> Bool # |
cmdToName :: TranspOrHComp -> String Source #
data FamilyOrNot a Source #
Instances
mkGComp :: HasBuiltins m => String -> NamesT m (NamesT m Term -> NamesT m Term -> NamesT m Term -> NamesT m Term -> NamesT m Term -> NamesT m Term) Source #
Define a "ghcomp" version of gcomp. Normal comp looks like:
comp^i A [ phi -> u ] u0 = hcomp^i A(1/i) [ phi -> forward A i u ] (forward A 0 u0)
So for "gcomp" we compute:
gcomp^i A [ phi -> u ] u0 = hcomp^i A(1/i) [ phi -> forward A i u, ~ phi -> forward A 0 u0 ] (forward A 0 u0)
The point of this is that gcomp does not produce any empty systems (if phi = 0 it will reduce to "forward A 0 u".
unglueTranspGlue :: PureTCM m => Arg Term -> Arg Term -> FamilyOrNot (Arg Term, Arg Term, Arg Term, Arg Term, Arg Term, Arg Term) -> m Term Source #
data TermPosition Source #
Instances
Show TermPosition Source # | |
Defined in Agda.TypeChecking.Primitive.Cubical showsPrec :: Int -> TermPosition -> ShowS # show :: TermPosition -> String # showList :: [TermPosition] -> ShowS # | |
Eq TermPosition Source # | |
Defined in Agda.TypeChecking.Primitive.Cubical (==) :: TermPosition -> TermPosition -> Bool # (/=) :: TermPosition -> TermPosition -> Bool # |
compGlue :: PureTCM m => TranspOrHComp -> Arg Term -> Maybe (Arg Term) -> Arg Term -> FamilyOrNot (Arg Term, Arg Term, Arg Term, Arg Term, Arg Term, Arg Term) -> TermPosition -> m (Maybe Term) Source #
compHCompU :: PureTCM m => TranspOrHComp -> Arg Term -> Maybe (Arg Term) -> Arg Term -> FamilyOrNot (Arg Term, Arg Term, Arg Term, Arg Term) -> TermPosition -> m (Maybe Term) Source #
primTransHComp :: TranspOrHComp -> [Arg Term] -> Int -> ReduceM (Reduced MaybeReducedArgs Term) Source #
decomposeInterval :: HasBuiltins m => Term -> m [(Map Int Bool, [Term])] Source #
decomposeInterval' :: HasBuiltins m => Term -> m [(Map Int (Set Bool), [Term])] Source #