Skip to content

Commit c1aff25

Browse files
committed
1 parent 859965a commit c1aff25

30 files changed

+167
-167
lines changed

classical/classical_sets.v

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,7 +2482,7 @@ Proof. by apply/eqP => /seteqP[] /(_ point) /(_ Logic.I). Qed.
24822482

24832483
End PointedTheory.
24842484

2485-
HB.mixin Record isBiPointed (X : Type) of Equality X := {
2485+
HB.mixin Record isBiPointed (X : Type) & Equality X := {
24862486
zero : X;
24872487
one : X;
24882488
zero_one_neq : zero != one;
@@ -2511,10 +2511,10 @@ HB.mixin Record isEmpty T := {
25112511
#[short(type="emptyType")]
25122512
HB.structure Definition Empty := {T of isEmpty T & Finite T}.
25132513

2514-
HB.factory Record Choice_isEmpty T of Choice T := {
2514+
HB.factory Record Choice_isEmpty T & Choice T := {
25152515
axiom : T -> False
25162516
}.
2517-
HB.builders Context T of Choice_isEmpty T.
2517+
HB.builders Context T & Choice_isEmpty T.
25182518

25192519
Definition pickle : T -> nat := fun=> 0%N.
25202520
Definition unpickle : nat -> option T := fun=> None.
@@ -2532,12 +2532,12 @@ HB.end.
25322532
HB.factory Record Type_isEmpty T := {
25332533
axiom : T -> False
25342534
}.
2535-
HB.builders Context T of Type_isEmpty T.
2535+
HB.builders Context T & Type_isEmpty T.
25362536
Definition eq_op (x y : T) := true.
25372537
Lemma eq_opP : Equality.axiom eq_op. Proof. by move=> ? /[dup]/axiom. Qed.
25382538
HB.instance Definition _ := hasDecEq.Build T eq_opP.
25392539

2540-
Definition find of pred T & nat : option T := None.
2540+
Definition find & pred T & nat : option T := None.
25412541
Lemma findP (P : pred T) (n : nat) (x : T) : find P n = Some x -> P x.
25422542
Proof. by []. Qed.
25432543
Lemma ex_find (P : pred T) : (exists x : T, P x) -> exists n : nat, find P n.

classical/filter.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ HB.instance Definition _ T := isFiltered.Build T (set_system T) id.
236236
HB.mixin Record selfFiltered T := {}.
237237

238238
HB.factory Record hasNbhs T := { nbhs : T -> set_system T }.
239-
HB.builders Context T of hasNbhs T.
239+
HB.builders Context T & hasNbhs T.
240240
HB.instance Definition _ := isFiltered.Build T T nbhs.
241241
HB.instance Definition _ := selfFiltered.Build T.
242242
HB.end.
@@ -274,7 +274,7 @@ Definition prop_near1 {X} {fX : filteredType X} (x : fX)
274274
P (phP : ph {all1 P}) := nbhs x P.
275275

276276
Definition prop_near2 {X X'} {fX : filteredType X} {fX' : filteredType X'}
277-
(x : fX) (x' : fX') := fun P of ph {all2 P} =>
277+
(x : fX) (x' : fX') := fun P & ph {all2 P} =>
278278
filter_prod (nbhs x) (nbhs x') (fun x => P x.1 x.2).
279279

280280
End Near.

classical/functions.v

Lines changed: 43 additions & 43 deletions
Large diffs are not rendered by default.

classical/set_interval.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ Proof. by apply/funext => x; rewrite /factor subrr invr0 mulr0. Qed.
609609
Lemma factorl a b : factor a b a = 0.
610610
Proof. by rewrite /factor subrr mul0r. Qed.
611611

612-
Definition ndline_path a b of a < b := line_path a b.
612+
Definition ndline_path a b & a < b := line_path a b.
613613

614614
Lemma ndline_pathE a b (ab : a < b) : ndline_path ab = line_path a b.
615615
Proof. by []. Qed.

experimental_reals/distr.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Structure distr := Distr {
4949
_ : psum mu <= 1
5050
}.
5151

52-
Definition distr_of of phant R & phant T := distr.
52+
Definition distr_of & phant R & phant T := distr.
5353
End Distribution.
5454

5555
Notation "{ 'distr' T / R }" := (distr_of (Phant R) (Phant T))

reals/constructive_ereal.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,10 +3859,10 @@ Arguments cmp0e {R i} _ {_}.
38593859
Arguments neqe0 {R i} _ {_}.
38603860
Arguments ext_widen_itv {R i} _ {_ _}.
38613861

3862-
Definition posnume (R : numDomainType) of phant R :=
3862+
Definition posnume (R : numDomainType) & phant R :=
38633863
Itv.def (@ext_num_sem R) (Itv.Real `]0%Z, +oo[).
38643864
Notation "{ 'posnum' '\bar' R }" := (@posnume _ (Phant R)) : type_scope.
3865-
Definition nonnege (R : numDomainType) of phant R :=
3865+
Definition nonnege (R : numDomainType) & phant R :=
38663866
Itv.def (@ext_num_sem R) (Itv.Real `[0%Z, +oo[).
38673867
Notation "{ 'nonneg' '\bar' R }" := (@nonnege _ (Phant R)) : type_scope.
38683868
Notation "x %:pos" := (ext_widen_itv x%:itv : {posnum \bar _}) (only parsing)

reals/reals.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ End has_bound_lemmas.
118118

119119
(* -------------------------------------------------------------------- *)
120120

121-
HB.mixin Record ArchimedeanField_isReal R of Num.ArchiRealField R := {
121+
HB.mixin Record ArchimedeanField_isReal R & Num.ArchiRealField R := {
122122
sup_upper_bound_subdef : forall E : set R,
123123
has_sup E -> ubound E (supremum 0 E) ;
124124
sup_adherent_subdef : forall (E : set R) (eps : R),

reals/signed.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ Notation "x %:sgn" := (from (Phantom _ x)) : ring_scope.
320320
Notation "[ 'sgn' 'of' x ]" := (fromP (Phantom _ x)) : ring_scope.
321321
Notation num := r.
322322
Notation "x %:num" := (r x) : ring_scope.
323-
Definition posnum (R : numDomainType) of phant R := {> 0%R : R}.
323+
Definition posnum (R : numDomainType) & phant R := {> 0%R : R}.
324324
Notation "{ 'posnum' R }" := (@posnum _ (Phant R)) : ring_scope.
325325
Notation "x %:posnum" := (@num _ _ 0%R !=0 >=0 x) : ring_scope.
326-
Definition nonneg (R : numDomainType) of phant R := {>= 0%R : R}.
326+
Definition nonneg (R : numDomainType) & phant R := {>= 0%R : R}.
327327
Notation "{ 'nonneg' R }" := (@nonneg _ (Phant R)) : ring_scope.
328328
Notation "x %:nngnum" := (@num _ _ 0%R ?=0 >=0 x) : ring_scope.
329329
Arguments r {disp T x0 nz cond}.

theories/charge.v

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ HB.factory Record isCharge d (T : semiRingOfSetsType d) (R : realFieldType)
133133
}.
134134

135135
HB.builders Context d (T : semiRingOfSetsType d) (R : realFieldType)
136-
mu of isCharge d T R mu.
136+
mu & isCharge d T R mu.
137137

138138
Let finite : fin_num_fun mu. Proof. exact: charge_finite. Qed.
139139

@@ -224,7 +224,7 @@ End charge_lemmas.
224224
#[export] Hint Resolve charge_semi_additive2 : core.
225225

226226
Definition measure_of_charge d (T : semiRingOfSetsType d) (R : numFieldType)
227-
(nu : set T -> \bar R) of (forall E, 0 <= nu E) := nu.
227+
(nu : set T -> \bar R) & (forall E, 0 <= nu E) := nu.
228228

229229
Section measure_of_charge.
230230
Context d (T : ringOfSetsType d) (R : realFieldType).
@@ -283,7 +283,7 @@ Qed.
283283
End charge_lemmas_realFieldType.
284284

285285
Definition crestr d (T : semiRingOfSetsType d) (R : numDomainType) (D : set T)
286-
(f : set T -> \bar R) of measurable D := fun X => f (X `&` D).
286+
(f : set T -> \bar R) & measurable D := fun X => f (X `&` D).
287287

288288
Section charge_restriction.
289289
Context d (T : measurableType d) (R : numFieldType).
@@ -556,7 +556,7 @@ HB.instance Definition _ := isCharge.Build _ _ _ (pushforward nu f)
556556
End pushforward_charge.
557557

558558
HB.builders Context d (T : measurableType d) (R : realType)
559-
(mu : set T -> \bar R) of Measure_isFinite d T R mu.
559+
(mu : set T -> \bar R) & Measure_isFinite d T R mu.
560560

561561
Let mu0 : mu set0 = 0.
562562
Proof. by apply: measure0. Qed.

theories/hoelder.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ Definition finite_norm d (T : measurableType d) (R : realType)
787787

788788
HB.mixin Record isLfunction d (T : measurableType d) (R : realType)
789789
(mu : {measure set T -> \bar R}) (p : \bar R) (p1 : (1 <= p)%E) (f : T -> R)
790-
of @MeasurableFun d _ T R f := {
790+
& @MeasurableFun d _ T R f := {
791791
Lfunction_finite : finite_norm mu p f
792792
}.
793793

0 commit comments

Comments
 (0)