Five rules for a weight alphabet

You will learn

What values a ternary weight may take, how five measured rules leave one formula, and what a sixth rule removes from it.

The spec golden_sieve.t27 gives a ternary weight five measured rules and a sixth that narrows what they leave. S1: the number of values is a power of three; S2: at most two trits, as a third gave no significant gain. S3: one accumulator lane, so any two weights have a rational ratio: plus and minus phi pass as a common scale, while 1 and phi need two lanes. S4: at most six input bits per neuron, a trade, not a law, says the spec; S5: no DSP48E1 or SRL16E cells, for which openXC7 wrote a wrong bitstream while every tool said OK. The five leave TNF(k, b) with 3 or 9 levels, and S6 removes the 9-level form: on every integer ladder the top weight outweighs the others added, so one input decides. The browser runs all 3 tests and all 8 invariants.

Open the interactive lesson →