Skip to content

Commit a540fbb

Browse files
committed
upd wrt last itv.v
1 parent 5f247dc commit a540fbb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

theories/convex.v

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Require Import normedtype derive set_interval itv.
88
From 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

1718
Reserved Notation "x <| p |> y" (format "x <| p |> y", at level 49).
1819

19-
2020
Set Implicit Arguments.
2121
Unset Strict Implicit.
2222
Unset Printing Implicit Defensive.
@@ -107,7 +107,7 @@ Proof. by rewrite /avg/= onem0 scale0r scale1r addr0. Qed.
107107
Let avgI p x : avg p x x = x.
108108
Proof. 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.
111111
Proof. by rewrite /avg onemK addrC. Qed.
112112

113113
Let avgA p q r (a b c : E) :
@@ -139,7 +139,7 @@ Proof. by rewrite /avg conv0. Qed.
139139
Let avgI p x : avg p x x = x.
140140
Proof. 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.
143143
Proof. by rewrite /avg convC. Qed.
144144

145145
Let avgA p q r (a b c : R) :
@@ -209,7 +209,7 @@ Proof.
209209
move=> H t; set x := a <| t |> b.
210210
have /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/=.
213213
rewrite subr_ge0 => /le_trans; apply.
214214
by rewrite LE /x convK ?lt_eqF// convC convK ?gt_eqF.
215215
Qed.

0 commit comments

Comments
 (0)