module Chapter2.Logic where

open import Level

open import Data.Unit

infixr 5 _⇒_

Pow : ∀{}  Set   Set (suc )
Pow {} I = I  Set 

_⇒_ : ∀{}{I : Set }  (P Q : Pow I)  Set 
P  Q = {i : _}  P i  Q i

data _⁻¹_ { : Level}{A B : Set }(f : A  B) : Pow B where
  inv : (a : A)  f ⁻¹ (f a)


T : ∀{}{I : Set }  I  Set 
T _ = Lift