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/Predicate/L01_Ring.lean

37 lines
881 B
Plaintext

import Adam.Metadata
2 years ago
import Mathlib.Tactic.Ring
--set_option tactic.hygienic false
Game "Adam"
World "Predicate"
2 years ago
Level 1
Title "Natürliche Zahlen"
Introduction
"
**Evenine**: Willkommen Reisende! Wir leben hier in Einklang mit der Natur und allem natürlichen,
so sagt mir, könnt ihr mit natürlichen Zahlen umgehen?
"
2 years ago
Statement (x y : ) : (x + y) ^ 2 = x ^ 2 + 2 * x * y + y ^ 2 := by
Hint "**Du**: Das hab ich in der Schule gelernt, man rechnet das einfach aus,
indem man die Terme umsortiert.
**Robo**: Behaupte doch mit `ring`, dass das so ist.
**Du**: Aber `` ist doch gar kein Ring?
2 years ago
**Robo**: `ring` funktioniert schon für Halbringe, aber sie heisst ring, weil sie auf
(kommutativen) Ringen am besten funktioniert.
"
2 years ago
ring
Conclusion
"
*Evenine: Ja das stimmt schon. Und das genügt uns auf diesem Planet auch als Antwort.*
2 years ago
"
NewTactic ring