2013-12-22 02:23:37 +00:00
|
|
|
Set: pp::colors
|
|
|
|
Set: pp::unicode
|
2013-12-24 06:04:19 +00:00
|
|
|
Assumed: cast
|
|
|
|
Assumed: CastEq
|
|
|
|
Assumed: CastApp
|
|
|
|
Assumed: DomInj
|
|
|
|
Assumed: RanInj
|
2013-12-22 02:23:37 +00:00
|
|
|
Set: pp::colors
|
|
|
|
Defined: TypeM
|
|
|
|
Defined: TypeU
|
|
|
|
λ (A A' : TypeM)
|
|
|
|
(B : A → TypeM)
|
|
|
|
(B' : A' → TypeM)
|
|
|
|
(f : Π x : A, B x)
|
|
|
|
(g : Π x : A', B' x)
|
|
|
|
(a : A)
|
|
|
|
(b : A')
|
|
|
|
(H1 : (Π x : A, B x) == (Π x : A', B' x))
|
|
|
|
(H2 : f == g)
|
|
|
|
(H3 : a == b),
|
|
|
|
let S1 : (Π x : A', B' x) == (Π x : A, B x) := Symm H1,
|
|
|
|
L2 : A' == A := DomInj S1,
|
|
|
|
b' : A := cast L2 b,
|
|
|
|
L3 : b == b' := CastEq L2 b,
|
|
|
|
L4 : a == b' := HTrans H3 L3,
|
|
|
|
L5 : f a == f b' := Congr2 f L4,
|
|
|
|
g' : Π x : A, B x := cast S1 g,
|
|
|
|
L6 : g == g' := CastEq S1 g,
|
|
|
|
L7 : f == g' := HTrans H2 L6,
|
|
|
|
L8 : f b' == g' b' := Congr1 b' L7,
|
|
|
|
L9 : f a == g' b' := HTrans L5 L8,
|
|
|
|
L10 : g' b' == g b := CastApp S1 L2 g b
|
|
|
|
in HTrans L9 L10 :
|
|
|
|
Π (A A' : TypeM) (B : A → TypeM) (B' : A' → TypeM) (f : Π x : A, B x) (g : Π x : A', B' x) (a : A) (b : A'),
|
|
|
|
(Π x : A, B x) == (Π x : A', B' x) → f == g → a == b → f a == g b
|