In a 4-valued logic with values 0, 1/2, 2/3 and 1, three connectives are defined:
$V(\varphi \wedge \psi)$ = min $V((\varphi), V(\psi))$
$V(\varphi \vee \psi)$ = max $V((\varphi), V(\psi))$
$V(\diamond \varphi) = 1$ if $V(\varphi) \geq 2/3$, else 0
On formulas in the language composed of proposition letters and these three connectives we define a function $C$ that places the connective $\diamond$ in front of every proposition letter in the formula.
E.g.: $C((p \vee \diamond q) \vee q) = ((\diamond p \vee \diamond \diamond q)\vee \diamond q)$
The question:
Give an inductive definition of $C$
Inductive definitions have always given me troubles! I have the following versions of this inductive definition, and I just can't decide which version is better.:
Version 1:
base case:
$C(p) = \diamond p$
I never know what to write here, I got a plethora of possibilities and I never know which one I should take:
- If $\varphi$ is an atomic formula, then $C(\varphi) = \diamond \varphi$
- for all atomic formulas $\varphi$, $C(\varphi) = \diamond \varphi$
- for all atoms $\varphi$, $C(\varphi) = \diamond \varphi$
- If $p$ is an atomic formula, then $C(p) = \diamond p$
- For all atomic formulas $p$, $C(p) = \diamond p$
- For all atoms $p$, $C(p) = \diamond p$
Inductive step:
$C(\varphi \wedge \psi) = (C(\varphi) \wedge C(\psi))$
$C(\varphi \vee \psi) = (C(\varphi) \vee C(\psi))$
$C(\diamond \varphi) = \diamond (C(\varphi))$
Version 2:
With this one, I moved a step in the base case.
base case:
$C(p) = \diamond p$ and $C(\diamond p) = \diamond \diamond C(p)$
And the same trouble of which version to write like in version one
Inductive step:
$C(\varphi \wedge \psi) = (C(\varphi) \wedge C(\psi))$
$C(\varphi \vee \psi) = (C(\varphi) \vee C(\psi))$
The V is used in the other questions, but I needed that part to tell about the connectives that were used.
– Garth Marenghi May 03 '14 at 13:41