Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. instance
  2. bin-union-set
  3. : ∀ {x y} ⦃ _ : set x ⦄ ⦃ _ : set y ⦄
  4. → set (x ∪ y)
  5. bin-union-set {x} {y}
  6. = set (∐ ⟨ x , y ⟩)
  7. $ (λ z → #> λ u → *> λ zu
  8. → (λ { equal → inl zu })
  9. ∥ (λ { equal → inr zu }))
  10. E λ z
  11. → (λ zx → x # zx * inl equal)
  12. ∥ (λ zy → y # zy * inr equal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement