The parity theorem for multiple polylogarithms