Theorem: LO.Propositional.Superintuitionistic.Kripke.satisfies_right_on_IntDPCounterexampleModel (Logic/Propositional/Superintuitionistic/Kripke/DP.lean)

State before:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p q : Formula α
M₁ M₂ : Model α
w : M₂.World
w₁ : M₁.World
w₂ : M₂.World
⊢ Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
Tactic:
induction p using rec' generalizing w with
| himp p q ihp ihq =>
  constructor;
  . simp only [Satisfies.imp_def];
    intro h X hWX hp;
    obtain ⟨x, hx, ex⟩ : ∃ x, w ≺ x ∧ (Sum.inr $ Sum.inr x) = X := by
      replace hWX : (IntDPCounterexampleModel M₁ M₂ w₁ w₂).Frame.Rel _ X := hWX;
      simp [IntDPCounterexampleFrame] at hWX;
      split at hWX;
      all_goals simp_all;
    subst ex;
    exact ihq.mp $ h hx $ ihp.mpr hp;
  . simp only [Satisfies.imp_def];
    intro h v hv hp;
    exact ihq.mpr $ h (by simpa [IntDPCounterexampleModel]) $ ihp.mp hp;
| _ => simp_all [IntDPCounterexampleModel, Satisfies.iff_models, Satisfies];
State after:
no goals

State before:
case himp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies M₂ w (p ⟶ q) ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q)
Tactic:
constructor
State after:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies M₂ w (p ⟶ q) → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q)

case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q) → Satisfies M₂ w (p ⟶ q)

State before:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies M₂ w (p ⟶ q) → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q)

case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q) → Satisfies M₂ w (p ⟶ q)
Tactic:
. simp only [Satisfies.imp_def];
  intro h X hWX hp;
  obtain ⟨x, hx, ex⟩ : ∃ x, w ≺ x ∧ (Sum.inr $ Sum.inr x) = X := by
    replace hWX : (IntDPCounterexampleModel M₁ M₂ w₁ w₂).Frame.Rel _ X := hWX;
    simp [IntDPCounterexampleFrame] at hWX;
    split at hWX;
    all_goals simp_all;
  subst ex;
  exact ihq.mp $ h hx $ ihp.mpr hp;
State after:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q) → Satisfies M₂ w (p ⟶ q)

State before:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q) → Satisfies M₂ w (p ⟶ q)
Tactic:
. simp only [Satisfies.imp_def];
  intro h v hv hp;
  exact ihq.mpr $ h (by simpa [IntDPCounterexampleModel]) $ ihp.mp hp;
State after:
no goals

State before:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies M₂ w (p ⟶ q) → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q)
Tactic:
simp only [Satisfies.imp_def]
State after:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ (∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q) →
    ∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
      Sum.inr (Sum.inr w) ≺ w' →
        Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q

State before:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ (∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q) →
    ∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
      Sum.inr (Sum.inr w) ≺ w' →
        Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q
Tactic:
intro h X hWX hp
State after:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hWX : Sum.inr (Sum.inr w) ≺ X
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X q

State before:
case himp.mp
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hWX : Sum.inr (Sum.inr w) ≺ X
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X q
Tactic:
obtain ⟨x, hx, ex⟩ : ∃ x, w ≺ x ∧ (Sum.inr $ Sum.inr x) = X := by
  replace hWX : (IntDPCounterexampleModel M₁ M₂ w₁ w₂).Frame.Rel _ X := hWX;
  simp [IntDPCounterexampleFrame] at hWX;
  split at hWX;
  all_goals simp_all;
State after:
case himp.mp.intro.intro
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hWX : Sum.inr (Sum.inr w) ≺ X
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
x : M₂.Frame.World
hx : w ≺ x
ex : Sum.inr (Sum.inr x) = X
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X q

State before:
case himp.mp.intro.intro
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hWX : Sum.inr (Sum.inr w) ≺ X
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
x : M₂.Frame.World
hx : w ≺ x
ex : Sum.inr (Sum.inr x) = X
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X q
Tactic:
subst ex
State after:
case himp.mp.intro.intro
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
x : M₂.Frame.World
hx : w ≺ x
hWX : Sum.inr (Sum.inr w) ≺ Sum.inr (Sum.inr x)
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr x)) p
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr x)) q

State before:
case himp.mp.intro.intro
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
x : M₂.Frame.World
hx : w ≺ x
hWX : Sum.inr (Sum.inr w) ≺ Sum.inr (Sum.inr x)
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr x)) p
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr x)) q
Tactic:
exact ihq.mp $ h hx $ ihp.mpr hp
State after:
no goals

