X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Flibrary%2Fnat%2Frelevant_equations.ma;h=f4cf43775058d9cfdd550c68f2cb959f00fba512;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=1c0f25f5770a34a2be644a093997a0fabc65a018;hpb=fcc4e47ab6406a9a666471e017b81cf364195866;p=helm.git diff --git a/helm/matita/library/nat/relevant_equations.ma b/helm/matita/library/nat/relevant_equations.ma index 1c0f25f57..f4cf43775 100644 --- a/helm/matita/library/nat/relevant_equations.ma +++ b/helm/matita/library/nat/relevant_equations.ma @@ -19,9 +19,9 @@ include "nat/minus.ma". theorem times_plus_l: \forall n,m,p:nat. (n+m)*p = n*p + m*p. intros. -apply trans_eq ? ? (p*(n+m)). +apply (trans_eq ? ? (p*(n+m))). apply sym_times. -apply trans_eq ? ? (p*n+p*m). +apply (trans_eq ? ? (p*n+p*m)). apply distr_times_plus. apply eq_f2. apply sym_times. @@ -30,9 +30,9 @@ qed. theorem times_minus_l: \forall n,m,p:nat. (n-m)*p = n*p - m*p. intros. -apply trans_eq ? ? (p*(n-m)). +apply (trans_eq ? ? (p*(n-m))). apply sym_times. -apply trans_eq ? ? (p*n-p*m). +apply (trans_eq ? ? (p*n-p*m)). apply distr_times_minus. apply eq_f2. apply sym_times. @@ -42,7 +42,7 @@ qed. theorem times_plus_plus: \forall n,m,p,q:nat. (n + m)*(p + q) = n*p + n*q + m*p + m*q. intros. -apply trans_eq nat ? ((n*(p+q) + m*(p+q))). +apply (trans_eq nat ? ((n*(p+q) + m*(p+q)))). apply times_plus_l. rewrite > distr_times_plus. rewrite > distr_times_plus.