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/Proposition/L03_Assumption.lean

31 lines
669 B
Plaintext

2 years ago
import TestGame.Metadata
import Mathlib.Data.Nat.Basic -- TODO
Game "TestGame"
World "Proposition"
Level 4
2 years ago
Title "Logische Aussagen"
2 years ago
Introduction
"
2 years ago
Eine allgemeine logische Aussage definiert man mit `(A : Prop)`.
Damit sagt man noch nicht, ob die Aussage $A$ wahr oder falsch ist.
Mit einer Annahme `(hA : A)` nimmt man an, dass $A$ wahr ist:
`hA` ist sozusagen ein Beweis von $A$.
2 years ago
"
Statement
"Sei $A$ eine logische Aussage und sei `hA` ein Beweis für $A$.
Zeige, dass $A$ wahr ist."
2 years ago
(A : Prop) (hA : A) : A := by
assumption
HiddenHint (A : Prop) (hA : A) : A =>
2 years ago
"Auch hier kann `assumption` den Beweis von `A` finden."
2 years ago
Conclusion ""
Tactics assumption