Debian Codegraph @

src/Data/Refinement/Relation/Unary/All.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Predicate lifting for refinement types
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Data.Refinement.Relation.Unary.All where
10
11 open import Data.Refinement using (Refinement; _,_)
12 open import Level using (Level; _⊔_)
13 open import Function.Base using (const)
14
15 private
16 variable
17 a b p q : Level
18 A : Set a
19 B : Set b
20
21 module _ {P : A → Set p} where
22
23 All : (A → Set q) → Refinement A P → Set q
24 All P (a , _) = P a