X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2Fnat%2Fgeneric_iter_p.ma;h=6956b7fab7b066b472a42e9fbfed1701f0173d8e;hb=6e3edeedb090d7406c2383d57d14755a55b43946;hp=4796ec10b2e14c1829daefba403a11b34e98e38d;hpb=b37f3d17c490c83c69997c5e08057df2d36ce0a7;p=helm.git diff --git a/helm/software/matita/library/nat/generic_iter_p.ma b/helm/software/matita/library/nat/generic_iter_p.ma index 4796ec10b..6956b7fab 100644 --- a/helm/software/matita/library/nat/generic_iter_p.ma +++ b/helm/software/matita/library/nat/generic_iter_p.ma @@ -158,8 +158,7 @@ iter_p_gen (k + n) p A g baseA plusA intros. elim k -[ rewrite < (plus_n_O n). - simplify. +[ simplify. rewrite > H in \vdash (? ? ? %). rewrite > (H1 ?). reflexivity @@ -283,8 +282,7 @@ elim n rewrite > sym_plus. rewrite > (div_plus_times ? ? ? H5). rewrite > (mod_plus_times ? ? ? H5). - rewrite > H4. - simplify.reflexivity. + reflexivity. ] | reflexivity ] @@ -366,8 +364,7 @@ elim n rewrite > sym_plus. rewrite > (div_plus_times ? ? ? H5). rewrite > (mod_plus_times ? ? ? H5). - rewrite > H4. - simplify.reflexivity. + reflexivity. ] | reflexivity ] @@ -619,7 +616,7 @@ elim n rewrite > H8 [ reflexivity | assumption - | autobatch + | apply andb_true_true; [2: apply H12] ] | apply eqb_false_to_not_eq. generalize in match H14. @@ -918,8 +915,8 @@ cut (O < p) rewrite < exp_plus_times. apply eq_f. rewrite > sym_plus. - apply plus_minus_m_m. - autobatch + apply plus_minus_m_m. + autobatch; ] ] |intros. @@ -944,8 +941,8 @@ cut (O < p) [apply le_S_S_to_le. change with ((i/S m) < S n). apply (lt_times_to_lt_l m). - apply (le_to_lt_to_lt ? i) - [autobatch|assumption] + apply (le_to_lt_to_lt ? i);[2:assumption] + apply eq_plus_to_le;[2:autobatch] |apply le_exp [assumption |apply le_S_S_to_le.