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.
32 lines
377 B
Plaintext
32 lines
377 B
Plaintext
2 years ago
|
import NNG.Metadata
|
||
|
import NNG.MyNat.Addition
|
||
|
import Std.Tactic.RCases
|
||
|
|
||
|
Game "NNG"
|
||
|
World "AdvProposition"
|
||
|
Level 3
|
||
|
Title ""
|
||
|
|
||
|
open MyNat
|
||
|
|
||
|
Introduction
|
||
|
"
|
||
|
|
||
|
"
|
||
|
|
||
|
Statement and_trans
|
||
|
""
|
||
|
(P Q R : Prop) : P ∧ Q → Q ∧ R → P ∧ R := by
|
||
|
intro hpq
|
||
|
intro hqr
|
||
|
rcases hpq with ⟨p, q⟩
|
||
|
rcases hqr with ⟨q', r⟩
|
||
|
constructor
|
||
|
assumption
|
||
|
assumption
|
||
|
|
||
|
Conclusion
|
||
|
"
|
||
|
|
||
|
"
|