diff options
| author | Pierre-Marie Pédrot | 2017-08-02 18:51:19 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-08-02 19:51:59 +0200 |
| commit | 3007909ca1f65132bd0850d2be57e781e55707bd (patch) | |
| tree | 5d350a26e6997768f2d77eda05cdad32968a0d9b /tests/example2.v | |
| parent | 6e150eb19a55b16bbd4ea03964ee48f2d69084ed (diff) | |
Tentatively implementing apply.
Diffstat (limited to 'tests/example2.v')
| -rw-r--r-- | tests/example2.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/example2.v b/tests/example2.v index ca9e3dcff5..fd5a9044e9 100644 --- a/tests/example2.v +++ b/tests/example2.v @@ -26,3 +26,18 @@ intros H. elim &H with 0. split. Qed. + +Goal forall (P : nat -> Prop), (forall n m, n = m -> P n) -> P 0. +Proof. +intros P H. +Fail apply &H. +apply &H with (m := 0). +split. +Qed. + +Goal forall (P : nat -> Prop), (forall n m, n = m -> P n) -> P 0. +Proof. +intros P H. +eapply &H. +split. +Qed. |
