Lean source
Lib.GLn.SchurModule.Nabla
Its 17 declarations
mem_nablalemma, lines 22–24(instance)instance, lines 26–27minor_mem_nablalemma, lines 31–35rowSubst_mem_nablalemma, lines 38–39rowSubst_rowSubstlemma, lines 41–42rowSubst_onelemma, line 44fockPairing_commlemma, lines 46–47map_jetlemma, line 49map_fockPairinglemma, line 51fockPairing_rowSubstlemma, lines 56–61fockPairing_star_self_poslemma, lines 67–71diagramWeight_applylemma, lines 75–76diagramWeight_addlemma, lines 80–81map_nablaBasislemma, line 83map_highestPolylemma, line 85map_detPowlemma, line 87detPow_zerolemma, line 89
import Lib.General.Algebra.ZerosCostDegree/-! Part of: Standard basis theorem for Schur (dual Weyl) modules over any ring, with character(known result; see Lib.GLn.SchurModule.MinorBasis).This file: Basic API: Borel semi-invariant polynomials, substitution, Fischer product, basechange. -/open Finset MvPolynomial Matrix Sigma SetLikevariable {σ Φ m R S : Type} {l : Φ × ℕ →₀ ℕ} [CommRing R] [CommRing S] {c : m → Φ} (φ : R →+* S) (p q : MvPolynomial σ R) {n n' n'' : Φ → _} [∀ τ, Fintype (n τ)] [∀ τ, Fintype (n' τ)] (z : ∀ τ, Matrix (n' τ) (n τ) R) {f}attribute [local simp] rowSubst det_apply map_finsuppProd coeff_map aeval_bind₁ diagramWeight tableauPoly pow_add ite_and minor borelMul highestPoly smul_sum Matrix.mul_apply jet_monomial nablaBasis detPow/-- A polynomial f lies in the semi-invariant module of weight l if and only if f(yβ) = ∏b(τ,i,i)^{l(τ,i)} · f(y) for all arrays b, y over every commutative R-algebra, β being theupper triangular part of b in each colour. -/lemma mem_nabla : f ∈ nabla R c l ↔ ∀ S [CommRing S] [Algebra R S] b y, aeval (borelMul c b y) f = (l.prod fun p k ↦ (b (p.1, p.2, p.2) : S) ^ k) * aeval y f := by simpa [nabla, ← C_mul'] using ⟨fun h _ _ _ b _ ↦ by simpa [comp_aeval_apply] using! congr(aevalTower (aeval b) _ $h), by tauto⟩instance : GradedMonoid (nabla R c) := by refine' {..} <;> simp_all [mem_nabla, Finsupp.prod_add_index', mul_mul_mul_comm]/-- If all rows of the h-tuple I have colour τ, the minor on rows I and the first h columns issemi-invariant of the weight equal to 1 at (τ,i) for i < h and 0 elsewhere. -/lemma minor_mem_nabla {h τ} {I : Fin h → m} (hI : ∀ s, c (I s) = τ) : minor R I ∈ nabla R c (∑ i ∈ range h, .single (τ, i) 1) := mem_nabla.2 fun _ _ _ _ y ↦ by simpa +contextual [← Finsupp.prod_finsetSum_index, prod_range, hI, sum_ite, filter_ge_eq_Iic, Nat.range_succ_eq_Iic, ← Fin.map_valEmbedding_Iic, ↓det_of_isUpperTriangular, BlockTriangular, mul_comm, ↓isEmpty_Prop] using det_mul (of (y ⟨I ·, ·⟩)) (of (if · ≤ · then _ else 0))omit [∀ τ, Fintype (n' τ)] inlemma rowSubst_mem_nabla {f} (h : f ∈ nabla R fst l) : rowSubst z f ∈ nabla R fst l := by simp [mem_nabla, ← mem_nabla.1 h, borelMul.eq_unfold, sum_mul, univ.sum_comm]lemma rowSubst_rowSubst z' f : rowSubst z (rowSubst (n' := n'') z' f) = rowSubst (fun τ ↦ z' τ * z τ) f := by simp [bind₁_bind₁, mul_smul, sum_smul, @sum_comm (n' _)]@[simp] lemma rowSubst_one (f : MatrixPoly (Sigma n) R) : rowSubst (fun _ ↦ 1) f = f := by simplemma fockPairing_comm : fockPairing R p q = fockPairing R q p := by simp [fockPairing, jet_eq_sum]; grind [sum_congr_of_eq_on_inter]lemma map_jet F : φ (jet R p F) = jet S (map φ p) (.map φ F) := p.induction_on' (by simp) (by aesop)lemma map_fockPairing : φ (fockPairing R p q) = fockPairing S (map φ p) (map φ q) := map_jet ../-- For matrices z_τ over a commutative ring, one per place, the substitutions by z and by itsplacewise transpose are adjoint for the Fock form ⟨P,Q⟩ = P(∂)Q(0): ⟨p(zy), q⟩ = ⟨p, q(zᵀy)⟩for all polynomials p, q. -/lemma fockPairing_rowSubst p : ∀ q, fockPairing R (rowSubst z p) q = fockPairing R p (rowSubst (fun τ ↦ (z τ)ᵀ) q) := by set w := rowSubst fun τ ↦ (z τ)ᵀ have ⦃p i⦄ : (w p).pderiv i = ∑ a, z _ i.1.2 a • w (p.pderiv (⟨_, a⟩, i.2)) <;> apply p.induction_on <;> simp_all [w, fockPairing_C, fockPairing_mul_X, @mul_sum (n _), hom_bind₁, apply_ite]; aesopvariable [Fintype Φ] {N : Φ → ℕ} {κ : Φ → ℕ → ℕ} {κ' : Φ → ℕ → ℕ} {p}/-- Over a star-ordered integral domain R of characteristic zero, every nonzero polynomial p has⟨p̄,p⟩ > 0 for the form ⟨P,Q⟩ = P(∂)Q(0), where p̄ is p with conjugated coefficients. -/lemma fockPairing_star_self_pos [PartialOrder R] [StarRing R] [StarOrderedRing R] [IsDomain R] (hp : p ≠ 0) : 0 < fockPairing R (map (starRingEnd R) p) p := by erw [fockPairing_comm, jet_eq_sum] apply sum_pos <;> simp_all [star_right_conjugate_pos, isRegular_iff_ne_zero, Finsupp.prod, prod_pos, Nat.factorial_pos, starRingEnd_apply]/-- The value at (τ, i) of the weight `diagramWeight` attached to N and κ is the sum of κ_τ(h) overi < h < N_τ. -/lemma diagramWeight_apply τ i : diagramWeight N κ (τ, i) = (Ioo i (N τ)).sum (κ τ) := by simp [Finsupp.single_apply]; grind [sum_congr_of_eq_on_inter]/-- For fixed bounds N, the weight `diagramWeight` is additive in the column multiplicities: theweight of κ + κ' is the sum of the weights of κ and κ'. -/lemma diagramWeight_add : diagramWeight N (κ + κ') = diagramWeight N κ + diagramWeight N κ' := by simp@[simp] lemma map_nablaBasis i : map φ (nablaBasis R n κ i) = nablaBasis S n κ i := by simp@[simp] lemma map_highestPoly : map φ (highestPoly R κ N) = highestPoly S κ N := by simp@[simp] lemma map_detPow e : map φ (detPow R n e) = detPow S n e := by simp@[simp] lemma detPow_zero : detPow R n 0 = 1 := by simp