If a sentence begins with not until, what is the rule for inversion of subject and verb directly after not until? Example: "Not until we had/had we reached the top did we realize how far we had come."
Thank you,
Serge, United States
The correct form of the sentence you are asking about is:
When a sentence begins with the phrase not until, the subject and auxiliary verb in the first clause, immediately after not until, are not inverted ("we had reached"). However, in the second clause, the subject and auxiliary verb are inverted ("did we realize"). The grammatical structure of these sentences is shown in the diagram below.
Here are some other examples, with brackets around the two clauses:
I hope this helps.