Active square of a Boolean matrix and the additive {0, +} circuit basis #
Defines Matrix.activeSquare (S(A)), the additive circuit signature Additive.signature
over {0, +}, its monoid Additive.interpretation, and the explicit Lemma 1 gate budget
Additive.matrixBound.
Main definitions #
Matrix.activeSquare: active squareS(A)of anm × nBoolean matrix.Cslib.Circuits.Additive.Op,Cslib.Circuits.Additive.signature,Cslib.Circuits.Additive.interpretation,Cslib.Circuits.Additive.matrixBound: the additive circuit basis{0, +}and explicit(s, p)gate budget of Lemma 1.
Main results #
Matrix.activeSquare_le_mul:A.activeSquare ≤ m * n.Cslib.Circuits.Additive.interpretation_zero,Cslib.Circuits.Additive.interpretation_add: simp evaluation rules forAdditive.interpretation.
References #
The active square S(A) of an m × n Boolean matrix A
(Sergeev, p. 2): the number of entries (i, j) located within
horizontal distance Nat.log 2 m of a true entry in the same row i. Because column distances
are natural numbers, for 1 ≤ m the condition Nat.dist j j' ≤ Nat.log 2 m is equivalent to
(Nat.dist j j' : ℝ) ≤ Real.logb 2 m.
Operations of the additive monoid circuit basis {0, +}.
Instances For
Interpretation of the additive signature in any type with 0 and +.
Explicit gate budget of Sergeev, Lemma 1, p. 3 for an
m × n Boolean matrix A with column-group width s and horizontal section height p.