Definition (formula in propositional logic)

Given a countable set $P$ of propositional letters, the alphabet of propositional logic is $$ \begin{align*} Σ = P \cup \set{\wedge, \vee, \Rightarrow, \neg, \bot, \top, ), (}. \end{align*} $$

The set of formulas (denoted $\mathrm{Fml}$) is the smallest subset of $Σ^\ast$ containing

and such that if $ϕ, ψ\in \mathrm{Fml}$, then so are

Then we obtain a reasoning algebra $\mathbf{Fml} = (\mathrm{Fml}, +, \cdot, \to, -, 1, 0)$ by iteratively defining $ϕ + ψ := (ϕ \vee ψ)$, $ϕ\cdot ψ := (ϕ\wedge ψ)$, $ϕ\to ψ := (ϕ \Rightarrow ψ)$, $-ϕ := \neg ϕ$, $1 = \top$, and $0 = \bot$.

We drop parentheses in informal settings.