Debian Codegraph @

test-suite/bugs/HoTT_coq_028.v

raw
1 Goal forall (O obj : Type) (f : O -> obj) (x : O) (e : x = x)
2 (T : obj -> obj -> Type) (m : forall x0 : obj, T x0 x0),
3 match eq_sym e in (_ = y) return (T (f y) (f x)) with
4 | eq_refl => m (f x)
5 end = m (f x).
6 intros.
7 try case e.
8 (* Toplevel input, characters 19-25:
9 Error: Cannot instantiate metavariable P of type
10 "forall a : O, x = a -> Prop" with abstraction
11 "fun (x : O) (e : x = x) =>
12 match eq_sym e in (_ = y) return (T (f y) (f x)) with
13 | eq_refl => m (f x)
14 end = m (f x)" of incompatible type "forall x : O, x = x -> Prop". *)
15 Abort.