X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Ftests%2Funfold.ma;h=4af22f1b97c03796db9dc34dc34fd94099bc16b5;hb=3e8363bec852afb37160d8144db8d94bbff447d6;hp=28ffcf3f2d7dba97aeec48b497ef9b7d030758ca;hpb=650e3b3c9ff0b9cafb76a0edf8139a53446937ba;p=helm.git diff --git a/helm/matita/tests/unfold.ma b/helm/matita/tests/unfold.ma index 28ffcf3f2..4af22f1b9 100644 --- a/helm/matita/tests/unfold.ma +++ b/helm/matita/tests/unfold.ma @@ -30,3 +30,8 @@ theorem trivial: \forall n. S (myplus n n) = myplus (S n) n. rewrite > lem. reflexivity. qed. + +(* This test needs to parse "uno" in the context of the hypothesis H, + not in the context of the goal. *) +theorem t: let uno \def S O in uno + uno = S uno \to uno=uno. + intros. unfold uno in H.