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/L11_Or.lean

34 lines
741 B
Plaintext

2 years ago
import TestGame.Metadata
2 years ago
import Std.Tactic.RCases
import Mathlib.Tactic.LeftRight
--set_option tactic.hygienic false
2 years ago
Game "TestGame"
World "Proposition"
Level 11
2 years ago
Title "Oder"
Introduction
"
2 years ago
Das logische ODER `A B` (`\\or`) funktioniert ein wenig anders als das UND.
2 years ago
Wenn das Goal ein `` ist kann man mit den Taktiken `left` oder `right` entscheiden,
2 years ago
welche Seite man beweisen möchte.
"
2 years ago
Statement
"Angenommen $A$ ist wahr, zeige $A \\lor (\\neg B))$."
(A B : Prop) (hA : A) : A (¬ B) := by
2 years ago
left
assumption
2 years ago
Hint (A : Prop) (B : Prop) (hA : A) : A (¬ B) =>
"Entscheide dich, `right` oder `left`?"
Message (A : Prop) (B : Prop) (hA : A) : ¬ B =>
"Sackgasse. Probier's nochmals."
2 years ago
Tactics left right assumption