File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -591,8 +591,8 @@ open Lean Elab Tactic Meta Qq Iris.BI Iris Iris.ProofMode
591591theorem tac_lc_add_laterN_split {GF : BundledGFunctors} [InvGS GF]
592592 {n m newM : Nat} {E : CoPset} {P Q goal : IProp GF}
593593 (inst : AddModal iprop(|={E}=> goal) goal goal)
594- (h1 : m = n + newM) (h2 : iprop( P ∗ £ newM) ⊢ ▷^[n] Q) (h3 : Q ⊢ goal) :
595- iprop( P ∗ £ m) ⊢ goal := by
594+ (h1 : m = n + newM) (h2 : P ∗ £ newM ⊢ ▷^[n] Q) (h3 : Q ⊢ goal) :
595+ P ∗ £ m ⊢ goal := by
596596 subst h1
597597 iintro ⟨HP, Hcred⟩
598598 iapply inst.add_modal
@@ -610,16 +610,15 @@ theorem tac_lc_add_laterN_split {GF : BundledGFunctors} [InvGS GF]
610610theorem tac_lc_add_laterN_full {GF : BundledGFunctors} [InvGS GF]
611611 {m : Nat} {E : CoPset} {P Q goal : IProp GF}
612612 (inst : AddModal iprop(|={E}=> goal) goal goal)
613- (h2 : P ⊢ ▷^[m] Q) (h3 : Q ⊢ goal) :
614- iprop(P ∗ £ m) ⊢ goal := by
613+ (h1 : P ⊢ ▷^[m] Q) (h2 : Q ⊢ goal) : P ∗ £ m ⊢ goal := by
615614 iintro ⟨HP, Hcred⟩
616615 iapply inst.add_modal
617616 isplitl
618- · ihave H := h2 $$ HP
617+ · ihave H := h1 $$ HP
619618 iapply lc_fupd_add_laterN m $$ Hcred
620619 inext
621620 imodintro
622- iapply h3 $$ H
621+ iapply h2 $$ H
623622 · iintro Hgoal
624623 iassumption
625624
You can’t perform that action at this time.
0 commit comments