test-suite/bugs/bug_5486.v
raw| 1 | Axiom proof_admitted : False. |
| 2 | Tactic Notation "admit" := abstract case proof_admitted. |
| 3 | Goal forall (T : Type) (p : prod (prod T T) bool) (Fm : Set) (f : Fm) (k : |
| 4 | forall _ : T, Fm), |
| 5 | @eq Fm |
| 6 | (k |
| 7 | match p return T with |
| 8 | | pair p0 swap => fst p0 |
| 9 | end) f. |
| 10 | intros. |
| 11 | (* next statement failed in Bug 5486 *) |
| 12 | match goal with |
| 13 | | [ |- ?f (let (a, b) := ?d in @?e a b) = ?rhs ] |
| 14 | => pose (let (a, b) := d in e a b) as t0 |
| 15 | end. |
| 16 | Abort. |