diff --git a/algebra/CPolynomials.v b/algebra/CPolynomials.v index 89686bc5..3c7d60f4 100644 --- a/algebra/CPolynomials.v +++ b/algebra/CPolynomials.v @@ -1654,8 +1654,8 @@ in cpoly_cring_old *) Lemma cpoly_mult_fast_ap_equiv : forall p1 p2 q1 q2, (cpoly_mult_fast_cs p1 q1)[#](cpoly_mult_cs p2 q2) -> p1[#]p2 or q1[#]q2. - destruct q1 as [|c q1]; destruct q2 as [|c0 q2]; intros X; simpl in X. Proof. + destruct q1 as [|c q1]; destruct q2 as [|c0 q2]; intros X; simpl in X. rewrite cpoly_ap_p_zero in X. elim (ap_irreflexive cpoly_csetoid cpoly_zero). stepl (cpoly_mult_cs p2 cpoly_zero). diff --git a/algebra/CRings.v b/algebra/CRings.v index d01c5a69..092f5bc7 100644 --- a/algebra/CRings.v +++ b/algebra/CRings.v @@ -413,8 +413,8 @@ Lemma nexp_well_def : forall n, fun_wd (nexp n). Qed. Lemma nexp_strong_ext : forall n, fun_strext (nexp n). - intro n; red in |- *; induction n as [| n Hrecn]; simpl in |- *; intros x y H. Proof. + intro n; red in |- *; induction n as [| n Hrecn]; simpl in |- *; intros x y H. elim (ap_irreflexive _ _ H). elim (cs_bin_op_strext _ cr_mult _ _ _ _ H); auto. Qed. diff --git a/algebra/Cauchy_COF.v b/algebra/Cauchy_COF.v index c00698e3..21a03e66 100644 --- a/algebra/Cauchy_COF.v +++ b/algebra/Cauchy_COF.v @@ -569,8 +569,8 @@ Proof. Qed. Definition R_recip : forall x : R_CRing, x [#] [0] -> R_CRing. - intros x Hx; elim Hx; intro Hlt; elim Hlt; intros N HN; elim HN; clear Hx Hlt HN; intros e He HN. Proof. + intros x Hx; elim Hx; intro Hlt; elim Hlt; intros N HN; elim HN; clear Hx Hlt HN; intros e He HN. cut (forall n : nat, N <= n -> e [<=] [--] (CS_seq _ x n)); intros. apply (Build_CauchySeq _ _ (CS_seq_inv _ _ (CS_seq_recip _ _ (CS_seq_inv _ _ (CS_proof _ x)) e He N H))). diff --git a/fta/KeyLemma.v b/fta/KeyLemma.v index 5c17a199..509da2ca 100644 --- a/fta/KeyLemma.v +++ b/fta/KeyLemma.v @@ -462,7 +462,6 @@ Lemma Key : {t : IR | [0] [<=] t | forall J, {k : nat -> nat | forall i, 1 <= i -> i <= n -> a i[*]r[^]i[-]eps [<=] a k_j[*]r[^]k_j)}}. Proof. (* begin hide *) -Proof. elim lem_1. intro t. intros H0 H1. elim H1. intros k_0 H2. elim H2. intros H3 H4. diff --git a/fta/MainLemma.v b/fta/MainLemma.v index c990358c..a1bbc544 100644 --- a/fta/MainLemma.v +++ b/fta/MainLemma.v @@ -431,7 +431,6 @@ Lemma Main : {r : IR | [0] [<=] r | {k : nat | 1 <= k /\ k <= n /\ r[^]n [<=] a_0 /\ Smaller[*]a_0[-]Two[*]eps [<=] p_k /\ p_k [<=] a_0)}}. Proof. (* begin hide *) -Proof. elim (Key a n gt_n_0 eps eps_pos a_nonneg a_n_1 a_0 eps_le_a_0). intro t. intros H0 H1. elim (H1 two_n). intro k. intros H2. diff --git a/ftc/FTC.v b/ftc/FTC.v index 570dd41e..e24c53ce 100644 --- a/ftc/FTC.v +++ b/ftc/FTC.v @@ -87,8 +87,8 @@ Proof. Qed. Definition Fprim : PartIR. - apply Build_PartFunct with (pfpfun := fun (x : IR) (Hx : I x) => Integral (prim_lemma x Hx)). Proof. + apply Build_PartFunct with (pfpfun := fun (x : IR) (Hx : I x) => Integral (prim_lemma x Hx)). apply iprop_wd. exact Fprim_strext. Defined. diff --git a/ftc/Integral.v b/ftc/Integral.v index b7fc573a..ae1a4615 100644 --- a/ftc/Integral.v +++ b/ftc/Integral.v @@ -236,8 +236,8 @@ Hypothesis HfP' : nat_less_n_fun fP. Hypothesis incF : included (Compact Hab) (Dom F). Lemma partition_Sum_conv_integral : AbsIR (Partition_Sum HfP incF[-]integral) [<=] e[*] (b[-]a). - apply leEq_wdl with (AbsIR (Partition_Sum HfP (contin_imp_inc _ _ _ _ contF) [-]integral)). Proof. + apply leEq_wdl with (AbsIR (Partition_Sum HfP (contin_imp_inc _ _ _ _ contF) [-]integral)). apply leEq_wdl with (AbsIR (Lim (Cauchy_const (Partition_Sum HfP (contin_imp_inc _ _ _ _ contF))) [-] integral)). 2: apply AbsIR_wd; apply cg_minus_wd; [ apply eq_symmetric_unfolded; apply Lim_const | algebra ]. diff --git a/ftc/PartInterval.v b/ftc/PartInterval.v index d7ab9ce4..e2160222 100644 --- a/ftc/PartInterval.v +++ b/ftc/PartInterval.v @@ -109,8 +109,8 @@ Proof. Qed. Definition PartInt : PartIR. - apply Build_PartFunct with (pfpfun := fun (x : IR) Hx => f (Build_subcsetoid_crr IR _ x Hx)). Proof. + apply Build_PartFunct with (pfpfun := fun (x : IR) Hx => f (Build_subcsetoid_crr IR _ x Hx)). exact (compact_wd _ _ _). exact PartInt_strext. Defined. diff --git a/ftc/RefSeparating.v b/ftc/RefSeparating.v index d1210a6a..f69b5350 100644 --- a/ftc/RefSeparating.v +++ b/ftc/RefSeparating.v @@ -501,8 +501,8 @@ Proof. Qed. Definition sep__part : Partition Hab sep__part_length. - apply Build_Partition with (fun (i : nat) (Hi : i <= m) => P _ (sep__part_fun_bnd i Hi)). Proof. + apply Build_Partition with (fun (i : nat) (Hi : i <= m) => P _ (sep__part_fun_bnd i Hi)). intros; apply prf1. apply sep__part_fun_wd; auto. intros. diff --git a/logic/CornBasics.v b/logic/CornBasics.v index dd044746..b94f65ff 100644 --- a/logic/CornBasics.v +++ b/logic/CornBasics.v @@ -833,7 +833,6 @@ Theorem well_founded_induction_type : forall P : A -> Type, (forall x : A, (forall y : A, R y x -> P y) -> P x) -> forall a : A, P a. Proof. - Proof. intros; apply (Acc_iter P); auto. Defined. End IndT. diff --git a/model/totalorder/QMinMax.v b/model/totalorder/QMinMax.v index c868d6ee..6745a318 100644 --- a/model/totalorder/QMinMax.v +++ b/model/totalorder/QMinMax.v @@ -62,8 +62,8 @@ Definition Qmax_case : Default.max_case Q Qle Qle_total. Definition QTotalOrder : TotalOrder. - apply makeTotalOrder with Q Qeq Qle Qmonotone Qantitone Qmin Qmax. Proof. + apply makeTotalOrder with Q Qeq Qle Qmonotone Qantitone Qmin Qmax. apply Qeq_le_def. apply Qle_refl. apply Qle_trans. diff --git a/model/totalorder/ZMinMax.v b/model/totalorder/ZMinMax.v index 9355194b..38d60531 100644 --- a/model/totalorder/ZMinMax.v +++ b/model/totalorder/ZMinMax.v @@ -51,8 +51,8 @@ Definition Zmonotone : (Z -> Z) -> Prop := Default.monotone Z.le. Definition Zantitone : (Z -> Z) -> Prop := Default.antitone Z.le. Definition ZTotalOrder : TotalOrder. - apply makeTotalOrder with Z (@eq Z) Z.le Zmonotone Zantitone Z.min Z.max. 1-3, 5-6: solve [auto with *]. Proof. + apply makeTotalOrder with Z (@eq Z) Z.le Zmonotone Zantitone Z.min Z.max. 1-3, 5-6: solve [auto with *]. apply Zle_total. intros. apply Z.min_case_strong; auto with *. intros. apply Z.min_case_strong; auto with *. diff --git a/order/TotalOrder.v b/order/TotalOrder.v index fb90c0e4..da62c5fe 100644 --- a/order/TotalOrder.v +++ b/order/TotalOrder.v @@ -165,8 +165,8 @@ Variable X : TotalOrder. The dual of a total order is a total order. *) Definition Dual : TotalOrder. - eapply Build_TotalOrder with (L:= Dual X). Proof. + eapply Build_TotalOrder with (L:= Dual X). intros. destruct (le_total _ x y); auto. Defined. diff --git a/reals/CMetricFields.v b/reals/CMetricFields.v index dc267b91..1c869d54 100644 --- a/reals/CMetricFields.v +++ b/reals/CMetricFields.v @@ -71,6 +71,25 @@ Proof. apply cmf_proof. Qed. +(* begin hide *) +Lemma Hulp : forall F : CMetricField, + cmf_abs F [1] [=] [1] -> cmf_abs F [--][1] [=] [--] (cmf_abs F [1]) -> False. + intros F G H. + set (H0 := ax_abs_gt_zero) in *. + generalize H0. + intro H1. + set (H2 := H1 F (cmf_abs F) (cmf_proof F) [--] ([1]:F)) in *. + rewrite -> leEq_def in H2. + apply H2. + astepl ( [--] (cmf_abs F [1])). + astepl ( [--]OneR). + apply plus_cancel_less with OneR. + astepl ZeroR. + astepr OneR. + apply pos_one. +Qed. +(* begin hide *) + Lemma MAbs_one_recip_one : forall F : CMetricField, MAbs ([1]:F) [=] MAbs ( [--][1]:F). Proof. @@ -96,26 +115,7 @@ Proof. apply eq_symmetric_unfolded. exact H3. intro H3. - (* begin hide *) - Lemma Hulp : forall F : CMetricField, - cmf_abs F [1] [=] [1] -> cmf_abs F [--][1] [=] [--] (cmf_abs F [1]) -> False. - intros F G H. - set (H0 := ax_abs_gt_zero) in *. - generalize H0. - intro H1. - set (H2 := H1 F (cmf_abs F) (cmf_proof F) [--] ([1]:F)) in *. - rewrite -> leEq_def in H2. - apply H2. - astepl ( [--] (cmf_abs F [1])). - astepl ( [--]OneR). - apply plus_cancel_less with OneR. - astepl ZeroR. - astepr OneR. - apply pos_one. -Qed. -(* begin hide *) simpl in |- *. -Proof. set (H4 := Hulp F H1 H3) in *. intuition. apply cond_square_eq. diff --git a/reals/CReals1.v b/reals/CReals1.v index 87da318d..e61a2733 100644 --- a/reals/CReals1.v +++ b/reals/CReals1.v @@ -50,8 +50,8 @@ The sequence defined by $x_n=\frac2{n+1}$#x(n)=2/(n+1)#. *) Lemma twice_inv_seq_Lim : SeqLimit (R:=IR) (fun n => Two[*]one_div_succ n) [0]. - red in |- *; fold (Cauchy_Lim_prop2 (fun n : nat => Two[*]one_div_succ n) [0]) in |- *. Proof. + red in |- *; fold (Cauchy_Lim_prop2 (fun n : nat => Two[*]one_div_succ n) [0]) in |- *. apply Cauchy_Lim_prop3_prop2. red in |- *; intro. exists (2 * S k); intros. diff --git a/reals/fast/MultivariatePolynomials.v b/reals/fast/MultivariatePolynomials.v index 4e887258..b01650c1 100644 --- a/reals/fast/MultivariatePolynomials.v +++ b/reals/fast/MultivariatePolynomials.v @@ -974,8 +974,8 @@ end. Add Parametric Morphism n : (@n_Function_ball01 n) with signature Qeq ==> (@st_eq _) ==> (@st_eq _) ==> iff as n_Function_ball01_wd. - induction n; intros e1 e2 He x y Hxy a b Hab. Proof. + induction n; intros e1 e2 He x y Hxy a b Hab. change (ball e1 x a <-> ball e2 y b). rewrite -> He, Hxy, Hab. reflexivity.