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

State before:
L : Type u
ν : Type v
inst✝¹ : LitVar L ν
inst✝ : LawfulLitVar L ν
x : ν
p : Bool
⊢ toVar (mkLit L x p) = x
Tactic:
dsimp [mkLit]
State after:
L : Type u
ν : Type v
inst✝¹ : LitVar L ν
inst✝ : LawfulLitVar L ν
x : ν
p : Bool
⊢ toVar (if p = true then mkPos x else mkNeg x) = x

State before:
L : Type u
ν : Type v
inst✝¹ : LitVar L ν
inst✝ : LawfulLitVar L ν
x : ν
p : Bool
⊢ toVar (if p = true then mkPos x else mkNeg x) = x
Tactic:
split <;> simp
State after:
no goals