theorem pred_Sn : \forall n:nat.
(eq nat n (pred (S n))).
-intros.reflexivity.
+intros; reflexivity.
qed.
theorem injective_S : \forall n,m:nat.
(eq nat (S n) (S m)) \to (eq nat n m).
-intros.
-rewrite > pred_Sn n.
-rewrite > pred_Sn m.
-apply f_equal. assumption.
+intros;
+rewrite > pred_Sn n;
+rewrite > pred_Sn m;
+apply f_equal; assumption.
qed.
theorem not_eq_S : \forall n,m:nat.
Not (eq nat n m) \to Not (eq nat (S n) (S m)).
-intros. simplify.intros.
-apply H.apply injective_S.assumption.
+intros; simplify; intros;
+apply H; apply injective_S; assumption.
qed.
definition not_zero : nat \to Prop \def
| (S p) \Rightarrow True ].
theorem O_S : \forall n:nat. Not (eq nat O (S n)).
-intros.simplify.intros.
-cut (not_zero O).exact Hcut.rewrite > H.
-exact I.
+intros; simplify; intros;
+cut (not_zero O); [ exact Hcut | rewrite > H; exact I ].
qed.
theorem n_Sn : \forall n:nat. Not (eq nat n (S n)).
| (S p) \Rightarrow S (plus p m) ].
theorem plus_n_O: \forall n:nat. eq nat n (plus n O).
-intros.elim n.simplify.reflexivity.
-simplify.apply f_equal.assumption.
+intros;elim n;
+ [ simplify;reflexivity
+ | simplify;apply f_equal;assumption ].
qed.
theorem plus_n_Sm : \forall n,m:nat. eq nat (S (plus n m)) (plus n (S m)).