@@ -8,15 +8,15 @@ Require Import normedtype derive set_interval itv.
88From HB Require Import structures.
99
1010(***************************************************************************** *)
11- (* isConvexSpace R T == interface for convex spaces *)
12- (* ConvexSpace R == structure of convex space *)
13- (* a <| t |> b == convexity operator *)
14- (* E : lmodType R with R : realDomainType and R : realDomainType are shown to be convex spaces *)
11+ (* isConvexSpace R T == interface for convex spaces *)
12+ (* ConvexSpace R == structure of convex space *)
13+ (* a <| t |> b == convexity operator *)
14+ (* E : lmodType R with R : realDomainType and R : realDomainType are shown to *)
15+ (* be convex spaces *)
1516(***************************************************************************** *)
1617
1718Reserved Notation "x <| p |> y" (format "x <| p |> y", at level 49).
1819
19-
2020Set Implicit Arguments .
2121Unset Strict Implicit .
2222Unset Printing Implicit Defensive.
@@ -107,7 +107,7 @@ Proof. by rewrite /avg/= onem0 scale0r scale1r addr0. Qed.
107107Let avgI p x : avg p x x = x.
108108Proof . by rewrite /avg -scalerDl/= addrC add_onemK scale1r. Qed .
109109
110- Let avgC p x y : avg p x y = avg (`1- (p%:inum))%:i01 y x.
110+ Let avgC p x y : avg p x y = avg (1 - (p%:inum))%:i01 y x.
111111Proof . by rewrite /avg onemK addrC. Qed .
112112
113113Let avgA p q r (a b c : E) :
@@ -139,7 +139,7 @@ Proof. by rewrite /avg conv0. Qed.
139139Let avgI p x : avg p x x = x.
140140Proof . by rewrite /avg convmm. Qed .
141141
142- Let avgC p x y : avg p x y = avg `1- (p%:inum)%:i01 y x.
142+ Let avgC p x y : avg p x y = avg (1 - (p%:inum) )%:i01 y x.
143143Proof . by rewrite /avg convC. Qed .
144144
145145Let avgA p q r (a b c : R) :
@@ -209,7 +209,7 @@ Proof.
209209move=> H t; set x := a <| t |> b.
210210have /H : a <= x <= b.
211211 rewrite -(conv1 (a : R^o) b) -{1}(conv0 (a : R^o) b) /x.
212- by rewrite !le_conv//= ge0 /=.
212+ by rewrite !le_conv//= itv_ge0 /=.
213213rewrite subr_ge0 => /le_trans; apply.
214214by rewrite LE /x convK ?lt_eqF// convC convK ?gt_eqF.
215215Qed .
0 commit comments