Advertisement
JoelSjogren

Untitled

Aug 14th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. {-# OPTIONS --cubical #-}
  2.  
  3. open import Cubical.Foundations.Prelude
  4. open import Cubical.Foundations.Equiv
  5. open import Cubical.Foundations.Isomorphism
  6. open import Cubical.Foundations.Univalence
  7. open import Cubical.Foundations.Function
  8.  
  9. data F (A : Set) : Set where
  10. * : F A
  11. cayley' : A → * ≡ *
  12.  
  13. module _ (A : Set) (x : A) where
  14.  
  15. foo : F A → F A
  16. foo * = *
  17. foo (cayley' y i) =
  18. hcomp (λ j → λ {
  19. (i = i0) → cayley' x j;
  20. (i = i1) → cayley' x j
  21. }) (cayley' y i)
  22.  
  23. bar : F A → F A
  24. bar = {!!}
  25.  
  26. foobar : ∀ m → foo (bar m) ≡ m
  27. foobar = {!!}
  28.  
  29. barfoo : ∀ m → bar (foo m) ≡ m
  30. barfoo = {!!}
  31.  
  32. cayley : F A ≡ F A
  33. cayley = ua (isoToEquiv (iso foo bar foobar barfoo))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement