You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/server/adam/Adam/Levels/Inequality/L04_Linarith.lean

30 lines
569 B
Plaintext

2 years ago
import TestGame.Metadata
import Mathlib.Tactic.Linarith
Game "TestGame"
World "Inequality"
Level 4
Title "Linarith"
Introduction
"
2 years ago
**Robo**: Die Taktik kann aber noch viel mehr.
2 years ago
2 years ago
**weitere Person**: Hier, probier mal!
2 years ago
2 years ago
$$
2 years ago
\\begin{aligned}
5 * y &\\le 35 - 2 * x \\\\
2 * y &\\le x + 3
\\end{aligned}
2 years ago
$$
"
2 years ago
Statement (x y : ) (h₂ : 5 * y ≤ 35 - 2 * x) (h₃ : 2 * y ≤ x + 3) : y ≤ 5 := by
2 years ago
linarith
2 years ago
Conclusion "**Du**: Boah, das ist schon gar nicht schlecht.
Und damit endet auch Deine Erinnerung und wer weiss was du anschließend gemacht hast…"