File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -873,7 +873,10 @@ Section LockServ.
873
873
| _ => trace_mutual_exclusion' holder tr'
874
874
end
875
875
| (n, (inl _)) :: tr' => trace_mutual_exclusion' holder tr'
876
- | (Client n, (inr [Locked])) :: tr' => trace_mutual_exclusion' (Some n) tr'
876
+ | (Client n, (inr [Locked])) :: tr' => match holder with
877
+ | None => trace_mutual_exclusion' (Some n) tr'
878
+ | Some _ => False
879
+ end
877
880
| (_, (inr [])) :: tr' => trace_mutual_exclusion' holder tr'
878
881
| (_, (inr _)) :: tr' => False
879
882
end .
@@ -951,7 +954,7 @@ Section LockServ.
951
954
trace_mutual_exclusion' h (tr ++ [(Client n, inr [Locked])]).
952
955
Proof .
953
956
induction tr; intros; simpl in *.
954
- - auto.
957
+ - subst. auto.
955
958
- simpl in *. repeat break_match; subst; intuition.
956
959
Qed .
957
960
You can’t perform that action at this time.
0 commit comments