Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1.  
  2.  
  3. Fact “H5a”: x = 3 ⇒ x + 2 = 5
  4. Proof:
  5. x = 3 ⇒ x + 2 = 5
  6. ≡⟨ Fact `5 = 3 + 2` ⟩
  7. x = 3 ⇒ x + 2 = 3 + 2
  8. ≡⟨ Substitution ⟩
  9. x = 3 ⇒ (z + 2)[z ≔ x] = (z + 2)[z ≔ 3]
  10. — This is (3.83) “Leibniz”
  11.  
  12.  
  13. Theorem (3.84) (3.84a) “Replacement”:
  14. (e = f) ∧ E[z ≔ e] ≡ (e = f) ∧ E[z ≔ f]
  15. Proof:
  16. (e = f) ∧ E[z ≔ e] ≡ (e = f) ∧ E[z ≔ f]
  17. ≡⟨ (3.62) ⟩
  18. e = f ⇒ (E[z ≔ e] ≡ E[z ≔ f])
  19. ≡⟨ “Definition of ≡” ⟩
  20. e = f ⇒ E[z ≔ e] = E[z ≔ f] — This is “Leibniz”
  21.  
  22. Fact “H5b”: (x = 3) ∧ (x + 1 = 4) ≡ (x = 3)
  23. Proof:
  24. (x = 3) ∧ (x + 1 = 4)
  25. ≡⟨ Substitution ⟩
  26. (x = 3) ∧ (z + 1 = 4)[z ≔ x]
  27. ≡⟨ “Replacement” ⟩
  28. (x = 3) ∧ (z + 1 = 4)[z ≔ 3]
  29. ≡⟨ Substitution ⟩
  30. (x = 3) ∧ (3 + 1 = 4)
  31. ≡⟨ Fact `3 + 1 = 4` ⟩
  32. (x = 3) ∧ true
  33. ≡⟨ “Identity of ∧” ⟩
  34. (x = 3)
  35.  
  36. Lemma “Replacement in equality with addition”:
  37. a = b + c ∧ c = d ≡ a = b + d ∧ c = d
  38. Proof:
  39. a = b + c ∧ c = d
  40. ≡⟨ Substitution ⟩
  41. (c = d) ∧ (a = b + d)[d ≔ c]
  42. ≡ ⟨ “Replacement” ⟩
  43. (c = d) ∧ (a = b + d)[d ≔ d]
  44. ≡⟨ Substitution ⟩
  45. (c = d) ∧ (a = b + d)
  46.  
  47. Lemma (H7.2a):
  48. s = x · x ∧ d = 2 · x + 1
  49. ≡ s + d = x · x + 2 · x + 1 ∧ d = 2 · x + 1
  50. Proof:
  51. s = x · x ∧ d = 2 · x + 1
  52. ≡⟨ “Cancellation of +” ⟩
  53. s + d = x · x + d ∧ 2 · x + 1 = d
  54. ≡⟨ Substitution ⟩
  55. s[s ≔ s + d] = x · x + d ∧ 2 · x + 1 = d
  56. ≡⟨ “Replacement in equality with addition” ⟩
  57. s[s ≔ s + d] = x · x + 2 · x + 1 ∧ 2 · x + 1 = d
  58. ≡⟨ Substitution ⟩
  59. s + d = x · x + 2 · x + 1 ∧ d = 2 · x + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement