Debian Codegraph @

src/Relation/Nullary/Indexed.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Negation indexed by a Level
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Relation.Nullary.Indexed where
10
11 open import Data.Empty hiding (⊥-elim)
12 open import Level
13
14 ------------------------------------------------------------------------
15 -- Negation.
16
17 -- level polymorphic version of ¬
18 ¬ : ∀ {ℓ} (b : Level) → Set ℓ → Set (ℓ ⊔ b)
19 ¬ b P = P → Lift b ⊥