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/Naturals/L02_Ring.lean

22 lines
364 B
Plaintext

import TestGame.Metadata
import Mathlib.Tactic.Ring
Game "TestGame"
World "Nat"
Level 2
Title "Natürliche Zahlen"
Introduction
"
Ring setzt aber nicht selbständig Annahmen ein, diese muss man zuerst manuell mit `rw` verwenden.
"
Statement (x y : ) (h : x = 2 * y + 1) : x ^ 2 = 4 * y ^ 2 + 3 * y + 1 + y := by
rw [h]
ring
Conclusion ""
Tactics ring