From 2f4811b6d3069ed65da69b0e25cc75fe9f70c43e Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Wed, 19 Apr 2017 18:03:52 +0200 Subject: [PATCH] style --- theories/heap_lang/lib/spin_lock.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theories/heap_lang/lib/spin_lock.v b/theories/heap_lang/lib/spin_lock.v index 65375c186..ea19cf82a 100644 --- a/theories/heap_lang/lib/spin_lock.v +++ b/theories/heap_lang/lib/spin_lock.v @@ -29,7 +29,7 @@ Section proof. Definition is_lock (γ : gname) (lk : val) (R : iProp Σ) : iProp Σ := (∃ l: loc, ⌜lk = #l⌠∧ inv N (lock_inv γ l R))%I. - Definition locked (γ : gname): iProp Σ := own γ (Excl ()). + Definition locked (γ : gname) : iProp Σ := own γ (Excl ()). Lemma locked_exclusive (γ : gname) : locked γ -∗ locked γ -∗ False. Proof. iIntros "H1 H2". by iDestruct (own_valid_2 with "H1 H2") as %?. Qed. -- GitLab