Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Forms, the padded permanent, and orbit closures Ωn\Omega_nΩn​, Zn,mZ_{n,m}Zn,m​

Definition
GCTOcc_forms

by LG · Sep 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometrycomplexity-theorygeometric-complexity-theoryrepresentation-theory

This file fixes the objects of the permanent versus determinant problem in the orbit-closure formulation.

All polynomials live in a single ring of complex polynomials whose variables XijX_{ij}Xij​ are indexed by pairs of natural numbers; the n×nn \times nn×n matrix of variables occupies the indices i,j<ni, j < ni,j<n, so polynomials of different sizes sit in one ring and no renaming maps are needed.

  1. The permanent and the determinant of the matrix of variables,
perm=∑σ∈Sm∏i<mXi σ(i),det⁡n=∑σ∈Snsgn(σ)∏i<nXi σ(i).\mathrm{per}_m = \sum_{\sigma \in S_m} \prod_{i<m} X_{i\,\sigma(i)}, \qquad \det\nolimits_n = \sum_{\sigma \in S_n} \mathrm{sgn}(\sigma)\prod_{i<n} X_{i\,\sigma(i)} .perm​=σ∈Sm​∑​i<m∏​Xiσ(i)​,detn​=σ∈Sn​∑​sgn(σ)i<n∏​Xiσ(i)​.
  1. The padded permanent X00 n−m permX_{00}^{\,n-m}\,\mathrm{per}_mX00n−m​perm​, which is a form of degree nnn whenever m≤nm \le nm≤n. The padding variable is the (0,0)(0,0)(0,0) entry of the matrix, as in the source; the choice of padding linear form is known to be immaterial.
  2. The linear form ∑vavXv\sum_{v} a_v X_v∑v​av​Xv​ attached to a vector of coefficients on the n2n^2n2 matrix positions.
  3. The predicate "ppp is a form of degree nnn": ppp is homogeneous of degree nnn and involves only the n2n^2n2 variables of the n×nn \times nn×n block. These are the points of Symn(Cn×n)∗\mathrm{Sym}^n(\mathbb{C}^{n\times n})^*Symn(Cn×n)∗.
  4. The predicate "ppp is a symbolic determinant of size nnn": p=det⁡Lp = \det Lp=detL for an n×nn \times nn×n matrix LLL whose entries are affine linear, that is of total degree at most one. Valiant's determinantal complexity of ppp is the least such nnn.
  5. The action by linear substitution: a matrix ggg indexed by the n2n^2n2 matrix positions acts on a polynomial by Xv↦∑wgvwXwX_v \mapsto \sum_w g_{vw} X_wXv​↦∑w​gvw​Xw​ inside the block, leaving the variables outside the block untouched. For invertible ggg this is the substitution p↦p∘gp \mapsto p \circ gp↦p∘g, that is g−1⋅pg^{-1} \cdot pg−1⋅p for the standard action (g⋅p)(v)=p(g−1v)(g\cdot p)(v) = p(g^{-1}v)(g⋅p)(v)=p(g−1v); as the invertible matrices form a group, the orbit of a form does not depend on this choice.
  6. The orbit closure GLn2⋅p0‾\overline{\mathrm{GL}_{n^2}\cdot p_0}GLn2​⋅p0​​: the set of polynomials ppp for which there is a sequence of invertible matrices gkg_kgk​ such that every coefficient of gk⋅p0g_k \cdot p_0gk​⋅p0​ converges to the corresponding coefficient of ppp. On the finite-dimensional space of degree nnn forms this coefficientwise sequential closure is the Euclidean closure, which for an orbit of an algebraic group action coincides with the Zariski closure.

Taking p0=det⁡np_0 = \det_np0​=detn​ gives Ωn\Omega_nΩn​ and taking p0=X00 n−mpermp_0 = X_{00}^{\,n-m}\mathrm{per}_mp0​=X00n−m​perm​ gives Zn,mZ_{n,m}Zn,m​; these two sets are the objects compared throughout the mission.

Definition code
import Mathlib

namespace GCTOcc

open MvPolynomial

/-- The ambient polynomial ring: complex polynomials in variables `X (i, j)` indexed by pairs
of natural numbers.  The `n × n` matrix of variables occupies the indices `i, j < n`, so all
sizes live in one ring and no renaming maps are needed. -/
abbrev PolyR : Type := MvPolynomial (ℕ × ℕ) ℂ

/-- The permanent `per_m = ∑_{σ ∈ S_m} ∏_{i<m} X (i, σ i)` of the `m × m` matrix of
variables. -/
noncomputable def permPoly (m : ℕ) : PolyR :=
  ∑ σ : Equiv.Perm (Fin m), ∏ i : Fin m, (X ((i : ℕ), ((σ i : Fin m) : ℕ)) : PolyR)

