X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Ftests%2Fapply.ma;h=abd4a940700657dc505a46616a5514ffb6286db5;hb=2b7403dcc161d1cbf6bacd62f0868d0bc67c0fda;hp=70078f04f1dedd20bd3344627be7c1d921f0e9ee;hpb=2386a5d74ec458f9b103e051f098d814d3b08d50;p=helm.git diff --git a/helm/matita/tests/apply.ma b/helm/matita/tests/apply.ma index 70078f04f..abd4a9407 100644 --- a/helm/matita/tests/apply.ma +++ b/helm/matita/tests/apply.ma @@ -14,7 +14,7 @@ (* test _with_ the WHD on the apply argument *) set "baseuri" "cic:/matita/tests/apply/". -include "coq.ma". +include "legacy/coq.ma". alias id "not" = "cic:/Coq/Init/Logic/not.con". alias id "False" = "cic:/Coq/Init/Logic/False.ind#xpointer(1/1)". @@ -49,4 +49,9 @@ theorem c: A \to (\forall P: Prop. A \to P) \to (A \to B) \land (B \to B). intros 4; split; [ apply H1 | apply H1; exact H ]. qed. - \ No newline at end of file + +(* this test requires the delta-expansion of not in the type of the applied + term (to reveal a product) *) +theorem d: \forall A: Prop. \lnot A \to A \to False. + intros. apply H. assumption. +qed.