Theorem: LO.FirstOrder.isSome_bool_to_opt (Logic/FirstOrder/Computability/Calculus.lean)

State before:
μ : Type ?u.1166446
L : Language
inst✝⁶ : (k : ℕ) → DecidableEq (L.Func k)
inst✝⁵ : (k : ℕ) → DecidableEq (L.Rel k)
inst✝⁴ : (k : ℕ) → Primcodable (L.Func k)
inst✝³ : (k : ℕ) → Primcodable (L.Rel k)
inst✝² : UniformlyPrimcodable L.Func
inst✝¹ : UniformlyPrimcodable L.Rel
inst✝ : Primcodable μ
b : Bool
⊢ (Bool.toOpt b).isSome = b
Tactic:
cases b <;> simp[Bool.toOpt]
State after:
no goals