Twin-width V: linear minors, modular counting, and matrix multiplication

09/24/2022
by   Édouard Bonnet, et al.
0

We continue developing the theory around the twin-width of totally ordered binary structures, initiated in the previous paper of the series. We first introduce the notion of parity and linear minors of a matrix, which consists of iteratively replacing consecutive rows or consecutive columns with a linear combination of them. We show that a matrix class has bounded twin-width if and only if its linear-minor closure does not contain all matrices. We observe that the fixed-parameter tractable algorithm for first-order model checking on structures given with an O(1)-sequence (certificate of bounded twin-width) and the fact that first-order transductions of bounded twin-width classes have bounded twin-width, both established in Twin-width I, extend to first-order logic with modular counting quantifiers. We make explicit a win-win argument obtained as a by-product of Twin-width IV, and somewhat similar to bidimensionality, that we call rank-bidimensionality. Armed with the above-mentioned extension to modular counting, we show that the twin-width of the product of two conformal matrices A, B over a finite field is bounded by a function of the twin-width of A, of B, and of the size of the field. Furthermore, if A and B are n × n matrices of twin-width d over 𝔽_q, we show that AB can be computed in time O_d,q(n^2 log n). We finally present an ad hoc algorithm to efficiently multiply two matrices of bounded twin-width, with a single-exponential dependence in the twin-width bound: If the inputs are given in a compact tree-like form, called twin-decomposition (of width d), then two n × n matrices A, B over 𝔽_2, a twin-decomposition of AB with width 2^d+o(d) can be computed in time 4^d+o(d)n (resp. 4^d+o(d)n^1+ε), and entries queried in doubly-logarithmic (resp. constant) time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/05/2021

Twin-width IV: low complexity matrices

We establish a list of characterizations of bounded twin-width for hered...
research
07/15/2022

First Order Logic and Twin-Width in Tournaments and Dense Oriented Graphs

We characterise the classes of tournaments with tractable first-order mo...
research
04/30/2020

Twin-width I: tractable FO model checking

Inspired by a width invariant defined on permutations by Guillemot and M...
research
06/29/2021

Twin-Width is Linear in the Poset Width

Twin-width is a new parameter informally measuring how diverse are the n...
research
08/06/2023

Factoring Pattern-Free Permutations into Separable ones

We show that for any permutation π there exists an integer k_π such that...
research
10/15/2021

Compact representation for matrices of bounded twin-width

For every fixed d ∈ℕ, we design a data structure that represents a binar...
research
04/28/2020

A framework for adaptive width control of dense contour-parallel toolpaths in fused deposition modeling

3D printing techniques such as Fused Deposition Modeling (FDM) have enab...

Please sign up or login with your details

Forgot password? Click here to reset