Use propositions straight from the horses mouth

This commit is contained in:
Frederik Hanghøj Iversen 2018-03-12 13:56:49 +01:00
parent a7214fcc66
commit c0cf6789cd
2 changed files with 2 additions and 9 deletions

@ -1 +1 @@
Subproject commit 3a125a0cb010903e6aa80569a0ca5339424eaf86
Subproject commit 5b35333dbbd8fa523e478c1cfe60657321ca38fe

View File

@ -4,13 +4,6 @@ open import Level
open import Cubical.NType
open import Data.Nat using (_≤_ ; z≤n ; s≤s)
open import Cubical.NType.Properties public using (propHasLevel)
open import Cubical.NType.Properties
postulate ntypeCommulative : { n m} {A : Set } n m HasLevel n ⟩₋₂ A HasLevel m ⟩₋₂ A
module _ { : Level} {A : Set } where
isSetIsProp : isProp (isSet A)
isSetIsProp = propHasLevel (S (S ⟨-2⟩))
propIsProp : isProp (isProp A)
propIsProp = propHasLevel (S ⟨-2⟩)