You have the equation backwards.
All rape involves sex.
Not all sex involves rape.
Therefore
Rape = sex, but sex != rape.
Right, right, but applying rape laws to a marriage doesn't weaken the institution of marriage. You aren't criminalizing sex. You are criminalizing an act of violence against a spouse.