Epoxide ring-opening reaction promoted by ionic liquid reactivity: interplay of experimental and theoretical studies