summaryrefslogtreecommitdiff
path: root/test-suite/bugs/opened/3383.v
blob: 9a14641a57d94b07f9366a45dd81012e77a0c508 (plain)
1
2
3
4
5
6
7
Goal forall b : bool, match b as b' return if b' then True else True with true => I | false => I end = match b as b' return if b' then True else True with true => I | false => I end.
intro.
Fail lazymatch goal with
| [ |- appcontext[match ?b as b' return @?P b' with true => ?t | false => ?f end] ]
  => change (match b as b' return P b with true => t | false => f end) with (@bool_rect P t f)
end. (* Toplevel input, characters 153-154:
Error: The reference P was not found in the current environment. *)