|
| 1 | +/- Copyright (c) Heather Macbeth, 2023-4. All rights reserved. -/ |
| 2 | +import Mathlib.Data.Real.Basic |
| 3 | +import Library.Basic |
| 4 | +import Library.Tactic.ModEq |
| 5 | +import AutograderLib |
| 6 | + |
| 7 | +math2001_init |
| 8 | +set_option quotPrecheck false |
| 9 | + |
| 10 | + |
| 11 | +/-! # Homework 10 |
| 12 | +
|
| 13 | +Don't forget to compare with the text version, |
| 14 | +https://github.com/hrmacbeth/math2001/wiki/Homework-10, |
| 15 | +for clearer statements and any special instructions. -/ |
| 16 | + |
| 17 | + |
| 18 | +/- Problem 1: prove one of these, delete the other -/ |
| 19 | + |
| 20 | +@[autograded 4] |
| 21 | +theorem problem1a : { m : ℤ | m ≥ 10 } ⊆ { n : ℤ | n ^ 3 - 6 * n ^ 2 ≥ 4 * n } := by |
| 22 | + sorry |
| 23 | + |
| 24 | +@[autograded 4] |
| 25 | +theorem problem1b : { m : ℤ | m ≥ 10 } ⊈ { n : ℤ | n ^ 3 - 6 * n ^ 2 ≥ 4 * n } := by |
| 26 | + sorry |
| 27 | + |
| 28 | + |
| 29 | +/- Problem 2: prove one of these, delete the other -/ |
| 30 | + |
| 31 | +@[autograded 3] |
| 32 | +theorem problem2a : { t : ℝ | t ^ 2 - 3 * t + 2 = 0 } = { s : ℝ | s = 2 } := by |
| 33 | + sorry |
| 34 | + |
| 35 | +@[autograded 3] |
| 36 | +theorem problem2b : { t : ℝ | t ^ 2 - 3 * t + 2 = 0 } ≠ { s : ℝ | s = 2 } := by |
| 37 | + sorry |
| 38 | + |
| 39 | + |
| 40 | +/- Problem 3: prove one of these, delete the other -/ |
| 41 | + |
| 42 | +@[autograded 3] |
| 43 | +theorem problem3a : {1, 2, 3} ∩ {2, 3, 4} ⊆ {2, 3, 6} := by |
| 44 | + sorry |
| 45 | + |
| 46 | + |
| 47 | +@[autograded 3] |
| 48 | +theorem problem3b : {1, 2, 3} ∩ {2, 3, 4} ≠ {2, 3, 6} := by |
| 49 | + sorry |
| 50 | + |
| 51 | + |
| 52 | +/- Problem 4 -/ |
| 53 | + |
| 54 | +@[autograded 4] |
| 55 | +theorem problem4 : { r : ℤ | r ≡ 11 [ZMOD 15] } |
| 56 | + = { s : ℤ | s ≡ 2 [ZMOD 3] } ∩ { t : ℤ | t ≡ 1 [ZMOD 5] } := by |
| 57 | + sorry |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +/-! ### Problem 5 starts here -/ |
| 62 | + |
| 63 | + |
| 64 | +local infix:50 "∼" => fun (a b : ℤ) ↦ ∃ m n, m > 0 ∧ n > 0 ∧ a * m = b * n |
| 65 | + |
| 66 | + |
| 67 | +/- Problem 5.1: prove one of these, delete the other -/ |
| 68 | + |
| 69 | +@[autograded 2] |
| 70 | +theorem problem51a : Reflexive (· ∼ ·) := by |
| 71 | + sorry |
| 72 | + |
| 73 | +@[autograded 2] |
| 74 | +theorem problem51b : ¬ Reflexive (· ∼ ·) := by |
| 75 | + sorry |
| 76 | + |
| 77 | + |
| 78 | +/- Problem 5.2: prove one of these, delete the other -/ |
| 79 | + |
| 80 | +@[autograded 2] |
| 81 | +theorem problem52a : Symmetric (· ∼ ·) := by |
| 82 | + sorry |
| 83 | + |
| 84 | +@[autograded 2] |
| 85 | +theorem problem52b : ¬ Symmetric (· ∼ ·) := by |
| 86 | + sorry |
| 87 | + |
| 88 | + |
| 89 | +/- Problem 5.3: prove one of these, delete the other -/ |
| 90 | + |
| 91 | +@[autograded 2] |
| 92 | +theorem problem53a : AntiSymmetric (· ∼ ·) := by |
| 93 | + sorry |
| 94 | + |
| 95 | +@[autograded 2] |
| 96 | +theorem problem53b : ¬ AntiSymmetric (· ∼ ·) := by |
| 97 | + sorry |
| 98 | + |
| 99 | + |
| 100 | +/- Problem 5.4: prove one of these, delete the other -/ |
| 101 | + |
| 102 | +@[autograded 2] |
| 103 | +theorem problem54a : Transitive (· ∼ ·) := by |
| 104 | + sorry |
| 105 | + |
| 106 | +@[autograded 2] |
| 107 | +theorem problem54b : ¬ Transitive (· ∼ ·) := by |
| 108 | + sorry |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | +/-! ### Problem 6 starts here -/ |
| 113 | + |
| 114 | +infix:50 "≺" => fun ((x1, y1) : ℝ × ℝ) (x2, y2) ↦ (x1 ≤ x2 ∧ y1 ≤ y2) |
| 115 | + |
| 116 | + |
| 117 | +/- Problem 6.1: prove one of these, delete the other -/ |
| 118 | + |
| 119 | +@[autograded 2] |
| 120 | +theorem problem61a : Reflexive (· ≺ ·) := by |
| 121 | + sorry |
| 122 | + |
| 123 | +@[autograded 2] |
| 124 | +theorem problem61b : ¬ Reflexive (· ≺ ·) := by |
| 125 | + sorry |
| 126 | + |
| 127 | + |
| 128 | +/- Problem 6.2: prove one of these, delete the other -/ |
| 129 | + |
| 130 | +@[autograded 2] |
| 131 | +theorem problem62a : Symmetric (· ≺ ·) := by |
| 132 | + sorry |
| 133 | + |
| 134 | +@[autograded 2] |
| 135 | +theorem problem62b : ¬ Symmetric (· ≺ ·) := by |
| 136 | + sorry |
| 137 | + |
| 138 | + |
| 139 | +/- Problem 6.3: prove one of these, delete the other -/ |
| 140 | + |
| 141 | +@[autograded 2] |
| 142 | +theorem problem63a : AntiSymmetric (· ≺ ·) := by |
| 143 | + sorry |
| 144 | + |
| 145 | +@[autograded 2] |
| 146 | +theorem problem63b : ¬ AntiSymmetric (· ≺ ·) := by |
| 147 | + sorry |
| 148 | + |
| 149 | + |
| 150 | +/- Problem 6.4: prove one of these, delete the other -/ |
| 151 | + |
| 152 | +@[autograded 2] |
| 153 | +theorem problem64a : Transitive (· ≺ ·) := by |
| 154 | + sorry |
| 155 | + |
| 156 | +@[autograded 2] |
| 157 | +theorem problem64b : ¬ Transitive (· ≺ ·) := by |
| 158 | + sorry |
0 commit comments