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/Implication/L03_Apply.lean

35 lines
1019 B
Plaintext

import Adam.Metadata
2 years ago
import Mathlib
2 years ago
Game "Adam"
World "Implication"
Level 3
2 years ago
Title "Apply"
2 years ago
Introduction
"
Leider läuft das Telefonat nicht so gut. Er legt wieder auf und schüttelt mit dem Kopf.
**Operationsleiter**: Der Kollege auf der anderen Seite des Mondes versteht kein `revert`. Oder er tut zumindest so. Habt Ihr noch eine andere Idee?
Er zieht eine Linie unter Euren Beweis, ergänzt ein durchgestrichenes ~`revert`~, und legt Euch das Blatt ein zweites Mal vor.
"
2 years ago
2 years ago
Statement (A B : Prop) (hA : A) (h : A → B) : B := by
Hint "**Robo**: Vielleicht wäre es ohnehin eleganter gewesen, mit Implikation mit `apply {h}` anzuwenden."
2 years ago
apply h
Hint "**Du**: Ja, das kommt mir jetzt auch natürlich vor."
2 years ago
assumption
Conclusion "Diesmal scheint das Telefont erfolgreich zu verlaufen."
2 years ago
NewTactic apply
DisabledTactic revert tauto
2 years ago
-- Katex notes
-- `\\( \\)` or `$ $` for inline
-- and `$$ $$` block.
-- align block:
2 years ago
-- $$\\begin{aligned} 2x - 4 &= 6 \\\\ 2x &= 10 \\\\ x &= 5 \\end{aligned}$$