A closed formula expresses a proposition (which is a truth-apt concept, so a concept that is either be "true" or "false"). A closed formula is a Boolean-valued formula with no free variables.
A free variable is a variable that "specifies places in an expression where substitution may take place and is not a parameter of this or any container expression", it has not been bound by a variable-binding operator like
$$ \sum _{x\in S}\quad \quad \prod _{x\in S}\quad \quad \int _{0}^{\infty }\cdots \,dx\quad \quad \lim _{x\to 0}\quad \quad \forall x\quad \quad \exists x $$
So for example (in the following all numbers, variables, and function values are real numbers)
\begin{align} f(x) = 5, f(x) = 2*x \qquad\qquad\qquad\qquad\qquad (1) \end{align}
is not true or false, as long as we don't know what $x$ is. But if we say,
$$ \text{if } x = 2, f(x) = 2*x \text{, then } f(x) = 5 \qquad\;\;\qquad (2) $$
this becomes truth-apt (in this case this is false). So, I would think that "if" is a variable-binding operator. Is this correct?
Another way of writing "if" is by using $\Rightarrow$, e.g.,
$$ x = 2, f(x) = 2*x \Rightarrow f(x) = 5 \qquad\qquad\qquad (3) $$
which I would think is a closed formula which is false.
⇒
in informal writing as→
corresponding to those three rows (that is, as an assertion that the logical conditional is true), which is exactly what it means. Such is the nitty-gritty I meant. – ryang May 19 '22 at 09:56⇒
is actually understood to mean that the logical operator→
is true. You know that nothing useful can be said about $Q$ when $(P$ is false and $(P\implies Q))$ *because the two rows of→
corresponding to $P=$ false* are telling you that in this case $Q$ could swing either way. – ryang May 19 '22 at 10:35⇒
is the one where→
is false. My previous two comments should now be clearer. So, this formal logic business does not actually conflict with your informal reading/understanding/practice of logic. A related answer that I wrote. – ryang May 19 '22 at 10:51⇒
(implication) that we use in mathematics is actually weaker than logical implication (⊨
); when⇒
is being encountered, the context informs us whether⊨
is also meant.