Debian Codegraph @

src/Relation/Unary/Polymorphic.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Polymorphic versions of standard definitions in Relation.Unary
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Relation.Unary.Polymorphic where
10
11 open import Data.Empty.Polymorphic using (⊥)
12 open import Data.Unit.Polymorphic using (⊤)
13 open import Level using (Level)
14 open import Relation.Unary using (Pred)
15
16 private
17 variable
18 a ℓ : Level
19 A : Set a
20
21 ------------------------------------------------------------------------
22 -- Special sets
23
24 -- The empty set.
25
26 ∅ : Pred A ℓ
27 ∅ = λ _ → ⊥
28
29 -- The universal set.
30
31 U : Pred A ℓ
32 U = λ _ → ⊤