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/nng/NNG/Levels/AdvProposition/Level_4.lean

32 lines
434 B
Plaintext

import NNG.Metadata
import NNG.MyNat.Addition
import Std.Tactic.RCases
Game "NNG"
World "AdvProposition"
Level 4
Title ""
open MyNat
Introduction
"
"
Statement iff_trans
""
(P Q R : Prop) : (P ↔ Q) → (Q ↔ R) → (P ↔ R) := by
intro hpq
intro hqr
rcases hpq with ⟨hpq, hqp⟩
rcases hqr with ⟨hqr, hrq⟩
constructor
exact fun x => hqr (hpq x) -- cc
exact fun x => hqp (hrq x) -- cc
Conclusion
"
"