State before:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hWX : Sum.inr (Sum.inr w) ≺ X
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = X
Tactic:
replace hWX : (IntDPCounterexampleModel M₁ M₂ w₁ w₂).Frame.Rel _ X := hWX
State after:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
hWX : (IntDPCounterexampleModel M₁ M₂ w₁ w₂).Frame.Rel (Sum.inr (Sum.inr w)) X
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = X

State before:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
hWX : (IntDPCounterexampleModel M₁ M₂ w₁ w₂).Frame.Rel (Sum.inr (Sum.inr w)) X
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = X
Tactic:
simp [IntDPCounterexampleFrame] at hWX
State after:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
hWX :
  match Sum.inr (Sum.inr w), X with
  | Sum.inl val, Sum.inl val_1 => True
  | Sum.inl val, Sum.inr (Sum.inl v) => w₁ ≺ v
  | Sum.inl val, Sum.inr (Sum.inr v) => w₂ ≺ v
  | Sum.inr (Sum.inl w), Sum.inr (Sum.inl v) => w ≺ v
  | Sum.inr (Sum.inr w), Sum.inr (Sum.inr v) => w ≺ v
  | x, x_1 => False
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = X

State before:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
X : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) X p
hWX :
  match Sum.inr (Sum.inr w), X with
  | Sum.inl val, Sum.inl val_1 => True
  | Sum.inl val, Sum.inr (Sum.inl v) => w₁ ≺ v
  | Sum.inl val, Sum.inr (Sum.inr v) => w₂ ≺ v
  | Sum.inr (Sum.inl w), Sum.inr (Sum.inl v) => w ≺ v
  | Sum.inr (Sum.inr w), Sum.inr (Sum.inr v) => w ≺ v
  | x, x_1 => False
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = X
Tactic:
split at hWX
State after:
case h_1
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝ v✝ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
val✝¹ val✝ : Unit
heq✝ : Sum.inr (Sum.inr w) = Sum.inl val✝¹
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inl val✝) p
hWX : True
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inl val✝

case h_2
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
val✝ : Unit
v✝ : M₁.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inl val✝
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inl v✝)) p
hWX : w₁ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inl v✝)

case h_3
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
val✝ : Unit
v✝ : M₂.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inl val✝
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr v✝)) p
hWX : w₂ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inr v✝)

case h_4
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝¹ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
w✝ v✝ : M₁.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inr (Sum.inl w✝)
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inl v✝)) p
hWX : w✝ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inl v✝)

case h_5
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝¹ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
w✝ v✝ : M₂.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inr (Sum.inr w✝)
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr v✝)) p
hWX : w✝ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inr v✝)

case h_6
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
v✝¹ w✝ v✝ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
x✝⁴ : ∀ (val val_1 : Unit), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inl val_1 → False
x✝³ : ∀ (val : Unit) (v : M₁.Frame.World), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inr (Sum.inl v) → False
x✝² : ∀ (val : Unit) (v : M₂.Frame.World), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inr (Sum.inr v) → False
x✝¹ : ∀ (w_1 v : M₁.Frame.World), Sum.inr (Sum.inr w) = Sum.inr (Sum.inl w_1) → v✝¹ = Sum.inr (Sum.inl v) → False
x✝ : ∀ (w_1 v : M₂.Frame.World), Sum.inr (Sum.inr w) = Sum.inr (Sum.inr w_1) → v✝¹ = Sum.inr (Sum.inr v) → False
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) v✝¹ p
hWX : False
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = v✝¹

State before:
case h_1
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝ v✝ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
val✝¹ val✝ : Unit
heq✝ : Sum.inr (Sum.inr w) = Sum.inl val✝¹
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inl val✝) p
hWX : True
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inl val✝

case h_2
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
val✝ : Unit
v✝ : M₁.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inl val✝
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inl v✝)) p
hWX : w₁ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inl v✝)

case h_3
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
val✝ : Unit
v✝ : M₂.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inl val✝
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr v✝)) p
hWX : w₂ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inr v✝)

case h_4
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝¹ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
w✝ v✝ : M₁.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inr (Sum.inl w✝)
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inl v✝)) p
hWX : w✝ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inl v✝)

case h_5
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
w✝¹ v✝¹ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
w✝ v✝ : M₂.Frame.World
heq✝ : Sum.inr (Sum.inr w) = Sum.inr (Sum.inr w✝)
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr v✝)) p
hWX : w✝ ≺ v✝
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = Sum.inr (Sum.inr v✝)

