Forms, the padded permanent, and orbit closures ,
DefinitionGCTOcc_formsThis 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 are indexed by pairs of natural numbers; the matrix of variables occupies the indices , so polynomials of different sizes sit in one ring and no renaming maps are needed.
- The permanent and the determinant of the matrix of variables,
- The padded permanent , which is a form of degree whenever . The padding variable is the entry of the matrix, as in the source; the choice of padding linear form is known to be immaterial.
- The linear form attached to a vector of coefficients on the matrix positions.
- The predicate " is a form of degree ": is homogeneous of degree and involves only the variables of the block. These are the points of .
- The predicate " is a symbolic determinant of size ": for an matrix whose entries are affine linear, that is of total degree at most one. Valiant's determinantal complexity of is the least such .
- The action by linear substitution: a matrix indexed by the matrix positions acts on a polynomial by inside the block, leaving the variables outside the block untouched. For invertible this is the substitution , that is for the standard action ; as the invertible matrices form a group, the orbit of a form does not depend on this choice.
- The orbit closure : the set of polynomials for which there is a sequence of invertible matrices such that every coefficient of converges to the corresponding coefficient of . On the finite-dimensional space of degree forms this coefficientwise sequential closure is the Euclidean closure, which for an orbit of an algebraic group action coincides with the Zariski closure.
Taking gives and taking gives ; these two sets are the objects compared throughout the mission.
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
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 for the variable indexed by .
Permanent. For a natural number , is defined as , the sum ranging over all bijections of and the product over all . For the sum has a single term, the empty product, so .
Determinant. Likewise , with the sign of the permutation acting by integer scalar multiplication; .
Padded permanent. For natural numbers , , where is truncated natural subtraction: if the exponent is and the padded permanent is just . The variable used for padding, , is also the entry occurring inside whenever .
Linear form. Given and a function from pairs with to , the associated linear form is , summed over the such pairs. For this is the empty sum, namely .
Degree forms. A polynomial is said to be a form of degree when (i) is homogeneous of degree , and (ii) for every monomial in the support of and every variable index occurring in that monomial, and . Note that the zero polynomial satisfies both conditions, and for the condition forces to be a constant.
Symbolic determinants. A polynomial is a symbolic determinant of size when there is a matrix with polynomial entries such that each entry has total degree at most and . Entries are allowed to be constants or zero. For the determinant of the empty matrix is , so the constant polynomial is a symbolic determinant of size .
Substitution action. For and a complex matrix whose rows and columns are indexed by pairs with , the operation is the algebra homomorphism sending each variable with to , the sum over the indices , and sending every variable outside that range to itself.
Orbit closure. For and a polynomial , the orbit closure of is the set of polynomials such that there exists a sequence of matrices of the above shape with:
- the determinant of each is a unit of , i.e. each is invertible; and
- for every monomial , the complex numbers converge, as , to .
Convergence is required separately for each of the infinitely many monomials, including those not appearing in any , where it forces the corresponding coefficient of to be . Taking a constant sequence shows the orbit itself is contained in this set.