alexandræ français english
mathematical findings
(extended) phonetic alphabet
miscellaneous
unicode
alexandræ · boolean algebras

boolean algebras

january 1st, 2025

happy new year everyone ! thought of making a video about boolean algebras at some point, and figured out these little results while messing with those :
\(\textbf{Definition 1.1}~~\) A \(\textbf{partial order}\) \(\le\) on a set \(S\) is a binary relation, a subset of \(S\times S,\) which satisfies the following properties :
- \(\textbf{Reflexivity}\) (i.e. includes equality) : for any \(a\in S,\) we have \(a\le a.\)
- \(\textbf{Antisymmetry}:\) for any \(a,b\in S,\) if \(a\le b\) and \(b\le a,\) then \(a=b.\)
- \(\textbf{Transitivity}:\) for any \(a,b,c\in S,\) if \(a\le b\) and \(b\le c,\) then \(a\le c.\)
We call \((S,\le)\) a \(\textbf{poset}\) (partially ordered set).
\(\textbf{Exemple 1.2}~~\) For any set \(S,\) we have \((S,=)\) a poset.
\(\textit{Proof}~~\) \(=\) is reflexive by introduction of equality. If \(a=b\) and \(b=a,\) then \(a=b\) by conjunction elimination, so \(=\) is antisymmetric. Finally, if \(a=b\) and \(b=c,\) we can use elimination of equality to transform \(a=b\) into \(a=c\) by equality of \(b\) and \(c.\) \(\blacksquare\)
\(\textbf{Definition 1.3}~~\) A partial order \(\le\) on a set \(S\) is a \(\textbf{total order}\) if it is \(\textbf{strongly connected}:\) in other words, for any \(a,b\in S,\) there's at least \(a\le b\) or \(b\le a.\) If \(\le\) is a total order on \(S,\) we call \((S,\le)\) a \(\textbf{toset}\) (totally ordered set).
\(\textbf{Lemma 1.4}~~\) The \(\textbf{well-ordering principle}\) states that, given any set \(S,\) there exists a binary relation \(<\) on \(S\) which satisfies the following properties :
- \(\textbf{Irreflexivity}:\) for all \(a\in S,\) we have \(\neg(a\lt a),\) which we can also write \(a\not\lt a.\)
- \(\textbf{Asymmetry}:\) for all \(a,b\in S,\) if \(a\lt b,\) then \(b\not\lt a.\)
- \(\textbf{Transitivity}:\) for any \(a,b,c\in S,\) if \(a\lt b\) and \(b\lt c,\) then \(a\lt c.\)
- \(\textbf{Connected}:\) for any \(a,b\in S,\) either \(a=b,\) or \(a\lt b,\) or \(b\lt a.\)
This lemma is equivalent to the axiom of choice in ZF set theory, and can therefore be used in ZFC set theory.
\(\textbf{Theorem 1.5}\) Given any set \(S,\) there exists a total order \(\le\) on \(S.\)
\(\textit{Proof}~~\) By applying the well-ordering principle on \(S,\) we get a binary relation \(\lt\) on \(S\) which is irreflexive, asymmetric, and transitive.
Let's define \(\le\) the binary relation on \(S\) which is simply \({\lt}\cup{=}.\) In other words, for all \(a,b\in S,\) we have \(a\le b\) if and only if either \(a\lt b\) or \(a=b:\) these are mutually exclusive conditions because of \({\lt}\text{'s}\) reflexivity.
Since both \(\lt\) and \(=\) are transitive, we have \(\le\) transitive for free from proof by cases.
As for reflexivity, since for any \(a\in S,\) we have \(a=a\) by equality introduction, we also have \(a\le b\) by disjunction introduction.
For any \(a,b\in S,\) if \(a\le b\) and \(b\le a,\) then :
- if it were the case that \(a\lt b,\) we'd have \(b\not\lt a,\) so \(a=b\) by disjunctive syllogism ;
- if \(b\lt a,\) we'd have \(a\not\lt b,\) so \(a=b\) by disjunctive syllogism ;
- if neither \(a\lt b\) nor \(b\lt a,\) then \(a=b\) by disjunctive syllogism ;
so from proof by cases, this yields \(a=b,\) which demonstrates its antisymmetry.
Finally, because of the connected property of \(\lt\) on \(S,\) we have that for all \(a,b\in S:\)
- either \(a=b,\) in which case we have \(a\le b\) by disjunction introduction,
- or \(a\lt b,\) in which case we have \(a\le b\) by disjunction introduction,
- or \(b\lt a,\) in which case we have \(b\le a\) by disjunction introduction,
so by constructive dilemma, we at least have \(a\le b\) or \(b\le a,\) which proves \(\le\) is strongly connected.
We've therefore demonstrated that \(\le\) is reflexive, antisymmetric, transitive, and strongly connected : in other words, \(\le\) is a total order. \(\blacksquare\)
\(\textbf{Definition 1.6}~~\) A poset \((S,\le)\) is \(\textbf{bounded}\) if there exist two elements \(\top,\bot\in S\) which satisfy the following :
- \(\textbf{Top element}:\) for all \(x\in S,\) we have \(x\le\top.\)
- \(\textbf{Bottom element}:\) for all \(x\in S,\) we have \(\bot\le x.\)
\(\textbf{Example 1.7}~~\) \((\{0,1\},\le)\) and \((\{0,1,2,3\},\le)\) are bounded posets.
\(\textit{Proof}~~\) For any \(x\in\{0,1\},\) either \(x=0\) and thus satisfies \(0\le x\le1,\) or \(x=1\) and thus satisfies \(0\le x\le1.\) Therefore, \((\{0,1\},\le)\) is a bounded poset : its top element is \(1,\) and its and bottom element is \(0.\)
For any \(x\in\{0,1,2,3\},\) either \(x=0\) and thus satisfies \(0\le x\le3,\) or \(x=1\) and thus satisfies \(0\le x\le3,\) or \(x=2\) and thus satisfies \(0\le x\le3,\) or \(x=3\) and thus satisfies \(0\le x\le3.\) Therefore, \((\{0,1,2,3\},\le)\) is a bounded poset : its top element is \(3,\) and its bottom element is \(0.\) \(\blacksquare\)
\(\textbf{Definition 1.8}~~\) Let \((S_1,\le_1)\) and \((S_2,\le_2)\) be posets. A \(\textbf{product poset}\) \((S_1,\le_1)\otimes(S_2,\le_2)\) is defined as \((S_1\times S_2,\le_1\otimes\le_2),\) where \(S_1\times S_2\) is simply the cartesian product of \(S_1\) with \(S_2,\) and \(\le_1\otimes\le_2\) is the binary relation such that, for all \((a_1,a_2),(b_1,b_2)\in S_1\times S_2,\) we have \((a_1,a_2)\le_1\otimes\le_2(b_1,b_2)\) if and only if both \(a_1\le_1b_1\) and \(a_2\le_2b_2.\)
\(\textbf{Property 1.9}~~\) Given posets \((S_1,\le_1)\) and \((S_2,\le_2),\) the product poset \((S_1,\le_1)\otimes(S_2,\le_2)=:(S_1\times S_2,\le)\) is a poset.
\(\textit{Proof}~~\) Let \(a\in S_1\times S_2.\) We have \(a_1\le_1a_1\) from reflexivity of \(\le_1,\) and \(a_2\le_2a_2\) from reflexivity of \(\le_2.\) Therefore, \(a\le a.\)
Let \(a,b\in S_1\times S_2\) such that \(a\le b\) and \(b\le a.\) Then, \(a_1\le_1b_1\) and \(b_1\le_1a_1,\) so \(a_1=b_1\) by antisymmetry of \(\le_1.\) As well, \(a_2\le_2b_2\) and \(b_2\le_2a_2,\) so \(a_2=b_2\) by antisymmetry of \(\le_2.\) Therefore, \(a=b.\)
Let \(a,b,c\in S_1\times S_2\) such that \(a\le b\) and \(b\le c.\) Then, \(a_1\le_1b_1\) and \(b_1\le_1c_1,\) therefore \(a_1\le_1c_1\) by transitivity of \(\le_1.\) As well, \(a_2\le_2b_2\) and \(b_2\le_2c_2,\) therefore \(a_2\le_2c_2\) by transitivity of \(\le_2.\) Therefore, \(a\le c.\) \(\blacksquare\)
\(\textbf{Proposition 1.10}~~\) The product of two bounded posets is bounded.
\(\textit{Proof}~~\) Let \((S_1,\le_1)\) and \((S_2,\le_2)\) be two posets. Then, there exists \(\bot_1,\top_1\in S_1\) and \(\bot_2,\top_2\in S_2\) such that for all \(x\in S_1\times S_2,\) we have \(\bot_1\le_1x_1\le\top_1\) and \(\bot_2\le_2x_2\le\top_2,\) thus \((\bot_1,\bot_2)\le x\le(\top_1,\top_2).\) \(\blacksquare\)
\(\textbf{Proposition 1.11}~~\) In a bounded poset \((S,\le),\) top and bottom elements are unique.
\(\textit{Proof}~~\) Let \(\bot,\bot'\) be bottom elements of \((S,\le).\) Since \(\bot\) is bottom, we have \(\bot\le\bot'\;;\) however, \(\bot'\) is also bottom, so \(\bot'\le\bot\;;\) by antisymmetry, we conclude that \(\bot=\bot'.\)
Let \(\top,\top'\) be top elements of \((S,\le).\) Since \(\top\) is bottom, we have \(\top'\le\top\;;\) however, \(\top'\) is also bottom, so \(\top\le\top'\;;\) by antisymmetry, we conclude that \(\top=\top'.\) \(\blacksquare\)
\(\textbf{Definition 2.1.a}~~\) Given a poset \((S,\le),\) let \(a,b\in S\) such that there exists \(x\in S\) which universally satisfies \(a\le x\) and \(b\le x,\) which means :
- \(\textbf{Upper bound}\text{ (}\textit{cocone}\text):\) \(a\le x\) and \(b\le x.\)
- \(\textbf{Colimit}\text{ (}\textit{least}\text{ness)}:\) for all \(y\in S\) such that also \(a\le y\) and \(b\le y,\) we have \(x\le y.\)
Such a \(x\) is called a \(\textbf{join}\) of \(a\) and \(b.\) A join is also called a least upper bound, or supremum. \(\textbf{Definition 2.1.b}~~\) Given a poset \((S,\le),\) let \(a,b\in S\) such that there exists \(x\in S\) which universally satisfies \(x\le a\) and \(x\le b,\) which means :
- \(\textbf{Lower bound}\text{ (}\textit{cone}\text):\) \(x\le a\) and \(x\le b.\)
- \(\textbf{Limit}\text{ (}\textit{greatest}\text{ness)}:\) for all \(y\in S\) such that also \(y\le a\) and \(y\le a,\) we have \(y\le x.\)
Such a \(x\) is called a \(\textbf{meet}\) of \(a\) and \(b.\) A meet is also called a greatest lower bound, or infimum.
\(\textbf{Proposition 2.2}~~\) Given a poset \((S,\le),\) for any \(a,b\in S,\) there is at most one join \(a\lor b\in S,\) and at most one meet \(a\land b\in S,\) of \(a\) and \(b.\)
\(\textit{Proof}~~\) Let \(a,b\in S\) which have a meet. If \(c_1\) and \(c_2\) are meets of \(a\) and \(b,\) we get \(c_1\le a\) and \(c_1\le b\) by lower bound property so \(c_1\le c_2\) by limit property, as well as \(c_2\le a\) and \(c_2\le b\) by lower bound property so \(c_2\le c_1\) by limit property ; therefore, \(c_1=c_2\) by antisymmetry.
Let \(a,b\in S\) which have a join. If \(c_1\) and \(c_2\) are joins of \(a\) and \(b,\) we get \(a\le c_1\) and \(b\le c_1\) by upper bound property so \(c_2\le c_1\) by colimit property, we get \(a\le c_2\) and \(b\le c_2\) by upper bound property so \(c_1\le c_2\) by colimit property ; therefore, \(c_1=c_2\) by antisymmetry. \(\blacksquare\)
\(\textbf{Definition 2.3}~~\) Given a poset \((S,\le),\) if, for all \(a,b\in S,\) there exists a join between \(a\) and \(b,\) and a meet between \(a\) and \(b,\) we can unambiguously define \(\vee:S\times S\to S\) and \(\land:S\times S\to S\) such that \(\vee:(a,b)\mapsto a\vee b\) and \(\land:(a,b)\mapsto a\land b.\)
Both \((S,\le)\) and \((S,\wedge,\vee)\) are called a \(\textbf{lattice}.\)
\(\textbf{Proposition 2.4}~~\) Given a \((L,\le)\) lattice, if we define \(\mathcal R_1,\mathcal R_2\) binary relations on \(L\) such that :
- for all \(a,b\in L,\) we have \(a~\mathcal R_1~b\) if and only if \(a\lor b=b,\)
- for all \(a,b\in L,\) we have \(a~\mathcal R_2~b\) if and only if \(a\land b=a,\)
then \(\mathcal R_1=\mathcal R_2={\le}.\) This establishes that \((L,\le)\) and \((L,\wedge,\vee)\) are essentially interchangeable.
\(\textit{Proof}~~\) Let \(a,b\in L\) such that \(a~\mathcal R_1~b.\) By upper boundedness property, we have \(a\vee b\le b.\) By colimit property, \(a\le b.\) Therefore, \(\mathcal R_1\subset{\le}.\)
Let \(a,b\in L\) such that \(a\le b.\) By upper boundness property, \(b\le a\lor b.\) Moreover, if there existed \(x\in L\) such that \(x\lt b\) and \(a\vee b=x,\) we'd have to have \(b\le x\) by upper boundedness property ; by contradiction, there exists no \(x\in L\) such that \(x\le b\) and \(a\vee b=x.\) Therefore, \(b\) is a least upper bound between \(a\) and \(b.\) Since \((L,\le)\) is a lattice, we have existence and uniqueness of least upper bounds, so \(a\vee b=b,\) i.e. \(a~\mathcal R_1~b.\)
By double inclusion, we have \(\mathcal R_1={\le}.\) \(\Box\)
Let \(a,b\in L\) such that \(a~\mathcal R_2~b.\) By lower boundedness property, we have \(a\le a\land b.\) By limit property, \(a\le b.\) Therefore, \(\mathcal R_2\subset{\le}.\)
Let \(a,b\in L\) such that \(a\le b.\) By lower boundness property, \(a\lor b\le a.\) Moreover, if there existed \(x\in L\) such that \(a\lt x\) and \(a\vee b=x,\) we'd have to have \(x\le a\) by lower boundedness property ; by contradiction, there exists no \(x\in L\) such that \(a\le x\) and \(a\vee b=x.\) Therefore, \(a\) is a greatest lower bound between \(a\) and \(b.\) Since \((L,\le)\) is a lattice, we have existence and uniqueness of greatest lower bounds, so \(a\land b=a,\) i.e. \(a~\mathcal R_2~b.\)
By double inclusion, we also have \(\mathcal R_2={\le}.\) \(\blacksquare\)
\(\textbf{Proposition 2.5}~~\) The product of two lattices is a lattice.
\(\textit{Proof}~~\) Let \((L_1,\land_1,\lor_1)\) and \((L_2,\land_1,\lor_2)\) be lattices, \(L=L_1\times L_2,\) maps \(\land:L\times L\to L\) and \(\lor:L\times L\to L\) such that, for all \(a,b\in L,\) we have \(a\land b=(a_1\land_1b_1,a_2\land_2b_2)\) and \(a\lor b=(a_1\lor_1b_1,a_2\lor_2b_2).\)
For all \(a,b\in L,\) we have \(a_1\land_1b_1\le_1a_1\) and \(a_1\land_1b_1\le_1b_1,\) as well as \(a_2\land_2b_2\le_2a_2\) and \(a_2\land_2b_2\le_2b_2,\) which when combined yields \(a\land b\le a\) and \(a\land b\le b,\) so \(\land\) satisfies the lower bound property.
For all \(x,a,b\in L\) such that \(x\le a\) and \(x\le b,\) we have \(x_1\le_1a_1\) and \(x_1\le_1b_1\) so \(x_1\le_1a_1\land_1b_1\) by limit property, as well as \(x_2\le_2a_2\) and \(x_2\le_2b_2\) so \(x_2\le_2a_2\land_2b_2\) by limit property, which when combined yields \(x\le a\land b.\) Thus, \(\land\) also satisfies the limit property.
For all \(a,b\in L,\) we have \(a_1\le_1a_1\lor_1b_1\) and \(b_1\le_1a_1\lor_1b_1,\) as well as \(a_2\le_2a_2\lor_2b_2\) and \(b_2\le_2a_2\lor_2b_2,\) which when combined yields \(a\lor b\) and \(b\le a\lor b,\) so \(\lor\) satisfies the upper bound property.
For all \(x,a,b\in L\) such that \(a\le x\) and \(b\le x,\) we have \(a_1\le_1x_1\) and \(b_1\le_1x_1\) so \(a_1\lor_1b_1\le_1x_1\) by colimit property, as well as \(a_2\le_2x_2\) and \(b_2\le_2x_2\) so \(a_2\land_2b_2\le_2x_2\) by colimit property, which when combined yields \(a\land b\le x.\) Thus, \(\lor\) also satisfies the colimit property. \(\blacksquare\)
\(\textbf{Definition 2.6}~~\) A \(\textbf{lattice homomorphism}\) \((L_1,\le_1)\) to \((L_2,\le_2)\) is a map \(\varphi:L_1\to L_2\) which :
- Preserves joins : if \(a,b\in L_1,\) we have \(\varphi(a\lor b)=\varphi(a)\lor\varphi(b),\)
- Preserves meets : if \(a,b\in L_1,\) we have \(\varphi(a\land b)=\varphi(a)\land\varphi(b).\)
\(\textbf{Definition 2.7}~~\) We say two lattices \((L_1,\le_1)\) and \((L_2,\le_2)\) are \(\textbf{isomorphic}\) if there exist lattice homomorphisms \(\varphi:L_1\to L_2\) and \(\varphi':L_2\to L_1\) such that \(\varphi'(\varphi(x))=x\) for all \(x\in L_1,\) and \(\varphi(\varphi'(y))\) for all \(y\in L_2.\) More condensedly, this means the following diagram commutes : $$\begin{matrix} L_1&\!\!\!\!\!\!\!\!\begin{matrix}\overset\varphi\longrightarrow\\[-5pt]\underset{\varphi'}\longleftarrow\end{matrix}\!\!\!\!\!\!\!\!&L_2\\[-10pt] \underset{\text{id}_{L_1}}{\Large\circlearrowright}&&\underset{\text{id}_{L_2}}{\Large\circlearrowright} \end{matrix}$$ \(\textbf{Definition 3.1}~~\) Let \((L,\le)\) be a \(\underline{\rm bounded}\) lattice in which we can construct \({\Rightarrow}:L\times L\to L\) which, for all \(a,b\in L,\) satisfies :
- \(\textbf{Modus ponens}\text{ (}\textit{cone}\text):\) \((a{\Rightarrow}b)\land a\le b.\)
- \(\textbf{Limit}\text{ (}\textit{greatest}\text{ness)}:\) for all \(x\in L\) such that \(x\land a\le b,\) we have \(x\le a{\Rightarrow}b.\)
We say \((L,\le)\) is a \(\textbf{Heyting algebra}.\)
\(\textbf{Property 3.2}~~\) Given a \(\underline{\rm total}\) Heyting algebra \((H,\le),\) for all \(a,b\in H,\) we have : $$a{\Rightarrow}b=\left\{\begin{array}{ll}\top&\text{if }a\le b\\b&\text{if }b\lt a.\end{array}\right.$$
\(\textit{Proof}~~\) Let \(a,b\in H.\) Since \((H,\le)\) is a toset, we either have \(a\le b\) or \(b\lt a.\) If \(a\le b,\) \(\top\land a\le a\) by lower boundedness property, thus \(\top\land a\le b\) by transitivity. For all \(x\in H,\) we have \(x\le\top\) by \(\top\) being the top element. In conclusion, \(a{\Rightarrow}b=\top.\)
Likewise, if \(b\lt a,\) we have \(b\land a\le b\) by lower bound property. If there were \(x\in H\) such that \(x\land a\le b\) and \(b\lt x,\) since \(\le\) is strongly connected, we at least have \(x\le a\) or \(a\le x.\) By proposition 2.4 and constructive dilemma, this yields having at least \(x\land a=x\) or \(x\land a=a.\) From proof by cases, we obtain \(b\lt x\land a,\) which contradicts \(x\land a\le b.\) Therefore, \(b\) is the greatest element of \(H\) whose meet with \(a\) is \(\le b,\) which proves that \(a{\Rightarrow}b=b.\)
In conclusion, \(a{\Rightarrow}b=\left\{\begin{array}{ll}\top&\text{if }a\le b\\b&\text{if }b\lt a.~\blacksquare\end{array}\right.\)
\(\textbf{Proposition 3.3}~~\) The product of two Heyting algebras is Heyting.
\(\textit{Proof}~~\) Let \((H_1,\le_1)\) and \((H_2,\le_2)\) be two Heyting algberas, with conditionals \({\Rightarrow}_1:H_1\times H_1\to H_1\) and \({\Rightarrow}_2:H_2\times H_2\to H_2.\) We define \((H,\le)\) as the product lattice \((H_1,\le_1)\otimes(H_2,\le_2),\) as well as \({\Rightarrow}:H\times H\to H\) such that, for all \(a,b\in H,\) we have \(a{\Rightarrow}b=(a_1{\Rightarrow_1}b_1,a_2{\Rightarrow_2}b_2).\)
Let \(a,b\in H.\) By modus ponens, \((a_1{\Rightarrow}b_1)\land_1a_1\le_1b_1\) and \((a_2{\Rightarrow}b_2)\land_2a_2\le_2b_2,\) which sums up to \((a{\Rightarrow}b)\land a\le b.\) Therefore, \(\Rightarrow\) follows the modus ponens property.
Let \(x,a,b\in H\) such that \(x\land a\le b.\) Then, \(x_1\land_1a_1\le_1b_1\) so \(x_1\le_1a_1{\Rightarrow_1}b_1\) by limit property, and \(x_2\land_2a_2\le_2b_2\) so \(x_2\le_2a_2{\Rightarrow_2}b_2\) by limit property, therefore \(x\le a{\Rightarrow}b.\) This shows that \(\Rightarrow\) also follows the limit property, which ends our demonstration of \((H,\le)\) being Heyting. \(\blacksquare\)
\(\textbf{Proposition 3.4}~~\) Given a Heyting algebra \((H,\le),\) the conditional \(\Rightarrow\) is unique.
\(\textit{Proof}~~\) Let \({\Rightarrow}:H\times H\to H\) and \({\Rightarrow}':H\times H\to H\) be conditionals, and \(a,b\in H.\) By modus ponens, \((a{\Rightarrow}b)\land a\le b,\) therefore \(a{\Rightarrow}b\le a{\Rightarrow}'b\) by limit property. By modus ponens, \((a{\Rightarrow}'b)\land a\le b,\) therefore \(a{\Rightarrow}'b\le a{\Rightarrow}b\) by limit property. By asymmetry, we have \(a{\Rightarrow}b=a{\Rightarrow}'b,\) which demonstrates \({\Rightarrow}={\Rightarrow}'.\) \(\blacksquare\)
\(\textbf{Definition 3.5}~~\) Given a Heyting algebra \((H,\le),\) we define negation as \(\neg:H\to H\) such that \(\neg:a\mapsto a{\Rightarrow}\bot.\)
\(\textbf{Property 3.6}~~\) Given a \(\underline{\rm total}\) Heyting algebra \((H,\le),\) for all \(x\in H,\) we have : $$\neg x=\left\{\begin{array}{ll}\top&\text{if }x=\bot\\\bot&\rm otherwise.\end{array}\right.$$
\(\textit{Proof}~~\) Follows directly from property 3.2. \(\blacksquare\)
\(\textbf{Definition 4.1}~~\) Let \((H,\le)\) be a Heyting algebra. We say \(\neg\) is \(\textbf{involutive}\) if, for all \(x\in H,\) we have \(\neg\neg x=x.\) A Heyting algebra whose negation is involutive is called a \(\textbf{Boolean algebra}.\)
\(\textbf{Proposition 4.2}~~\) The product of two Boolean algebras is a Boolean algebra.
\(\textit{Proof}~~\) Let \((B_1,\le_1)\) and \((B_2,\le_2)\) be Boolean algebras, and \((B,\le)\) the product Heyting algebra \((B_1,\le_1)\otimes(B_2,\le_2).\) For all \(x\in B,\) we have \(\neg_1\neg_1x_1=x_1\) and \(\neg_2\neg_2x_2=x_2,\) so by definition, \(\neg\neg x=(\neg_1\neg_1x_1,\neg_2\neg_2x_2)=(x_1,x_2)=x.\) This proves negation is involutive in \(B,\) which demonstrates that \((B,\le)\) is Boolean.
\(\textbf{Proposition 4.3}~~\) A total Boolean algebra either has one or two elements.
\(\textit{Proof}~~\) Let \((B,\le)\) be a Boolean algebra. Since it is Heyting, it's also bounded, so it has at least one element, which is its top/bottom element. For all \(x\in B,\) \(x\) belongs in the image of \(\neg\) as it can be expressed as a negation, that is, \(x=\neg(\neg x),\) thanks to \(\neg\) being involutive. However, we saw in property 3.5 that, in total Heyting algebras, negation's image is \(\{\bot,\top\}\). In summary, \(\varnothing\ne B\subset\{\bot,\top\},\) hence \(0\lt|B|\le2,\) so \(|B|=1\) or \(|B|=2,\) which proves our proposition. \(\blacksquare\)
\(\textbf{Proposition 4.4}~~\) Finite Boolean algebras have cardinals \(1\) (trivial) or some positive even number.
\(\textit{Proof}~~\) Let \((B,\le)\) be a Boolean algebra. By law of excluded middle, there either exists \(x\in B\) such that \(x=\neg x,\) or there doesn't. Let's assume there does. In that case, \(\neg x\land x=(x{\Rightarrow}\bot)\land x\le\bot\) by modus ponens, but since \(\bot\) is bottom, \(\neg x\land x=\bot.\) However, \(\neg x=x,\) so \(x\land x=\bot.\) By reflexivity, \(x\le x,\) so by property 2.4, \(x\land x=x.\) By transitivity of equality, \(x=\bot.\) Since \(\bot\le\bot,\) we have \(\neg\bot=\bot{\Rightarrow}\bot=\top,\) but from elimination of equality with \(x=\bot\) and \(\neg x=x,\) we obtain \(\neg\bot=\bot.\) By transitivity of equality, this yields \(\top=\bot=:0,\) therefore every \(x\in B\) is such that \(x\le0\) by top property, and \(0\le x\) by bottom property, which yields \(x=0\) by asymmetry. This shows us that \(B\subset\{0\}.\) Since \((B,\le)\) is Boolean, it's also bounded, and therefore non-empty, which yields \(B=\{0\},\) thus \(|B|=1.\)
In summary, \((\exists x\in B)(x=\neg x)\) yields \(|B|=1.\) We will henceforth suppose that \(|B|\ne1.\) By modus tollens, this will result in \((\forall x\in B)(x\ne\neg x).\) To exploit this, we will first study the family of subsets of \(B\) that is \(\mathcal F:=\{\{x,\neg x\}~|~x\in B\}.\)
Let \(p_x=\{x,\neg x\}\) and \(p_y=\{y,\neg y\}\) arbitrary elements of \(\mathcal F.\) If \(p_x\cap p_y\ne\varnothing,\) we'd have at least \(y\in p_x\) or \(\neg y\in p_x.\) In the case where \(y\in p_x,\) either \(y=x\) in which case \(\neg y=\neg x\) so \(p_x=p_y,\) or \(y=\neg x\) in which case \(\neg y=\neg\neg x=x\) by involution so \(p_x=p_y.\) In the case where \(\neg y\in p_x,\) either \(\neg y=x\) in which case \(y=\neg\neg y=\neg x\) so \(p_x=p_y,\) or \(\neg y=\neg x\) in which case \(y=\neg\neg y=\neg\neg x=x\) by involution so \(p_x=p_y.\) This shows \(p_x=p_y.\)
By contraposition, we have that, for all \(p_1,p_2\in\mathcal F,\) if \(p_1\ne p_2,\) then \(p_1\cap p_2=\varnothing.\) This means that \(\mathcal F\) is pairwise disjoint.
Let \(x\in\bigcup\mathcal F,\) then there exists \(p_x\in\mathcal F\) such that \(x\in p_x,\) but since \(p_x=\{x,\neg x\}\subset B,\) we have \(x\in B,\) which shows \(\bigcup\mathcal F\subset B.\) Let \(y\in B,\) then \(y\in\{y,\neg y\}\in\mathcal F,\) thus there exists \(p_y=\{y,\neg y\}\in\mathcal F\) such that \(y\in p_y,\) thus \(y\in\bigcup\mathcal F,\) which shows \(B\subset\bigcup\mathcal F.\) By antisymmetry of \(\subset,\) we get \(\bigcup\mathcal F=B.\)
Since \(\mathcal F\) is pairwise disjoint and \(\bigcup\mathcal F=B,\) this tells us that \(\mathcal F\) is a partition of \(B.\) This entails that \(|B|=\sum_{p\in\mathcal F}|p|.\) However, every \(p\in\mathcal F\) is such that, for some \(x_p\in B,\) we have \(p=\{x_p,\neg x_p\}.\) Since \(|B|\ne1\), we have \(x_p\ne\neg x_p.\) Therefore, \(|p|=|\{x_p,\neg x_p\}|=2,\) regardless of \(p\in\mathcal F.\) Therefore, \(|B|=\sum_{p\in\mathcal F}2=2|\mathcal F|.\) Since \((B,\le)\) is bounded, \(B\) is non-empty, therefore \(\mathcal F\) is inhabited, which entails \(|B|\) is a positive even number. \(\blacksquare\)

constructing birestrictions with sp...
alexandræ
(ɔ) 2023 – 2025, intellectual property is a scam