Theorem: incrementalLRATCheckerSound
Proof state before:
case left.h_1
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
id✝ : Nat
rupHints✝ : Array Nat
aWellFormed : wellFormedAction (Action.addEmpty id✝ rupHints✝)
incrementalChecker_success :
  (if (performRupAdd f empty rupHints✝).snd = true then ((performRupAdd f empty rupHints✝).fst, success)
      else ((performRupAdd f empty rupHints✝).fst, rup_failure)).snd =
    success
⊢ False

case left.h_2
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
id✝ : Nat
c✝ : β
rupHints✝ : Array Nat
aWellFormed : wellFormedAction (Action.addRup id✝ c✝ rupHints✝)
incrementalChecker_success :
  (if (performRupAdd f c✝ rupHints✝).snd = true then ((performRupAdd f c✝ rupHints✝).fst, out_of_proof)
      else ((performRupAdd f c✝ rupHints✝).fst, rup_failure)).snd =
    success
⊢ False

case left.h_3
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
id✝ : Nat
c✝ : β
pivot✝ : Literal α
rupHints✝ : Array Nat
ratHints✝ : Array (Nat × Array Nat)
aWellFormed : wellFormedAction (Action.addRat id✝ c✝ pivot✝ rupHints✝ ratHints✝)
incrementalChecker_success :
  (if (performRatAdd f c✝ pivot✝ rupHints✝ ratHints✝).snd = true then
        ((performRatAdd f c✝ pivot✝ rupHints✝ ratHints✝).fst, out_of_proof)
      else ((performRatAdd f c✝ pivot✝ rupHints✝ ratHints✝).fst, rup_failure)).snd =
    success
⊢ False

case left.h_4
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
ids✝ : Array Nat
aWellFormed : wellFormedAction (Action.del ids✝)
incrementalChecker_success : (Formula.delete f ids✝, out_of_proof).snd = success
⊢ False
Tactic:
. next rupHints =>
  by_cases performRupAdd_success : (performRupAdd f empty rupHints).2
  . exact addEmptyCaseSound f f_readyForRupAdd rupHints performRupAdd_success p pf
  . simp only [performRupAdd_success, ite_false] at incrementalChecker_success
Proof state after:
case left.h_2
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
id✝ : Nat
c✝ : β
rupHints✝ : Array Nat
aWellFormed : wellFormedAction (Action.addRup id✝ c✝ rupHints✝)
incrementalChecker_success :
  (if (performRupAdd f c✝ rupHints✝).snd = true then ((performRupAdd f c✝ rupHints✝).fst, out_of_proof)
      else ((performRupAdd f c✝ rupHints✝).fst, rup_failure)).snd =
    success
⊢ False

case left.h_3
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
id✝ : Nat
c✝ : β
pivot✝ : Literal α
rupHints✝ : Array Nat
ratHints✝ : Array (Nat × Array Nat)
aWellFormed : wellFormedAction (Action.addRat id✝ c✝ pivot✝ rupHints✝ ratHints✝)
incrementalChecker_success :
  (if (performRatAdd f c✝ pivot✝ rupHints✝ ratHints✝).snd = true then
        ((performRatAdd f c✝ pivot✝ rupHints✝ ratHints✝).fst, out_of_proof)
      else ((performRatAdd f c✝ pivot✝ rupHints✝ ratHints✝).fst, rup_failure)).snd =
    success
⊢ False

case left.h_4
α : Type u_1
β : Type u_2
σ : Type u_3
inst✝² : DecidableEq α
inst✝¹ : Clause α β
inst✝ : Formula α β σ
f : σ
f_readyForRupAdd : readyForRupAdd f
f_readyForRatAdd : readyForRatAdd f
p : α → Bool
pf : p ⊨ f
action✝ : Action β α
ids✝ : Array Nat
aWellFormed : wellFormedAction (Action.del ids✝)
incrementalChecker_success : (Formula.delete f ids✝, out_of_proof).snd = success
⊢ False