He said he hadn't cleaned the house
-> He denied cleaning the house
Isn't this suppose to be "he denied having clean the house"?
Not necessarily. It depends upon the purpose of changing once sentence into another.
Was it to you who I said, "It's impossible to tell if your answer is right without knowing the question?" If not, I'm saying it now.
Without some sort of guidelines about why you want to change the sentence, there's no basis for saying that the second sentence "is supposed" to be anything.
So, you are saying that you think, "He denied cleaning the house" is ungrammatical? It isn't.
It must be "denied cleaning" and not "denied having cleaned" because "denied having cleaned" is an illegitimate answer to the task you were given - since it doesn't contain "cleaning".
He said that if there was any cleaning of the house done, it wasn't by him!
![]()
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.