Do not use wishlist

This commit is contained in:
Frederik Hanghøj Iversen 2018-05-07 14:39:50 +02:00
parent d5a4550ca9
commit 0db4e97511
4 changed files with 7 additions and 19 deletions

View file

@ -7,7 +7,6 @@ open import Cat.Prelude as P
open import Cat.Category
open import Cat.Category.Functor
open import Cat.Category.Product
open import Cat.Wishlist
open import Cat.Equivalence
_⊙_ : {a b c : Level} {A : Set a} {B : Set b} {C : Set c} (A B) (B C) A C

View file

@ -25,7 +25,6 @@ module Nat = Data.Nat
open import Cat.Category
open import Cat.Category.Functor
open import Cat.Wishlist
module Cat.Category.NaturalTransformation
{c c' d d' : Level}

View file

@ -98,4 +98,10 @@ module _ { : Level} {A : Set } {a : A} where
_ ≡⟨ pathJprop {x = a} (λ y x A) _
a
open import Cat.Wishlist public
module _ { : Level} {A : Set } where
open import Cubical.NType
open import Data.Nat using (_≤_ ; ≤′-refl ; ≤′-step ; zero ; suc)
open import Cubical.NType.Properties
ntypeCumulative : {n m} n ≤′ m HasLevel n ⟩₋₂ A HasLevel m ⟩₋₂ A
ntypeCumulative {m} ≤′-refl lvl = lvl
ntypeCumulative {n} {suc m} (≤′-step le) lvl = HasLevel+1 m ⟩₋₂ (ntypeCumulative le lvl)

View file

@ -1,16 +0,0 @@
{-# OPTIONS --allow-unsolved-metas #-}
module Cat.Wishlist where
open import Level hiding (suc; zero)
open import Cubical
open import Cubical.NType
open import Data.Nat using (_≤_ ; ≤′-refl ; ≤′-step ; zero ; suc)
open import Agda.Builtin.Sigma
open import Cubical.NType.Properties
module _ { : Level} {A : Set } where
ntypeCumulative : {n m} n ≤′ m HasLevel n ⟩₋₂ A HasLevel m ⟩₋₂ A
ntypeCumulative {m} ≤′-refl lvl = lvl
ntypeCumulative {n} {suc m} (≤′-step le) lvl = HasLevel+1 m ⟩₋₂ (ntypeCumulative le lvl)