[step:Translate $a$–$b$ walks in $G$ into $a'$–$b'$ paths in $G'$ and vice versa]
[claim:$a'$ is separated from $b'$ in $G'$ by a set $W \subseteq V(G') \setminus \{a', b'\} = E(G)$ if and only if $W$ separates $a$ from $b$ as an edge set in $G$]
[proof]
Fix $W \subseteq E(G)$.
$(\Rightarrow)$ Suppose $W$ does not separate $a$ from $b$ as an edge set in $G$, i.e., there is an $a$–$b$ walk $a = v_0, e_1, v_1, e_2, \ldots, e_m, v_m = b$ in $G$ with $e_i \notin W$ for every $i \in \{1, \ldots, m\}$. By [Walk Contains Path](/theorems/2007), we may assume this is a path (deletion of repeated vertices only removes edges from the walk, keeping the remaining $e_i$ outside $W$). Then
\begin{align*}
a', \; e_1, \; e_2, \; \ldots, \; e_m, \; b'
\end{align*}
is a sequence of vertices of $G'$ in which $a'$ is adjacent to $e_1$ (since $a \in e_1$ by construction of $G'$), $e_i$ is adjacent to $e_{i+1}$ in $G'$ for each $i \in \{1, \ldots, m-1\}$ (since $e_i$ and $e_{i+1}$ share the endpoint $v_i$, so they are adjacent in $L(G)$), and $e_m$ is adjacent to $b'$ (since $b \in e_m$). Because the $v_j$ are distinct and each edge $e_i$ has distinct endpoints $\{v_{i-1}, v_i\}$, the vertices $e_1, \ldots, e_m$ are pairwise distinct in $E(G) = V(G') \setminus \{a', b'\}$. Hence this is an $a'$–$b'$ path in $G'$ whose internal vertices all lie outside $W$. So $W$ does not separate $a'$ from $b'$ in $G'$.
$(\Leftarrow)$ Conversely, suppose $W$ does not separate $a'$ from $b'$ in $G'$: there is an $a'$–$b'$ path $P'$ in $G'$ whose internal vertices are all in $E(G) \setminus W$. Write
\begin{align*}
P': \; a', \; e_1, \; e_2, \; \ldots, \; e_m, \; b',
\end{align*}
with $e_i \in E(G) \setminus W$ for each $i$. By construction of $G'$, the edge $a'e_1$ exists only because $a \in e_1$, so write $e_1 = a u_1$ for some $u_1$; similarly $e_m = u_{m-1} b$ for some $u_{m-1}$. For each $i \in \{1, \ldots, m-1\}$, the edge $e_i e_{i+1}$ in $G'$ comes from $E(L(G))$, meaning $e_i$ and $e_{i+1}$ share an endpoint $v_i \in V(G)$. Write $e_i = v_{i-1} v_i$ consistently (setting $v_0 = a$, $v_m = b$). Then
\begin{align*}
a = v_0, \; e_1, \; v_1, \; e_2, \; \ldots, \; e_m, \; v_m = b
\end{align*}
is an $a$–$b$ walk in $G$ whose edges $e_1, \ldots, e_m$ all lie outside $W$. So $W$ does not separate $a$ from $b$ as an edge set in $G$.
[/proof]
[/claim]
[/step]