Weighted threshold transcripts as linear-query trees #
A native weighted threshold program has a decision tree whose queries are native threshold lines reading only original inputs. It computes any output determined by the restricted transcript, has depth at most the number of input-reading gates, and has at most as many leaves as attained transcripts. Only nonempty answer branches are constructed.
The same tree gives a separable comparison tree for every split of the input coordinates by
relabeling its queries. This preserves its exact structural depth and leaf count. All threshold
comparisons retain the convention that equality returns true.
This construction is semantic and noncomputable; no efficient compiler is asserted.
Main definitions #
Cslib.Circuits.Boolean.WeightedThreshold.gateQuery: a native input-only threshold line, with fixed earlier gate contributions absorbed into its threshold.Cslib.Circuits.Boolean.WeightedThreshold.inputOfSplit: assemble the two sides of an input.Cslib.Circuits.Boolean.WeightedThreshold.lineComparison: express an input-only threshold line as a separable comparison across a coordinate split.
Main results #
Cslib.Circuits.Boolean.WeightedThreshold.exists_linear_transcript_tree: a transcript determines a tree of native linear threshold queries, independent of any coordinate split.Cslib.Circuits.Boolean.WeightedThreshold.exists_transcript_tree: the corresponding separable comparison tree for any split.Cslib.Circuits.Boolean.WeightedThreshold.exists_gate_readout_tree: every fixed readout of the complete gate valuation is covered.Cslib.Circuits.Boolean.WeightedThreshold.exists_circuit_tree: designated gate outputs are computed simultaneously.
References #
- [Threshold Circuits as Decision Trees and Finite-State Programs, Lemma 3.1] [26]
With preceding gate values fixed, a gate is a native threshold line on original inputs. Its coefficients are aggregated by actual input wire, so cancelled slots contribute zero.
Instances For
Earlier gate values suffice to evaluate the input-only query; current and later values do not affect it because their coefficients vanish.
Any output determined by the restricted transcript has a native linear-query tree. The tree is independent of coordinate splits; its leaves count only attainable transcripts.
A native input-only threshold line is separable across every coordinate split. Repeated argument slots are aggregated by actual input wire.
Instances For
With preceding gate values fixed, the remaining gate equation is a separable comparison of its direct input contributions.
Instances For
Earlier gate values suffice to evaluate the comparison; current and later values do not affect it because their coefficients vanish.
Any output determined by the restricted transcript has a separable comparison tree of depth at most the input-reading count and with at most one leaf per attainable transcript.
A fixed readout of all native gate values satisfies the transcript-tree bounds.
A circuit whose outputs select gates has a comparison tree computing all designated outputs simultaneously, under the same depth and attainable-transcript leaf bounds.