]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/unfold.ma
...
[helm.git] / helm / matita / tests / unfold.ma
index 28ffcf3f2d7dba97aeec48b497ef9b7d030758ca..4af22f1b97c03796db9dc34dc34fd94099bc16b5 100644 (file)
@@ -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.