|
| 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 | + |
| 9 | + |
| 10 | +/-! # Homework 10 |
| 11 | +
|
| 12 | +Don't forget to compare with the text version, |
| 13 | +https://github.com/hrmacbeth/math2001/wiki/Homework-10, |
| 14 | +for clearer statements and any special instructions. -/ |
| 15 | + |
| 16 | + |
| 17 | +@[autograded 4] |
| 18 | +theorem problem1a : { m : ℤ | m ≥ 10 } ⊆ { n : ℤ | n ^ 3 - 8 * n ^ 2 ≥ 2 * n } := by |
| 19 | + sorry |
| 20 | + |
| 21 | +@[autograded 4] |
| 22 | +theorem problem1b : { m : ℤ | m ≥ 10 } ⊈ { n : ℤ | n ^ 3 - 7 * n ^ 2 ≥ 4 * n } := by |
| 23 | + sorry |
| 24 | + |
| 25 | + |
| 26 | +@[autograded 4] |
| 27 | +theorem problem2a : { t : ℝ | t ^ 2 - 5 * t + 4 = 0 } = { s : ℝ | s = 4 } := by |
| 28 | + sorry |
| 29 | + |
| 30 | +@[autograded 4] |
| 31 | +theorem problem2b : { t : ℝ | t ^ 2 - 5 * t + 6 = 0 } ≠ { s : ℝ | s = 2 } := by |
| 32 | + sorry |
| 33 | + |
| 34 | + |
| 35 | +@[autograded 4] |
| 36 | +theorem problem3a : {1, 2, 3} = {1, 2} := by |
| 37 | + sorry |
| 38 | + |
| 39 | +@[autograded 4] |
| 40 | +theorem problem3b : {1, 2, 3} ≠ {1, 2} := by |
| 41 | + sorry |
| 42 | + |
| 43 | + |
| 44 | +@[autograded 4] |
| 45 | +theorem problem4 : { r : ℤ | r ≡ 8 [ZMOD 10] } |
| 46 | + ⊆ { s : ℤ | s ≡ 0 [ZMOD 2] } ∩ { t : ℤ | t ≡ 3 [ZMOD 5] } := by |
| 47 | + sorry |
| 48 | + |
| 49 | + |
| 50 | +/-! ### Problem 5 starts here -/ |
| 51 | + |
| 52 | +infix:50 "∼" => fun (x y : ℤ) ↦ x + y ≡ 0 [ZMOD 3] |
| 53 | + |
| 54 | +@[autograded 2] |
| 55 | +theorem problem51a : Reflexive (· ∼ ·) := by |
| 56 | + sorry |
| 57 | + |
| 58 | +@[autograded 2] |
| 59 | +theorem problem51b : ¬ Reflexive (· ∼ ·) := by |
| 60 | + sorry |
| 61 | + |
| 62 | +@[autograded 2] |
| 63 | +theorem problem52a : Symmetric (· ∼ ·) := by |
| 64 | + sorry |
| 65 | + |
| 66 | +@[autograded 2] |
| 67 | +theorem problem52b : ¬ Symmetric (· ∼ ·) := by |
| 68 | + sorry |
| 69 | + |
| 70 | +@[autograded 2] |
| 71 | +theorem problem53a : AntiSymmetric (· ∼ ·) := by |
| 72 | + sorry |
| 73 | + |
| 74 | +@[autograded 2] |
| 75 | +theorem problem53b : ¬ AntiSymmetric (· ∼ ·) := by |
| 76 | + sorry |
| 77 | + |
| 78 | +@[autograded 2] |
| 79 | +theorem problem54a : Transitive (· ∼ ·) := by |
| 80 | + sorry |
| 81 | + |
| 82 | +@[autograded 2] |
| 83 | +theorem problem54b : ¬ Transitive (· ∼ ·) := by |
| 84 | + sorry |
| 85 | + |
| 86 | + |
| 87 | +/-! ### Problem 6 starts here -/ |
| 88 | + |
| 89 | +infix:50 "≺" => fun ((x1, y1) : ℝ × ℝ) (x2, y2) ↦ (x1 ≤ x2 ∧ y1 ≤ y2) |
| 90 | + |
| 91 | +@[autograded 2] |
| 92 | +theorem problem61a : Reflexive (· ≺ ·) := by |
| 93 | + sorry |
| 94 | + |
| 95 | +@[autograded 2] |
| 96 | +theorem problem61b : ¬ Reflexive (· ≺ ·) := by |
| 97 | + sorry |
| 98 | + |
| 99 | +@[autograded 2] |
| 100 | +theorem problem62a : Symmetric (· ≺ ·) := by |
| 101 | + sorry |
| 102 | + |
| 103 | +@[autograded 2] |
| 104 | +theorem problem62b : ¬ Symmetric (· ≺ ·) := by |
| 105 | + sorry |
| 106 | + |
| 107 | +@[autograded 2] |
| 108 | +theorem problem63a : AntiSymmetric (· ≺ ·) := by |
| 109 | + sorry |
| 110 | + |
| 111 | +@[autograded 2] |
| 112 | +theorem problem63b : ¬ AntiSymmetric (· ≺ ·) := by |
| 113 | + sorry |
| 114 | + |
| 115 | +@[autograded 2] |
| 116 | +theorem problem64a : Transitive (· ≺ ·) := by |
| 117 | + sorry |
| 118 | + |
| 119 | +@[autograded 2] |
| 120 | +theorem problem64b : ¬ Transitive (· ≺ ·) := by |
| 121 | + sorry |
0 commit comments