2013-09-09 05:54:22 +00:00
|
|
|
Set: pp::colors
|
|
|
|
Set: pp::unicode
|
|
|
|
Assumed: C
|
|
|
|
Assumed: D
|
|
|
|
Assumed: R
|
|
|
|
Proved: R2
|
|
|
|
Set: lean::pp::implicit
|
2013-12-30 19:46:03 +00:00
|
|
|
Import "kernel"
|
2013-12-30 11:29:20 +00:00
|
|
|
Import "nat"
|
|
|
|
Import "int"
|
2013-12-30 19:02:22 +00:00
|
|
|
Import "real"
|
2013-12-22 01:02:16 +00:00
|
|
|
Variable C {A B : Type} (H : @eq Type A B) (a : A) : B
|
|
|
|
Variable D {A A' : Type} {B : A → Type} {B' : A' → Type} (H : @eq Type (Π x : A, B x) (Π x : A', B' x)) :
|
|
|
|
@eq Type A A'
|
|
|
|
Variable R {A A' : Type} {B : A → Type} {B' : A' → Type} (H : @eq Type (Π x : A, B x) (Π x : A', B' x)) (a : A) :
|
|
|
|
@eq Type (B a) (B' (@C A A' (@D A A' (λ x : A, B x) (λ x : A', B' x) H) a))
|
|
|
|
Theorem R2 (A1 A2 B1 B2 : Type) (H : @eq Type (A1 → B1) (A2 → B2)) (a : A1) : @eq Type B1 B2 :=
|
|
|
|
@R A1 A2 (λ x : A1, B1) (λ x : A2, B2) H a
|