/- From Prove2Me, definition `BoolFunc` (https://prove2.me/definitions/149b7cec-0c9f-4b4d-a27f-c22ff25bd9aa). Apache-2.0 per Prove2Me's terms. -/ import Mathlib.Data.Fintype.Basic /-! # Boolean functions on the cube The basic type of Boolean functions `f : {0,1}ⁿ → {0,1}`, used by the sensitivity / block-sensitivity / polynomial-degree definitions and by the Sensitivity-Conjecture chain. -/ /-- A Boolean function on `n` bits. -/ abbrev BoolFunc (n : ℕ) : Type := (Fin n → Bool) → Bool