Fourier expansion of boolean functions

AI Thread Summary
Any boolean function on n variables can be represented using a Fourier expansion that maps from \mathbb{Z}_2^n to \mathbb{Z}_2. The expansion is expressed as a sum involving the function's coefficients and products based on the input variables. A question arises about the potential of using \mathbb{Z}_{2^n} instead, which could provide aesthetically pleasing roots of unity on the complex circle. However, the original formulation is preferred because it maintains the mapping of binary vectors to binary outputs. The discussion ultimately highlights the complexity and nuances of representing boolean functions through different mathematical frameworks.
Dragonfall
Messages
1,023
Reaction score
5
Any boolean function on n variables can be thought of as a function

f : \mathbb{Z}_2^n \rightarrow \mathbb{Z}_2

which can be written as

f(x) = \sum_{s \in \mathbb{Z}_2^n} \hat{f}(s) \prod_{i : x_i = 1} (-1)^{x_i}

where

\hat{f}(s) = \mathbb{E}_t \left[ f(t) \prod_{i : s_i = 1} (-1)^{t_i} \right]

This is the Fourier expansion of a boolean function. But this uses the group \mathbb{Z}_2^n. Why not use \mathbb{Z}_{2^n}? Characters of the latter would be nice looking roots of unity on the complex circle, instead of points on an n-cube.

EDIT: You know what, nevermind. I don't even understand my own question anymore.
 
Last edited:
Mathematics news on Phys.org
Dragonfall said:
This is the Fourier expansion of a boolean function. But this uses the group \mathbb{Z}_2^n. Why not use \mathbb{Z}_{2^n}?
Because the function maps vectors of length n whose components are all either 0 or 1, to a set containing 0 and 1 (##\mathbb {Z_2}##). Your alternate version would map a single number in the set ##\{0, 1, \dots, 2^n - 1\}## to ##\mathbb {Z_2}##.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top