/-- The determinant `det_n = ∑_{σ ∈ S_n} sgn(σ) ∏_{i<n} X (i, σ i)` of the `n × n` matrix of
variables. -/
noncomputable def detPoly (n : ℕ) : PolyR :=
  ∑ σ : Equiv.Perm (Fin n),
    (Equiv.Perm.sign σ : ℤ) • ∏ i : Fin n, (X ((i : ℕ), ((σ i : Fin n) : ℕ)) : PolyR)

/-- The padded permanent `X_{0,0}^{n-m} · per_m`, homogeneous of degree `n` when `m ≤ n`.
The padding variable is the `(0,0)` entry of the matrix of variables. -/
noncomputable def paddedPerm (m n : ℕ) : PolyR :=
  (X (0, 0) : PolyR) ^ (n - m) * permPoly m

/-- The linear form `∑_{v} a_v X_v` in the `n²` variables of an `n × n` matrix. -/
noncomputable def linForm (n : ℕ) (a : Fin n × Fin n → ℂ) : PolyR :=
  ∑ v : Fin n × Fin n, C (a v) * X (((v.1 : ℕ)), ((v.2 : ℕ)))

/-- `p` is a degree `n` form in the `n²` variables `X (i, j)`, `i, j < n`; these are the
points of `Sym^n (ℂ^{n×n})^*`. -/
def IsForm (n : ℕ) (p : PolyR) : Prop :=
  p.IsHomogeneous n ∧ ∀ m ∈ p.support, ∀ v ∈ m.support, v.1 < n ∧ v.2 < n

/-- `p` is the determinant of an `n × n` matrix whose entries are affine linear (total degree
at most one): an affine linear projection of `det_n`. -/
def IsSymbolicDet (p : PolyR) (n : ℕ) : Prop :=
  ∃ L : Matrix (Fin n) (Fin n) PolyR, (∀ i j, (L i j).totalDegree ≤ 1) ∧ L.det = p

/-- The action of `g ∈ ℂ^{(n×n)×(n×n)}` on polynomials by linear substitution of the
variables of the `n × n` block: `X v ↦ ∑_w g v w * X w`.  Variables outside the block are
left untouched (no polynomial considered here uses them).  For invertible `g` this is the
substitution `p ↦ p ∘ g`, i.e. the element `g⁻¹ · p` for the action
`(g · p)(v) = p (g⁻¹ v)`; since the invertible matrices form a group, the orbit of a form is
the same under either convention. -/
noncomputable def substLin (n : ℕ) (g : Matrix (Fin n × Fin n) (Fin n × Fin n) ℂ) (p : PolyR) :
    PolyR :=
  aeval (fun v : ℕ × ℕ =>
    if h : v.1 < n ∧ v.2 < n then
      ∑ w : Fin n × Fin n,
        C (g (⟨v.1, h.1⟩, ⟨v.2, h.2⟩) w) * X (((w.1 : ℕ)), ((w.2 : ℕ)))
    else X v) p

/-- The orbit closure `GL_{n²} · p₀` in the Euclidean topology: `p` lies in it exactly when
`p` is the coefficientwise limit of a sequence of orbit points `g_k · p₀` with every `g_k`
invertible. -/
def orbitClosure (n : ℕ) (p₀ : PolyR) : Set PolyR :=
  {p | ∃ g : ℕ → Matrix (Fin n × Fin n) (Fin n × Fin n) ℂ,
        (∀ k, IsUnit (g k).det) ∧
        ∀ m : (ℕ × ℕ) →₀ ℕ,
          Filter.Tendsto (fun k => coeff m (substLin n (g k) p₀)) Filter.atTop
            (nhds (coeff m p))}

end GCTOcc
Source
P. Bürgisser, C. Ikenmeyer, G. Panova, *No occurrence obstructions in geometric complexity theory*, J. Amer. Math. Soc. 32 (2019), 163–193, https://doi.org/10.1090/jams/908, pp. 164–165, §1 and §1(a): the determinant, the padded permanent X11n−mpermX_{11}^{n-m}\mathrm{per}_mX11n−m​perm​, the orbit closures Ωn\Omega_nΩn​ (1.1) and Zn,mZ_{n,m}Zn,m​ (1.2), and determinantal complexity.
Read-back

What the Lean code literally says, in plain math · self-authored by the drafting agent (non-blind, no independent auditor)

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, at the explicit instruction of the proposal owner. It was not produced by an independent auditor working blind from the code alone, so it carries none of the independence a read-back is normally relied on for: a misreading made while formalizing is likely to be repeated here rather than caught. Treat it as the drafter's own restatement of the code, and audit the Lean statement directly against the cited source.

