Here is a (little wild) question about Boolean functions with countably many variables and a wild analog for Fourier-Walsh functions and analysis based on them.

Let $x_1,x_2,\dots,x_n,\dots$ be Boolean variables. We will consider real functions on these countably many variables. Consider the following three classes of functions.

**1) (Ultrafilter-Rademacher.)** Let $X$ be the set of natural numbers.
Let $F$ be an ultrafilter on $X$.

Thus if $A \in F$ and $A \subset B$ then also $B \in F$; If $A,B \in F$ so is their intersection; and every set $Y \subset X$, $Y$ or its complement are in $F$.

Define $W_F (S)=1$ if $S \notin F$ and $W_F(S)=-1$ if $S \in F$.

**2) (Ultrafilter-Walsh)** Let $G$ be a finite family of ultrafilters. define $W_G$ as the product of all $W_F$ for $F \in G$.

## questions:

**a)** Are all the $W_G$ (or just the $W_F$) linearly independent as real functions on $X$? (Regard 1 as the empty product; if not what are the dependencies?)

**b)** Is this set of function form (in some sense) an interesting basis for (some) space of Boolean functions on $X$?

### One step further

We can go one step further

Let $Z$ be an infinite set and consider Boolean variables $x_z$ (attaining the values $\pm 1$,) one for each element $z \in Z$.

A **generalized parity function** is a Boolean function on these variables with the property that $f$ is one for the all one vector and $f(y)=-f(x)$ if $y$ differs from $ x$ in one coordinate. Let $Z$ be a set of ultrafilters and let $P$ be a generalized parity function on variables indexed by $Z$. (On a finite set a generalized parity function is simply the parity function.)

The generalized parity product (GP-product) $g$ of the ultrafilters in $Z$ is defined as follows: Let $S$ be a subset of $N$. For $z \in Z$ let $x_z=-1$ if $S \in z$ and $x_z=1$, otherwise. Let

$$g(S)=P(x_z: z \in Z).$$

We can consider a third class of functions

**3) (Ultrafilter-ultrawalsh)** Let $C$ be the class of all $GP$-products of ultrafilters. This is much more general than functions of the form $W_G$ (for them $Z$ is finite and we have a usual parity function)

Question: What is the space spanned by ultrafilter ultrawalsh functions and what are the linear dependencies among them.

## The general question:

The general question is: Can insights (questions, results etc.) regarding Boolean functions on finitely many variables (from combinatorics or complexity theory) be extended to Boolean functions on infinite sets of variables with "dictatorships" being replaced by "ultrafilters."

Another question is if these classes of functions can further be extended to describe a basis/spanning set (just for finite linear combinations) of real functions defined on the discrete cube with countable-dimension.

### Remark:

Of course, if these classes of functions were considered (or even used for something) before I will be happy to know. Generalized parity functions appeared in Mike Sipser's work and he used them to show that Borel sets cannot compute them (inspiring the later Furst-Saxe-Sipser paper that (finite) parity is not in $AC^0$. (I thank Avi Wigderson for telling me about it.) I think it might be related to some recent posts (like this one) on Gowers's blog. For more on ultrafilters and mainly ultraproduct see this recent post in Tao's blog.