Definition (implication algebra)

An implication algebra is a tuple $\mathbf{A} = (A, \to, 0)$ where $A$ is a set, $\to$ is a binary operation, and $0 \in A$ is a nullary operation.

The reasoning algebra associated to $A$ is $\mathbf{A}^+ = (A, +, \cdot, \to, -, 0,1)$ where we define iteratively for all $x, y\in A$ $$ \begin{align*} 1 &:= 0\to 0, \\ -x &:= x \to 0, \\ x + y &:= (x\to 0) \to y, \\ x \cdot y &:= (x \to (y \to 0)) \to 0. \end{align*} $$

Call $\mathbf{A}$ Boolean if $\mathbf{A}^+$ is Boolean.

If $f: A\to B$ is a function between implication algebras, then $f$ is a homomorphism $\mathbf{A}\to \mathbf{B}$ iff it is a homomorphism $\mathbf{A}^+\to \mathbf{B}^+$. (Proof)