aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success/Cases_bug1834.v
blob: 65372c2da44ffaa812ca4a6d8eb664a85e866415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(* Bug in the computation of generalization *)

(* The following bug, elaborated by Bruno Barras, is solved from r11083  *)

Parameter P : unit -> Prop.
Definition T := sig P.
Parameter Q : T -> Prop.
Definition U := sig Q.
Parameter a : U.
Check (match a with exist _ (exist _ tt e2) e3 => e3=e3 end).

(* There is still a form submitted by Pierre Corbineau (#1834) which fails *)