Debian Codegraph @

test-suite/bugs/bug_8553.v

raw
1 (* Using tactic "change" under binders *)
2
3 Definition add2 n := n +2.
4 Goal (fun n => n) = (fun n => n+2).
5 change (?n + 2) with (add2 n).
6 match goal with |- _ = (fun n => add2 n) => idtac end. (* To test the presence of add2 *)
7 Abort.