Lefebvre's variations, No. 150 — on a theme by Dedekind: the number of monotone Boolean functions of six variables is 7828354
ProvedLefebvreVariations.dedekind_six_variablesThe number of monotone Boolean functions of variables, that is, of maps with (coordinatewise order), the two constant functions included, is the Dedekind number . Then
The first values are .
Formalization Note The set is \texttt{{f : (Fin n Bool) Bool // Monotone f}} with the product order on \texttt{Fin n Bool} and \texttt{false < true}; the statement is on its \texttt{Nat.card}.
Why this is a variation. There is no open platform problem for the Dedekind numbers as such; this is a stand-alone finite enumeration for the classical Dedekind problem (counting monotone Boolean functions) at n=6. No formal link to a platform parent is claimed.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib
namespace LefebvreVariations
/-- The Dedekind number `M(6) = 7828354`: the number of monotone Boolean functions of six
variables (constants included; `M(0),…,M(5) = 2, 3, 6, 20, 168, 7581`).
Source: OEIS A000372 (cited from memory for the original computation). -/
theorem dedekind_six_variables :
Nat.card {f : (Fin 6 → Bool) → Bool // Monotone f} = 7828354 := by
sorry
end LefebvreVariations