Eq. (1): every symmetric function is
ProvedShallowSym.eq_1boolean-functionscircuit-complexityconstant-depth-circuitsp2o-gran-per-chapterp2o-plan-paperp2o-v1symmetric-functions
Let be symmetric. Then there is a set such that
This decomposition reduces the construction of circuits for symmetric functions to the exact-weight functions .
Differences from the source:
- encoding: ⋁_{t∈S} 1[|x| = t] → decide (|x| ∈ S) with S a Finset ℕ contained in range (n + 1); reason: the same Boolean function
Preamble
import Mathlib import Definitions.Def_ShallowSym_IsSymmetric
Formal statement
namespace ShallowSym
/-- §2 "Functions", eq. (1), pp.4–5. V. Lecomte, P. Ramakrishnan, *Optimal Shallow Circuits for Majority*, arXiv:2609.34029
(version of 2026-11-01, sha256 6f46ce49…).
"In general, any symmetric function can be written as ⋁_{t∈S} 1[|x| = t] (1) for a set
S ⊆ {0, 1, . . . , n}."
Every symmetric `f : {0,1}^n → {0,1}` equals `x ↦ 1[|x| ∈ S]` for some `S ⊆ {0, 1, …, n}`. -/
theorem eq_1 (n : ℕ) (f : Cube n → Bool) (hf : IsSymmetric f) :
∃ S : Finset ℕ, S ⊆ Finset.range (n + 1) ∧ ∀ x, f x = decide (weight x ∈ S) := by sorry
end ShallowSym
Source
Lecomte, Ramakrishnan, Optimal Shallow Circuits for Majority, arXiv:2609.34029 (version of 2026-11-01, sha256 6f46ce49…), §2 'Functions', eq. (1), pp.4–5
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.