@@ -66,7 +66,7 @@ intro n ; unfold exp_seq, An_deriv, Cseq_shift, Cseq_mult.
6666 replace (fact (S n))%nat with ((S n) * fact n)%nat by reflexivity.
6767 rewrite mult_INC, Cinv_mult_distr, <- Cmult_assoc, Cinv_r, Cmult_1_l ;
6868 [reflexivity | | |] ; replace C0 with (INC O) by reflexivity ; apply not_INC ;
69- try apply fact_neq_0 ; intuition.
69+ try apply fact_neq_0 ; intuition auto with * .
7070Qed .
7171
7272(** * This power serie has a radius of convergence that is infinite *)
@@ -90,11 +90,11 @@ assert (t : (1 > 0)%nat) by constructor ;
9090 apply Rle_trans with (R_dist ((/ Rseq_shift (Rseq_poly 1))%Rseq (N + n)%nat) 0).
9191 right ; unfold R_dist, Rseq_shift, Rseq_poly, pow ; apply Rabs_eq_compat ;
9292 rewrite Rminus_0_r, <- (Rmult_1_r (INR (S (N + n)))) ; reflexivity.
93- left ; apply HN ; intuition.
94- apply not_0_INR ; intuition.
93+ left ; apply HN ; intuition auto with * .
94+ apply not_0_INR ; intuition auto with * .
9595
9696unfold M ; rewrite Rinv_involutive ; [| apply Rgt_not_eq ; apply Rplus_le_lt_0_compat ;
97- [apply Rabs_pos | apply Rlt_0_1]] ; intuition.
97+ [apply Rabs_pos | apply Rlt_0_1]] ; intuition auto with * .
9898Qed .
9999
100100Definition Cexp (z : C) := sum _ exp_infinite_cv_radius z.
@@ -156,7 +156,7 @@ Lemma Cre_Cpow_2 : forall (a : R) (n : nat), Cre ((0 +i a) ^ (2 * n)) = ((-1) ^
156156Proof .
157157intros a n ; induction n.
158158 simpl ; ring.
159- replace (2 * S n)%nat with (S (S (2 * n))) by intuition.
159+ replace (2 * S n)%nat with (S (S (2 * n))) by intuition auto with * .
160160 do 2 rewrite Cpow_S, Cre_mul ; rewrite IHn.
161161 rewrite Cim_mul.
162162 replace (Cre (0 +i a)) with R0 by reflexivity.
@@ -167,7 +167,7 @@ Lemma Cim_Cpow_2 : forall (a : R) (n : nat), Cim ((0 +i a) ^ (2 * n)) = R0.
167167Proof .
168168intros a n ; induction n.
169169 simpl ; ring.
170- replace (2 * S n)%nat with (S (S (2 * n))) by intuition.
170+ replace (2 * S n)%nat with (S (S (2 * n))) by intuition auto with * .
171171 do 2 rewrite Cpow_S, Cim_mul ; rewrite IHn.
172172 rewrite Cre_mul.
173173 replace (Cre (0 +i a)) with R0 by reflexivity.
@@ -178,7 +178,7 @@ Lemma Cre_Cpow_S2 : forall (a : R) (p : nat), Cre ((0 +i a) ^ S (2 * p)) = R0.
178178Proof .
179179intros a n ; induction n.
180180 simpl ; ring.
181- replace (2 * S n)%nat with (S (S (2 * n))) by intuition.
181+ replace (2 * S n)%nat with (S (S (2 * n))) by intuition auto with * .
182182 do 2 rewrite Cpow_S, Cre_mul ; rewrite IHn.
183183 rewrite Cim_mul.
184184 replace (Cre (0 +i a)) with R0 by reflexivity.
@@ -189,7 +189,7 @@ Lemma Cim_Cpow_S2 : forall (a : R) (n : nat), Cim ((0 +i a) ^ (S (2 * n))) = ((-
189189Proof .
190190intros a n ; induction n.
191191 simpl ; ring.
192- replace (2 * S n)%nat with (S (S (2 * n))) by intuition.
192+ replace (2 * S n)%nat with (S (S (2 * n))) by intuition auto with * .
193193 do 2 rewrite Cpow_S, Cim_mul ; rewrite IHn.
194194 rewrite Cre_mul.
195195 replace (Cre (0 +i a)) with R0 by reflexivity.
@@ -214,18 +214,18 @@ intros a ; rewrite <- Ceq ; split ; simpl ;
214214
215215clear ; induction p.
216216 simpl ; field.
217- replace (2 * S p)%nat with (S (S (2 * p)))%nat by intuition.
217+ replace (2 * S p)%nat with (S (S (2 * p)))%nat by intuition auto with * .
218218 do 2 rewrite sum_f_C0_simpl ; rewrite tech5 ; do 2 rewrite<- Cre_add_compat ;
219219 rewrite <- IHp, Rplus_assoc ; apply Rplus_eq_compat_l.
220220 replace ((-1) ^ S p / INR (fact (2 * S p)) * a² ^ S p)%R
221221 with (Cre (gt_pser exp_seq (0 +i a) (S (S (2 * p))))).
222222 replace (Cre (gt_pser exp_seq (0 +i a) (S (2 * p))))%R with R0.
223223 symmetry ; apply Rplus_0_l.
224224 unfold_gt ; unfold exp_seq ; rewrite Cre_mul.
225- replace (S (S (2 * p))) with (2 * S p)%nat by intuition.
225+ replace (S (S (2 * p))) with (2 * S p)%nat by intuition auto with * .
226226 rewrite Cim_inv_INC, Rmult_0_l, Cre_Cpow_S2 ; ring.
227227 unfold_gt ; unfold exp_seq ; rewrite Cre_mul.
228- replace (S (S (2 * p))) with (2 * S p)%nat by intuition.
228+ replace (S (S (2 * p))) with (2 * S p)%nat by intuition auto with * .
229229 rewrite Cre_Cpow_2, Cim_Cpow_2, INC_inv_Cre_INR.
230230 unfold Rsqr ; rewrite pow_mult, Rmult_0_r, Rminus_0_r.
231231 rewrite Rmult_comm ; unfold Rdiv ; do 2 rewrite Rmult_assoc ;
@@ -240,18 +240,18 @@ clear ; induction p.
240240
241241clear ; induction p.
242242 simpl ; field.
243- replace (2 * S p)%nat with (S (S (2 * p)))%nat by intuition.
243+ replace (2 * S p)%nat with (S (S (2 * p)))%nat by intuition auto with * .
244244 do 2 rewrite sum_f_C0_simpl ; rewrite tech5 ; do 2 rewrite<- Cre_add_compat ;
245245 rewrite <- IHp, Rplus_assoc ; apply Rplus_eq_compat_l.
246246 replace ((-1) ^ S p / INR (fact (2 * S p)) * a² ^ S p)%R
247247 with (Cre (gt_pser exp_seq (0 +i a) (S (S (2 * p))))).
248248 replace (Cre (gt_pser exp_seq (0 +i a) (S (S (S (2 * p))))))%R with R0.
249249 symmetry ; apply Rplus_0_r.
250250 unfold_gt ; unfold exp_seq ; rewrite Cre_mul.
251- replace (S (S (2 * p))) with (2 * S p)%nat by intuition.
251+ replace (S (S (2 * p))) with (2 * S p)%nat by intuition auto with * .
252252 rewrite Cim_inv_INC, Rmult_0_l, Cre_Cpow_S2 ; ring.
253253 unfold_gt ; unfold exp_seq ; rewrite Cre_mul.
254- replace (S (S (2 * p))) with (2 * S p)%nat by intuition.
254+ replace (S (S (2 * p))) with (2 * S p)%nat by intuition auto with * .
255255 rewrite Cre_Cpow_2, Cim_Cpow_2, INC_inv_Cre_INR.
256256 unfold Rsqr ; rewrite pow_mult, Rmult_0_r, Rminus_0_r.
257257 rewrite Rmult_comm ; unfold Rdiv ; do 2 rewrite Rmult_assoc ;
@@ -272,8 +272,8 @@ clear ; induction p.
272272 simpl ; field.
273273 rewrite sum_f_C0_simpl, <- Cim_add_compat, IHn, Rplus_0_l ;
274274 unfold gt_pser ; replace (0 +i 0) with C0 by reflexivity.
275- unfold Cseq_mult ; rewrite C0_pow, Cmult_0_r ; simpl ; intuition.
276- intuition.
275+ unfold Cseq_mult ; rewrite C0_pow, Cmult_0_r ; simpl ; intuition auto with * .
276+ intuition auto with * .
277277
278278pose (eps' := (eps / Rabs a)%R) ; assert (eps'_pos : 0 < eps').
279279 unfold eps', Rdiv ; apply Rlt_mult_inv_pos ; [| apply Rabs_pos_lt] ; assumption.
@@ -292,7 +292,7 @@ destruct (Hl' _ eps'_pos) as [N HN] ; exists (S (2 * N))%nat ;
292292 clear ; induction p.
293293 simpl ; field.
294294
295- replace (2 * S (S p))%nat with (S (S (2 * S p))) by intuition.
295+ replace (2 * S (S p))%nat with (S (S (2 * S p))) by intuition auto with * .
296296 rewrite tech5 ; do 2 rewrite sum_f_C0_simpl, <- Cim_add_compat.
297297 rewrite IHp, Rplus_assoc ; apply Rplus_eq_compat_l.
298298 replace (Cim (gt_pser exp_seq (0 +i a) (S (S (2 * S p)))))%R with R0.
@@ -302,7 +302,7 @@ destruct (Hl' _ eps'_pos) as [N HN] ; exists (S (2 * N))%nat ;
302302 unfold Rsqr.
303303 rewrite INC_inv_Cre_INR.
304304 replace (a ^ S (2 * S p))%R with (a * (a ^ 2) ^ (S p))%R.
305- replace (2 * S p + 1)%nat with (S (2 * S p)) by intuition.
305+ replace (2 * S p + 1)%nat with (S (2 * S p)) by intuition auto with * .
306306 rewrite (Rmult_comm (/ INR (fact (S (2 * S p)))) _) ; unfold Rdiv ;
307307 repeat rewrite Rmult_assoc ; apply Rmult_eq_compat_l.
308308 rewrite Rmult_comm, <- Rmult_assoc ; apply Rmult_eq_compat_r.
@@ -311,7 +311,7 @@ destruct (Hl' _ eps'_pos) as [N HN] ; exists (S (2 * N))%nat ;
311311 rewrite <- pow_mult ; simpl ; reflexivity.
312312 apply fact_neq_0.
313313unfold_gt ; unfold exp_seq ; rewrite Cim_mul ;
314- replace ( S (S (2 * S p))) with (2 * (S (S p)))%nat by intuition ;
314+ replace ( S (S (2 * S p))) with (2 * (S (S p)))%nat by ( intuition auto with *) ;
315315rewrite Cim_Cpow_2, INC_inv_Cim_INR.
316316do 2 rewrite Rmult_0_r ; ring.
317317apply fact_neq_0.
@@ -325,18 +325,18 @@ apply fact_neq_0.
325325 clear ; induction p.
326326 simpl ; field.
327327
328- replace (2 * (S p))%nat with (S (S (2 * p))) by intuition.
328+ replace (2 * (S p))%nat with (S (S (2 * p))) by intuition auto with * .
329329 rewrite tech5 ; do 2 rewrite sum_f_C0_simpl, <- Cim_add_compat.
330330 rewrite IHp, Rplus_assoc ; apply Rplus_eq_compat_l.
331331 replace (Cim (gt_pser exp_seq (0 +i a) (S (S (2 * p)))))%R with R0.
332332 unfold_gt ; unfold exp_seq.
333- replace (S (S (S (2 * p)))) with (S (2 * (S p))) by intuition.
333+ replace (S (S (S (2 * p)))) with (S (2 * (S p))) by intuition auto with * .
334334 rewrite Cim_mul, Cre_Cpow_S2, Cim_Cpow_S2, Rmult_0_l,
335335 Rplus_0_l, Rplus_0_r.
336336 unfold Rsqr.
337337 rewrite INC_inv_Cre_INR.
338338 replace (a ^ S (2 * S p))%R with (a * (a ^ 2) ^ (S p))%R.
339- replace (2 * S p + 1)%nat with (S (2 * S p)) by intuition.
339+ replace (2 * S p + 1)%nat with (S (2 * S p)) by intuition auto with * .
340340 rewrite (Rmult_comm (/ INR (fact (S (2 * S p)))) _) ; unfold Rdiv ;
341341 repeat rewrite Rmult_assoc ; apply Rmult_eq_compat_l.
342342 rewrite Rmult_comm, <- Rmult_assoc ; apply Rmult_eq_compat_r.
@@ -345,15 +345,15 @@ apply fact_neq_0.
345345 rewrite <- pow_mult ; simpl ; reflexivity.
346346 apply fact_neq_0.
347347unfold_gt ; unfold exp_seq ; rewrite Cim_mul ;
348- replace (S (S (2 * p))) with (2 * (S p))%nat by intuition ;
348+ replace (S (S (2 * p))) with (2 * (S p))%nat by ( intuition auto with *) ;
349349rewrite Cim_Cpow_2, INC_inv_Cim_INR.
350350do 2 rewrite Rmult_0_r ; ring.
351351apply fact_neq_0.
352352Qed .
353353
354354Lemma Cexp_abs_cv : forall z, {l | Cser_abs_cv (gt_pser exp_seq z) l}.
355355Proof .
356- intro z ; assert (z_bd : Cnorm z < Cnorm z + 1) by intuition ;
356+ intro z ; assert (z_bd : Cnorm z < Cnorm z + 1) by ( intuition auto with *) ;
357357 destruct (Cpser_abel2_prelim _ _ (exp_infinite_cv_radius (Cnorm z + 1)%R) _ z_bd) as [l Hl].
358358 unfold Cpser_norm in Hl.
359359 exists (Cre l) ; unfold Cser_abs_cv.
0 commit comments