Chaotic hypothesis, fluctuation theorem and singularities