Learning predicate logic and I am coming across the following questions and I am somewhat confused as the what is expected in the answers, and when it is recommended to quantify secondary variables.
First, 'Some raccoons are chased by every dog in the town' I have transcribed as thus: Domain of y is the animals in the neighbourhood. R = is a Raccoon D = is a Dog C = chases Raccoons (∃x)(Dx ⊃ (∀y)(Cy & Ry)) Should I have quantified the second variable? Could I just have done 'There exists x, where x is a raccoon and is chased by cats?'
Secondly, 'If there are any peacocks that are blue, then some peacocks are male' I have translated to: B = is blue P = is a peacock M = is male (∃x)((Px & Bx) ⊃ ((∃x)( Px & Mx)) Should I have quantified a second variable for the second object, can you quantify the existence of a same variable? Thanks.
"Some raccoons are chased by every dog in the town."
Domain: $\{ x : x $ is a thing$\}$
$ \begin{array}{ll} Rx: & \text{$x$ is a raccoon.} \\ Dx: & \text{$x$ is a dog.} \\ Tx: & \text{$x$ is in the town.} \\ Cxy: & \text{$x$ chases $y$.} \\ \end{array} $
$ \exists x [Rx \wedge \forall y [Dy \wedge Ty \to Cyx]] \equiv \exists x \forall y [Rx \wedge [Dy \wedge Ty \to Cyx]]$
In other words, "There exists at least one $x$ such that $x$ is a raccoon and, for every $y$, if $y$ is a dog in the town, then $y$ chases $x$."
"If there are any peacocks that are blue, then some peacocks are male."
Domain: $\{ x : x $ is a thing$\}$
$ \begin{array}{ll} Bx: & \text{$x$ is blue.} \\ Px: & \text{$x$ is a peacock.} \\ Mx: & \text{$x$ is a male.} \\ \end{array} $
$ \exists x [Px \wedge Bx] \to \exists x [Px \wedge Mx]$
In other words, "If there exists at least one $x$ such that $x$ is a blue peacock, then there exists at least one $x$ such that $x$ is a male peacock."