Provide grpdSig

This commit is contained in:
Frederik Hanghøj Iversen 2018-05-22 16:31:26 +02:00
parent cb0117819b
commit 9848fac672
1 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,7 @@ open import Cubical.NType.Properties
propIsContr : { : Level} {A : Set } isProp (isContr A)
propIsContr = propHasLevel ⟨-2⟩
open import Cubical.Sigma using (setSig ; sigPresSet ; sigPresNType ; grpdSig) public
open import Cubical.Sigma using (setSig ; sigPresSet ; sigPresNType) public
module _ ( : Level) where
-- FIXME Ask if we can push upstream.
@ -135,3 +135,8 @@ module _ { : Level} {A : Set } where
propGrpd = ntypeCumulative
{suc zero} {suc (suc (suc zero))}
(≤′-step (≤′-step ≤′-refl))
module _ {a b : Level} {A : Set a} {B : A Set b} where
open TLevel
grpdSig : isGrpd A ( a isGrpd (B a)) isGrpd (Σ A B)
grpdSig = sigPresNType {n = S (S (S ⟨-2⟩))}