Skip to content

Commit 7fd74e1

Browse files
committed
Update Fri Nov 1 00:41:37 EDT 2024
1 parent fa479c4 commit 7fd74e1

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

Math2001/Homework/hw7.lean

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/- Copyright (c) Heather Macbeth, 2023. 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 7
11+
12+
Don't forget to compare with the text version,
13+
https://github.com/hrmacbeth/math2001/wiki/Homework-7,
14+
for clearer statements and any special instructions. -/
15+
16+
17+
@[autograded 5]
18+
theorem problem1 (P Q : Prop) : ¬ (P → Q) ↔ (P ∧ ¬ Q) := by
19+
sorry
20+
21+
@[autograded 3]
22+
theorem problem2 : ¬ (∀ x : ℚ, 2 * x ^ 2 ≥ x) := by
23+
push_neg
24+
sorry
25+
26+
@[autograded 4]
27+
theorem problem3 (n : ℕ) : 6 ^ n ≡ 1 [ZMOD 7] ∨ 6 ^ n ≡ 6 [ZMOD 7] := by
28+
sorry
29+
30+
@[autograded 4]
31+
theorem problem4 (n : ℕ) :
32+
4 ^ n ≡ 1 [ZMOD 7] ∨ 4 ^ n ≡ 2 [ZMOD 7] ∨ 4 ^ n ≡ 4 [ZMOD 7] := by
33+
sorry
34+
35+
@[autograded 5]
36+
theorem problem5 {a : ℝ} (ha : -1 ≤ a) : ¬ ∃ n : ℕ, (1 + a) ^ n < 1 + n * a := by
37+
push_neg
38+
sorry
39+
40+
@[autograded 4]
41+
theorem problem6 : forall_sufficiently_large n : ℕ, (3:ℤ) ^ n ≥ 2 ^ n + 100 := by
42+
dsimp
43+
sorry

0 commit comments

Comments
 (0)