2015-02-22 17:39:27 +00:00
|
|
|
open is_trunc
|
2014-12-02 06:27:23 +00:00
|
|
|
|
|
|
|
context
|
2014-12-16 21:28:43 +00:00
|
|
|
parameters {P : Π(A : Type), A → Type}
|
2014-12-02 06:27:23 +00:00
|
|
|
|
|
|
|
definition my_contr {A : Type} [H : is_contr A] (a : A) : P A a := sorry
|
|
|
|
|
|
|
|
definition foo2
|
|
|
|
(A : Type)
|
|
|
|
(B : A → Type)
|
|
|
|
(a : A)
|
|
|
|
(x : B a)
|
|
|
|
(H : Π (a : A), is_contr (B a)) --(H : is_contr (B a))
|
|
|
|
: P (B a) x :=
|
|
|
|
by apply (@my_contr _ _)
|
|
|
|
end
|