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

31 lines
847 B
Plaintext

2 years ago
import TestGame.Metadata
import Std.Tactic.RCases
import Mathlib.Tactic.LeftRight
Game "TestGame"
World "Proposition"
Level 6
2 years ago
Title "Widerspruch beweist alles."
2 years ago
Introduction
"
Die Aussage `False` ist für uns wichtiger als `True`, da ein Beweis der falschen Aussage
`False` einen Widerspruch repräsentiert.
Hat man einen Widerspruch, kann man daraus mit der Taktik `contradiction` alles beweisen.
2 years ago
Der erste Widerspruch, den `contradiction` erkennt, ist ein Beweis von `False`.
2 years ago
"
Statement
2 years ago
"Sei $A$ eine Aussage und angenommen man hat einen Beweis für `False`.
Zeige, dass daraus $A$ folgt."
2 years ago
(A : Prop) (h : False) : A := by
2 years ago
contradiction
2 years ago
Message (A : Prop) (h : False) : A =>
"Wenn man einen Beweis von `False` hat, kann man mit `contradiction` das Goal beweisen,
unabhängig davon, was das Goal ist."
2 years ago
Tactics contradiction