Determinantal and border determinantal complexity of the permanent
DefinitionGCT_determinantal_complexityThe setting of the determinant versus permanent problem, following Landsberg.
Fix and let be the permanent of an matrix of variables, a homogeneous polynomial of degree in variables, and let be the determinant of an matrix of variables, a homogeneous polynomial of degree on . With an auxiliary linear coordinate and a linear inclusion , the padded permanent is a degree- element of .
Acting on by linear substitution, is the set of polynomials ; concretely these are exactly the determinants of matrices whose entries are homogeneous linear forms. Its closure is the orbit closure , and membership in that closure is rendered here as a coefficientwise limit of such determinants.
This gives the two complexity measures of the mission:
The affine variant — is an affine linear projection of , i.e. the determinant of an matrix of affine-linear forms — is Valiant's original definition of determinantal complexity, and is included so that the equivalence of the two formulations can itself be a milestone.
import Mathlib
namespace GCT
open MvPolynomial
/-- Variables for the padded permanent of size `m`: `none` is the auxiliary padding
coordinate `ℓ`, and `some (i, j)` is the matrix entry `y_{ij}`. -/
abbrev PadVars (m : ℕ) := Option (Fin m × Fin m)
/-- The permanent polynomial `perm_m = ∑_{σ ∈ S_m} y_{σ(1)1} ⋯ y_{σ(m)m}` in the `m²`
variables `y_{ij}`. -/
noncomputable def permPoly (m : ℕ) : MvPolynomial (Fin m × Fin m) ℂ :=
Matrix.permanent (Matrix.of fun i j => (X (i, j) : MvPolynomial (Fin m × Fin m) ℂ))
/-- The permanent polynomial `perm_m`, written in the variable set `PadVars m`, which
also carries the padding variable `ℓ`. -/
noncomputable def permPolyPad (m : ℕ) : MvPolynomial (PadVars m) ℂ :=
Matrix.permanent (Matrix.of fun i j => (X (some (i, j)) : MvPolynomial (PadVars m) ℂ))
/-- The padded permanent `ℓ^(n-m) perm_m`; it is homogeneous of degree `n` when `m ≤ n`. -/
noncomputable def paddedPerm (m n : ℕ) : MvPolynomial (PadVars m) ℂ :=
(X none) ^ (n - m) * permPolyPad m
/-- `HasLinearDetRep n p` : `p = det_n ∘ Λ` for a linear substitution `Λ`, i.e. `p` is the
determinant of an `n × n` matrix whose entries are homogeneous linear forms (possibly `0`).
This is membership of `p` in the affine cone over `End(W) · det_n`. -/
def HasLinearDetRep {σ : Type*} (n : ℕ) (p : MvPolynomial σ ℂ) : Prop :=
∃ A : Matrix (Fin n) (Fin n) (MvPolynomial σ ℂ),
(∀ i j, (A i j).IsHomogeneous 1) ∧ A.det = p
/-- `HasBorderLinearDetRep n p` : `p` is a coefficientwise limit of determinants
`det_n ∘ Λ_k` of matrices of homogeneous linear forms, i.e. `p` lies in the affine cone
over the orbit closure `Det_n = GL(W) · [det_n]`. -/
def HasBorderLinearDetRep {σ : Type*} (n : ℕ) (p : MvPolynomial σ ℂ) : Prop :=
∃ A : ℕ → Matrix (Fin n) (Fin n) (MvPolynomial σ ℂ),
(∀ k i j, (A k i j).IsHomogeneous 1) ∧
∀ d : σ →₀ ℕ,
Filter.Tendsto (fun k => coeff d ((A k).det)) Filter.atTop (nhds (coeff d p))
/-- `HasAffineDetRep n p` : `p` is the determinant of an `n × n` matrix whose entries are
affine-linear polynomials (total degree at most `1`), i.e. `p` is an affine linear
projection of `det_n`. -/
def HasAffineDetRep {σ : Type*} (n : ℕ) (p : MvPolynomial σ ℂ) : Prop :=
∃ A : Matrix (Fin n) (Fin n) (MvPolynomial σ ℂ),
(∀ i j, (A i j).totalDegree ≤ 1) ∧ A.det = p
/-- The determinantal complexity `dc(perm_m)`: the least `n ≥ m` such that
`ℓ^(n-m) perm_m ∈ End(W) · det_n`. -/
noncomputable def dc (m : ℕ) : ℕ :=
sInf {n : ℕ | m ≤ n ∧ HasLinearDetRep n (paddedPerm m n)}
/-- The border determinantal complexity `dcBar(perm_m)`: the least `n ≥ m` such that
`ℓ^(n-m) perm_m` lies in the orbit closure `Det_n = GL(W) · [det_n]`. -/
noncomputable def dcBar (m : ℕ) : ℕ :=
sInf {n : ℕ | m ≤ n ∧ HasBorderLinearDetRep n (paddedPerm m n)}
end GCT
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT blind and NOT independent. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the human who owns this proposal, and not by a separate auditor with a fresh context. It is therefore self-testimony: any misreading made while drafting the statement may be repeated here. Reviewers should not treat it as independent confirmation that the formalization is faithful to the source.
The statement is phrased in terms of the following notions.
For a natural number , the permanent polynomial is the element of the polynomial ring in commuting indeterminates given by
the sum running over all permutations of the -element index set (for the conventions give ).
A second copy of the permanent is taken in the larger variable set consisting of the variables together with one extra variable ; in that ring the padded permanent of size is
where is truncated natural-number subtraction: if the exponent is and the padded permanent is just .
For a polynomial in any variable set:
- has a linear determinantal representation of size when there exists an matrix of polynomials such that every entry is homogeneous of degree (the zero polynomial counts as homogeneous of degree , so entries may vanish, but nonzero constants are not allowed) and .
- has a border linear determinantal representation of size when there is a sequence , , of matrices all of whose entries are homogeneous of degree , such that for every monomial exponent vector the scalars converge in , as , to . Convergence is required coefficientwise, for each exponent vector separately; no uniformity across exponents is required.
- has an affine determinantal representation of size when there is an matrix of polynomials with for all (constants permitted) and .
Finally,
each the least element of a set of natural numbers. This is a total function: if the set is empty the value is by convention, so every assertion below also speaks about that junk value whenever the relevant set happens to be empty.
The file introduces exactly these notions and asserts nothing: the permanent polynomial in variables, the same polynomial inside the variable set extended by one padding variable , the padded permanent (with truncated subtraction in the exponent), the three representation predicates (linear, border linear, affine), and the two complexity functions and as least elements of the corresponding sets of admissible sizes. Everything is over the complex numbers. The determinant is the ordinary signed determinant over a commutative ring and the permanent is its unsigned analogue. No claim of existence, minimality or finiteness is made anywhere in the file.
Confirmed by the mission captain (proposal self-audit).