This bundle introduces, over the complex numbers, a polynomial ring whose variables are indexed by ordered pairs of natural numbers; write XijX_{ij}Xij​ for the variable indexed by (i,j)(i,j)(i,j).

Permanent. For a natural number mmm, perm\mathrm{per}_mperm​ is defined as ∑σ∏i<mXi σ(i)\sum_{\sigma} \prod_{i<m} X_{i\,\sigma(i)}∑σ​∏i<m​Xiσ(i)​, the sum ranging over all bijections σ\sigmaσ of {0,…,m−1}\{0,\dots,m-1\}{0,…,m−1} and the product over all i<mi < mi<m. For m=0m = 0m=0 the sum has a single term, the empty product, so per0=1\mathrm{per}_0 = 1per0​=1.

Determinant. Likewise det⁡n=∑σsgn(σ)∏i<nXi σ(i)\det_n = \sum_{\sigma} \mathrm{sgn}(\sigma) \prod_{i<n} X_{i\,\sigma(i)}detn​=∑σ​sgn(σ)∏i<n​Xiσ(i)​, with the sign of the permutation acting by integer scalar multiplication; det⁡0=1\det_0 = 1det0​=1.

Padded permanent. For natural numbers m,nm, nm,n, pad(m,n)=X00 n−m⋅perm\mathrm{pad}(m,n) = X_{00}^{\,n-m} \cdot \mathrm{per}_mpad(m,n)=X00n−m​⋅perm​, where n−mn - mn−m is truncated natural subtraction: if n≤mn \le mn≤m the exponent is 000 and the padded permanent is just perm\mathrm{per}_mperm​. The variable used for padding, X00X_{00}X00​, is also the (0,0)(0,0)(0,0) entry occurring inside perm\mathrm{per}_mperm​ whenever m≥1m \ge 1m≥1.

Linear form. Given nnn and a function aaa from pairs (v1,v2)(v_1,v_2)(v1​,v2​) with v1,v2<nv_1,v_2 < nv1​,v2​<n to C\mathbb{C}C, the associated linear form is ∑vavXv\sum_{v} a_v X_{v}∑v​av​Xv​, summed over the n2n^2n2 such pairs. For n=0n = 0n=0 this is the empty sum, namely 000.

Degree nnn forms. A polynomial ppp is said to be a form of degree nnn when (i) ppp is homogeneous of degree nnn, and (ii) for every monomial in the support of ppp and every variable index (v1,v2)(v_1,v_2)(v1​,v2​) occurring in that monomial, v1<nv_1 < nv1​<n and v2<nv_2 < nv2​<n. Note that the zero polynomial satisfies both conditions, and for n=0n = 0n=0 the condition forces ppp to be a constant.

Symbolic determinants. A polynomial ppp is a symbolic determinant of size kkk when there is a k×kk \times kk×k matrix LLL with polynomial entries such that each entry has total degree at most 111 and det⁡L=p\det L = pdetL=p. Entries are allowed to be constants or zero. For k=0k = 0k=0 the determinant of the empty matrix is 111, so the constant polynomial 111 is a symbolic determinant of size 000.

Substitution action. For nnn and a complex matrix ggg whose rows and columns are indexed by pairs (v1,v2)(v_1,v_2)(v1​,v2​) with v1,v2<nv_1,v_2 < nv1​,v2​<n, the operation p↦g∗pp \mapsto g \ast pp↦g∗p is the algebra homomorphism sending each variable XvX_{v}Xv​ with v1,v2<nv_1, v_2 < nv1​,v2​<n to ∑wgvwXw\sum_{w} g_{vw} X_{w}∑w​gvw​Xw​, the sum over the n2n^2n2 indices www, and sending every variable outside that range to itself.

Orbit closure. For nnn and a polynomial p0p_0p0​, the orbit closure of p0p_0p0​ is the set of polynomials ppp such that there exists a sequence (gk)k∈N(g_k)_{k\in\mathbb{N}}(gk​)k∈N​ of matrices of the above shape with:

  • the determinant of each gkg_kgk​ is a unit of C\mathbb{C}C, i.e. each gkg_kgk​ is invertible; and
  • for every monomial μ\muμ, the complex numbers coeffμ(gk∗p0)\mathrm{coeff}_\mu (g_k \ast p_0)coeffμ​(gk​∗p0​) converge, as k→∞k \to \inftyk→∞, to coeffμ(p)\mathrm{coeff}_\mu(p)coeffμ​(p).

Convergence is required separately for each of the infinitely many monomials, including those not appearing in any gk∗p0g_k \ast p_0gk​∗p0​, where it forces the corresponding coefficient of ppp to be 000. Taking a constant sequence shows the orbit itself is contained in this set.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me