Skip to content

Commit 50ea2d4

Browse files
committed
Update Thu Feb 15 23:12:03 UTC 2024
1 parent 2e1511e commit 50ea2d4

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

Math2001/Homework/hw4.lean

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/- Copyright (c) Heather Macbeth, 2023. All rights reserved. -/
2+
import Library.Basic
3+
import Library.Tactic.ModEq
4+
import AutograderLib
5+
6+
math2001_init
7+
8+
9+
/-! # Homework 4
10+
11+
Don't forget to compare with the text version,
12+
https://github.com/hrmacbeth/math2001/wiki/Homework-4,
13+
for clearer statements and any special instructions. -/
14+
15+
16+
@[autograded 4]
17+
theorem problem1 (h1 : a ≡ b [ZMOD n]) (h2 : b ≡ c [ZMOD n]) : a ≡ c [ZMOD n] := by
18+
sorry
19+
20+
@[autograded 4]
21+
theorem problem2 {t : ℤ} (h : t ≡ 2 [ZMOD 4]) :
22+
3 * (t ^ 2 + t - 8) ≡ 3 * (2 ^ 2 + 2 - 8) [ZMOD 4] := by
23+
sorry
24+
25+
@[autograded 4]
26+
theorem problem3 {a : ℤ} (ha : a ≡ 3 [ZMOD 5]) :
27+
a ^ 3 + 4 * a ^ 2 + 31 [ZMOD 5] := by
28+
sorry
29+
30+
@[autograded 4]
31+
theorem problem4 : ∃ k : ℤ, k > 50 ∧ k ≡ 2 [ZMOD 5] ∧ 5 * k ≡ 6 [ZMOD 8] := by
32+
sorry
33+
34+
@[autograded 5]
35+
theorem problem5 {x : ℤ} : x ^ 5 ≡ x [ZMOD 5] := by
36+
sorry
37+
38+
@[autograded 4]
39+
theorem problem6 {n : ℤ} (h1 : 5 ∣ n) (h2 : 12 ∣ n) : 60 ∣ n := by
40+
sorry

0 commit comments

Comments
 (0)