Theorem: LeanSAT.LitVar.vars_toPropForm (LeanSAT/Data/Cnf.lean)

State before:
L : Type u
ν : Type v
inst✝² : LitVar L ν
inst✝¹ : LawfulLitVar L ν
inst✝ : DecidableEq ν
l : L
⊢ PropForm.vars (toPropForm l) = {toVar l}
Tactic:
dsimp [toPropForm]
State after:
L : Type u
ν : Type v
inst✝² : LitVar L ν
inst✝¹ : LawfulLitVar L ν
inst✝ : DecidableEq ν
l : L
⊢ PropForm.vars (if polarity l = true then PropForm.var (toVar l) else PropForm.neg (PropForm.var (toVar l))) =
    {toVar l}

State before:
L : Type u
ν : Type v
inst✝² : LitVar L ν
inst✝¹ : LawfulLitVar L ν
inst✝ : DecidableEq ν
l : L
⊢ PropForm.vars (if polarity l = true then PropForm.var (toVar l) else PropForm.neg (PropForm.var (toVar l))) =
    {toVar l}
Tactic:
cases polarity l <;> simp [PropForm.vars]
State after:
no goals