Skip to content

Commit f2eac4f

Browse files
committed
Update Thu Sep 12 23:49:20 EDT 2024
1 parent ddddcd0 commit f2eac4f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

Math2001/Homework/hw2.lean

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/- Copyright (c) Heather Macbeth, 2024. All rights reserved. -/
2+
import Mathlib.Data.Real.Basic
3+
import Library.Basic
4+
import AutograderLib
5+
6+
math2001_init
7+
8+
/-! # Homework 2
9+
10+
Don't forget to compare with the text version,
11+
https://github.com/hrmacbeth/math2001/wiki/Homework-2,
12+
for clearer statements and any special instructions. -/
13+
14+
15+
@[autograded 5]
16+
theorem problem1 {x : ℚ} (h1 : x ^ 2 = 9) (h2 : 1 < x) : x = 3 := by
17+
sorry
18+
19+
@[autograded 5]
20+
theorem problem2 {s : ℚ} (h1 : 3 * s ≤ -15) (h2 : 2 * s ≥ -10) : s = -5 := by
21+
sorry
22+
23+
@[autograded 4]
24+
theorem problem3 {t : ℚ} (h : t = 2 ∨ t = -3) : t ^ 2 + t - 6 = 0 := by
25+
sorry
26+
27+
@[autograded 5]
28+
theorem problem4 {x : ℤ} : 3 * x ≠ 10 := by
29+
sorry
30+
31+
@[autograded 6]
32+
theorem problem5 {x y : ℝ} (h1 : 2 ≤ x ∨ 2 ≤ y) (h2 : x ^ 2 + y ^ 2 = 4) :
33+
x ^ 2 * y ^ 2 = 0 := by
34+
sorry

0 commit comments

Comments
 (0)