Theorem 1
81H7Suppose there is at most one error on a primary path. The decoding algorithm outputs the correct data unit at every node if and only if the vectors in the set \{\mathbf{v}_{2i-1},\mathbf{v}_{2i},\mathbf{v}_{2j-1},\mathbf{v}_{2j}\}(In fact, it can be viewed as the error pattern when S_i-T_i, S_j-T_j are in error.) for all i,j = 1,\ldots,n, i \neq j are linearly independent.
Proof of Theorem 1
First assume that the vectors in the sets \{\mathbf{v}_{2i-1},\mathbf{v}_{2i},\mathbf{v}_{2j-1},\mathbf{v}_{2j}\} are linearly independent. Let E_a and E_b be error value vectors corresponding to errors happening on different primary paths S_a-T_a and S_b-T_b respectively. Suppose there exist E_a and E_b such that HE_a=HE_b, i.e., H(E_a+E_b)=0. Note that the vector (E_a+E_b) has at most four error values [e_{d_a},e_{u_a},e_{d_b},e_{u_b}] which are not all zero and such that
[\begin{array}{ccccc} \mathbf{v}_{2a-1},\mathbf{v}_{2a},\mathbf{v}_{2b-1},\mathbf{v}_{2b}\end{array}][e_{d_a},e_{u_a},e_{d_b},e_{u_b}]^T = \mathbf{0}.
This implies \{\mathbf{v}_{2a-1},\mathbf{v}_{2a},\mathbf{v}_{2b-1},\mathbf{v}_{2b}\} are linearly dependent, which is a contradiction. Therefore, under our condition that \{\mathbf{v}_{2i-1},\mathbf{v}_{2i},\mathbf{v}_{2j-1},\mathbf{v}_{2j}\} for all i,j = 1,\ldots,n, i \neq j are linearly independent, there does not exist E_a,E_b such that HE_a=HE_b. This means that if we try to solve the system of linear equations according to every possible error value vectors E_1,\ldots, E_n, it either has no solution or its solution is the actual error in the network. The node T_i is only interested in d_i, in our decoding algorithm, it tries to solve the equations (?) according to the error value vector E_i. If it has a solution, the error happens on S_i-T_i. The matrix [\mathbf{v}_{2i-1},\mathbf{v}_{2i}] has rank two, so equations (?) have unique solution for e_{d_1}. d_i=P_m+e_{d_i} gives decoded d_i. If (?) does not have solution, the error is not on S_i-T_i. T_i simply picks up d_i=P_m from the primary path S_i-T_i.
Conversely, suppose that a vector set \{\mathbf{v}_{2i_1-1},\mathbf{v}_{2i_1},\mathbf{v}_{2j_1-1},\mathbf{v}_{2j_1}\} is linearly dependent. There exist E_{i_1} and E_{j_1} such that HE_{i_1}=HE_{j_1}. Both equations HE_{i_1}=P_{syn} and HE_{j_1}=P_{syn} have solution. Suppose the error in fact happens on S_{j_1}-T_{j_1}, the decoder at T_{i_1} can also find a solution to HE_{i_1}=P_{syn} and use the solution to compute d_i. This leads to decoding error. \blacksquare