Mechanistic study of multi-step nucleophilic substitution for trifluoromethylated styrenes