2013-08-31 21:25:27 +00:00
|
|
|
Variable f : Pi (A : Type), A -> Bool
|
|
|
|
Show fun (A B : Type) (a : _), f B a
|
2014-01-05 16:52:46 +00:00
|
|
|
-- The following one should produce an error
|
2013-09-01 02:15:48 +00:00
|
|
|
Show fun (A : Type) (a : _) (B : Type), f B a
|
2013-08-31 21:25:27 +00:00
|
|
|
|
2013-12-19 23:15:32 +00:00
|
|
|
Variable myeq : Pi A : (Type U), A -> A -> Bool
|
2013-08-31 21:25:27 +00:00
|
|
|
Show myeq _ (fun (A : Type) (a : _), a) (fun (B : Type) (b : B), b)
|
|
|
|
Check myeq _ (fun (A : Type) (a : _), a) (fun (B : Type) (b : B), b)
|
|
|
|
|
|
|
|
|
|
|
|
Variable R : Type -> Bool
|
|
|
|
Variable h : (Pi (A : Type), R A) -> Bool
|
|
|
|
Check (fun (H : Bool)
|
|
|
|
(f1 : Pi (A : Type), R _)
|
|
|
|
(g1 : Pi (A : Type), R A)
|
|
|
|
(G : Pi (A : Type), myeq _ (f1 _) (g1 A)),
|
|
|
|
h f1)
|