Skip to content
Snippets Groups Projects

Generalize (e)feed pose proof to intro patterns

Closed Paolo G. Giarrusso requested to merge Blaisorblade/stdpp:gen-efeed into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -427,12 +427,12 @@ Tactic Notation "efeed" constr(H) "using" tactic3(tac) :=
@@ -427,12 +427,12 @@ Tactic Notation "efeed" constr(H) "using" tactic3(tac) :=
(** The following variants of [pose proof], [specialize], [inversion], and
(** The following variants of [pose proof], [specialize], [inversion], and
[destruct], use the [feed] tactic before invoking the actual tactic. *)
[destruct], use the [feed] tactic before invoking the actual tactic. *)
Tactic Notation "feed" "pose" "proof" constr(H) "as" ident(H') :=
Tactic Notation "feed" "pose" "proof" constr(H) "as" simple_intropattern(H') :=
feed (fun p => pose proof p as H') H.
feed (fun p => pose proof p as H') H.
Tactic Notation "feed" "pose" "proof" constr(H) :=
Tactic Notation "feed" "pose" "proof" constr(H) :=
feed (fun p => pose proof p) H.
feed (fun p => pose proof p) H.
Tactic Notation "efeed" "pose" "proof" constr(H) "as" ident(H') :=
Tactic Notation "efeed" "pose" "proof" constr(H) "as" simple_intropattern(H') :=
efeed H using (fun p => pose proof p as H').
efeed H using (fun p => pose proof p as H').
Tactic Notation "efeed" "pose" "proof" constr(H) :=
Tactic Notation "efeed" "pose" "proof" constr(H) :=
efeed H using (fun p => pose proof p).
efeed H using (fun p => pose proof p).
Loading