]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/unfold.ma
ported to new syntactic requirement about terms being surrounded by parens
[helm.git] / helm / matita / tests / unfold.ma
index 28ffcf3f2d7dba97aeec48b497ef9b7d030758ca..d63dd50d46d8a6a8027234ff691815f4a71c537b 100644 (file)
@@ -30,3 +30,10 @@ 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.
+ reflexivity.
+qed.