I'm looking to try to simplify 2 different formulas to be easier to say but i'm not sure on the exact rules of propositional calculus. I am starting with the two formulas (1) and (2) and i'm experimenting with the equivilences (3) and (4) where (3) is based on (1) and (4) is based on (2). I am fairly confident that the middle formula of (3) and (4) is correct but i don't know whether the last formula of (3) and (4) is valid, e.g. ~(~p & ~q) = (p & p)? Thanks.
(1) ~◊(p & ~q)
(2) ~◊(~p & ~q)
(3) ~◊(p & ~q) = □~(p & ~q) = □(~p & q)
(4) ~◊(~p & ~q) = □~(~p & ~q) = □(p & q)