Lean4-helper / problems /lecture5_problems.lean
p4r5kpftnp-cmd
Add MiniF2F benchmark harness and improve proof agent robustness
8c51ce7
Raw
History Blame Contribute Delete
289 Bytes
import Mathlib
-- Lecture 5 Problems
example {r s : ℚ} (h1 : s + 3 ≥ r) (h2 : s + r ≤ 3) : r3 := by
linarith
example {x : ℚ} (hx : 3 * x = 2) : x1 := by
apply ne_of_lt
linarith
example {y : ℝ} : y ^ 2 + 10 := by
apply ne_of_gt
linarith [sq_nonneg y]