Translate the following inference to logic notation: It is raining if and only if it is windy. If it is sunny, then it is snowing. If it is windy, then it is sunny. It is snowing if and only if it is raining. Therefore it is windy if and only if it is raining.
p <-> q. r -> s. q -> r. s <-> p. Therefore q <-> p.