| 1 |
(* This used to raise an anomaly in 8.4 and trunk up to 17 April 2013 *) |
| 2 |
|
| 3 |
Set Implicit Arguments. |
| 4 |
|
| 5 |
Inductive path (V : Type) (E : V -> V -> Type) (s : V) : V -> Type := |
| 6 |
| NoEdges : path E s s |
| 7 |
| AddEdge : forall d d' : V, path E s d -> E d d' -> path E s d'. |
| 8 |
Inductive G_Vertex := G_v0 | G_v1. |
| 9 |
Inductive G_Edge : G_Vertex -> G_Vertex -> Set := G_e : G_Edge G_v0 G_v1. |
| 10 |
Goal forall x1 : G_Edge G_v1 G_v1, @AddEdge _ G_Edge G_v1 _ _ (NoEdges _ _) x1 = NoEdges _ _. |
| 11 |
intro x1. |
| 12 |
try destruct x1. (* now raises a typing error *) |
| 13 |
Abort. |