Foundations · Statements and logic
Words like necessary, sufficient and "if and only if" describe how conditions depend on each other, and mixing up the direction is a common mistake.