You are exactly right. I intended to write
(X[I]<T for all I s.t. 1<=I<=L) and (X[J]>=T for all J s.t. U<=J<=N)
Messages
to: "Yes, I goofed in the invariant"