My question is about propositional calculus. Assume we are given statement forms $A,B$ and statement letter $a$. The word $C$ arises from substituting statement form $B$ for every occurence of statement letter $a$ in statement form $A$. I want to prove that $C$ is a statement form and moreover if $A$ is a tautology, then so is $C$.
I suppose this should be done using some form of structural induction. This is one theorem I know, which results from my definition of statement form:
If $\mathcal{F}$ is a set consisting of words such that
- All statement letters belong to $\mathcal{F}$
- If $A,B\in \mathcal{F}$, then $(\neg A),(A\wedge B),(A\vee B), (A\rightarrow B),(A\leftrightarrow B\in\mathcal{F})$.
, then all statement forms belong to $\mathcal{F}$.
However I don't know how to apply it here.
Besides I'm not quite sure if I understand correctly the concept of tautology. This is how I understand it:
If we denote the set of statement letters by $\sigma$, then we can extend an arbitrary function $v_0:\sigma\rightarrow\{T,F\}$, to a unique function $v:\mathcal{F}_0\rightarrow\{T,F\}$ on the set $\mathcal{F}_0$ of all statement forms in such way that whenever we have a statement forms $A,B$ the values $v(\neg A),v(A\wedge B),v(A\vee B),v(A\rightarrow B),v(A\leftrightarrow B)$ agree with the corresponding truth tables. And we say that $A$ is a tautology iff for all functions $v_0$, $v(A)=T$. Is my understanding correct here?
Consider any sequence which shows that a string is a tautology. Now, consider the same sequence, but instead of the letter you will substitute with a statement form, you put in the formula instead for every occurrence of that letter in the sequence. Since, the formula substituted is a statement form, each step in the sequence remains valid. The resultant formula at the end of the sequence consists of the desired substitution, and thus we have a similar sequence which shows it a statement form.
For example, say we have a sequence like
A
B
C
(A$\land$B)
((A$\land$B)$\lor$C).
Now say we substitute B with ((A$\land$B)$\lor$C). Then the resultant sequence, substituting each B with ((A$\land$B)$\lor$C) is
A
((A$\land$B)$\lor$C)
C
(A$\land$((A$\land$B)$\lor$C))
((A$\land$((A$\land$B)$\lor$C))$\lor$C)
I think your definition of tautology works. For all consistent truth values assigned to the letters of the statement form, a tautology is true. Since any substitution for a letter is a statement form, and all statement forms compute to either true or false, and such substitution happens uniformly throughout the statement form, it follows that a substitution will yield a tautology. Substitution will also take a contradiction and yield a contradiction. Substitution in infix notation begins to run into problems if you drop parentheses, but the definition of a statement form and the definition of a substitution prohibits doing such. Substitution doesn't have the same sorts of problems with parentheses in prefix or postfix notational schemes.