Skip to content

Commit d434d5f

Browse files
committed
fix 8.12 errors and deprecations
1 parent 25a4376 commit d434d5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Examples/TwoPhaseCommit/TwoPhaseCoordinator.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Next Obligation. by case/andP: H=>/eqP->_; rewrite /ddom domPt inE/=. Qed.
6767
(************** Coordinator code **************)
6868

6969
(*** Reading internal state ***)
70-
Arguments TPCProtocol.TPCCoh [cn pts others].
70+
Arguments TPCProtocol.TPCCoh {cn pts others}.
7171
Notation coh := (@TPCProtocol.TPCCoh cn pts others).
7272
Notation getS s := (getStatelet s l).
7373
Notation loc i := (getLocal cn (getStatelet i l)).

Examples/TwoPhaseCommit/TwoPhaseInductiveInv.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Require Import InductiveInv While StatePredicates.
1515
From DiSeL
1616
Require Import TwoPhaseProtocol.
1717

18-
Require Import Omega.
18+
Require Import Lia.
1919

2020
Set Implicit Arguments.
2121
Unset Strict Implicit.
@@ -2027,7 +2027,7 @@ case.
20272027
match goal with
20282028
| [ H : pt_state _ _ _ _ |- _ ] =>
20292029
move: H =>/(pt_state_functional V' PS')[]; try discriminate
2030-
end; case; intros; subst; auto; try omega.
2030+
end; case; intros; subst; auto; try lia.
20312031
Qed.
20322032

20332033
Lemma cn_log_agreement d r lg pt :

0 commit comments

Comments
 (0)