Pulling Boolean characters back along coordinate maps #
For a map π : β → γ, the mod-2 projection BitString.projectSet π T of T : Finset β
contains the points of γ with an odd number of preimages in T. Pulling a character back
along π projects its frequency set: chi T (f ∘ π) = chi (projectSet π T) f
(BitString.chi_comp_eq_chi_projectSet) Håstad. In particular, repeated
coordinates cancel in pairs; the coordinate map need not be injective.
Affine Boolean functions, read as signs, are characters multiplied by the sign of their constant term. Adjoining a Boolean function of selected coordinates expands each new character as a linear combination of old characters.
Main results #
Cslib.BitString.chi_comp_eq_chi_projectSet: character pullback along any coordinate map.Cslib.BitString.card_projectSet_le: mod-2 projection never increases cardinality.Cslib.BitString.chi_append_eq_sum: adjoining a Boolean coordinate expands each character into a linear combination of the old characters, including repeated coordinate selections.
References #
Mod-2 projection of subsets and character pullback #
The mod-2 projection π₂(T) of T : Finset β along π : β → γ: the set of y : γ
whose fiber in T under π has odd cardinality Håstad.
y lies in the mod-2 projection of T exactly when its fiber in T has odd cardinality.
The mod-2 projection of the empty set is empty.
Every element of projectSet π T lies in the image of T under π.
The mod-2 projection of T along π is contained in the image T.image π.
The mod-2 projection never increases cardinality: #(projectSet π T) ≤ #T.
Inserting x ∉ T toggles π x in projectSet π T.
The mod-2 projection along the identity is the identity.
Pulling a character back along π projects the frequency set by projectSet π:
chi ℝ T (f ∘ π) = chi ℝ (projectSet π T) f.
Adjoining a Boolean coordinate #
A character of an Option-indexed vector splits into the new coordinate, when selected,
and the character of the old coordinates.
Adjoining φ of selected coordinates expands a character containing the new coordinate
into old characters. The map args may repeat coordinates.