Relation $R\subseteq A\times A$ has Rosser-Churchil propetry if for each $a,b,c$ such that there exists path between $a$ and $b$, and from $a$ to $c$ then also exists $d$ reachable from $b$ and $c$. Prove that there exists formula in monadic second order logic that expresses graph with this property
It is fairly easy:
$$\forall_{a}[\{\exists_b\exists_c ((b\neq c) \wedge Path(a,b) \wedge Path(a,c))\} \to (\exists_d (Path(b,d)\wedge Path (c,d))]$$
It should be ok, but the problem is that I can't express $Path$.
In finite graph I can do it using linear relation, but in in this case it seems to be not working. Moreover, I don't know what I should think about infinite path between some $x$ and $y$ - are them reachable each other ?
The second thing is: Maybe, my way is wrong ? I should only prove that such formula exists, no write. Maybe some regular language is equivalent to this property of relation ?
Keep in mind that formula should be of form:
$\text{quantify over sets} \text{*here only first order quantifiers*}$
So, as you can see, quantification over set can happened only at front of formula