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/testgame/TestGame/Levels/Inequality/L04_Linarith.lean

24 lines
494 B
Plaintext

2 years ago
import TestGame.Metadata
import Mathlib.Tactic.Linarith
Game "TestGame"
World "Inequality"
Level 4
Title "Linarith"
Introduction
"
Die Taktik `linarith` kann alle Systeme von linearen (Un-)gleichungen über ``, ``, etc. lösen.
Über `` ist sie etwas schwächer, aber einfache Aussagen kann sie trotzdem beweisen.
"
Statement
"Wenn $n \\ge 2$, zeige, dass $n$ nich Null sein kann."
(n : ) (h : 2 ≤ n) : n ≠ 0 := by
linarith
NewTactics linarith
NewLemmas zero_lt_iff