Documentation

CslibFrontier.Computability.Circuit.Arithmetic.DeterminantalComplexity

Determinantal complexity: universality, Grenet's upper bound and the Mignon–Ressayre lower bound #

A polynomial f has a determinantal representation of size m if it is the determinant of an m × m matrix whose entries are affine-linear polynomials (total degree at most one). Its determinantal complexity determinantalComplexity f : ℕ∞ is the least such m.

Valiant's universality Valiant: over every commutative ring K and arbitrary variable index type σ (with no finiteness or decidability assumption on σ and no nontriviality assumption on K), every polynomial f : MvPolynomial σ K is a projection of a generic determinant (exists_isProjection_det in CslibFrontier/Computability/Circuit/Arithmetic/Determinant/Projection.lean), so f has a determinantal representation of some finite size (exists_hasDeterminantalRepresentation), finite determinantal complexity (determinantalComplexity_lt_top), and an attaining representation (exists_hasDeterminantalRepresentation_eq_determinantalComplexity). Arithmetic formulas achieve the explicit linear bound F.size + 1 in CslibFrontier/Computability/Circuit/Arithmetic/Determinant/Formula.lean.

Grenet's theorem Grenet: the generic n × n permanent is a projection of the generic (2ⁿ - 1) × (2ⁿ - 1) determinant (isProjection_permanent_det_two_pow_sub_one), over every commutative ring. Hence dc(perm_n) ≤ 2ⁿ - 1 (determinantalComplexity_permanent_le). The matrix is Matrix.grenetMatrix.

Mignon–Ressayre theorem Mignon and Ressayre: over a field of characteristic zero, the generic n × n permanent has determinantal complexity at least n² / 2 (sq_le_two_mul_determinantalComplexity_permanent_of_charZero). With Grenet's theorem, n² / 2 ≤ dc(perm_n) ≤ 2ⁿ - 1 in characteristic zero. The proof compares Hessian ranks at a zero of the permanent. The Hessian of the determinant of a matrix of affine polynomials has rank at most 2 m at every zero of the determinant (Matrix.rank_hessian_det_le), while the Hessian of the permanent has full rank n² at the Mignon–Ressayre point (Matrix.rank_hessian_permanent_mignonRessayrePoint).

The general-field statement sq_le_two_mul_determinantalComplexity_permanent only assumes (n - 1)! ≠ 0 in the field, that is, characteristic zero or a characteristic at least n. Mignon and Ressayre state characteristic zero; the extension of Cai, Chen and Li to every characteristic other than 2 is not formalized. To apply the bound to a concrete matrix, use the representation form sq_le_two_mul_of_hasDeterminantalRepresentation_permanent or Matrix.card_mul_card_le_two_mul_card_of_permanent_eq_det.

Main definitions #

Main results #

References #

f is the determinant of an m × m matrix whose entries are affine-linear polynomials, that is, polynomials of total degree at most one.

noncomputable def Cslib.Circuits.Arithmetic.determinantalComplexity {K : Type u_1} [CommRing K] {σ : Type u_2} (f : MvPolynomial σ K) :

The determinantal complexity of f: the least size of a determinantal representation of f, or ⊤ if there is none.

Every determinantal representation of size m bounds determinantalComplexity f by m.

k ≤ determinantalComplexity f holds exactly when every determinantal representation of f has size at least k.

A projection of the generic m × m determinant has a determinantal representation of size m, over every commutative ring K.

The generic m × m determinant has a determinantal representation of size m.

The generic m × m determinant has determinantal complexity at most m.

Valiant's determinantal universality: over every commutative ring K and arbitrary variable index type σ, every polynomial f : MvPolynomial σ K has a determinantal representation of some finite size Valiant.

Valiant's determinantal universality: over every commutative ring K and arbitrary variable index type σ, every polynomial f : MvPolynomial σ K has finite determinantal complexity Valiant.

Every polynomial f : MvPolynomial σ K over a commutative ring attains its determinantal complexity at some finite matrix dimension m.

Grenet's theorem Grenet: over every commutative ring, the generic n × n permanent is a projection of the generic (2ⁿ - 1) × (2ⁿ - 1) determinant, with every variable of the determinant sent to a variable of the permanent, to 0 or to -1. The matrix is Matrix.grenetMatrix.

Grenet's theorem as a determinantal representation of size 2ⁿ - 1 of the generic n × n permanent Grenet, over every commutative ring.

Grenet's upper bound Grenet: over every commutative ring, the generic n × n permanent has determinantal complexity at most 2ⁿ - 1; in particular it is finite.

Mignon–Ressayre bound for representations: if the generic n × n permanent is the determinant of an m × m matrix of affine polynomials over a field with (n - 1)! ≠ 0 (characteristic 0 or at least n), then n² ≤ 2 m Mignon and Ressayre.

Mignon–Ressayre theorem over a field with (n - 1)! ≠ 0 (characteristic 0 or at least n): the generic n × n permanent has determinantal complexity at least n² / 2 Mignon and Ressayre. The determinantal complexity is finite, at most 2ⁿ - 1 (determinantalComplexity_permanent_le); see sq_le_two_mul_of_hasDeterminantalRepresentation_permanent for the form about a given representation.

Mignon–Ressayre theorem Mignon and Ressayre: over a field of characteristic zero, the generic n × n permanent has determinantal complexity at least n² / 2. With determinantalComplexity_permanent_le, n² / 2 ≤ dc(perm_n) ≤ 2ⁿ - 1; see sq_le_two_mul_of_hasDeterminantalRepresentation_permanent for the form about a given representation.

In characteristic zero, if the generic n × n permanent is a projection of the generic m × m determinant, then n² ≤ 2 m Mignon and Ressayre.