Theorem: Smt.Reconstruct.Builtin.iteElim2 (Smt/Reconstruct/Builtin/Lemmas.lean)

State before:
c a b : Prop
hc : Decidable c
⊢ (if c then a else b) → c ∨ b
Tactic:
intros h
State after:
c a b : Prop
hc : Decidable c
h : if c then a else b
⊢ c ∨ b

State before:
c a b : Prop
hc : Decidable c
h : if c then a else b
⊢ c ∨ b
Tactic:
cases hc with
| isTrue hc   => exact Or.inl hc
| isFalse hnc => exact Or.inr h
State after:
no goals

State before:
case isTrue
c a b : Prop
hc : c
h : if c then a else b
⊢ c ∨ b
Tactic:
exact Or.inl hc
State after:
no goals

State before:
case isFalse
c a b : Prop
hnc : ¬c
h : if c then a else b
⊢ c ∨ b
Tactic:
exact Or.inr h
State after:
no goals