Activity and attainable threshold transcripts #
The number of attainable input-reading transcripts is bounded by a Hamming ball at the worst-case input-reading activity, or at the worst-case Hamming distance from any fixed baseline activation pattern. Projecting the full gate valuations gives a second bound using the total gate count and maximum activity (or distance from a baseline) across all gates. Both bounds use the same finite-image counting lemma.
The resulting exact binomial sum is an upper bound on the number of patterns. Lower bounds for a computed function also require a representation theorem, such as the comparison-tree compiler.
Main definitions #
Cslib.Circuits.Boolean.WeightedThreshold.attainableTranscripts: the realized transcripts.Cslib.Circuits.Boolean.WeightedThreshold.inputActivity: maximum input-reading activity.Cslib.Circuits.Boolean.WeightedThreshold.gateActivity: maximum activity across all gates.Cslib.Circuits.Boolean.WeightedThreshold.inputActivityFrom: maximum Hamming distance of the restricted transcript from a fixed baseline pattern.Cslib.Circuits.Boolean.WeightedThreshold.gateActivityFrom: maximum Hamming distance of the full gate valuation from a fixed baseline pattern.
Main results #
Cslib.Circuits.Boolean.WeightedThreshold.card_attainableTranscripts_le_sum_choose: the exact Hamming-ball bound for attainable patterns.Cslib.Circuits.Boolean.WeightedThreshold.card_attainableTranscripts_le_sum_choose_gateActivity: the bound using activity across all gates.card_attainableTranscripts_le_sum_choose_inputActivityFrom: the shifted-baseline Hamming-ball bound on input-reading gates.card_attainableTranscripts_le_sum_choose_gateActivityFrom: the shifted-baseline Hamming-ball bound across all gates.
References #
- [Threshold Circuits as Decision Trees and Finite-State Programs, Theorem 3.2 and Section 3.1] [26]
The restricted activation transcripts realized by Boolean inputs.
Instances For
The maximum Hamming distance of the restricted activation transcript from a fixed baseline
pattern v.
Instances For
An activity bound is exactly a uniform bound on the weight of the restricted transcripts.
A bound on total activity is exactly a uniform bound on complete gate valuations.
A shifted-baseline input-reading activity bound is a uniform Hamming-distance bound on restricted transcripts.
At the all-false baseline, shifted-baseline input-reading activity equals inputActivity.
At the all-false baseline, shifted-baseline total activity equals gateActivity.
Total gate activity never exceeds the number of gates.
Restricting to the input-reading gates cannot increase activity.
Input-reading activity never exceeds the number of input-reading gates.
Every realized transcript lies in the Hamming ball specified by any uniform activity bound. The bound also permits a radius larger than the number of input-reading gates.
Attainable patterns are bounded by the exact binomial sum at worst-case activity.
Projecting full gate valuations cannot create additional restricted transcripts, so total gate activity gives a Hamming-ball bound using the total number of gates.
Every realized transcript lies in the Hamming ball of radius e around any fixed baseline v
whenever inputActivityFrom p v ≤ e.
Attainable patterns are bounded by the exact binomial sum at the worst-case distance from any fixed baseline on input-reading gates.
Projecting shifted gate valuations bounds attainable patterns by the binomial sum at the worst-case distance from any fixed baseline across all gates.