The quantum null energy condition in curved space. (31st October 2017)