diff utilities.agda @ 21:5e4abc1919b4

fix module relation
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 24 Dec 2018 22:50:25 +0900
parents 8d546766a9a8
children a39a82820742
line wrap: on
line diff
--- a/utilities.agda	Mon Dec 24 17:53:22 2018 +0900
+++ b/utilities.agda	Mon Dec 24 22:50:25 2018 +0900
@@ -2,11 +2,20 @@
 
 open import Function
 open import Data.Nat
+open import Data.Product
 open import Data.Bool hiding ( _≟_ )
 open import Level renaming ( suc to succ ; zero to Zero )
 open import Relation.Nullary using (¬_; Dec; yes; no)
 open import Relation.Binary.PropositionalEquality
 
+Pred : Set -> Set₁
+Pred X = X -> Set
+
+Imply : Set -> Set -> Set
+Imply X Y = X -> Y
+
+Iff : Set -> Set -> Set
+Iff X Y = Imply X Y × Imply Y X
 
 record _/\_ {n : Level } (a : Set n) (b : Set n): Set n where
   field