Debian Codegraph @

src/Relation/Unary/Sized.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Indexed unary relations over sized types
5 ------------------------------------------------------------------------
6
7 -- Sized types live in the special sort `SizeUniv` and therefore are no
8 -- longer compatible with the ordinary combinators defined in
9 -- `Relation.Unary`.
10
11 {-# OPTIONS --cubical-compatible --sized-types #-}
12
13 module Relation.Unary.Sized where
14
15 open import Level
16 open import Size
17
18 private
19 variable
20 ℓ ℓ₁ ℓ₂ : Level
21
22 infixr 8 _⇒_
23 _⇒_ : SizedSet ℓ₁ → SizedSet ℓ₂ → SizedSet (ℓ₁ ⊔ ℓ₂)
24 F ⇒ G = λ i → F i → G i
25
26 ∀[_] : SizedSet ℓ → Set ℓ
27 ∀[ F ] = ∀{i} → F i