Skip to content

Commit aa5e99e

Browse files
committed
Bug fix: Examples/ClosedProofs.lean and HeapLang/PrimitiveLaws.lean
1 parent 88bea9b commit aa5e99e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Iris/Iris/Examples/ClosedProofs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ example : True := by
6363
icases inv_alloc nroot ⊤ iprop(True) $$ [] with >#Hinv
6464
· itrivial
6565
imod inv_acc $$ Hinv with ⟨HP, Hcl⟩
66-
· rw [nclose_root]; exact subset_refl
66+
· rw [nclose_root]
6767
imod Hcl $$ HP with HP
6868
iapply fupd_mask_intro empty_subset
6969
iintro Hcl

Iris/Iris/HeapLang/PrimitiveLaws.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ theorem wp_resolve_strong {e : Exp} {p : ProphId} {w : Val} {pvs : List (Val ×
561561
· iapply HWPe; iexact Hp
562562
ihave HWPe := (show iprop(WP e @ s; E {{ v_e, ∃ pvs', proph p pvs' ∗
563563
∀ pvs'', ⌜pvs' = (v_e, w) :: pvs''⌝ -∗ proph p pvs'' -∗ Φ v_e }}) ⊢ _
564-
by rw [wp_unfold.to_eq]; simp only [wp.pre, hne]; exact .rfl) $$ HWPe
564+
by rw [wp_unfold.to_eq]) $$ HWPe
565+
simp only [wp.pre, hne]
565566
cases obs using List.reverseRec with
566567
| nil =>
567568
ihave Hσ_e : iprop(stateInterp σ₁ ns ([] ++ obs') nt) $$ [Hheap Hpmap]

0 commit comments

Comments
 (0)