Hello asifahmedawan and welcome to the forum.
I can't see how "condensation" or "subtraction" can be suitable antonyms for "extension."
Can you provide a full sentence and/or describe the context you have in mind?
That would make it easier for us to understand what you're after and therefore to provide a more accurate answer.
Student or Learner