Skip to content

Commit db08996

Browse files
committed
Update Sat Mar 16 04:09:43 UTC 2024
1 parent e38e967 commit db08996

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

Math2001/Homework/hw6.lean

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
set_option pp.funBinderTypes true
9+
10+
/-! # Homework 6
11+
12+
Don't forget to compare with the text version,
13+
https://github.com/hrmacbeth/math2001/wiki/Homework-6,
14+
for clearer statements and any special instructions. -/
15+
16+
17+
@[autograded 4]
18+
theorem problem1 (P Q : Prop) : (P ∨ Q) ↔ (Q ∨ P) := by
19+
sorry
20+
21+
@[autograded 5]
22+
theorem problem2 (P : α → Prop) (Q : Prop) : ((∃ x, P x) ∧ Q) ↔ ∃ x, (P x ∧ Q) := by
23+
sorry
24+
25+
@[autograded 5]
26+
theorem problem3 (P Q : Prop) : ¬ (P → Q) ↔ (P ∧ ¬ Q) := by
27+
sorry
28+
29+
@[autograded 3]
30+
theorem problem4 : ¬ (∀ x : ℝ, x ^ 2 ≥ x) := by
31+
push_neg
32+
sorry
33+
34+
@[autograded 4]
35+
theorem problem5 : ¬ Int.Even 7 := by
36+
dsimp [Int.Even]
37+
push_neg
38+
sorry
39+
40+
@[autograded 4]
41+
theorem problem6 {p : ℕ} (k : ℕ) (hk1 : k ≠ 1) (hkp : k ≠ p) (hk : k ∣ p) : ¬ Prime p := by
42+
dsimp [Prime]
43+
push_neg
44+
sorry

0 commit comments

Comments
 (0)