Skip to content

Instantly share code, notes, and snippets.

@khibino
Created December 13, 2021 08:17
Show Gist options
  • Save khibino/86284d28a90094f6db5b16b25c49a2f5 to your computer and use it in GitHub Desktop.
Save khibino/86284d28a90094f6db5b16b25c49a2f5 to your computer and use it in GitHub Desktop.
open import Agda.Primitive using (lsuc)
open import Data.Bool using (Bool)
Fix : ∀{l} -> (Set l → Set l) → Set (lsuc l)
Fix f = ∀ k → (f k → k) → k
T : ∀{l} → Set l → Set l
T a = (a → Bool) → Bool
X : Set1
X = Fix T
Y : Set1
Y = T (Fix T)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment