In a Mexican convent in the 17th century, the finest mind of her generation violently struggles between faith and learning.