Debian Codegraph @

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

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Lifting of two predicates
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Data.Product.Relation.Unary.All where
10
11 open import Level using (Level; _⊔_)
12 open import Data.Product.Base using (_×_; _,_)
13
14 private
15 variable
16 a b p q : Level
17 A : Set a
18 B : Set b
19
20 All : (A → Set p) → (B → Set q) → (A × B → Set (p ⊔ q))
21 All P Q (a , b) = P a × Q b