case h_6
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
v✝¹ w✝ v✝ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
x✝⁴ : ∀ (val val_1 : Unit), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inl val_1 → False
x✝³ : ∀ (val : Unit) (v : M₁.Frame.World), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inr (Sum.inl v) → False
x✝² : ∀ (val : Unit) (v : M₂.Frame.World), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inr (Sum.inr v) → False
x✝¹ : ∀ (w_1 v : M₁.Frame.World), Sum.inr (Sum.inr w) = Sum.inr (Sum.inl w_1) → v✝¹ = Sum.inr (Sum.inl v) → False
x✝ : ∀ (w_1 v : M₂.Frame.World), Sum.inr (Sum.inr w) = Sum.inr (Sum.inr w_1) → v✝¹ = Sum.inr (Sum.inr v) → False
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) v✝¹ p
hWX : False
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = v✝¹
Tactic:
all_goals simp_all;
State after:
no goals

State before:
case h_6
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h : ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
v✝¹ w✝ v✝ : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World
x✝⁴ : ∀ (val val_1 : Unit), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inl val_1 → False
x✝³ : ∀ (val : Unit) (v : M₁.Frame.World), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inr (Sum.inl v) → False
x✝² : ∀ (val : Unit) (v : M₂.Frame.World), Sum.inr (Sum.inr w) = Sum.inl val → v✝¹ = Sum.inr (Sum.inr v) → False
x✝¹ : ∀ (w_1 v : M₁.Frame.World), Sum.inr (Sum.inr w) = Sum.inr (Sum.inl w_1) → v✝¹ = Sum.inr (Sum.inl v) → False
x✝ : ∀ (w_1 v : M₂.Frame.World), Sum.inr (Sum.inr w) = Sum.inr (Sum.inr w_1) → v✝¹ = Sum.inr (Sum.inr v) → False
hp : Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) v✝¹ p
hWX : False
⊢ ∃ x, w ≺ x ∧ Sum.inr (Sum.inr x) = v✝¹
Tactic:
simp_all
State after:
no goals

State before:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p ⟶ q) → Satisfies M₂ w (p ⟶ q)
Tactic:
simp only [Satisfies.imp_def]
State after:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ (∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
      Sum.inr (Sum.inr w) ≺ w' →
        Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q) →
    ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q

State before:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
⊢ (∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
      Sum.inr (Sum.inr w) ≺ w' →
        Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q) →
    ∀ {w' : M₂.Frame.World}, w ≺ w' → Satisfies M₂ w' p → Satisfies M₂ w' q
Tactic:
intro h v hv hp
State after:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h :
  ∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
    Sum.inr (Sum.inr w) ≺ w' →
      Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q
v : M₂.Frame.World
hv : w ≺ v
hp : Satisfies M₂ v p
⊢ Satisfies M₂ v q

State before:
case himp.mpr
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h :
  ∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
    Sum.inr (Sum.inr w) ≺ w' →
      Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q
v : M₂.Frame.World
hv : w ≺ v
hp : Satisfies M₂ v p
⊢ Satisfies M₂ v q
Tactic:
exact ihq.mpr $ h (by simpa [IntDPCounterexampleModel]) $ ihp.mp hp
State after:
no goals

State before:
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p✝ q✝ : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p q : Formula α
ihp : ∀ {w : M₂.World}, Satisfies M₂ w p ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p
ihq : ∀ {w : M₂.World}, Satisfies M₂ w q ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q
w : M₂.World
h :
  ∀ {w' : Unit ⊕ M₁.Frame.World ⊕ M₂.Frame.World},
    Sum.inr (Sum.inr w) ≺ w' →
      Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' p → Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) w' q
v : M₂.Frame.World
hv : w ≺ v
hp : Satisfies M₂ v p
⊢ Sum.inr (Sum.inr w) ≺ Sum.inr (Sum.inr v)
Tactic:
simpa [IntDPCounterexampleModel]
State after:
no goals

State before:
case hor
α : Type u_1
inst✝² : Inhabited α
inst✝¹ : DecidableEq α
inst✝ : Encodable α
p q : Formula α
M₁ M₂ : Model α
w₁ : M₁.World
w₂ : M₂.World
p✝ q✝ : Formula α
a✝¹ : ∀ {w : M₂.World}, Satisfies M₂ w p✝ ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) p✝
a✝ : ∀ {w : M₂.World}, Satisfies M₂ w q✝ ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) q✝
w : M₂.World
⊢ Satisfies M₂ w (p✝ ⋎ q✝) ↔ Satisfies (IntDPCounterexampleModel M₁ M₂ w₁ w₂) (Sum.inr (Sum.inr w)) (p✝ ⋎ q✝)
Tactic:
simp_all [IntDPCounterexampleModel, Satisfies.iff_models, Satisfies]
State after:
no goals