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.
26 lines
447 B
Plaintext
26 lines
447 B
Plaintext
import TestGame.Metadata
|
|
|
|
set_option tactic.hygienic false
|
|
|
|
Game "TestGame"
|
|
World "Logic"
|
|
Level 8
|
|
|
|
Title "Implikation"
|
|
|
|
Introduction
|
|
"
|
|
Wenn das Goal von der Form `A → B` ist, kann man mit `intro hA` annehmen, dass `A` wahr ist
|
|
(i.e. erstellt eine Annahme `(hA : A)`)
|
|
und das Goal wird zu `B`.
|
|
"
|
|
|
|
Statement
|
|
(A B C : Prop) (f : A → B) (g : B → C) : A → C := by
|
|
intro hA
|
|
apply g
|
|
apply f
|
|
assumption
|
|
|
|
Tactics intro apply assumption
|