Skip to content

Commit 013e3af

Browse files
committed
fix all non-mathcomp deprecations
1 parent abbb716 commit 013e3af

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

Core/Domain.v

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Proof. by case: T y x z=>S [[l R A Tr]] ? x y z; apply: (Tr). Qed.
7070

7171
End Laws.
7272

73-
Hint Resolve poset_refl.
73+
Hint Resolve poset_refl : core.
7474

7575
Add Parametric Relation (T : poset) : T (@Poset.leq T)
7676
reflexivity proved by (@poset_refl _)
@@ -399,8 +399,8 @@ Definition sup_closure (T : lattice) (s : Pred T) :=
399399

400400
End Lat.
401401

402-
Arguments lbot [T].
403-
Arguments sup_closed [T].
402+
Arguments lbot {T}.
403+
Arguments sup_closed {T}.
404404
Arguments sup_closure [T].
405405
Prenex Implicits sup_closed sup_closure.
406406

@@ -900,7 +900,7 @@ Notation "[ 'cpo' 'of' T 'for' cT ]" := (@clone T cT _ idfun)
900900
Notation "[ 'cpo' 'of' T ]" := (@clone T _ _ id)
901901
(at level 0, format "[ 'cpo' 'of' T ]") : form_scope.
902902

903-
Arguments CPO.bot [cT].
903+
Arguments CPO.bot {cT}.
904904
Arguments CPO.lim [cT].
905905
Prenex Implicits CPO.lim.
906906
Prenex Implicits CPO.bot.
@@ -927,7 +927,7 @@ End CPO.
927927

928928
Export CPO.Exports.
929929

930-
Hint Resolve botP.
930+
Hint Resolve botP : core.
931931

932932
(* common chain constructions *)
933933

@@ -936,7 +936,7 @@ Hint Resolve botP.
936936
Section LiftChain.
937937
Variable (D : cpo) (s : chain D).
938938

939-
Hint Resolve botP.
939+
Hint Resolve botP : core.
940940

941941
Lemma lift_chainP : chain_axiom [Pred x : D | x = bot \/ x \In s].
942942
Proof.
@@ -1146,7 +1146,7 @@ Qed.
11461146

11471147
End AdmissibleClosure.
11481148

1149-
Arguments chain_closed [T].
1149+
Arguments chain_closed {T}.
11501150
Prenex Implicits chain_closed.
11511151

11521152
(* diagonal of an admissible set of pairs is admissible *)
@@ -1326,7 +1326,7 @@ Export Kleene.Exports.
13261326
Lemma id_cont (D : cpo) : continuous (@id D).
13271327
Proof. by exists id_mono; move=>d; rewrite id_chainE. Qed.
13281328

1329-
Arguments id_cont [D].
1329+
Arguments id_cont {D}.
13301330
Prenex Implicits id_cont.
13311331

13321332
Lemma const_cont (D1 D2 : cpo) (y : D2) : continuous (fun x : D1 => y).
@@ -1336,7 +1336,7 @@ exists const_mono; move=>s; apply: poset_asym.
13361336
by apply: limM=>_ [x][->].
13371337
Qed.
13381338

1339-
Arguments const_cont [D1 D2 y].
1339+
Arguments const_cont {D1 D2 y}.
13401340
Prenex Implicits const_cont.
13411341

13421342
Lemma comp_cont (D1 D2 D3 : cpo) (f1 : D2 -> D1) (f2 : D3 -> D2) :
@@ -1355,8 +1355,8 @@ Proof. by exists proj1_mono. Qed.
13551355
Lemma proj2_cont (D1 D2 : cpo) : continuous (@snd D1 D2).
13561356
Proof. by exists proj2_mono. Qed.
13571357

1358-
Arguments proj1_cont [D1 D2].
1359-
Arguments proj2_cont [D1 D2].
1358+
Arguments proj1_cont {D1 D2}.
1359+
Arguments proj2_cont {D1 D2}.
13601360
Prenex Implicits proj1_cont proj2_cont.
13611361

13621362
Lemma diag_cont (D : cpo) : continuous (fun x : D => (x, x)).
@@ -1365,7 +1365,7 @@ exists diag_mono=>d; apply: poset_asym;
13651365
by split=>/=; [rewrite proj1_diagE | rewrite proj2_diagE].
13661366
Qed.
13671367

1368-
Arguments diag_cont [D].
1368+
Arguments diag_cont {D}.
13691369
Prenex Implicits diag_cont.
13701370

13711371
Lemma app_cont A (D : cpo) x : continuous (fun f : A -> D => f x).

Core/HoareTriples.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ Lemma conseq_refl (W : world) A this (e : DT this W A) :
448448
conseq e (spec_of e).
449449
Proof. by case: e; case=>p q [T H i] /= Hp C t; apply: H. Qed.
450450

451-
Hint Resolve conseq_refl.
451+
Hint Resolve conseq_refl : core.
452452

453453

454454
(* Weakening the specifications *)

Core/Process.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Inductive schedule :=
3737

3838
End ProcessSyntax.
3939

40-
Arguments Unfinished [this W A].
40+
Arguments Unfinished {this W A}.
4141
Arguments Ret [this W A].
4242
Arguments Act [this W A].
4343
Arguments Seq [this W A B].

Examples/TwoPhaseCommit/TwoPhaseParticipant.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Next Obligation. by rewrite !InE; do![right]. Qed.
8585

8686
(************** Participant code **************)
8787

88-
Arguments TPCProtocol.TPCCoh [cn pts others].
88+
Arguments TPCProtocol.TPCCoh {cn pts others}.
8989
Notation coh := (@TPCProtocol.TPCCoh cn pts others).
9090
Notation getS s := (getStatelet s l).
9191
Notation loc i := (getLocal p (getStatelet i l)).

0 commit comments

Comments
 (0)