Working on some cs theory and solving a problem on computationally [=recursively] enumerable languages:
A language $A\subseteq \{0,1\}^*$ is co-c.e. if and only if there is a decidable language $B\subseteq \{0,1\}^*$ such that, for all $x\in\{0,1\}^*$,
$x\in A \Leftrightarrow (\forall w\in \{0,1\}^*) \langle x,w\rangle\in B $
This is a two sided proof since it is "iff"
=> Since $B$ is decidable therefore there exists a TM call $M1$ s.t. it decides $B$ so we build a new machine as follows. $M2$ couples $M1$ s.t. it uses $M1$ as a witness to verify whether the given input tuple for some $w$ element of $\{0,1\}^\ast$: $\langle x,w\rangle$ is rejected if so accept else reject.
Now this side of the proof is trivial, but I feel like for the other side we are essentially trying to prove the halting problem?
<= There exists a TM $M1$ s.t. it computes comp($A$), now if we are enumerating for all $w$ in the tuple $\langle x,w\rangle$; since it is an infinite set there is no possible way to guarantee the constructed machine will halt or not. (Halting problem)?