Transitive-symmetric functions #
A permutation π of the coordinates acts on inputs by (x^π)ᵢ = x_{π(i)} and on functions by
f^π(x) = f(x^π). The permutations with f^π = f form the automorphism group Aut(f) of f
(BitString.aut) O'Donnell, Exercise 1.30. A Boolean function is
transitive-symmetric when for all coordinates i and i' some permutation in Aut(f) carries
i to i' O'Donnell, Definition 2.10, that is, when Aut(f) acts transitively
on the coordinates O'Donnell, Exercise 2.47. We state it with Mathlib's
MulAction.IsPretransitive (aut f) ι, which unfolds to Definition 2.10 by
BitString.isPretransitive_aut_iff. Mathlib has no action of Equiv.Perm ι on the functions
(ι → Bool) → β whose stabilizer could serve as Aut(f), so aut f is defined directly as a
subgroup.
A function of the weight is unchanged by every permutation
(BitString.aut_eq_top_of_forall_weight_eq, BooleanFunction.IsSymmetric.aut_eq_top), and a
function whose automorphism group contains every permutation is transitive-symmetric
(BitString.isPretransitive_aut_of_eq_top). So symmetric functions such as majority are
transitive-symmetric (BooleanFunction.IsSymmetric.isPretransitive_aut). Tribes is the book's
example of a transitive-symmetric function that is not symmetric.
Relabelling the coordinates relabels influences and Fourier coefficients
(BitString.influence_comp_arrowCongr, BitString.fourierCoeff_comp_arrowCongr), so an
automorphism π carries the influence of i and the coefficient on S to those of π i and
π(S) (BitString.influence_apply_of_mem_aut, BitString.fourierCoeff_map_of_mem_aut). Hence all
coordinates of a transitive-symmetric function have the same influence and the same degree-one
coefficient (BitString.influence_signVal_eq_of_isPretransitive,
BitString.fourierCoeff_singleton_signVal_eq_of_isPretransitive). Since permutations carry any
set to any other of the same size, a function of the weight has the same Fourier coefficient on
all sets of a given size (BitString.fourierCoeff_eq_of_card_eq). A monotone function on n bits
has total influence at most √n (BitString.totalInfluence_le_sqrt_card_of_monotone), so a
monotone transitive-symmetric function has every influence at most 1 / √n
(BitString.influence_signVal_le_one_div_sqrt_card_of_monotone_of_isPretransitive)
O'Donnell, Proposition 2.22.
Usage #
A permutation π : Equiv.Perm ι acts on inputs by x ↦ fun j => x (π j), and π ∈ aut f means
f (fun j => x (π j)) = f x for every x (BitString.mem_aut); membership is decidable on a
finite cube. State transitive symmetry as the instance MulAction.IsPretransitive (aut f) ι.
Supply it with have := hf.isPretransitive_aut for hf : f.IsSymmetric (for example
isSymmetric_majority), with BitString.isPretransitive_aut_of_eq_top and
BitString.aut_eq_top_of_forall_weight_eq for a function of the weight of any codomain, or with
BitString.isPretransitive_aut_iff.2 (by decide) on a small cube. To pass an automorphism of a
Boolean f to fun x => signVal (f x), use BitString.aut_le_aut_comp signVal f. Under the
instance, BitString.influence_signVal_eq_of_isPretransitive f i i' and
BitString.fourierCoeff_singleton_signVal_eq_of_isPretransitive f i i' equate the influences and
the degree-one coefficients of any two coordinates. The checked clients in
CslibFrontierTests/BooleanAnalysisTransitiveSymmetric.lean
relabel dictators, use the transposition of the two bits of a conjunction, bound the influences
of majority, and show that Tribes_{2,2} is transitive-symmetric but not symmetric and that a
dictator on two bits is not transitive-symmetric.
Main definitions #
Cslib.BitString.aut: the automorphism group of a function on the cube.
Main results #
Cslib.BitString.isPretransitive_aut_iff: transitivity of the automorphism group is O'Donnell's transitive symmetry.Cslib.BitString.aut_eq_top_of_forall_weight_eq,Cslib.BooleanFunction.IsSymmetric.aut_eq_top: every permutation is an automorphism of a function of the weight.Cslib.BitString.isPretransitive_aut_of_eq_top,Cslib.BooleanFunction.IsSymmetric.isPretransitive_aut: such functions, in particular symmetric Boolean functions, are transitive-symmetric.Cslib.BitString.influence_apply_of_mem_aut,Cslib.BitString.fourierCoeff_map_of_mem_aut: automorphisms preserve influences and Fourier coefficients.Cslib.BitString.fourierCoeff_eq_of_card_eq: a function of the weight has the same Fourier coefficient on all sets of a given size.Cslib.BitString.influence_signVal_eq_of_isPretransitive,Cslib.BitString.fourierCoeff_singleton_signVal_eq_of_isPretransitive: all coordinates of a transitive-symmetric function have the same influence and degree-one coefficient.Cslib.BitString.influence_signVal_le_one_div_sqrt_card_of_monotone_of_isPretransitive: Proposition 2.22.
References #
The automorphism group #
The automorphism group Aut(f) of a function on the cube: the permutations π of the
coordinates with f (x ∘ π) = f x for every x, that is, f^π = f for the action
(x^π)ᵢ = x_{π(i)} O'Donnell, Exercise 1.30.
Transitive symmetry O'Donnell, Definition 2.10: the automorphism group of
f acts transitively on the coordinates exactly when for all coordinates i and i' some
permutation π with π i = i' satisfies f (x ∘ π) = f x for every x.
A function whose automorphism group contains every permutation is transitive-symmetric.
Functions of the weight are unchanged by every permutation: if f x depends only on the
weight of x, every permutation of the coordinates is an automorphism of f.
Every permutation of the coordinates is an automorphism of a symmetric function.
Symmetric functions are transitive-symmetric.
Invariance of influences and Fourier coefficients #
Automorphisms preserve influences: an automorphism π of g carries the influence of
i on g to that of π i.
Automorphisms preserve Fourier coefficients: an automorphism π of g carries the Fourier
coefficient of g on S to its coefficient on π(S), by
O'Donnell, Exercise 1.30(a) (BitString.fourierCoeff_comp_arrowCongr).
A function of the weight has the same Fourier coefficient on any two sets of the same size,
the observation O'Donnell uses to open Section 5.3 (after Exercise 1.30(a))
O'Donnell, Section 5.3. A permutation matching S with S' and their complements
with each other carries one set to the other, and every permutation is an automorphism.
Transitive-symmetric functions #
All coordinates of a transitive-symmetric function have the same influence.
All coordinates of a transitive-symmetric function have the same degree-one coefficient,
the step f̂(i) = f̂(i') in O'Donnell, proof of Proposition 2.22.
Monotone transitive-symmetric functions have small influences: a monotone
transitive-symmetric Boolean function on n bits, read as signs, has every influence at most
1 / √n O'Donnell, Proposition 2.22.