ModuleAgda-2.7.0.1Haskell2010
Agda.TypeChecking.Primitive.Cubical
- 4 types
- 36 values
- PackageAgda-2.7.0.1
- Exports40
- LanguageHaskell2010
- LicenceMIT
- SourceCubical.hs
Construct a helper for CCHM composition, with a string indicating what function uses it.
Construct an application of buitlinComp. Use instead of mkComp if reducing directly to hcomp + transport would be problematic.
doPiKanOp :: KanOperationAre we composing or transporting?
-> ArgNameName of the binder
-> FamilyOrNot (Dom Type, Abs Type)The domain and codomain of the Pi type.
-> ReduceM (Maybe Term)
Implementation of Kan operations for Pi types. The implementation
of transp and hcomp for Pi types has many commonalities, so most
of it is shared between the two cases.
Compute Kan operations in a type of dependent paths.
Tries to primTransp a whole telescope of arguments, following the rule for Σ types.
If a type in the telescope does not support transp, transpTel throws it as an exception.
Like transpTel but performing a transpFill.
Constructors
Instances2Show, Exception
Show TranspErrorDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.CubicalException TranspErrorDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.Cubical
Γ, Δ^I, i : I |- expS |Δ| : Γ, Δ
Instances4Eq, Show, Subst, SubstArg
A Type that either has sort Type l or is a closed definition.
Such a type supports some version of transp.
In particular we want to allow the Interval as a ClosedType.
Constructors
Instances5Eq, Show, Pretty, Subst, SubstArg
Eq CTypeDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.CubicalShow CTypeDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.CubicalPretty CTypeDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.CubicalSubst CTypeDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.Cubicaltype SubstArg CType = TermDefined in Agda-2.7.0.1 · Agda.TypeChecking.Primitive.Cubical