diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2014-05-31 13:42:34 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2014-05-31 19:10:08 +0200 |
commit | 37f68259ab0a33c3b5b41de70b08422d9bcd3bec (patch) | |
tree | 3eec9a8016204f88e957ebf85ac7453fe2fd854c /test-suite/success/intros.v | |
parent | 979e48bfe1a16b0cbc6671a78297d496b730bf99 (diff) |
Fixing introduction patterns * and ** when used in a branch so that they do not introduce beyond what is under control of the branch. See test-suite intros.v for an example.
Diffstat (limited to 'test-suite/success/intros.v')
-rw-r--r-- | test-suite/success/intros.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/success/intros.v b/test-suite/success/intros.v index 25e0ec2f7..bb9fc0c50 100644 --- a/test-suite/success/intros.v +++ b/test-suite/success/intros.v @@ -22,3 +22,9 @@ hnf. match goal with [ |- 0 = 0 ] => reflexivity end. Abort. +(* Fixing behavior of "*" and "**" in branches, so that they do not + introduce more than what the branch expects them to introduce at most *) +Goal forall n p, n + p = 0. +intros [|*]; intro p. +Abort. + |