test-suite/success/case_let_param.v
raw| 1 | Inductive foo (x := tt) := Foo : forall (y := x), foo. |
| 2 | |
| 3 | Definition get (t : foo) := match t with Foo _ y => y end. |
| 4 | |
| 5 | Goal get Foo = tt. |
| 6 | Proof. |
| 7 | reflexivity. |
| 8 | Qed. |
| 9 | |
| 10 | Goal forall x : foo, |
| 11 | match x with Foo _ y => y end = match x with Foo _ _ => tt end. |
| 12 | Proof. |
| 13 | intros. |
| 14 | reflexivity. |
| 15 | Qed. |