[step:Prove the exchanged set is independent in $M_2$]We prove $I' \in \mathcal I_2$ by the reverse induction. For $0 \le m \le k$, define $X^m := \{x_{m+1},\dots,x_k\}$, $Y^m := \{y_m,\dots,y_k\}$, and $I^m := (I \setminus X^m) \cup Y^m$. The base case $m=k$ is $I^k=I \cup \{y_k\} \in \mathcal I_2$, because $y_k \in T_I$.
Assume $0 \le m < k$ and $I^{m+1} \in \mathcal I_2$. If $I^m$ were dependent, then because $I^{m+1}$ is independent and $I^m=(I^{m+1}\setminus\{x_{m+1}\})\cup\{y_m\}$, there would be an $M_2$-circuit $C\subset I^m$ with $y_m\in C$ and $x_{m+1}\notin C$. Since $0 \le m<k$, the no-internal-target condition gives $y_m\notin T_I$, so $I\cup\{y_m\}$ is dependent in $M_2$. Let $F_m\subset I\cup\{y_m\}$ denote the unique [fundamental circuit](/page/Fundamental%20Circuit) of $y_m$ over $I$ in $M_2$. The arc $y_m\to x_{m+1}$ means $(I\setminus\{x_{m+1}\})\cup\{y_m\}\in\mathcal I_2$, hence $x_{m+1}\in F_m$.
We claim that $F_m\cap\{x_{m+2},\dots,x_k\}\ne\varnothing$. If not, then applying [strong circuit elimination](/page/Strong%20Circuit%20Elimination) to the circuits $C$ and $F_m$, with common element $y_m$ and distinguished element $x_{m+1}\in F_m\setminus C$, gives an $M_2$-circuit $C'\subset (C\cup F_m)\setminus\{y_m\}$ containing $x_{m+1}$. Since $C\setminus\{y_m\}\subset (I\setminus X^m)\cup\{y_{m+1},\dots,y_k\}$ and $F_m\setminus\{y_m\}\subset I\setminus\{x_{m+2},\dots,x_k\}$ under the supposition, we get $C'\subset I^{m+1}$, contradicting $I^{m+1}\in\mathcal I_2$.
Therefore there is an index $j>m+1$ with $x_j\in F_m$. By the definition of the $M_2$-arcs of $D(I)$, this gives a shortcut arc $y_m\to x_j$. Following $P$ from $y_0$ to $y_m$, then taking $y_m\to x_j$, and then following the original suffix from $x_j$ to $y_k$ gives a directed path from $S_I$ to $T_I$ with fewer arcs than $P$, contradicting the shortestness of $P$.
Thus no such circuit exists, and reverse induction gives $I^0=I' \in \mathcal I_2$.[/step]