Advertisement
JoelSjogren

Untitled

Aug 17th, 2020
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. Stmt = Set
  2.  
  3. data _∧_ (P Q : Stmt) : Stmt where
  4. ⟨_,_⟩ : P → Q → P ∧ Q
  5.  
  6. data _∨_ (P Q : Stmt) : Stmt where
  7. inl : P → P ∨ Q
  8. inr : Q → P ∨ Q
  9.  
  10. data ⊥ : Stmt where
  11.  
  12. ¬_ : Stmt → Stmt
  13. ¬ P = P → ⊥
  14.  
  15. module _ (Ω : Set) where
  16. Set' = Ω → Stmt
  17.  
  18. _⊆_ : (A B : Set') → Stmt
  19. A ⊆ B = {x : Ω} → A x → B x
  20. infix 9 _⊆_
  21.  
  22. _-_ : (A B : Set') → Set'
  23. (A - B) x = A x ∧ (¬ B x)
  24.  
  25. _∪_ : (A B : Set') → Set'
  26. (A ∪ B) x = A x ∨ B x
  27.  
  28. ∅ : Set'
  29. ∅ x = ⊥
  30.  
  31. _=ₛₑₜ_ : Set' → Set' → Set
  32. A =ₛₑₜ B = (A ⊆ B) ∧ (B ⊆ A)
  33. infix 9 _=ₛₑₜ_
  34.  
  35. module _ {A B C : Set'} where
  36. thm₁ : A ⊆ B → (A - C) ⊆ (B - C)
  37. thm₁ f ⟨ a , nc ⟩ = {!!}
  38.  
  39. thm₂ : (A ∪ B) - C =ₛₑₜ (A - C) ∪ (B - C)
  40. thm₂ = ⟨ ABC-⊆ , ABC-⊇ ⟩
  41. where
  42. ABC-⊆ : (A ∪ B) - C ⊆ (A - C) ∪ (B - C)
  43. ABC-⊆ = {!!}
  44. ABC-⊇ : (A - C) ∪ (B - C) ⊆ (A ∪ B) - C
  45. ABC-⊇ = {!!}
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement