RH Lean Explorer Lean proof · certified 21 NovCertified

Original archive · 175,187 Lean files

Alpöge original · Cluster k0913 · Lean files in plain English

Twisted trace on unitary-invariant maps is ±2^n, via highest-weight counting: its Lean files in plain English

Written by AI from the Lean source at commit 40e56bab; each sentence checked against the code by a second pass.

172 Lean files, by distance from Main.lean. Each file links to the Lean viewer; the statements below are cut from the source up to :=. Back to the cluster page · All 16 core clusters

Contents

By import steps from Main.lean, closest first.

7 import steps from Main 1

8 import steps from Main 2

9 import steps from Main 9

10 import steps from Main 18

11 import steps from Main 24

12 import steps from Main 38

13 import steps from Main 45

14 import steps from Main 22

15 import steps from Main 6

16 import steps from Main 2

17 import steps from Main 5

The files

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntertwinerEqZeroOfVanishOnHighestStatement

13 import steps from Main · 11 lines · Checked against the code

Restates the vanishing criterion for an intertwiner that kills every highest-weight vector.

The sole theorem restates the imported criterion for a finite-dimensional complex inner product space whose generators satisfy the matrix-unit commutator relations and G_ab* = G_ba. The direct importers use it to show that the highest-weight projectors sum to the identity and that a commuting endomorphism acting by a scalar on a line containing all highest-weight vectors equals that scalar times the identity.

Key declarations

GlobalTheory.T.intertwiner_eq_zero_of_vanish_on_highest: A complex-linear map from a finite-dimensional inner product space with adjoint-paired matrix-unit generators is zero if it intertwines those generators and vanishes on every highest-weight vector.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.intertwiner_eq_zero_of_vanish_on_highest : ∀ {n : ℕ} (H V : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] [AddCommGroup V] [Module ℂ V] (G : Fin n → Fin n → Module.End ℂ H) (D : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel G → (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) → ∀ R : H →ₗ[ℂ] V, (∀ a b w, R (G a b w) = D a b (R w)) → (∀ (μ : Fin n → ℝ) (v : H), Formalism.REAL.KHighest (fun _ => true) G μ v → R v = 0) → R = 0 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwasawaParabolicUnitary

13 import steps from Main · 40 lines · Checked against the code

Proves that every invertible complex matrix factors as a block lower triangular matrix times a unitary matrix.

For any nondecreasing level sequence, the blocks are the consecutive groups of indices at the same level. The proof applies QR factorization to the conjugate transpose and then takes adjoints to put the unitary factor on the right. The resulting lower triangular factor is invertible and belongs to the parabolic for the chosen blocks. The direct importer uses this result to prove iwasawa_parabolic_unitary.

Key declarations

GlobalTheory.CompanionTheory.ModelS.exists_Pb_mul_unitary: For any nondecreasing level sequence, every g in GL(n, ℂ) can be written as g = pk with p in the corresponding block lower triangular parabolic and k in U(n).

13theorem exists_Pb_mul_unitary : ∀ (n : ℕ) (lev : Fin n → ℕ), Monotone lev → ∀ g ∈ GLs n,14    ∃ p ∈ GlobalTheory.CompanionTheory.ModelS.Pb lev, ∃ k : Matrix.unitaryGroup (Fin n) ℂ, g = p * k.1 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.KActionSkewAdjointL2

13 import steps from Main · 116 lines · Checked against the code

Proves that transposing the indices of a unitary Lie algebra generator moves it across the L² pairing.

For a finite Borel measure on U(n) under which all smooth right derivatives in skew-Hermitian directions integrate to zero, Kf(a,b) and Kf(b,a) are adjoint in the integral pairing. The proof writes each generator as a complex linear combination of two skew-Hermitian right derivatives and applies the product rule to the conjugate of the first function times the second. The direct importer uses this identity to prove k_action_skew_adjoint_l2.

Key declarations

GlobalTheory.CompanionTheory.ModelS.ipK_Kf_transpose: If all smooth right derivatives in skew-Hermitian directions integrate to zero, moving Kf(a,b) from the first slot of the integral pairing to the second replaces it by Kf(b,a).

89theorem GlobalTheory.CompanionTheory.ModelS.ipK_Kf_transpose : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] (κ : Measure (Matrix.unitaryGroup (Fin n) ℂ)) [IsFiniteMeasure κ], (∀ u : Mat n → ℂ, ContDiffOn ℝ ∞ u (GLs n) → ∀ X : Mat n, Xᴴ = -X → ∫ k : Matrix.unitaryGroup (Fin n) ℂ, Rd X u k.1 ∂κ = 0) → ∀ (a b : Fin n) (x y : GlobalTheory.CompanionTheory.ModelS.SmF n), GlobalTheory.CompanionTheory.ModelS.ipK κ (GlobalTheory.CompanionTheory.ModelS.Kf a b x) y = GlobalTheory.CompanionTheory.ModelS.ipK κ x (GlobalTheory.CompanionTheory.ModelS.Kf b a y) := …

GlobalTheory.CompanionTheory.ModelS.KHerm.Kf_apply: On invertible matrices, Kf(a,b) acts as the right derivative in the direction (E_ab − E_ba)/2 minus i times the right derivative in the direction i(E_ab + E_ba)/2.

32theorem Kf_apply (a b : Fin n) (h : SmF n) {g : Mat n} (hg : g ∈ GLs n) :33    (Kf a b h).1 g = Rd (skA a b) h.1 g - Complex.I * Rd (skB a b) h.1 g := …

GlobalTheory.CompanionTheory.ModelS.KHerm.Kf_apply_swap: Swapping a and b reverses the sign of the antisymmetric matrix direction and preserves the imaginary symmetric direction.

45theorem Kf_apply_swap (a b : Fin n) (h : SmF n) {g : Mat n} (hg : g ∈ GLs n) :46    (Kf b a h).1 g = -Rd (skA a b) h.1 g - Complex.I * Rd (skB a b) h.1 g := …

GlobalTheory.CompanionTheory.ModelS.KHerm.Rd_conj_mul: For two functions smooth on the invertible locus, the right derivative there of the conjugate of the first times the second is the sum of the conjugated derivative of the first times the second and the conjugated first times the derivative of the second.

53theorem Rd_conj_mul (X : Mat n) {x y : Mat n → ℂ} (hx : ContDiffOn ℝ ∞ x (GLs n)) (hy : ContDiffOn ℝ ∞ y (GLs n))54    {g : Mat n} (hg : g ∈ GLs n) :55    Rd X (fun g => conj (x g) * y g) g = conj (Rd X x g) * y g + conj (x g) * Rd X y g := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.L2InnerProductHermitianForm

13 import steps from Main · 95 lines · Checked against the code

Proves the L² pairing on U(n) is positive semidefinite Hermitian for complex functions smooth on invertible matrices and zero elsewhere.

For a finite Borel measure on U(n) that gives positive mass to every nonempty open set, the integral pairing is Hermitian and conjugate-linear in its first argument. Compactness and continuity give integrability, and the self-pairing is the integral of the squared modulus. If this integral vanishes, continuity and positivity on open sets force the function to vanish everywhere on U(n). The direct importer uses the combined result to prove l2_inner_product_hermitian_form.

Key declarations

GlobalTheory.CompanionTheory.ModelS.L2InnerProduct.ipK_form: For a finite Borel measure positive on nonempty open sets, the pairing is Hermitian and positive semidefinite, with zero self-pairing only for functions that vanish on U(n).

89theorem ipK_form : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] (κ : Measure (Matrix.unitaryGroup (Fin n) ℂ)) [IsFiniteMeasure κ] [κ.IsOpenPosMeasure], (∀ x y : GlobalTheory.CompanionTheory.ModelS.SmF n, conj (GlobalTheory.CompanionTheory.ModelS.ipK κ y x) = GlobalTheory.CompanionTheory.ModelS.ipK κ x y) ∧ (∀ x : GlobalTheory.CompanionTheory.ModelS.SmF n, 0 ≤ (GlobalTheory.CompanionTheory.ModelS.ipK κ x x).re) ∧ (∀ x y z : GlobalTheory.CompanionTheory.ModelS.SmF n, GlobalTheory.CompanionTheory.ModelS.ipK κ (x + y) z = GlobalTheory.CompanionTheory.ModelS.ipK κ x z + GlobalTheory.CompanionTheory.ModelS.ipK κ y z) ∧ (∀ (c : ℂ) (x y : GlobalTheory.CompanionTheory.ModelS.SmF n), GlobalTheory.CompanionTheory.ModelS.ipK κ (c • x) y = conj c * GlobalTheory.CompanionTheory.ModelS.ipK κ x y) ∧ ∀ x : GlobalTheory.CompanionTheory.ModelS.SmF n, GlobalTheory.CompanionTheory.ModelS.ipK κ x x = 0 → ∀ k : Matrix.unitaryGroup (Fin n) ℂ, x.1 k.1 = 0 := …

GlobalTheory.CompanionTheory.ModelS.L2InnerProduct.isCompact_unitary_set: The unitary matrices form a compact subset of the space of complex square matrices.

14theorem isCompact_unitary_set (n : ℕ) :15    IsCompact ((Matrix.unitaryGroup (Fin n) ℂ : Set (Matrix (Fin n) (Fin n) ℂ))) := …

GlobalTheory.CompanionTheory.ModelS.L2InnerProduct.integrable_integrand: For two complex-valued matrix functions smooth on the invertible locus and zero elsewhere, the conjugate of the first times the second is integrable over U(n) against any finite Borel measure.

41theorem integrable_integrand (x y : SmF n) :42    Integrable (fun k : Matrix.unitaryGroup (Fin n) ℂ => conj (x.1 k.1) * y.1 k.1) κ := …

GlobalTheory.CompanionTheory.ModelS.L2InnerProduct.ipK_self: The self-pairing is the integral over U(n) of the squared modulus of the function.

53theorem ipK_self (x : SmF n) :54    ipK κ x x = ((∫ k, ‖x.1 k.1‖ ^ 2 ∂κ : ℝ) : ℂ) := …

GlobalTheory.CompanionTheory.ModelS.L2InnerProduct.eq_zero_of_ipK_self: For a finite Borel measure positive on every nonempty open set, zero self-pairing implies pointwise vanishing on U(n).

78theorem eq_zero_of_ipK_self [κ.IsOpenPosMeasure] (x : SmF n) (h : ipK κ x x = 0)79    (k : Matrix.unitaryGroup (Fin n) ℂ) : x.1 k.1 = 0 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LieGeneratorsGlRelations

13 import steps from Main · 173 lines · Checked against the code

Proves that a real-linear Lie action of complex matrices yields two commuting families of gl(n, ℂ) generators.

For a real-linear map D that preserves commutators, the combinations (D(Z) ∓ iD(iZ))/2 each preserve commutators, and the mixed commutators vanish. The proof expands these brackets using the commutators of D(Z), D(iZ), D(W), and D(iW). Evaluating on matrix units and taking the negative transpose in the second family gives the standard matrix-unit relations for both generator families.

Key declarations

GlobalTheory.CompanionTheory.GLK.Pair.gl_pair: For a real-linear bracket-preserving action D, each of the families e1 and e2 satisfies the standard gl(n, ℂ) matrix-unit commutator relations, and every generator in one family commutes with every generator in the other.

157theorem gl_pair : ∀ (n : ℕ) (V : Type) [AddCommGroup V] [Module ℂ V] (D : Mat n → Module.End ℂ V),158    (∀ X Y, D (X + Y) = D X + D Y) → (∀ (r : ℝ) X, D ((r : ℂ) • X) = (r : ℂ) • D X) →159    (∀ X Y, D (X * Y - Y * X) = D X * D Y - D Y * D X) →160    Formalism.REAL.GlRel (e1 D) ∧ Formalism.REAL.GlRel (e2 D) ∧ ∀ a b c d, e1 D a b * e2 D c d = e2 D c d * e1 D a b := …

GlobalTheory.CompanionTheory.GLK.Pair.eP: Defines the complex-linear part of a real-linear action D by Z ↦ (D(Z) − iD(iZ))/2.

52def eP (D : Mat n → Module.End ℂ V) (Z : Mat n) : Module.End ℂ V :=53  (1 / 2 : ℂ) • (D Z - Complex.I • D (Complex.I • Z))

GlobalTheory.CompanionTheory.GLK.Pair.fP: Defines the conjugate-linear part of a real-linear action D by Z ↦ (D(Z) + iD(iZ))/2.

55def fP (D : Mat n → Module.End ℂ V) (Z : Mat n) : Module.End ℂ V :=56  (1 / 2 : ℂ) • (D Z + Complex.I • D (Complex.I • Z))

GlobalTheory.CompanionTheory.GLK.Pair.eP_fP_comm: The values of the two parts of a real-linear bracket-preserving action commute for every pair of matrix arguments.

122theorem eP_fP_comm (hs : ∀ (r : ℝ) X, D ((r : ℂ) • X) = (r : ℂ) • D X)123    (hb : ∀ X Y, D (X * Y - Y * X) = D X * D Y - D Y * D X) (Z W : Mat n) :124    eP D Z * fP D W = fP D W * eP D Z := …

GlobalTheory.CompanionTheory.GLK.Pair.single_brk: The commutator of matrix units E_ab and E_cd is δ_bc E_ad − δ_da E_cb.

128theorem single_brk (a b c d : Fin n) :129    (Matrix.single a b (1 : ℂ)) * Matrix.single c d 1 - Matrix.single c d (1 : ℂ) * Matrix.single a b 1 =130      (if b = c then Matrix.single a d 1 else 0) - (if d = a then Matrix.single c b 1 else 0) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.PartialFractionDiagonalIdentity

13 import steps from Main · 109 lines · Checked against the code

Proves a partial-fraction formula for a ratio of monic polynomials and its vanishing identity at each numerator root.

Let P and Q be monic real polynomials of degrees m+1 and m given as products of linear factors, with Q having distinct roots. The proof matches the two leading coefficients to obtain the linear quotient, then interpolates the remainder at the roots of Q to obtain the simple-pole coefficients. When the combined root list is pairwise distinct, evaluating at any root of P gives zero. The direct importer uses this specialization to prove partial_fraction_diagonal_identity.

Key declarations

GlobalTheory.CompanionTheory.RgHe.Frame.prod_eq_partial_fraction: For distinct roots d′ⱼ of Q, clearing denominators in P/Q = X − c + ∑ⱼ rⱼ/(X − d′ⱼ) gives a polynomial identity, where c is the sum of the roots of P minus the sum of the roots of Q and rⱼ = P(d′ⱼ)/Q′(d′ⱼ).

32theorem prod_eq_partial_fraction {m : ℕ} (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ)33    (hd' : Function.Injective d') :34    (∏ i, (X - C (d i))) = (X - C (pfX d d')) * (∏ j, (X - C (d' j))) +35      ∑ j, C (pfR d d' j) * ∏ k ∈ univ.erase j, (X - C (d' k)) := …

GlobalTheory.CompanionTheory.RgHe.Frame.pfZero: If the combined list of roots of P and Q is pairwise distinct, then dᵢ − c + ∑ⱼ rⱼ/(dᵢ − d′ⱼ) = 0 at every root dᵢ of P.

89theorem pfZero {m : ℕ} (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ)90    (hinj : Function.Injective (Sum.elim d d')) (i : Fin (m + 1)) :91    d i - pfX d d' + ∑ j, pfR d d' j / (d i - d' j) = 0 := …

GlobalTheory.CompanionTheory.RgHe.Frame.degree_sub_lt_of_nextCoeff_eq: Two monic polynomials of degree m+1 with the same coefficient of Xᵐ differ by a polynomial of degree less than m.

11theorem degree_sub_lt_of_nextCoeff_eq {p q : ℝ[X]} {m : ℕ} (hp : p.Monic) (hq : q.Monic)12    (hpd : p.natDegree = m + 1) (hqd : q.natDegree = m + 1) (hn : p.nextCoeff = q.nextCoeff) :13    (p - q).degree < (m : WithBot ℕ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ProdPairSumsEqSumPowersetScoreStatement

13 import steps from Main · 8 lines · Checked against the code

Restates the expansion of the product of all pairwise sums as a sum of monomials indexed by subsets of pairs.

The sole theorem restates the imported expansion, in which a subset selects the first index of each included pair and the second index of each excluded pair, and each exponent counts how often its index is selected. The direct importer uses this identity to prove prod_expand in its monomial notation.

Key declarations

GlobalTheory.T.prod_pair_sums_eq_sum_powerset_score: For any complex numbers z₀, …, zₙ₋₁, the product of zᵢ + zⱼ over i < j equals the sum over all choices of one index per pair, with one monomial per choice and exponents given by the index counts.

6set_option maxHeartbeats 1000000 in7theorem _root_.GlobalTheory.T.prod_pair_sums_eq_sum_powerset_score : ∀ {n : ℕ} (z : Fin n → ℂ), ∏ p ∈ prs n, (z p.1 + z p.2) = ∑ T ∈ (prs n).powerset, ∏ a, z a ^ score T a := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeLowerBlockAtOne

13 import steps from Main · 47 lines · Checked against the code

Computes the right derivative at the identity of a parabolically equivariant function in a lower-block direction.

If h transforms under left multiplication by the parabolic through the multiplier f, the right derivative of h at the identity in a parabolic direction X is the corresponding derivative of f times h(𝟙). The proof uses openness of the invertible locus to keep 𝟙 + tX in the parabolic near t = 0, then differentiates the equivariance identity along that curve. The direct importer uses this result to prove right_derivative_lower_block_at_one.

Key declarations

GlobalTheory.CompanionTheory.ModelS.DR_one_of_eqv: For smooth f and h satisfying parabolic equivariance with multiplier f and with f(𝟙) = 1, one has (D_X h)(𝟙) = (D_X f)(𝟙) h(𝟙) whenever X_ab = 0 for lev(a) < lev(b).

14theorem DR_one_of_eqv (n : ℕ) (lev : Fin n → ℕ) (f h : SmF n) (_hf : f ∈ Eqv lev f.1) (_hf1 : f.1 1 = 1)15    (hh : h ∈ Eqv lev f.1) (X : Mat n) (hX : ∀ a b, lev a < lev b → X a b = 0) :16    (DR X h).1 1 = (DR X f).1 1 * h.1 1 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativePreservesEquivariant

13 import steps from Main · 31 lines · Checked against the code

Proves that right differentiation in any matrix direction preserves left parabolic equivariance.

The lemma shows that smooth functions transforming under left multiplication by the block parabolic through a fixed scalar multiplier retain that multiplier after right differentiation. The proof differentiates the equivariance identity in the direction gX and uses the chain rule to transport this direction under left multiplication by p to (pg)X. The direct importer uses the lemma to prove right_derivative_preserves_equivariant.

Key declarations

GlobalTheory.CompanionTheory.ModelS.DR_mem_Eqv: If a smooth function h satisfies h(pg) = φ(p)h(g) for all p in the level parabolic and all invertible g, then its right derivative D_X h satisfies the same identity for every complex matrix X.

12theorem DR_mem_Eqv (n : ℕ) (lev : Fin n → ℕ) (φ : Mat n → ℂ) (X : Mat n) (h : GlobalTheory.CompanionTheory.ModelS.SmF n) :13    h ∈ GlobalTheory.CompanionTheory.ModelS.Eqv lev φ → GlobalTheory.CompanionTheory.ModelS.DR X h ∈ GlobalTheory.CompanionTheory.ModelS.Eqv lev φ := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeRealLieHom

13 import steps from Main · 55 lines · Checked against the code

Proves right differentiation represents the real Lie algebra of GL(n, ℂ) on smooth functions there extended by zero to singular matrices.

The map from a complex matrix direction to its right differentiation operator is real-linear and preserves commutators. The proof checks the identities on GL(n, ℂ), whose openness lets iterated derivatives be computed before extending by zero to singular matrices. The direct importer uses the combined result to prove right_derivative_real_lie_hom.

Key declarations

GlobalTheory.CompanionTheory.ModelS.LieAct.DR_lie: The assignment X ↦ D_X is additive, homogeneous over ℝ, and preserves Lie brackets.

50theorem DR_lie (n : ℕ) : (∀ X Y : Mat n, DR (X + Y) = DR X + DR Y) ∧51    (∀ (r : ℝ) (X : Mat n), DR ((r : ℂ) • X) = (r : ℂ) • DR X) ∧52    (∀ X Y : Mat n, DR (X * Y - Y * X) = DR X * DR Y - DR Y * DR X) := …

GlobalTheory.CompanionTheory.ModelS.LieAct.DR_bracket: The commutator D_X D_Y − D_Y D_X equals right differentiation in the matrix direction XY − YX.

45theorem DR_bracket (X Y : Mat n) : DR (X * Y - Y * X) = DR X * DR Y - DR Y * DR X := …

GlobalTheory.CompanionTheory.ModelS.LieAct.Rd_DR: At an invertible matrix, the right derivative of a zero-extended right derivative agrees with the corresponding iterated right derivative.

25theorem Rd_DR (X Y : Mat n) (h : SmF n) {g : Mat n} (hg : g ∈ GLs n) :26    Rd X (DR Y h).1 g = Rd X (Rd Y h.1) g := …

GlobalTheory.CompanionTheory.ModelS.LieAct.SmF_ext: Two smooth functions on the invertible locus extended by zero to singular matrices are equal if they agree on the invertible locus.

18theorem SmF_ext {a b : SmF n} (h : ∀ g ∈ GLs n, a.1 g = b.1 g) : a = b := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreRigidityPermEqOneStatement

13 import steps from Main · 8 lines · Checked against the code

Restates the tournament-score rigidity theorem that forces the permutation and pair subset to be the reference choices.

The sole theorem restates an imported rigidity result for scores that count first endpoints of included pairs and second endpoints of excluded pairs, with the reference subset consisting of increasing pairs whose endpoints lie at distinct levels. The direct importer uses it in step_unique to isolate a single term in a coefficient calculation.

Key declarations

GlobalTheory.T.score_rigidity_perm_eq_one: For nondecreasing levels and a strictly decreasing integer sequence L, if L(a) + a and score(T₀)(a) − a are constant within each level and T is a subset of the increasing pairs, then score(T)(a) = score(T₀)(a) + 2(L(a) − L(σ(a))) for every index a forces σ to be the identity and T = T₀, where T₀ is the reference subset.

6set_option maxHeartbeats 1000000 in7theorem _root_.GlobalTheory.T.score_rigidity_perm_eq_one : ∀ {n : ℕ} (lev : Fin n → ℕ), Monotone lev → ∀ L : Fin n → ℤ, StrictAnti L → (∀ a b, lev a = lev b → L a - L b = ((b : ℕ) : ℤ) - ((a : ℕ) : ℤ)) → (∀ a b, lev a = lev b → score (tZero lev) a - ((a : ℕ) : ℤ) = score (tZero lev) b - ((b : ℕ) : ℤ)) → ∀ (σ : Equiv.Perm (Fin n)) (T : Finset (Fin n × Fin n)), T ⊆ prs n → (∀ a, score T a = score (tZero lev) a + 2 * (L a - L (σ a))) → σ = 1 ∧ T = tZero lev := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreTZeroEqLevelCountStatement

13 import steps from Main · 8 lines · Checked against the code

Restates the formula for the reference tournament score in terms of the numbers of indices at higher and lower levels.

The sole theorem restates the imported score formula for the subset of increasing pairs whose endpoints have different levels, counting first endpoints for pairs in the subset and second endpoints for the remaining pairs. The direct importer uses the formula to show that the reference score minus the index is constant within each level, as required by its score rigidity argument.

Key declarations

GlobalTheory.T.score_tZero_eq_level_count: For a nondecreasing level sequence, the reference score at index a is its zero-based index plus the number of indices at strictly higher levels minus the number at strictly lower levels.

6set_option maxHeartbeats 1000000 in7theorem _root_.GlobalTheory.T.score_tZero_eq_level_count : ∀ {n : ℕ} (lev : Fin n → ℕ), Monotone lev → ∀ a : Fin n, score (tZero lev) a = ((univ.filter fun b => lev a < lev b).card : ℤ) - ((univ.filter fun b => lev b < lev a).card : ℤ) + ((a : ℕ) : ℤ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SpinGlRelationsAdjointStatement

13 import steps from Main · 11 lines · Checked against the code

Restates the matrix-unit commutation and adjoint relations for the spin action associated with Clifford matrices.

The sole theorem restates the imported result for spin generators formed as quadratic sums of Clifford matrices with a scalar diagonal correction. The direct importers use the relations to construct a map from the spin space by matching lowering words and to check the commutation and adjoint hypotheses for a tensor action involving the dual spin space.

Key declarations

GlobalTheory.T.spin_gl_relations_adjoint: If the matrices c_ab satisfy the Clifford anticommutation relations and c_ab† = c_ba, then the associated spin generators S_ab satisfy the standard gl(n, ℂ) matrix-unit commutator relations and S_ab† = S_ba.

8set_option maxHeartbeats 1000000 in9theorem _root_.GlobalTheory.T.spin_gl_relations_adjoint : ∀ {n : ℕ} {ι : Type} [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ), IsCliff c →10    Formalism.REAL.GlRel (spinM c) ∧ ∀ a b, (spinM c a b)ᴴ = spinM c b a := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TorCharInjective

13 import steps from Main · 94 lines · Checked against the code

Proves that integer weights give distinct diagonal torus characters and that the dual weight spaces form a direct sum.

Distinct integer weights are separated by a diagonal unitary with a single nontrivial entry, chosen so that the two character values have ratio −1. The dual actions of diagonal unitaries commute, and each dual weight space lies in the joint generalized eigenspace for its character. Independence of these joint spaces gives the direct-sum property. The direct importer uses this independence to deduce that only finitely many dual weights occur and to apply a trace identity.

Key declarations

GlobalTheory.CompanionTheory.RealCount.Tope.torChar: The diagonal torus character of an integer weight μ is the product ∏ₐ zₐ^μₐ on tuples of unit-modulus complex numbers.

48def torChar (μ : Fin n → ℤ) (z : TorPt n) : ℂ := ∏ a, z.1 a ^ μ a

GlobalTheory.CompanionTheory.RealCount.Tope.torChar_injective: Two integer weights that give the same character on the entire diagonal unitary torus are equal.

50theorem torChar_injective : Function.Injective (torChar (n := n)) := …

GlobalTheory.CompanionTheory.RealCount.Tope.dualAct_comm: The operators on the continuous dual induced by any two diagonal unitaries commute.

39theorem dualAct_comm (E : KMod n) (z w : TorPt n) : Commute (dualAct E (diagU z)) (dualAct E (diagU w)) := …

GlobalTheory.CompanionTheory.RealCount.Tope.wtDual_le_joint: The dual weight space for μ is contained in the intersection of the generalized eigenspaces of the diagonal dual actions at the values of the character of μ.

79theorem wtDual_le_joint (E : KMod n) (μ : Fin n → ℤ) :80    wtDual E μ ≤ ⨅ z : TorPt n, (dualAct E (diagU z)).maxGenEigenspace (torChar μ z) := …

GlobalTheory.CompanionTheory.RealCount.Tope.wtDual_iSupIndep: The sum of the dual weight spaces indexed by integer weights is direct.

87theorem wtDual_iSupIndep : ∀ {n : ℕ} (E : KMod n), iSupIndep (wtDual E) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEuclideanModelStatement

13 import steps from Main · 11 lines · Checked against the code

Restates the Euclidean model for the contragredient of a continuous unitary U(n)-action on a finite-dimensional complex inner-product space.

The sole theorem restates the imported construction of a complex-linear identification of the continuous dual with standard Euclidean space, carrying the contragredient action to a continuous norm-preserving action. The direct importers use this model to obtain Lie algebra generators for dual-weight and trace arguments, extend maps prescribed on highest-weight spaces, and construct invariant complements by orthogonality.

Key declarations

GlobalTheory.T.unitary_euclidean_model: For a continuous unitary representation ρ of U(n) on a finite-dimensional complex inner-product space V, there is a complex-linear isomorphism from its continuous dual to standard ℂ^dim(V) that intertwines ξ ↦ ξ ∘ ρ(k⁻¹) with a continuous unitary representation.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.unitary_euclidean_model : ∀ {n : ℕ} (E : KMod n), ∃ (e : (E.V →L[ℂ] ℂ) ≃ₗ[ℂ] EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V))) (ρ' : Matrix.unitaryGroup (Fin n) ℂ →* (EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V)) →L[ℂ] EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V)))), Continuous ρ' ∧ (∀ k v, ‖ρ' k v‖ = ‖v‖) ∧ ∀ k ξ, e (ξ ∘L E.ρ k⁻¹) = ρ' k (e ξ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.VandermondeSquaresStatement

13 import steps from Main · 8 lines · Checked against the code

Restates the factorization of the Vandermonde determinant in squared variables by the original Vandermonde determinant.

The sole theorem restates the imported difference-of-squares factorization for Vandermonde determinants with columns ordered by decreasing exponent. The direct importer uses the factorization to rewrite the denominator in its coefficient calculation.

Key declarations

GlobalTheory.T.vandermonde_squares: If V(z) = det(zᵢ^(n−1−j)) with indices starting at zero, then V(z²) = V(z) ∏_{i<j}(zᵢ + zⱼ) for every complex tuple z.

6set_option maxHeartbeats 1000000 in7theorem _root_.GlobalTheory.T.vandermonde_squares : ∀ {n : ℕ} (z : Fin n → ℂ), (Matrix.of fun i j : Fin n => (z i ^ 2) ^ (n - 1 - (j : ℕ))).det = (Matrix.of fun i j : Fin n => z i ^ (n - 1 - (j : ℕ))).det * ∏ p ∈ prs n, (z p.1 + z p.2) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeightPolynomialTraceIdentityStatement

13 import steps from Main · 16 lines · Checked against the code

Restates two Laurent polynomial identities for ordinary and twisted traces on dual weight spaces.

The sole theorem restates the imported conversion of the prescribed Lefschetz trace formulas into Laurent polynomial identities, assuming the dual is the direct sum of its weight spaces. The direct importer uses the ordinary trace identity to prove that every weight with a nonzero dual weight space is dominated by m₀(λ) for antitone λ.

Key declarations

GlobalTheory.T.weight_polynomial_trace_identity: Under the Lefschetz trace and direct-sum hypotheses, multiplying the ordinary and twisted weight-trace polynomials, both formed over a finite set containing every weight with a nonzero dual weight space, by Aδ(z)² and Aδ(z²), respectively, gives the same alternant expressions with δ replaced by λ + δ and multiplied by ∏ₐ,ᵦ(1 + zₐ/zᵦ), where A denotes the signed monomial alternant and δ = (n−1, …, 0).

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.weight_polynomial_trace_identity : ∀ {n : ℕ} (lam : Fin n → ℤ) (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T →11    (⨆ μ, wtDual E μ) = ⊤ → iSupIndep (wtDual E) → ∀ s : Finset (Fin n → ℤ), (∀ μ, wtDual E μ ≠ ⊥ → μ ∈ s) →12      cPoly s (fun μ => trOn (wtDual E μ) (dualT E 1 : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ))) * altL (delZ n) ^ 2 =13          pPL n * altL (lam + delZ n) ^ 2 ∧14        cPoly s (fun μ => trOn (wtDual E μ) (dualT E T : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ))) * frL n (altL (delZ n)) =15          pPL n * frL n (altL (lam + delZ n)) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeylDenominatorProductStatement

13 import steps from Main · 8 lines · Checked against the code

Re-exports a product identity for nonzero complex coordinates under GlobalTheory.T.

For n nonzero complex coordinates, the product of 1 + z_a/z_b over all ordered pairs (a,b), multiplied by the coordinate product to the (n−1)st power, equals 2^n times the square of the product of z_a + z_b over a < b, with n−1 taken in the natural numbers. The theorem directly applies the imported product identity. HarmonicWeightsCoefficient uses it to prove flip_prod.

Key declarations

GlobalTheory.T.weyl_denominator_product: For n nonzero complex coordinates, the product of 1 + z_a/z_b over all ordered pairs (a,b), multiplied by the (n−1)st power of the coordinate product, equals 2^n times the squared product of pairwise sums over a < b.

6set_option maxHeartbeats 1000000 in7theorem _root_.GlobalTheory.T.weyl_denominator_product : ∀ {n : ℕ} (z : Fin n → ℂ), (∀ a, z a ≠ 0) → (∏ a, ∏ b, (1 + z a / z b)) * (∏ a, z a) ^ (n - 1) = 2 ^ n * (∏ p ∈ prs n, (z p.1 + z p.2)) ^ 2 := …

Show the full file ›Contents ↑

Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.LowerIff

14 import steps from Main · 7 lines · Checked against the code

Packages a finite-order lemma identifying a lower set by its cardinality.

The proof reverses an existing equivalence for a finite chain. The shifted-weight permutation proof uses the lemma to locate the endpoints of each constant block of a nondecreasing sequence before reversing that block.

Key declarations

UpperTheory.Reformulated.B.Re1.lower_iff: A point of {0, …, n−1} belongs to a decidable lower set exactly when its index is smaller than the cardinality of the set.

3theorem UpperTheory.Reformulated.B.Re1.lower_iff :4    ∀ {n : ℕ} (P : Fin n → Prop) [inst : DecidablePred P],5    (∀ (a b : Fin n), a ≤ b → P b → P a) → ∀ (b : Fin n), P b ↔ (↑b : ℕ) < (Finset.filter P Finset.univ).card := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DerivativeUnitaryAction

14 import steps from Main · 125 lines · Checked against the code

Derives U(n)-equivariance from intertwining infinitesimal generators under orbit derivative and adjoint hypotheses.

A complex-linear map from a finite-dimensional source to a unitary target intertwines the U(n) actions given the prescribed orbit derivatives, generator intertwining, and target adjoint relations. Every target vector lies in a finite-dimensional subspace stable under the action and generators with the prescribed derivatives. Writing each unitary matrix as exp(X) for skew-Hermitian X lets the proof use exp(tX) to translate the derivatives from zero to every t. Skew-symmetry of the target generator makes the inner product of the two evolved vectors constant, yielding equivariance at t = 1. The direct importer restates the theorem as GlobalTheory.T.derivative_unitary_action.

Key declarations

GlobalTheory.CompanionTheory.RealCount.IntegrateK.exp_smul_mem_unitary: For skew-Hermitian X and real t, the matrix exp(tX) is unitary.

15theorem exp_smul_mem_unitary (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (s : ℝ) :16    NormedSpace.exp ((s : ℂ) • X) ∈ Matrix.unitaryGroup (Fin n) ℂ := …

GlobalTheory.CompanionTheory.RealCount.IntegrateK.onePar: Defines the curve t ↦ exp(tX) in U(n) for skew-Hermitian X.

25def onePar (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (s : ℝ) : Matrix.unitaryGroup (Fin n) ℂ :=26  ⟨NormedSpace.exp ((s : ℂ) • X), exp_smul_mem_unitary X hX s⟩

GlobalTheory.CompanionTheory.RealCount.IntegrateK.onePar_add: The curve sends addition of real parameters to multiplication of unitary matrices.

32theorem onePar_add (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (h s : ℝ) :33    onePar X hX (h + s) = onePar X hX h * onePar X hX s := …

GlobalTheory.CompanionTheory.RealCount.IntegrateK.inner_sum_left: If K_ab and K_ba are adjoint in the inner-product pairing, then the operator ∑_{a,b} X_ab K_ab is skew-symmetric for skew-Hermitian X.

41theorem inner_sum_left {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V]42    (Kf : Fin n → Fin n → Module.End ℂ V)43    (hs : ∀ a b (x y : V), ⟪Kf a b x, y⟫_ℂ = ⟪x, Kf b a y⟫_ℂ)44    (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (x y : V) :45    ⟪∑ a, ∑ b, X a b • Kf a b x, y⟫_ℂ = -⟪x, ∑ a, ∑ b, X a b • Kf a b y⟫_ℂ := …

GlobalTheory.CompanionTheory.RealCount.IntegrateK.intertwines_unitary: A complex-linear map from a finite-dimensional source to an inner-product-preserving target intertwines the U(n) actions if it intertwines every generator, the target obeys the adjoint relations, and the prescribed orbit derivatives hold on the source and on finite-dimensional target subspaces stable under the action and all generators and containing each target vector.

57theorem intertwines_unitary : ∀ {n : ℕ} (H V : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] [NormedAddCommGroup V] [InnerProductSpace ℂ V] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H), (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X → (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) → ∀ (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (Kf : Fin n → Fin n → Module.End ℂ V), IsDerivK σ Kf → (∀ a b (x y : V), ⟪Kf a b x, y⟫_ℂ = ⟪x, Kf b a y⟫_ℂ) → ∀ T : H →ₗ[ℂ] V, (∀ a b w, T (G a b w) = Kf a b (T w)) → ∀ k w, T (ρ k w) = σ k (T w) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DetOneAddSingle

14 import steps from Main · 468 lines · Checked against the code

Factors the induced model function and computes its infinitesimal action on determinant-weighted polynomials.

For an antitone integral weight λ and a level function satisfying IsLev, the induced model function on GL_n(ℂ) factors as a product of Gram determinants to integer powers, a determinant power, and a polynomial in the entries. The Gram factor has zero derivative in skew-Hermitian directions gX, since along g(𝟙+tX) it depends on t². The identity for det(𝟙+tE_ab) gives the scalar contribution mδ_ab, and the remaining action is the degree-preserving operator ∑_c x_ca ∂/∂x_cb. InducedFunctionKFinite uses these formulas to put the model function in a finite-dimensional subspace stable under the infinitesimal operators.

Key declarations

GlobalTheory.CompanionTheory.ModelS.FFin.det_one_add_single: For a matrix unit E_ab and complex t, det(𝟙+tE_ab) = 1+tδ_ab.

188theorem det_one_add_single (a b : Fin n) (t : ℂ) :189    (1 + t • Matrix.single a b (1 : ℂ) : Mat n).det = 1 + if a = b then t else 0 := …

GlobalTheory.CompanionTheory.ModelS.FFin.Qf_kill: At an invertible g, the real differential of the Gram determinant product Qf annihilates gX for every skew-Hermitian X.

265theorem Qf_kill (e : Fin n → ℤ) (X : Mat n) (hX : Xᴴ = -X) {g : Mat n} (hg : g ∈ GLs n)266    (hd : DifferentiableAt ℝ (Qf e) g) : fderiv ℝ (Qf e) g (g * X) = 0 := …

GlobalTheory.CompanionTheory.ModelS.FFin.Kf_wf: On invertible matrices, Kf_ab acts on Qf·det^m·p by replacing p with mδ_ab p + Tp_ab p.

327theorem Kf_wf (e : Fin n → ℤ) (m : ℤ) (p : MvPolynomial (Fin n × Fin n) ℂ) (w : GlobalTheory.CompanionTheory.ModelS.SmF n)328    (hw : w.1 = wf e m p) (a b : Fin n) {g : Mat n} (hg : g ∈ GLs n) :329    (GlobalTheory.CompanionTheory.ModelS.Kf a b w).1 g =330      Qf e g * g.det ^ m * ((if a = b then (m : ℂ) else 0) * evP p g + evP (Tp a b p) g) := …

GlobalTheory.CompanionTheory.ModelS.FFin.fRaw_factor: For a weakly decreasing integral weight and compatible levels, the raw model function on invertible matrices is Qf times an integer determinant power times a polynomial in the entries.

409theorem fRaw_factor (lam : Fin n → ℤ) (hl : Antitone lam) (lev : Fin n → ℕ) (hlev : IsLev lam lev) :410    ∃ (m : ℤ) (p : MvPolynomial (Fin n × Fin n) ℂ), ∀ g ∈ GLs n,411      GlobalTheory.CompanionTheory.ModelS.fRaw lam lev g =412        Qf (GlobalTheory.CompanionTheory.ModelS.dif (GlobalTheory.CompanionTheory.ModelS.yZ lam lev)) g * g.det ^ m * evP p g := …

GlobalTheory.CompanionTheory.ModelS.FFin.Tp_mem: The polynomial operator Tp_ab preserves every subspace of bounded total degree.

460theorem Tp_mem (a b : Fin n) (d : ℕ) {q : MvPolynomial (Fin n × Fin n) ℂ}461    (hq : q ∈ MvPolynomial.restrictTotalDegree (Fin n × Fin n) ℂ d) :462    Tp a b q ∈ MvPolynomial.restrictTotalDegree (Fin n × Fin n) ℂ d := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominanceOfWeylCharacterCoeff

14 import steps from Main · 315 lines · Checked against the code

Derives dominance bounds for Laurent exponents from a product identity involving squared Weyl alternants.

Let A(v) be the signed Laurent sum over coordinate permutations of v and δ = (n−1,…,0). If pA(δ)² = (∏_{a,b}(1+z_a/z_b))A(λ+δ)² for weakly decreasing λ, every exponent of p has initial partial sums bounded by those of 2λ+(n−1,n−3,…,1−n), with equal total sum. Lexicographically refined leading terms prevent cancellation at the maximum of each additive functional, and the rearrangement inequality bounds the alternants. Initial-segment indicators and the constant weight −1 give the dominance conditions. The direct importer restates the result as GlobalTheory.T.dominance_of_weyl_character_coeff.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.DomA.exists_top_add: For two nonzero Laurent polynomials and any additive integer functional, one can choose a maximizing support exponent in each whose sum has nonzero coefficient in the product.

21theorem exists_top_add (φ : (Fin n → ℤ) →+ ℤ) (f g : LP n) (hf : f ≠ 0) (hg : g ≠ 0) :22    ∃ a b, f.coeff a ≠ 0 ∧ g.coeff b ≠ 0 ∧ (f * g).coeff (a + b) ≠ 0 ∧23      (∀ x, f.coeff x ≠ 0 → φ x ≤ φ a) ∧ (∀ y, g.coeff y ≠ 0 → φ y ≤ φ b) := …

GlobalTheory.CompanionTheory.RealCountG.DomA.bd_altL: For weakly decreasing w and v, every exponent of A(v) has dot product with w at most w·v.

138theorem bd_altL (w m : Fin n → ℤ) (hw : Antitone w) (hm : Antitone m) :139    Bd (phw w) (altL m) (phw w m) := …

GlobalTheory.CompanionTheory.RealCountG.DomA.coeff_altL_delZ: The coefficient of the staircase exponent δ in its alternant A(δ) is one.

173theorem coeff_altL_delZ : (altL (delZ n)).coeff (delZ n) = 1 := …

GlobalTheory.CompanionTheory.RealCountG.DomA.phw_le: Under the Laurent product identity, every support exponent μ of p satisfies w·μ ≤ 2w·λ + ∑_{a,b} max(0,w_a−w_b) for weakly decreasing integral w.

188theorem phw_le (w : Fin n → ℤ) (hw : Antitone w) (lam : Fin n → ℤ) (hlam : Antitone lam) (p : LP n)189    (h : p * altL (delZ n) ^ 2 = pPL n * altL (lam + delZ n) ^ 2) (μ : Fin n → ℤ) (hμ : p.coeff μ ≠ 0) :190    phw w μ ≤ (∑ a, ∑ b, max 0 (w a - w b)) + 2 * phw w lam := …

GlobalTheory.CompanionTheory.RealCountG.DomA.domLE_of_mul_eq: Under the Laurent product identity, every support exponent μ of p lies below 2λ+(n−1,n−3,…,1−n) in dominance order, using the coordinates in their given order.

270theorem domLE_of_mul_eq : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ p : LP n,271    p * altL (delZ n) ^ 2 = pPL n * altL (lam + delZ n) ^ 2 →272    ∀ μ, p.coeff μ ≠ 0 → DomLE (wtR μ) (m0 lam) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightSpacesSpan

14 import steps from Main · 211 lines · Checked against the code

Proves that the integral weight spaces of the diagonal torus span the dual of a finite-dimensional unitary representation of U(n).

Restriction to the diagonal torus gives commuting operators whose adjoints are also in the family. Their common eigenspaces span the representation by simultaneous diagonalization of the Hermitian parts. The eigenvalue function of each nonzero common eigenvector is a continuous character, and its restriction to each circle factor is an integer power. The Riesz correspondence sends weight μ to weight −μ for the contragredient action, yielding the spanning theorem restated as GlobalTheory.T.dual_weight_spaces_span.

Key declarations

GlobalTheory.CompanionTheory.RealCount.TorusSpan.torus: Sends an n-tuple of unit complex numbers to the diagonal unitary matrix with those entries.

25def torus : (Fin n → Circle) →* Matrix.unitaryGroup (Fin n) ℂ where26  toFun t := ⟨diagonal fun a => (t a : ℂ), diag_mem t⟩27  map_one' := Subtype.ext (by simp)28  map_mul' s t := Subtype.ext (by simp [diagonal_mul_diagonal])

GlobalTheory.CompanionTheory.RealCount.TorusSpan.jointEig_top: The common eigenspaces of a commuting family of operators closed under taking adjoints span the finite-dimensional complex inner product space.

54theorem jointEig_top {V I : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] [FiniteDimensional ℂ V]55    (T : I → V →ₗ[ℂ] V) (hc : ∀ i k, Commute (T i) (T k))56    (hadj : ∀ i, ∃ k, ∀ x y, ⟪T i x, y⟫_ℂ = ⟪x, T k y⟫_ℂ) :57    ⨆ χ : I → ℂ, ⨅ i, eigenspace (T i) (χ i) = ⊤ := …

GlobalTheory.CompanionTheory.RealCount.TorusSpan.span_V: The common eigenspaces for the diagonal torus action span the representation space.

94theorem span_V : ⨆ χ : (Fin n → Circle) → ℂ, ⨅ t, eigenspace (rhoT E t) (χ t) = ⊤ := …

GlobalTheory.CompanionTheory.RealCount.TorusSpan.exists_weight: Every nonzero common eigenvector for the torus has character t ↦ ∏_a t_a^{μ_a} for some integral weight μ.

106theorem exists_weight {χ : (Fin n → Circle) → ℂ} {v : E.V}107    (hv : v ∈ ⨅ t, eigenspace (rhoT E t) (χ t)) (hv0 : v ≠ 0) :108    ∃ μ : Fin n → ℤ, ∀ t, E.ρ (torus t) v = (∏ a, (t a : ℂ) ^ μ a) • v := …

GlobalTheory.CompanionTheory.RealCount.Tope.iSup_wtDual_eq_top: The integral weight spaces for the contragredient action of the diagonal torus span the full continuous complex dual.

183theorem iSup_wtDual_eq_top {n : ℕ} (E : KMod n) : (⨆ μ, wtDual E μ) = ⊤ := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EuOfDifferentiableAt

14 import steps from Main · 38 lines · Checked against the code

Proves two local identities for the complex-linear and conjugate-linear directional operators on matrix functions.

At a point z of complex differentiability, restricting the differential to real scalars and using complex linearity identifies the complex-linear operator with Df(z)[zE_ab] and makes the conjugate-linear operator vanish. Both operators depend only on the germ at z, and InducedFunctionKHighestWeight uses these identities to reduce the infinitesimal action on the induced function to differentiation of its leading-minor factor.

Key declarations

GlobalTheory.CompanionTheory.RmHol.GelCoef.Eu_of_differentiableAt: If f is complex differentiable at z, then Eu true is the complex differential applied to zE_ab, with E_ab the matrix unit, and Eu false is zero.

19theorem Eu_of_differentiableAt {f : Mat n → ℂ} {z : Mat n} (hf : DifferentiableAt ℂ f z) (a b : Fin n) :20    Eu true a b f z = fderiv ℂ f z (z * Matrix.single a b 1) ∧ Eu false a b f z = 0 := …

GlobalTheory.CompanionTheory.RmHol.GelCoef.Eu_congr_germ: Functions that agree on a neighborhood of a matrix have the same values there under both Eu operators for every pair of indices.

34theorem Eu_congr_germ {f h : Mat n → ℂ} {g : Mat n} (e : f =ᶠ[𝓝 g] h) (s : Bool) (a b : Fin n) :35    Eu s a b f g = Eu s a b h g := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsCompactLieAction

14 import steps from Main · 380 lines · Checked against the code

Constructs the complexified Lie algebra action of a continuous finite-dimensional unitary representation of U(n).

Along exp(tX) for skew-Hermitian X, the represented subgroup is the exponential of t times its derivative at zero. The Trotter product formula gives additivity of the derivative, and differentiation of conjugation gives bracket preservation. Complexification yields a representation of gl_n(ℂ) that sends conjugate transpose to operator adjoint. The images G_ab of the matrix units give the orbit derivative ∑_{a,b} X_ab G_ab w at zero, and the direct importer restates their existence as GlobalTheory.T.exists_compact_lie_action.

Key declarations

GlobalTheory.CompanionTheory.RealCount.DerivRep.rho_exp: For a continuous representation ρ of U(n) on a finite-dimensional complex normed space and skew-Hermitian X, ρ(exp(tX)) = exp(t dA(X)), where dA(X) is the derivative at zero.

99theorem rho_exp (hρ : Continuous ρ) (X : (Mn n)) (hX : Xᴴ = -X) (t : ℝ) :100    ρ (eU X hX t) = NormedSpace.exp (t • dA ρ X hX) := …

GlobalTheory.CompanionTheory.RealCount.DerivRep.gL: Defines the complex-linear extension of the derivative from skew-Hermitian matrices to all complex matrices.

203def gL (hρ : Continuous ρ) : (Mn n) →ₗ[ℂ] (H →L[ℂ] H)

GlobalTheory.CompanionTheory.RealCount.DerivRep.gL_bracket: The complexified derivative sends matrix commutators to operator commutators.

283theorem gL_bracket (hρ : Continuous ρ) (Z W : (Mn n)) :284    gL (ρ := ρ) hρ (Z * W - W * Z) = gL hρ Z * gL hρ W - gL hρ W * gL hρ Z := …

GlobalTheory.CompanionTheory.RealCount.DerivRep.gL_adj: For a unitary representation, the image of the conjugate transpose of a matrix is the adjoint of its image.

316theorem gL_adj (hρ : Continuous ρ) (hiso : ∀ k v, ‖ρ k v‖ = ‖v‖) (Z : (Mn n)) (x y : H) :317    ⟪gL hρ Z x, y⟫_ℂ = ⟪x, gL hρ Zᴴ y⟫_ℂ := …

GlobalTheory.CompanionTheory.RealCount.DerivRep.derivative_of_rep: A continuous finite-dimensional unitary representation admits operators G_ab satisfying the matrix-unit commutator relations, G_ab* = G_ba, and the stated directional derivative formula.

348theorem derivative_of_rep : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H]349    (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)), Continuous ρ → (∀ k v, ‖ρ k v‖ = ‖v‖) →350    ∃ G : Fin n → Fin n → Module.End ℂ H, Formalism.REAL.GlRel G ∧ (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) ∧351      (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X →352        (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H,353        HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightInInvariantSubmodule

14 import steps from Main · 131 lines · Checked against the code

Proves that every nonzero invariant subspace of a finite-dimensional gl_n(ℂ)-module with G_ab* = G_ba contains a highest-weight vector.

The diagonal generators restrict to commuting Hermitian operators on the invariant subspace, so simultaneous diagonalization gives a real joint weight. All joint weights lie in the finite product of the real spectra of the diagonal operators. The matrix-unit commutator relations show that G_ab shifts a weight by e_a−e_b whenever the resulting vector is nonzero. For a < b this shift increases the weight lexicographically, so every raising operator kills a vector of lexicographically maximal weight. The direct importer restates the existence theorem as GlobalTheory.T.exists_highest_weight_in_invariant_submodule.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.HwStable.weight_shift_real: For a ≠ b, the image of a joint eigenvector of weight μ under G_ab is either zero or a joint eigenvector of weight μ+e_a−e_b.

16theorem weight_shift_real {V : Type} [AddCommGroup V] [Module ℂ V] {K : Fin n → Fin n → Module.End ℂ V}17    (hg : Formalism.REAL.GlRel K) (μ : Fin n → ℝ) {v : V}18    (hv : ∀ c, K c c v = ((μ c : ℝ) : ℂ) • v) {a b : Fin n} (hab : a ≠ b) (c : Fin n) :19    K c c (K a b v) =20      ((μ c + (if c = a then 1 else 0) - (if c = b then 1 else 0) : ℝ) : ℂ) • K a b v := …

GlobalTheory.CompanionTheory.RealCountG.HwStable.wts_nonempty: A nonzero invariant subspace has a real joint weight for the diagonal generators under the commutator and adjoint relations.

75theorem wts_nonempty (hg : Formalism.REAL.GlRel G) (hs : ∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ)76    (hN : N ≠ ⊥) (hst : ∀ a b, ∀ w ∈ N, G a b w ∈ N) : (wts G N).Nonempty := …

GlobalTheory.CompanionTheory.RealCountG.HwStable.wts_finite: The real joint weights of the diagonal generators on a finite-dimensional invariant subspace form a finite set.

96theorem wts_finite (hst : ∀ a b, ∀ w ∈ N, G a b w ∈ N) : (wts G N).Finite := …

GlobalTheory.CompanionTheory.RealCountG.HwStable.exists_highest_of_stable: Under the matrix-unit commutator and adjoint relations, every nonzero invariant subspace contains a nonzero real-weight vector killed by all G_ab with a < b.

106theorem exists_highest_of_stable : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H]107    [FiniteDimensional ℂ H] (G : Fin n → Fin n → Module.End ℂ H), Formalism.REAL.GlRel G →108    (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) → ∀ N : Submodule ℂ H, N ≠ ⊥ →109    (∀ a b, ∀ w ∈ N, G a b w ∈ N) →110    ∃ (μ : Fin n → ℝ) (v : H), v ∈ N ∧ v ≠ 0 ∧ Formalism.REAL.KHighest (fun _ => true) G μ v := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightIntegralOfUnitary

14 import steps from Main · 190 lines · Checked against the code

Constructs an isotypic projection and factors its twisted trace into a highest-weight trace and a Weyl character.

For dominant integral ν, the projection commutes with G, fixes the highest-weight space of weight ν, and kills highest-weight vectors of other weights. It sums composites of intertwiners obtained from a basis of that space and its coordinate functionals. On a finite-dimensional complex inner product space, G satisfies the matrix-unit commutator and adjoint relations and gives the derivative of ρ along unitary exponentials. For a diagonal unitary k with distinct entries z and S commuting with G, cyclicity of trace gives tr(ρ(k)Sp) as the trace of S on the ν-highest-weight space times the Weyl character at z. The importer restates this as GlobalTheory.T.highest_weight_integral_of_unitary.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.Isotypic.exists_map_out: Under the commutator and adjoint relations, an intertwiner can send a prescribed nonzero highest-weight vector to any highest-weight vector of the same weight.

19theorem exists_map_out (H L : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H]20    [NormedAddCommGroup L] [InnerProductSpace ℂ L] [FiniteDimensional ℂ L]21    (G : Fin n → Fin n → Module.End ℂ H) (K : Fin n → Fin n → Module.End ℂ L) (μ : Fin n → ℝ)22    (hG : Formalism.REAL.GlRel G) (hK : Formalism.REAL.GlRel K)23    (hGs : ∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ)24    (hKs : ∀ a b (x y : L), ⟪K a b x, y⟫_ℂ = ⟪x, K b a y⟫_ℂ)25    (v : L) (hv0 : v ≠ 0) (hv : Formalism.REAL.KHighest (fun _ => true) K μ v)26    (d : H) (hd : Formalism.REAL.KHighest (fun _ => true) G μ d) :27    ∃ T : L →ₗ[ℂ] H, T v = d ∧ ∀ a b w, T (K a b w) = G a b (T w) := …

GlobalTheory.CompanionTheory.RealCountG.Isotypic.exists_map_in: Under the same relations, a functional on a highest-weight subspace multiplied by a fixed target highest-weight vector of the same weight extends to an intertwiner.

51theorem exists_map_in (H L : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H]52    [NormedAddCommGroup L] [InnerProductSpace ℂ L]53    (G : Fin n → Fin n → Module.End ℂ H) (K : Fin n → Fin n → Module.End ℂ L) (μ : Fin n → ℝ)54    (hG : Formalism.REAL.GlRel G) (hK : Formalism.REAL.GlRel K)55    (hGs : ∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ)56    (hKs : ∀ a b (x y : L), ⟪K a b x, y⟫_ℂ = ⟪x, K b a y⟫_ℂ)57    (v : L) (hv : Formalism.REAL.KHighest (fun _ => true) K μ v)58    (D : Submodule ℂ H) (hD : ∀ x ∈ D, Formalism.REAL.KHighest (fun _ => true) G μ x) (φ : D →ₗ[ℂ] ℂ) :59    ∃ P : H →ₗ[ℂ] L, (∀ d : D, P d = φ d • v) ∧ ∀ a b w, P (G a b w) = K a b (P w) := …

GlobalTheory.CompanionTheory.RealCountG.Isotypic.eq_smul_id_of_apply: If the common kernel of the raising operators is spanned by v, an intertwining endomorphism acting by r on v equals r times the identity.

70theorem eq_smul_id_of_apply (L : Type) [NormedAddCommGroup L] [InnerProductSpace ℂ L] [FiniteDimensional ℂ L]71    (K : Fin n → Fin n → Module.End ℂ L) (hK : Formalism.REAL.GlRel K)72    (hKs : ∀ a b (x y : L), ⟪K a b x, y⟫_ℂ = ⟪x, K b a y⟫_ℂ) (v : L)73    (huniq : ∀ w : L, (∀ a b, a < b → K a b w = 0) → ∃ c : ℂ, w = c • v)74    (R : L →ₗ[ℂ] L) (hR : ∀ a b w, R (K a b w) = K a b (R w)) (r : ℂ) (hr : R v = r • v) :75    R = r • LinearMap.id := …

GlobalTheory.CompanionTheory.RealCountG.Isotypic.map_highest_eq_zero: An intertwiner into a module whose common raising-operator kernel is a highest-weight line kills highest-weight vectors of every other weight.

82theorem map_highest_eq_zero {H L : Type} [AddCommGroup H] [Module ℂ H] [AddCommGroup L] [Module ℂ L]83    (G : Fin n → Fin n → Module.End ℂ H) (K : Fin n → Fin n → Module.End ℂ L) (μ μ' : Fin n → ℝ)84    (v : L) (hv0 : v ≠ 0) (hv : Formalism.REAL.KHighest (fun _ => true) K μ' v)85    (huniq : ∀ w : L, (∀ a b, a < b → K a b w = 0) → ∃ c : ℂ, w = c • v)86    (P : H →ₗ[ℂ] L) (hP : ∀ a b w, P (G a b w) = K a b (P w))87    (hne : μ ≠ μ') (w : H) (hw : Formalism.REAL.KHighest (fun _ => true) G μ w) : P w = 0 := …

GlobalTheory.CompanionTheory.RealCountG.Isotypic.exists_isotypic_projection: For a dominant integral weight ν, constructs a commuting endomorphism that selects the ν-highest-weight vectors and gives the Weyl-character trace factorization on regular diagonal unitaries.

111theorem exists_isotypic_projection {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H]112    [FiniteDimensional ℂ H] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H))113    (G : Fin n → Fin n → Module.End ℂ H) (ν : Fin n → ℤ) :114    Formalism.REAL.GlRel G → (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) →115    (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X →116      (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) →117      ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) →118    Antitone ν →119    ∃ p : H →ₗ[ℂ] H, (∀ a b w, p (G a b w) = G a b (p w)) ∧ (∀ v ∈ hwOf G (wtR ν), p v = v) ∧120      (∀ (μ : Fin n → ℝ) (v : H), μ ≠ wtR ν → Formalism.REAL.KHighest (fun _ => true) G μ v → p v = 0) ∧121      ∀ S : H →ₗ[ℂ] H, (∀ a b w, S (G a b w) = G a b (S w)) →122        ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z →123          LinearMap.trace ℂ H ((ρ k : H →ₗ[ℂ] H) ∘ₗ S ∘ₗ p) = trOn (hwOf G (wtR ν)) S * weylChar ν z := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightOfUnitaryDerivative

14 import steps from Main · 143 lines · Checked against the code

Proves integrality of the real joint weights of diagonal generators arising from a U(n) action.

For a nonzero eigenvector of G_aa with real eigenvalue r, the orbit along exp(t iE_aa) has derivative ir times the orbit at every t, by translation of the derivative at zero. Multiplication by exp(−itr) makes the orbit constant, so the subgroup’s 2π period forces exp(−2πir) = 1 and hence r ∈ ℤ. Applying this to each diagonal generator gives the joint-weight theorem restated as GlobalTheory.T.highest_weight_of_unitary_derivative.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.WtInt.expU_add: For skew-Hermitian X, the curve t ↦ exp(tX) sends addition of parameters to multiplication in U(n).

17theorem expU_add (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (s t : ℝ) :18    expU X hX (s + t) = expU X hX s * expU X hX t := …

GlobalTheory.CompanionTheory.RealCountG.WtInt.expU_two_pi: For a diagonal matrix unit E_aa, the subgroup generated by iE_aa returns to the identity at 2π.

24theorem expU_two_pi (a : Fin n) (hX : (Matrix.single a a Complex.I)ᴴ = -(Matrix.single a a Complex.I)) :25    expU (Matrix.single a a Complex.I) hX (2 * Real.pi) = 1 := …

GlobalTheory.CompanionTheory.RealCountG.WtInt.eigen_int: Under the prescribed orbit derivative formula, every real eigenvalue of a diagonal generator is an integer.

52theorem eigen_int (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H]53    (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H)54    (hd : ∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X →55      (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H,56      HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0)57    (a : Fin n) (r : ℝ) {v : H} (hv : v ≠ 0) (hr : G a a v = (r : ℂ) • v) : ∃ m : ℤ, r = m := …

GlobalTheory.CompanionTheory.RealCountG.WtInt.weight_integral: Under the prescribed orbit derivative formula on a finite-dimensional complex inner product space, every real joint weight with a nonzero weight vector has integer coordinates.

138theorem weight_integral : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H), (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X → (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) → ∀ (μ : Fin n → ℝ) (v : H), v ≠ 0 → Formalism.REAL.IsWeight G μ v → ∃ ν : Fin n → ℤ, μ = wtR ν := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntertwinerEqZeroOfVanishOnHighest

14 import steps from Main · 36 lines · Checked against the code

Proves that intertwiners from finite-dimensional glₙ(ℂ) modules with matrix-unit adjoints vanish if they kill all highest-weight vectors.

The matrix-unit adjoint relations make the orthogonal complement of the intertwiner’s kernel invariant under all source generators. If the intertwiner were nonzero, that complement would contain a nonzero highest-weight vector by the invariant-subspace theorem, but the vanishing hypothesis would also put it in the kernel. The direct importer restates the criterion as GlobalTheory.T.intertwiner_eq_zero_of_vanish_on_highest.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.intertwiner_eq_zero_of_highest: An intertwiner from a finite-dimensional complex inner product space whose generators satisfy the gl_n(ℂ) commutator and matrix-unit adjoint relations is zero if it annihilates every real-weight highest-weight vector.

11theorem intertwiner_eq_zero_of_highest {n : ℕ} (H V : Type) [NormedAddCommGroup H]12    [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] [AddCommGroup V] [Module ℂ V]13    (G : Fin n → Fin n → Module.End ℂ H) (D : Fin n → Fin n → Module.End ℂ V)14    (hrel : Formalism.REAL.GlRel G)15    (hadj : ∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ)16    (R : H →ₗ[ℂ] V) (hR : ∀ a b w, R (G a b w) = D a b (R w))17    (hhigh : ∀ (μ : Fin n → ℝ) (v : H), Formalism.REAL.KHighest (fun _ => true) G μ v → R v = 0) :18    R = 0 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.JBConjTranspose

14 import steps from Main · 62 lines · Checked against the code

Defines block-diagonal matrix maps and proves the identities that make block assembly a unital ring homomorphism.

The block maps assemble diag(A,c) and recover its upper-left block and final diagonal entry, while the assembly preserves addition, multiplication, and identity. The associated definitions select determinant-one block matrices, evaluate the operator map on the upper-left block, and lift X to the trace-zero matrix diag(X,−tr X).

Key declarations

GlobalTheory.CompanionTheory.GLK.jB: Forms the block-diagonal matrix diag(A,c) from an n×n complex matrix A and a scalar c.

21def jB (A : Mat n) (c : ℂ) : Mat (n + 1) :=22  Matrix.reindex finSumFinEquiv finSumFinEquiv (Matrix.fromBlocks A 0 0 (c • (1 : Matrix (Fin 1) (Fin 1) ℂ)))

GlobalTheory.CompanionTheory.GLK.jR: Packages block assembly as a unital ring homomorphism from M_n(ℂ) × ℂ to M_{n+1}(ℂ).

48def jR : (Mat n × ℂ) →+* Mat (n + 1) where49  toFun x := jB x.1 x.250  map_one' := jB_one51  map_mul' x y := (jB_mul x.1 y.1 x.2 y.2).symm52  map_zero' := by simp [jB]53  map_add' x y := jB_add x.1 y.1 x.2 y.2

GlobalTheory.CompanionTheory.GLK.gp: Selects matrices that are block diagonal of type (n,1) and have determinant one.

42def gp (n : ℕ) : Set (Mat (n + 1)) := {m | jB (rB m) (cB m) = m ∧ m.det = 1}

GlobalTheory.CompanionTheory.GLK.sg: Evaluates the operator map associated with π on the upper-left n×n block.

44def sg (π : G n →* (U →L[ℂ] U)) (m : Mat (n + 1)) : U →L[ℂ] U := piM π (rB m)

GlobalTheory.CompanionTheory.GLK.lift: Sends X to diag(X,−tr X), which has trace zero.

46def lift (X : Mat n) : Mat (n + 1) := jB X (-X.trace)

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ProdPairSumsEqSumPowersetScore

14 import steps from Main · 24 lines · Checked against the code

Expands the product of pairwise sums as a sum of monomials indexed by subsets of the increasing index pairs.

In the distributive expansion of ∏_{a<b}(z_a+z_b), a subset T records the pairs for which the first variable is chosen, with the second chosen for every pair outside T. Grouping the chosen factors by index gives the exponent of each variable as the number of times it was chosen, and the direct importer restates the identity as GlobalTheory.T.prod_pair_sums_eq_sum_powerset_score.

Key declarations

GlobalTheory.CompanionTheory.CoefId.prod_pairs_add_eq_sum_score: For any complex coordinates z, the product ∏_{a<b}(z_a+z_b) equals the sum over subsets T of increasing pairs of the monomials ∏_a z_a^{score(T,a)}.

8theorem prod_pairs_add_eq_sum_score {n : ℕ} (z : Fin n → ℂ) :9    ∏ p ∈ prs n, (z p.1 + z p.2) = ∑ T ∈ (prs n).powerset, ∏ a, z a ^ score T a := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreRigidityPermEqOne

14 import steps from Main · 311 lines · Checked against the code

Proves that a tournament score identity forces the permutation to be trivial and the endpoint choices to be canonical.

For nondecreasing levels, the canonical choice T₀ takes the first endpoint of an increasing pair exactly when its levels differ. With strictly decreasing integral L and the stated within-level difference conditions, the score identity s_T = s_T₀ + 2(L−L∘σ) forces σ = id and T = T₀. Weighted score bounds first force σ to preserve levels. A rank that decreases across levels and increases within each level then forces the squared displacements of σ to sum to zero and makes the maximizing endpoint unique for each pair. The direct importer restates the result as GlobalTheory.T.score_rigidity_perm_eq_one.

Key declarations

GlobalTheory.CompanionTheory.CoefId.Unique.pair_le: The dot product of a weight vector with a tournament score is bounded above by the sum of the larger endpoint weights over all pairs.

34theorem pair_le (v : Fin n → ℤ) (T : Finset (Fin n × Fin n)) (hT : T ⊆ prs n) :35    ∑ a, v a * score T a ≤ ∑ p ∈ prs n, max (v p.1) (v p.2) := …

GlobalTheory.CompanionTheory.CoefId.Unique.tZero_eq: For nondecreasing levels, the canonical choice attains that bound for weights that weakly decrease across levels and weakly increase within each level.

56theorem tZero_eq (lev : Fin n → ℕ) (hlev : Monotone lev) (v : Fin n → ℤ)57    (h1 : ∀ a b, lev a < lev b → v b ≤ v a) (h2 : ∀ a b, a < b → lev a = lev b → v a ≤ v b) :58    ∑ a, v a * score (tZero lev) a = ∑ p ∈ prs n, max (v p.1) (v p.2) := …

GlobalTheory.CompanionTheory.CoefId.Unique.lev_comp: For nondecreasing levels and strictly decreasing L, the score identity forces the permutation to preserve every level.

175theorem lev_comp {lev : Fin n → ℕ} (hlev : Monotone lev) {L : Fin n → ℤ} (hL : StrictAnti L)176    (σ : Equiv.Perm (Fin n)) (T : Finset (Fin n × Fin n)) (hT : T ⊆ prs n)177    (hs : ∀ a, score T a = score (tZero lev) a + 2 * (L a - L (σ a))) (a : Fin n) :178    lev (σ a) = lev a := …

GlobalTheory.CompanionTheory.CoefId.Unique.sigma_eq_one: Under the score identity and the within-level difference conditions, a level-preserving permutation is the identity.

201theorem sigma_eq_one {lev : Fin n → ℕ} (hlev : Monotone lev) {L : Fin n → ℤ}202    (h3 : ∀ a b, lev a = lev b → L a - L b = ((b : ℕ) : ℤ) - ((a : ℕ) : ℤ))203    (h4 : ∀ a b, lev a = lev b →204      score (tZero lev) a - ((a : ℕ) : ℤ) = score (tZero lev) b - ((b : ℕ) : ℤ))205    (σ : Equiv.Perm (Fin n)) (T : Finset (Fin n × Fin n)) (hT : T ⊆ prs n)206    (hs : ∀ a, score T a = score (tZero lev) a + 2 * (L a - L (σ a)))207    (hl : ∀ a, lev (σ a) = lev a) : σ = 1 := …

GlobalTheory.CompanionTheory.CoefId.Unique.tournament_unique: If L(a)+a and s_T₀(a)−a are constant on each level, the score identity under the monotonicity hypotheses forces σ = id and T = T₀.

263theorem tournament_unique : ∀ {n : ℕ} (lev : Fin n → ℕ), Monotone lev → ∀ L : Fin n → ℤ, StrictAnti L →264    (∀ a b, lev a = lev b → L a - L b = ((b : ℕ) : ℤ) - ((a : ℕ) : ℤ)) →265    (∀ a b, lev a = lev b →266      score (tZero lev) a - ((a : ℕ) : ℤ) = score (tZero lev) b - ((b : ℕ) : ℤ)) →267    ∀ (σ : Equiv.Perm (Fin n)) (T : Finset (Fin n × Fin n)), T ⊆ prs n →268    (∀ a, score T a = score (tZero lev) a + 2 * (L a - L (σ a))) → σ = 1 ∧ T = tZero lev := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreTZeroEqLevelCount

14 import steps from Main · 71 lines · Checked against the code

Computes the score of the canonical endpoint choice from the counts of indices at higher and lower levels.

For nondecreasing levels, the canonical choice takes the first endpoint of an increasing pair when the levels differ and the second when they agree, so the score at a counts all higher-level indices and all earlier indices at the same level. Partitioning the a earlier indices into lower-level and same-level indices gives the formula restated as GlobalTheory.T.score_tZero_eq_level_count.

Key declarations

GlobalTheory.CompanionTheory.CoefId.score_tZero_level: For nondecreasing levels, the canonical score at the zero-based index a equals a plus the number of higher-level indices minus the number of lower-level indices.

8theorem score_tZero_level : ∀ {n : ℕ} (lev : Fin n → ℕ), Monotone lev → ∀ a : Fin n,9    score (tZero lev) a = ((univ.filter fun b => lev a < lev b).card : ℤ)10      - ((univ.filter fun b => lev b < lev a).card : ℤ) + ((a : ℕ) : ℤ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SpinGlRelationsAdjoint

14 import steps from Main · 112 lines · Checked against the code

Proves the matrix-unit commutator and adjoint relations for spin matrices built from Clifford generators.

The spin matrices satisfy the commutator relations of the standard matrix units in \(\mathfrak{gl}_n(\mathbb C)\), and conjugate transpose exchanges their two indices. The proof uses Clifford anticommutation to compute the bracket of a quadratic sum with a generator, then uses the commutator product rule to compute the bracket of two quadratic sums. The diagonal correction is scalar, and the adjoint identity follows by reversing products and exchanging generator indices. The importing module uses spinRel to prove GlobalTheory.T.spin_gl_relations_adjoint.

Key declarations

GlobalTheory.CompanionTheory.RealCount.SpinRel.quad_c: For a Clifford family c with \(Q_{ab}=\tfrac12\sum_f c_{af}c_{fb}\), the mixed commutator is \([Q_{ab},c_{dg}]=\delta_{bd}c_{ag}-\delta_{ag}c_{db}\).

32theorem quad_c {c : Fin n → Fin n → Matrix ι ι ℂ} (hc : IsCliff c) (a b d g : Fin n) :33    quadM c a b * c d g - c d g * quadM c a b =34      (if b = d then c a g else 0) - (if a = g then c d b else 0) := …

GlobalTheory.CompanionTheory.RealCount.SpinRel.quad_quad: For a Clifford family c, the quadratic matrices satisfy \([Q_{ab},Q_{de}]=\delta_{bd}Q_{ae}-\delta_{ea}Q_{db}\).

44theorem quad_quad {c : Fin n → Fin n → Matrix ι ι ℂ} (hc : IsCliff c) (a b d e : Fin n) :45    quadM c a b * quadM c d e - quadM c d e * quadM c a b =46      (if b = d then quadM c a e else 0) - (if e = a then quadM c d b else 0) := …

GlobalTheory.CompanionTheory.RealCount.SpinRel.spin_glRel: For a Clifford family c, the shifted matrices \(S_{ab}=Q_{ab}-\tfrac n2\delta_{ab}\mathbf{1}\) satisfy the matrix-unit commutator relations.

77theorem spin_glRel {c : Fin n → Fin n → Matrix ι ι ℂ} (hc : IsCliff c) : Formalism.REAL.GlRel (spinM c) := …

GlobalTheory.CompanionTheory.RealCount.SpinRel.spin_conjTranspose: For a Clifford family c, the conjugate transpose of \(S_{ab}\) is \(S_{ba}\).

100theorem spin_conjTranspose {c : Fin n → Fin n → Matrix ι ι ℂ} (hc : IsCliff c) (a b : Fin n) :101    (spinM c a b)ᴴ = spinM c b a := …

GlobalTheory.CompanionTheory.RealCount.SpinRel.spinRel: For any family satisfying the Clifford anticommutation and adjoint conditions, the associated spin matrices satisfy both the matrix-unit commutator relations and \(S_{ab}^{*}=S_{ba}\).

108theorem spinRel : ∀ {n : ℕ} {ι : Type} [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ), IsCliff c →109    Formalism.REAL.GlRel (spinM c) ∧ ∀ a b, (spinM c a b)ᴴ = spinM c b a := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEuclideanModel

14 import steps from Main · 116 lines · Checked against the code

Constructs a Euclidean model of the contragredient of a finite-dimensional unitary representation of \(U(n)\).

Evaluating linear functionals on an orthonormal basis identifies the continuous dual with complex Euclidean space, and the Riesz representation theorem gives equality of the operator and Euclidean norms. In these coordinates the contragredient acts by precomposition with the operator representing the inverse group element. Continuity follows from continuity of inversion and finite-dimensional linearity, and norm preservation follows by applying the operator-norm bound in both directions. The importing module uses this construction to prove GlobalTheory.T.unitary_euclidean_model.

Key declarations

GlobalTheory.CompanionTheory.RealCount.dualCoord: Identifies the continuous dual complex-linearly with Euclidean space by evaluation on a chosen orthonormal basis.

14def dualCoord (E : KMod n) :15    (E.V →L[ℂ] ℂ) ≃ₗ[ℂ] EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V))

GlobalTheory.CompanionTheory.RealCount.norm_dualCoord: The Euclidean norm of a functional’s coordinate vector equals its operator norm.

34theorem norm_dualCoord (E : KMod n) (ξ : E.V →L[ℂ] ℂ) : ‖dualCoord E ξ‖ = ‖ξ‖ := …

GlobalTheory.CompanionTheory.RealCount.dualAct_apply: The coordinate operator associated to an endomorphism \(T\) sends the coordinates of \(\xi\) to those of \(\xi\circ T\).

60theorem dualAct_apply (E : KMod n) (T : E.V →L[ℂ] E.V) (v) :61    dualAct E T v = dualCoord E ((dualCoord E).symm v ∘L T) := …

GlobalTheory.CompanionTheory.RealCount.continuous_unitary_inv: Inversion on \(U(n)\) is continuous.

64theorem continuous_unitary_inv :65    Continuous fun k : Matrix.unitaryGroup (Fin n) ℂ => k⁻¹ := …

GlobalTheory.CompanionTheory.RealCount.dualRep_exists: The contragredient action on the continuous dual is intertwined by a complex-linear isomorphism with a continuous norm-preserving action on complex Euclidean space.

70theorem dualRep_exists {n : ℕ} (E : KMod n) :71    ∃ (e : (E.V →L[ℂ] ℂ) ≃ₗ[ℂ] EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V)))72      (ρ' : Matrix.unitaryGroup (Fin n) ℂ →*73        (EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V)) →L[ℂ]74          EuclideanSpace ℂ (Fin (Module.finrank ℂ E.V)))),75      Continuous ρ' ∧ (∀ k v, ‖ρ' k v‖ = ‖v‖) ∧ ∀ k ξ, e (ξ ∘L E.ρ k⁻¹) = ρ' k (e ξ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.VandermondeSquares

14 import steps from Main · 38 lines · Checked against the code

Factors the reversed Vandermonde determinant on squared variables into the original determinant and a product of pairwise sums.

Reversing the columns in the standard Vandermonde formula gives the product of pairwise differences multiplied by the sign of the reversal permutation. Applying this formula to the squared variables and factoring each difference of squares gives the reversed determinant on the original variables times \(\prod_{i<j}(z_i+z_j)\). The importing module uses this identity to prove GlobalTheory.T.vandermonde_squares.

Key declarations

GlobalTheory.CompanionTheory.CoefId.prod_prs_eq_iter: Rewrites a product over pairs \(i<j\) as an iterated product over \(i\) and then over \(j>i\).

10lemma prod_prs_eq_iter {n : ℕ} (f : Fin n × Fin n → ℂ) :11    ∏ p ∈ prs n, f p = ∏ i : Fin n, ∏ j ∈ Ioi i, f (i, j) := …

GlobalTheory.CompanionTheory.CoefId.det_rev_vandermonde: Evaluates \(\det(v_i^{n-1-j})\) as \(\prod_{i<j}(v_j-v_i)\) times the sign of column reversal.

16lemma det_rev_vandermonde {n : ℕ} (v : Fin n → ℂ) :17    (Matrix.of fun i j : Fin n => v i ^ (n - 1 - (j : ℕ))).det =18      ((Equiv.Perm.sign (Fin.revPerm : Equiv.Perm (Fin n)) : ℤ) : ℂ) *19        ∏ p ∈ prs n, (v p.2 - v p.1) := …

GlobalTheory.CompanionTheory.CoefId.det_vandermonde_sq: Proves \(\det((z_i^2)^{n-1-j})=\det(z_i^{n-1-j})\prod_{i<j}(z_i+z_j)\) for every complex tuple \(z\).

27theorem det_vandermonde_sq {n : ℕ} (z : Fin n → ℂ) :28    (Matrix.of fun i j : Fin n => (z i ^ 2) ^ (n - 1 - (j : ℕ))).det =29      (Matrix.of fun i j : Fin n => z i ^ (n - 1 - (j : ℕ))).det *30        ∏ p ∈ prs n, (z p.1 + z p.2) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeightPolynomialTraceIdentity

14 import steps from Main · 264 lines · Checked against the code

Derives ordinary and twisted Laurent polynomial identities from trace formulas on the diagonal unitary torus.

The ordinary and twisted weight polynomials record dimensions and traces of the dual twist on the dual weight spaces. Given a direct sum of these spaces and an equivariant involution satisfying the prescribed torus trace formulas, the proof expands each trace by weights and writes the Weyl character as a quotient of alternants. It clears the Vandermonde denominators at unitary tuples with pairwise distinct squares, then uses coefficient comparison to obtain formal Laurent identities. The importing module uses these identities to prove GlobalTheory.T.weight_polynomial_trace_identity.

Key declarations

GlobalTheory.CompanionTheory.RealCount.Tope.Ident.trace_decomp: When the dual is the direct sum of its weight spaces, the trace of \(\rho(k^{-1})T\) for diagonal \(k\) and equivariant \(T\) is the sum of the dual twist traces multiplied by their weight monomials over a finite set containing every weight with a nonzero dual weight space.

166theorem trace_decomp (E : KMod n) (T' : E.V →L[ℂ] E.V) (hT : ∀ k, T' * E.ρ k = E.ρ k * T')167    (htop : (⨆ μ, wtDual E μ) = ⊤) (hind : iSupIndep (wtDual E)) (s : Finset (Fin n → ℤ))168    (hs : ∀ μ, wtDual E μ ≠ ⊥ → μ ∈ s) (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ) (hk : k.1 = diagonal z) :169    LinearMap.trace ℂ E.V ((E.ρ k⁻¹ * T' : E.V →L[ℂ] E.V) : E.V →ₗ[ℂ] E.V) =170      ∑ μ ∈ s, (∏ a, z a ^ μ a) * trOn (wtDual E μ) (dualT E T' : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) := …

GlobalTheory.CompanionTheory.RealCount.Tope.Ident.weylChar_evL: Expresses Lean’s weylChar on nonzero coordinates as the totalized quotient of the evaluated alternants \(A_{\lambda+\delta}\) and \(A_\delta\), with \(\delta=(n-1,\ldots,0)\) and a nonzero denominator for pairwise distinct coordinates.

105theorem weylChar_evL (lam : Fin n → ℤ) (z : Fin n → ℂˣ) :106    weylChar lam (fun a => (z a : ℂ)) = evL z (altL (lam + delZ n)) / evL z (altL (delZ n)) := …

GlobalTheory.CompanionTheory.RealCount.Tope.Ident.evL_frL: Doubling all exponents before evaluation has the same effect as squaring each evaluation coordinate.

56theorem evL_frL (z : Fin n → ℂˣ) (f : LP n) : evL z (frL n f) = evL (fun a => z a ^ 2) f := …

GlobalTheory.CompanionTheory.RealCount.Tope.Ident.eq_zero_of_evL: A Laurent polynomial vanishing at every unitary tuple with pairwise distinct coordinate squares is identically zero.

42theorem eq_zero_of_evL (f : LP n)43    (h : ∀ z : Fin n → ℂˣ, (∀ a, ‖(z a : ℂ)‖ = 1) → Function.Injective (fun a => (z a : ℂ) ^ 2) → evL z f = 0) :44    f = 0 := …

GlobalTheory.CompanionTheory.RealCount.Tope.Ident.lefK_laurent_ident: For an equivariant involution satisfying the prescribed torus trace formulas and a direct sum of dual weight spaces, the ordinary and twisted weight polynomials formed over a finite set containing every weight with a nonzero dual weight space satisfy \(W_1(z)A_\delta(z)^2=P(z)A_{\lambda+\delta}(z)^2\) and \(W_T(z)A_\delta(z^2)=P(z)A_{\lambda+\delta}(z^2)\), where \(P(z)=\prod_{a,b}(1+z_a/z_b)\).

216theorem lefK_laurent_ident {n : ℕ} (lam : Fin n → ℤ) (E : KMod n) (T : E.V →L[ℂ] E.V) (hL : IsLefK lam E T)217    (htop : (⨆ μ, wtDual E μ) = ⊤) (hind : iSupIndep (wtDual E)) (s : Finset (Fin n → ℤ))218    (hs : ∀ μ, wtDual E μ ≠ ⊥ → μ ∈ s) :219    cPoly s (fun μ => trOn (wtDual E μ) (dualT E 1 : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ))) * altL (delZ n) ^ 2 =220          pPL n * altL (lam + delZ n) ^ 2 ∧221        cPoly s (fun μ => trOn (wtDual E μ) (dualT E T : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ))) * frL n (altL (delZ n)) =222          pPL n * frL n (altL (lam + delZ n)) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeylDenominatorProduct

14 import steps from Main · 70 lines · Checked against the code

Factors the ordered-pair product of 1 + zₐ/zᵦ times (∏ₐ zₐ)^(n−1) as 2ⁿ times the squared product of zₐ + zᵦ over a < b.

For symmetric factors, swapping indices pairs the two off-diagonal products, leaving the diagonal product times the square of the product over \(a<b\). The proof rewrites each ratio factor as \((z_a+z_b)/z_b\) and applies the symmetric product formula, with the diagonal factors \(2z_a\) supplying \(2^n\) and one power of \(\prod_a z_a\) toward clearing the denominator. The importing module uses the resulting identity to prove GlobalTheory.T.weyl_denominator_product.

Key declarations

GlobalTheory.CompanionTheory.CoefId.prod_prod_symm_eq_diag_mul_prs_sq: For symmetric \(g\), the ordered-pair product \(\prod_{a,b}g(a,b)\) equals \(\bigl(\prod_a g(a,a)\bigr)\bigl(\prod_{a<b}g(a,b)\bigr)^2\).

8theorem prod_prod_symm_eq_diag_mul_prs_sq {n : ℕ} (g : Fin n → Fin n → ℂ) (hg : ∀ a b, g a b = g b a) :9    ∏ a, ∏ b, g a b = (∏ a, g a a) * (∏ p ∈ prs n, g p.1 p.2) ^ 2 := …

GlobalTheory.CompanionTheory.CoefId.prod_one_add_div_mul_prod_pow: For nonzero complex coordinates \(z_a\), \(\bigl(\prod_{a,b}(1+z_a/z_b)\bigr)(\prod_a z_a)^{n-1}=2^n\bigl(\prod_{a<b}(z_a+z_b)\bigr)^2\).

44theorem prod_one_add_div_mul_prod_pow {n : ℕ} (z : Fin n → ℂ) (hz : ∀ a, z a ≠ 0) :45    (∏ a, ∏ b, (1 + z a / z b)) * (∏ a, z a) ^ (n - 1)46      = 2 ^ n * (∏ p ∈ prs n, (z p.1 + z p.2)) ^ 2 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.HermitianForms.Imports

14 import steps from Main · 17 lines · Checked against the code

Proves that every complex unitary matrix has a skew-Hermitian logarithm.

For a unitary matrix U, the proof extracts the identity U*U = 𝟙 and applies the imported unitary logarithm theorem. The block decomposition proof uses the resulting expression U = exp X to transfer vanishing along the curve t ↦ exp(tX) to vanishing at U by taking t = 1.

Key declarations

GlobalTheory.CompanionTheory.UnitaryLog.main: For every n and every U in U(n), there exists a complex n × n matrix X with X* = −X and U = exp X.

8theorem main : ∀ (n : ℕ) (g : Matrix.unitaryGroup (Fin n) ℂ),9    ∃ X : Matrix (Fin n) (Fin n) ℂ, Xᴴ = -X ∧10      (g : Matrix (Fin n) (Fin n) ℂ) = NormedSpace.exp X := …

Show the full file ›Contents ↑

Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.IsLevPairA

14 import steps from Main · 114 lines · Checked against the code

Defines the chain operators and block-diagonal Levi actions used in the highest-weight multiplicity argument.

Chains have vector-valued coefficients indexed by subsets of two copies of the positive roots. Signed creation and annihilation operators give a boundary formula with a coefficient-action term and a bracket term, while the diagonal weight operators add the root weight of each subset to the coefficient weight. The Levi action on chains combines the within-block coefficient action with an adjoint action on cross-block root labels. SecondLeviFamily uses this action to define its two operator families.

Key declarations

PositivityTheory.RgBcC.RealD.bdL: Defines a degree-lowering operator combining coefficient action with signed deletion of one selected label and a bracket term that deletes two selected labels and inserts their bracket label, with signs, in the nonzero summands.

62def bdL (S : Lt n → Prop) (E1 E2 : Fin n → Fin n → Module.End ℂ V) : Module.End ℂ (Cq n V) :=63  (∑ l : Lt n, if S l then (liftL n (xL E1 E2 l) : Module.End ℂ (Cq n V)) * annL l else 0) +64    ∑ l : Lt n, ∑ m : Lt n, ∑ k : Lt n,65      if S l ∧ S m ∧ l.2.1.2 = m.2.1.1 ∧ k.1 = xor l.1 m.1 ∧ k.2.1.1 = l.2.1.1 ∧ k.2.1.2 = m.2.1.2 then66        creL k * annL m * annL l else 0

PositivityTheory.RgBcC.RealD.FtL: Adds the c-th coordinate of the subset's total root weight to the c-th diagonal coefficient operator.

68def FtL (E1 E2 : Fin n → Fin n → Module.End ℂ V) (c : Fin n) : Module.End ℂ (Cq n V) where69  toFun x := fun A => kA E1 E2 c c (x A) + (wtL A c : ℂ) • x A70  map_add' x y := by funext A; simp only [Pi.add_apply, map_add, smul_add]; abel71  map_smul' s x := by funext A; simp only [Pi.smul_apply, map_smul, RingHom.id_apply, smul_add, smul_comm s]

PositivityTheory.RgBcC.RealD.evLv: Evaluates free-algebra generators by the sum or difference of the two coefficient actions on within-block matrix units and sends cross-block generators to zero.

86def evLv (lev : Fin n → ℕ) (E1 E2 : Fin n → Fin n → Module.End ℂ V) :87    FreeAlgebra ℂ (Bool × Fin n × Fin n) →ₐ[ℂ] Module.End ℂ V :=88  FreeAlgebra.lift ℂ fun p => if lev p.2.1 = lev p.2.2 then (if p.1 then pA E1 E2 p.2.1 p.2.2 else kA E1 E2 p.2.1 p.2.2) else 0

PositivityTheory.RgBcC.RealD.evLc: Evaluates within-block generators on chains by adding the adjoint action on cross-block root labels to the lifted coefficient action, and sends cross-block generators to zero.

97def evLc (lev : Fin n → ℕ) (E1 E2 : Fin n → Fin n → Module.End ℂ V) :98    FreeAlgebra ℂ (Bool × Fin n × Fin n) →ₐ[ℂ] Module.End ℂ (Cq n V) :=99  FreeAlgebra.lift ℂ fun p => if lev p.2.1 = lev p.2.2 then100    ((liftL n (if p.1 then pA E1 E2 p.2.1 p.2.2 else kA E1 E2 p.2.1 p.2.2) : Module.End ℂ (Cq n V)) + adLL lev p.1 p.2.1 p.2.2)101    else 0

PositivityTheory.RgBcC.RealD.IsLevPairA: Requires each operator family to satisfy the matrix-unit commutator relations on block-diagonal entries and requires the two families to commute there.

108def IsLevPairA {V : Type} [AddCommGroup V] [Module ℂ V] (lev : Fin n → ℕ) (F1 F2 : Fin n → Fin n → Module.End ℂ V) : Prop :=109  ∀ a b c d, lev a = lev b → lev c = lev d →110    F1 a b * F1 c d - F1 c d * F1 a b = (if b = c then F1 a d else 0) - (if d = a then F1 c b else 0) ∧111    F2 a b * F2 c d - F2 c d * F2 a b = (if b = c then F2 a d else 0) - (if d = a then F2 c b else 0) ∧112    F1 a b * F2 c d = F2 c d * F1 a b

Show the full file ›Contents ↑

Development.AbelianVarietyTheory.Definitions.TwistedInnerProducts.FiniteDimensionalOfTrivialIsAdmOn

15 import steps from Main · 95 lines · Checked against the code

Proves that admissibility forces a trivial representation to be finite-dimensional and verifies the matrix-group conditions for GL(n, ℂ).

For a trivial action, rank-one intertwiners send a fixed line onto every line, so admissibility makes the whole representation space finite-dimensional. The proof that GL(n, ℂ) satisfies the linear reductivity conditions establishes connectedness by varying a complex parameter in 𝟙 + t(g − 𝟙) outside the finite zero set of its determinant. The remaining lemmas establish real analyticity of matrix entries, continuity for functions with local real-analytic extensions, and ambient closedness of the unitary intersection of a linearly reductive matrix group.

Key declarations

GlobalTheory.LinRed.Model.finiteDimensional_of_trivial_isAdmOn: An admissible trivial action on a complex inner-product space forces the space to be finite-dimensional.

54theorem finiteDimensional_of_trivial_isAdmOn {G : Set (Matrix (Fin n) (Fin n) ℂ)}55    (h : IsAdmOn G (fun _ => (1 : H →L[ℂ] H))) : FiniteDimensional ℂ H := …

GlobalTheory.LinRed.Model.isLinRed_units: The invertible complex matrices form a connected subgroup that is closed relative to GL(n, ℂ) and stable under conjugate transpose.

13theorem isLinRed_units (n : ℕ) : IsLinRed {g : Matrix (Fin n) (Fin n) ℂ | IsUnit g} := …

GlobalTheory.LinRed.Model.analyticOnGroup_entry: Every matrix-entry function admits a real-analytic extension near each point of any subset of complex matrices.

73theorem analyticOnGroup_entry (G : Set (Matrix (Fin n) (Fin n) ℂ)) (i j : Fin n) :74    AnalyticOnGroup G fun g => g i j := …

GlobalTheory.LinRed.Model.continuousOn_of_analyticOnGroup: A complex-valued function with local real-analytic extensions along a matrix subset is continuous on that subset.

79theorem continuousOn_of_analyticOnGroup {G : Set (Matrix (Fin n) (Fin n) ℂ)} {f : Matrix (Fin n) (Fin n) ℂ → ℂ}80    (h : AnalyticOnGroup G f) : ContinuousOn f G := …

GlobalTheory.LinRed.Model.isClosed_maxCpt: For a matrix group G satisfying the linear reductivity conditions, G ∩ U(n) is closed in the full matrix space.

87theorem isClosed_maxCpt {G : Set (Matrix (Fin n) (Fin n) ℂ)} (h : IsLinRed G) : IsClosed (maxCpt G) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EventuallyLineUnit

15 import steps from Main · 120 lines · Checked against the code

Defines the differential of the representation matrix at the identity and proves its conjugation and translation formulas.

The entrywise differential \(X_A\) is complex-linear in the matrix direction, and \(X_u\) evaluates it on matrix units. Openness of the invertible locus keeps \(\mathbf{1}+tB\) invertible near \(t=0\). Assuming entrywise holomorphy on the invertible locus, the proof differentiates the representation’s multiplicative identities along these lines to obtain conjugation equivariance and \(D R_m(g)[gB]=R_m(g)X_A(B)\) for invertible \(g\). Importers use the line and conjugation formulas to derive highest-weight vector equations and matrix-unit commutator relations.

Key declarations

GlobalTheory.CompanionTheory.RmHol.XA: Defines \(X_A(B)\) by applying the complex Fréchet derivative of each entry of \(R_m\) at the identity to \(B\).

18def XA (lam : Fin n → ℤ) (B : Mat n) : Matrix (Jd n lam) (Jd n lam) ℂ :=19  fun i j => fderiv ℂ (fun x : Mat n => Rm lam x i j) 1 B

GlobalTheory.CompanionTheory.RmHol.eventually_line_unit: For every complex matrix \(B\), the matrix \(\mathbf{1}+tB\) is invertible for all \(t\) in some neighborhood of zero.

75theorem eventually_line_unit (B : Mat n) : ∀ᶠ t : ℂ in 𝓝 0, IsUnit ((1 : Mat n) + t • B).det := …

GlobalTheory.CompanionTheory.RmHol.hasDerivAt_line: Under entrywise holomorphy, the derivative at zero of \(t\mapsto R_m(\mathbf{1}+tB)\) is \(X_A(B)\), entry by entry.

66theorem hasDerivAt_line {lam : Fin n → ℤ} (hD : HolRm lam) (B : Mat n) (i j : Jd n lam) :67    HasDerivAt (fun t : ℂ => Rm lam (1 + t • B) i j) (XA lam B i j) 0 := …

GlobalTheory.CompanionTheory.RmHol.conj_XA: Under entrywise holomorphy, \(xB=B'x\) with \(x\) invertible implies \(R_m(x)X_A(B)=X_A(B')R_m(x)\).

81theorem conj_XA {lam : Fin n → ℤ} (hD : HolRm lam) {x B B' : Mat n} (hx : IsUnit x.det) (h : x * B = B' * x) :82    Rm lam x * XA lam B = XA lam B' * Rm lam x := …

GlobalTheory.CompanionTheory.RmHol.fderiv_Rm: Under entrywise holomorphy, the differential at an invertible \(g\) in direction \(gB\) is \(R_m(g)X_A(B)\), entry by entry.

100theorem fderiv_Rm {lam : Fin n → ℤ} (hD : HolRm lam) {g : Mat n} (hg : g ∈ GLs n) (B : Mat n) (i j : Jd n lam) :101    fderiv ℂ (fun x : Mat n => Rm lam x i j) g (g * B) = (Rm lam g * XA lam B) i j := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightHermitianDerivationStatement

15 import steps from Main · 11 lines · Checked against the code

Exposes the highest-weight existence theorem with adjoint-compatible infinitesimal operators and a Weyl character formula.

The statement directly invokes the imported model theorem for each weakly decreasing integral weight, giving a finite-dimensional \(U(n)\)-representation with a unique highest-weight line. HighestWeightIntegralOfUnitary uses the model to construct an isotypic projection and derive its trace formula.

Key declarations

GlobalTheory.T.exists_highest_weight_hermitian_derivation: For each weakly decreasing integral weight \(\nu\), there is a finite-dimensional complex inner-product space carrying a \(U(n)\)-representation \(\sigma\) and operators \(K_{ab}\) compatible with its differentiation, satisfying the matrix-unit commutator relations and \(K_{ab}^{*}=K_{ba}\), whose raising operators have joint kernel a line of weight \(\nu\) and whose trace on diagonal elements with distinct entries is the Weyl character of \(\nu\).

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.exists_highest_weight_hermitian_derivation : ∀ {n : ℕ} (ν : Fin n → ℤ), Antitone ν → ∃ (L : Type) (_ : NormedAddCommGroup L) (_ : InnerProductSpace ℂ L) (_ : FiniteDimensional ℂ L) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (L →ₗ[ℂ] L)) (K : Fin n → Fin n → Module.End ℂ L) (v : L), Formalism.REAL.GlRel K ∧ (∀ a b (x y : L), ⟪K a b x, y⟫_ℂ = ⟪x, K b a y⟫_ℂ) ∧ IsDerivK σ K ∧ v ≠ 0 ∧ Formalism.REAL.KHighest (fun _ => true) K (wtR ν) v ∧ (∀ w : L, (∀ a b, a < b → K a b w = 0) → ∃ c : ℂ, w = c • v) ∧ ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z → LinearMap.trace ℂ L (σ k) = weylChar ν z := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MapMemKfin

15 import steps from Main · 72 lines · Checked against the code

Defines the \(U(n)\)-finite subspace and proves that operators commuting with the \(U(n)\)-action preserve it.

A vector is \(U(n)\)-finite if it lies in a finite-dimensional \(U(n)\)-invariant subspace, and the group action restricts to the space of such vectors. A commuting continuous linear operator carries each finite-dimensional invariant subspace to another, so it too restricts. The infinitesimal action is specified by real linearity, preservation of commutators, and differentiation along matrix exponentials, with complex-linear and conjugate-linear combinations defined on matrix units.

Key declarations

GlobalTheory.CompanionTheory.GLK.kfin: Defines the complex subspace of vectors contained in finite-dimensional \(U(n)\)-invariant subspaces.

16def kfin (π : G n →* (U →L[ℂ] U)) : Submodule ℂ U

GlobalTheory.CompanionTheory.GLK.sigK: Restricts the \(U(n)\)-action to a representation on the \(U(n)\)-finite subspace.

49def sigK (π : G n →* (U →L[ℂ] U)) : Matrix.unitaryGroup (Fin n) ℂ →* (kfin π →ₗ[ℂ] kfin π) where50  toFun k := (π (uG k) : U →ₗ[ℂ] U).restrict (p := kfin π) (q := kfin π) (fun v ⟨S, hS, hv, hk⟩ => ⟨S, hS, hk k v hv, hk⟩)51  map_one' := by52    ext v53    simp [uG]54  map_mul' a b := by55    ext v56    simp [uG]

GlobalTheory.CompanionTheory.GLK.IsLieD: Specifies a real-linear, bracket-preserving assignment \(X\mapsto D(X)\) on complex matrices for which \(D(X)v\) is the derivative at zero of \(t\mapsto\pi(\exp(tX))v\) for every \(U(n)\)-finite vector \(v\).

34structure IsLieD (π : G n →* (U →L[ℂ] U)) (D : Mat n → Module.End ℂ (kfin π)) : Prop where35  add : ∀ X Y, D (X + Y) = D X + D Y36  smul : ∀ (r : ℝ) X, D ((r : ℂ) • X) = (r : ℂ) • D X37  brk : ∀ X Y, D (X * Y - Y * X) = D X * D Y - D Y * D X38  deriv : ∀ X (v : kfin π), HasDerivAt (fun t : ℝ => π (expG X t) (v : U)) ((D X v : kfin π) : U) 0

GlobalTheory.CompanionTheory.GLK.map_mem_kfin: A continuous complex-linear operator commuting with \(U(n)\) sends \(U(n)\)-finite vectors to \(U(n)\)-finite vectors.

58theorem map_mem_kfin (π : G n →* (U →L[ℂ] U)) (A : U →L[ℂ] U) (hA : ∀ k, A ∘L π (uG k) = π (uG k) ∘L A) {v : U}59    (hv : v ∈ kfin π) : A v ∈ kfin π := …

GlobalTheory.CompanionTheory.GLK.opK: Restricts a continuous complex-linear operator commuting with \(U(n)\) to an endomorphism of the \(U(n)\)-finite subspace.

67def opK (π : G n →* (U →L[ℂ] U)) (A : U →L[ℂ] U) (hA : ∀ k, A ∘L π (uG k) = π (uG k) ∘L A) : kfin π →ₗ[ℂ] kfin π :=68  (A : U →ₗ[ℂ] U).restrict (p := kfin π) (q := kfin π) fun _ hv => map_mem_kfin π A hA hv

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryExpSkewHermitian

15 import steps from Main · 125 lines · Checked against the code

Proves that every unitary matrix is unitarily diagonalizable and is the exponential of a skew-Hermitian matrix.

For a unitary matrix \(K\), the proof simultaneously diagonalizes the commuting Hermitian matrices \(K+K^*\) and \(i(K-K^*)\), obtaining a unitary eigenbasis for \(K\). Its eigenvalues have modulus one, so multiplying their arguments by \(i\) gives diagonal logarithms that yield a skew-Hermitian logarithm in the original basis. DerivativeUnitaryAction uses this exponential description to show that an infinitesimal intertwiner also intertwines the \(U(n)\)-actions.

Key declarations

GlobalTheory.CompanionTheory.UnitaryExp.exists_unitary_diag: Every complex unitary matrix \(K\) admits a unitary \(V\) for which \(V^*KV\) is diagonal with all entries of modulus one.

12theorem exists_unitary_diag {n : ℕ} (K : Matrix (Fin n) (Fin n) ℂ) (h1 : Kᴴ * K = 1) (h2 : K * Kᴴ = 1) :13    ∃ (V : Matrix (Fin n) (Fin n) ℂ) (z : Fin n → ℂ), Vᴴ * V = 1 ∧ V * Vᴴ = 1 ∧14      Vᴴ * K * V = Matrix.diagonal z ∧ ∀ a, ‖z a‖ = 1 := …

GlobalTheory.CompanionTheory.UnitaryExp.exists_skew_exp_eq: Every \(k\in U(n)\) admits a complex matrix \(X\) with \(X^*=-X\) and \(\exp(X)=k\) as an invertible matrix.

80theorem exists_skew_exp_eq (n : ℕ) (k : Matrix.unitaryGroup (Fin n) ℂ) :81    ∃ X : Mat n, Xᴴ = -X ∧ uG k = expG X 1 := …

Show the full file ›Contents ↑

Formalism.GelfandTransference.HadamardGelfand.Highest

15 import steps from Main · 101 lines · Checked against the code

Proves a recurrence for the diagonal entries of matrix powers acting on a highest-weight vector.

Let E be a matrix over an associative ring whose entries satisfy the standard glₙ commutator relations, and let v be a module vector killed by the strictly upper entries with integral diagonal weights ν. The defining left-multiplication recurrence and the commutator formula for entries of powers show by induction that all strictly upper entries of Eᵏ kill v. Writing Dₖ(a) for the action of (Eᵏ)ₐₐ on v, the proof uses right multiplication to obtain Dₖ₊₁(a) = (νₐ + n − 1 − a)Dₖ(a) − ∑_{b>a} Dₖ(b), with indices starting at zero.

Key declarations

Formalism.HadamardInequality.P.epow_succ_right: The recursively defined power Eᵏ⁺¹ is obtained by multiplying Eᵏ by E on the right.

14theorem epow_succ_right (E : Fin n → Fin n → A) :15    ∀ (k : ℕ) (a b : Fin n), epow E (k + 1) a b = ∑ c, epow E k a c * E c b := …

Formalism.HadamardInequality.P.epow_upper_kill: Under the glₙ commutator relations, every strictly upper entry of every power of E annihilates a vector annihilated by the strictly upper entries of E.

33theorem epow_upper_kill (E : Fin n → Fin n → A) (hE : GlRel E) (v : M)34    (hv : ∀ a b : Fin n, a < b → E a b • v = 0) :35    ∀ (k : ℕ) (a c : Fin n), a < c → epow E k a c • v = 0 := …

Formalism.HadamardInequality.P.epow_diag_smul_highest_weight: Under the glₙ commutator relations, for a vector killed by the strictly upper entries with integral diagonal weights ν, the a-th diagonal action at power k + 1 is the action at power k scaled by the integer νₐ + n − 1 − a, minus the sum of the power-k diagonal actions at indices b > a.

55theorem epow_diag_smul_highest_weight (E : Fin n → Fin n → A) (hE : GlRel E) (ν : Fin n → ℤ) (v : M)56    (hv : ∀ a b : Fin n, a < b → E a b • v = 0) (hd : ∀ a : Fin n, E a a • v = ν a • v)57    (k : ℕ) (a : Fin n) :58    epow E (k + 1) a a • v =59      (ν a + (n : ℤ) - 1 - (a : ℤ)) • (epow E k a a • v) -60        ∑ b ∈ univ.filter (fun b : Fin n => a < b), epow E k b b • v := …

Formalism.HadamardInequality.P.highest_weight_diagonal_holds: The diagonal recurrence holds for every ring, module, matrix satisfying the glₙ commutator relations, and vector with the stated highest-weight conditions.

95theorem highest_weight_diagonal_holds : Formalism.HadamardInequality.HighestDiag := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightHermitianDerivation

16 import steps from Main · 340 lines · Checked against the code

Constructs a unitary highest-weight model with adjoint-compatible infinitesimal operators and a Weyl character formula.

For each weakly decreasing integral weight, the matrix action is transported to a Euclidean space where \(U(n)\) preserves the inner product. Differentiating this invariance along skew-Hermitian exponentials yields \(K_{ab}^{*}=K_{ba}\). Vectors killed by all raising operators are fixed by the upper unitriangular subgroup, whose fixed space is the highest-weight line. On diagonal unitary elements with distinct entries, the trace is the Weyl character. The importing statement module invokes rmModel directly.

Key declarations

GlobalTheory.CompanionTheory.RmModel.exists_frame: Gives a complex-linear identification with Euclidean space in which the matrix action of \(U(n)\) preserves the inner product.

27theorem exists_frame (ν : Fin n → ℤ) :28    ∃ (d : ℕ) (e : (Jd n ν → ℂ) ≃ₗ[ℂ] EuclideanSpace ℂ (Fin d)),29      ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (x y : Jd n ν → ℂ),30        ⟪e (Rm ν k.1 *ᵥ x), e (Rm ν k.1 *ᵥ y)⟫_ℂ = ⟪e x, e y⟫_ℂ := …

GlobalTheory.CompanionTheory.RmModel.fix_of_killed: A vector killed by every strictly upper-triangular matrix-unit operator is fixed by every upper unitriangular matrix.

88theorem fix_of_killed (ν : Fin n → ℤ) (c : Jd n ν → ℂ) (hc : ∀ a b, a < b → Xu ν a b *ᵥ c = 0) (g : Mat n)89    (h1 : ∀ i j, j < i → g i j = 0) (h2 : ∀ i, g i i = 1) : Rm ν g *ᵥ c = c := …

GlobalTheory.CompanionTheory.RmModel.line_of_killed: Every vector in the joint kernel of the raising operators is a scalar multiple of the distinguished highest-weight vector in matrix coordinates.

148theorem line_of_killed (ν : Fin n → ℤ) (c : Jd n ν → ℂ) (hc : ∀ a b, a < b → Xu ν a b *ᵥ c = 0) :149    ∃ s : ℂ, c = s • ((wb ν).repr (HW.hv ν) : Jd n ν → ℂ) := …

GlobalTheory.CompanionTheory.RmModel.herm_frame: In coordinates with invariant inner product, the operators attached to the matrix units \(E_{ab}\) and \(E_{ba}\) are adjoints.

231theorem herm_frame (a b : Fin n) (x y : Jd n ν → ℂ) :232    ⟪e (Xu ν a b *ᵥ x), e y⟫_ℂ = ⟪e x, e (Xu ν b a *ᵥ y)⟫_ℂ := …

GlobalTheory.CompanionTheory.RmModel.rmModel: For each weakly decreasing integral weight \(\nu\), constructs a finite-dimensional unitary representation with infinitesimal operators satisfying the matrix-unit commutator and adjoint relations, a joint raising kernel equal to a line of weight \(\nu\), and trace equal to the Weyl character on diagonal elements with distinct entries.

328theorem rmModel : ∀ {n : ℕ} (ν : Fin n → ℤ), Antitone ν → ∃ (L : Type) (_ : NormedAddCommGroup L)329    (_ : InnerProductSpace ℂ L) (_ : FiniteDimensional ℂ L) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (L →ₗ[ℂ] L))330    (K : Fin n → Fin n → Module.End ℂ L) (v : L), Formalism.REAL.GlRel K ∧331      (∀ a b (x y : L), ⟪K a b x, y⟫_ℂ = ⟪x, K b a y⟫_ℂ) ∧ IsDerivK σ K ∧ v ≠ 0 ∧332      Formalism.REAL.KHighest (fun _ => true) K (wtR ν) v ∧333      (∀ w : L, (∀ a b, a < b → K a b w = 0) → ∃ c : ℂ, w = c • v) ∧334      ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z →335        LinearMap.trace ℂ L (σ k) = weylChar ν z := …

Show the full file ›Contents ↑

Formalism.GelfandTransference.HadamardGelfand.Gelfand

16 import steps from Main · 34 lines · Checked against the code

Proves that the glₙ commutator rule extends to commutators of matrix entries with entries of any power.

For a matrix E over a possibly noncommutative ring whose entries satisfy the standard glₙ relations, the theorem expresses each commutator of an entry of E with an entry of Eᵏ as a difference of two Kronecker-delta terms. The proof inducts on k using the Leibniz rule for commutators in the matrix product. The highest-weight argument uses the identity both to prove that strictly upper entries of Eᵏ annihilate a highest-weight vector and to derive the recurrence for the action of the diagonal entries.

Key declarations

Formalism.HadamardInequality.P.comm_epow: Under the glₙ relations, [E_{cd}, (Eᵏ)_{ab}] = δ_{da}(Eᵏ)_{cb} − δ_{bc}(Eᵏ)_{ad} for every nonnegative integer k.

10theorem comm_epow (E : Fin n → Fin n → A) (hE : GlRel E) (k : ℕ) :11    ∀ a b c d : Fin n, E c d * epow E k a b - epow E k a b * E c d =12      (if d = a then epow E k c b else 0) - (if b = c then epow E k a d else 0) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DifferentiableCoeffRowAct

17 import steps from Main · 91 lines · Checked against the code

Proves entrywise holomorphy of the representation matrix \(R_m\) on \(\mathrm{GL}_n(\mathbb C)\).

For a fixed multivariate polynomial, induction on the polynomial shows that every coefficient after the row action by \(M^{\mathsf T}\) depends holomorphically on \(M\). Near each invertible matrix, every entry of \(R_m\) is a finite linear combination of these coefficients multiplied by an integral power of the determinant, which is holomorphic there. ExistsHighestWeightHermitianDerivation uses this result to differentiate the representation along matrix exponential curves.

Key declarations

GlobalTheory.CompanionTheory.RmHol.differentiable_entry: Each coordinate projection \(M\mapsto M_{ab}\) is complex differentiable on the full matrix space.

18theorem differentiable_entry {r : ℕ} (a b : Fin r) :19    Differentiable ℂ fun M : Matrix (Fin r) (Fin r) ℂ => M a b := …

GlobalTheory.CompanionTheory.RmHol.differentiable_det: The determinant is complex differentiable on the full matrix space by its expansion as a finite sum of products of entries.

22theorem differentiable_det {r : ℕ} :23    Differentiable ℂ fun M : Matrix (Fin r) (Fin r) ℂ => M.det := …

GlobalTheory.CompanionTheory.RmHol.differentiable_coeff_rowAct: Every monomial coefficient of the row transform of a fixed polynomial by \(M^{\mathsf T}\) is complex differentiable as a function of \(M\).

35theorem differentiable_coeff_rowAct {r m : ℕ} (f : MvPolynomial (Fin r × Fin m) ℂ) :36    ∀ s : (Fin r × Fin m) →₀ ℕ, Differentiable ℂ fun M : Matrix (Fin r) (Fin r) ℂ =>37      MvPolynomial.coeff s (Formalism.GradedWeylDivisibility.rowAct ℂ (n := m) Mᵀ f) := …

GlobalTheory.CompanionTheory.RmHol.detPow_nonsingInvUnit: For an invertible matrix \(M\), the determinant character with integer exponent \(c\) evaluates to \((\det M)^c\).

68theorem detPow_nonsingInvUnit {n : ℕ} {x : Mat n} (h : IsUnit x.det) (c : ℤ) :69    Formalism.BasicNotions.detPow ℂ n (Matrix.nonsingInvUnit x h) c = x.det ^ c := …

GlobalTheory.CompanionTheory.RmHol.holRm: For every integral weight tuple \(\lambda\), each entry of \(R_m(\lambda,M)\) is complex differentiable at every invertible \(M\).

73theorem holRm (n : ℕ) (lam : Fin n → ℤ) : HolRm lam := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInfinitesimalCharacter

17 import steps from Main · 37 lines · Checked against the code

Collects matrix-coefficient definitions and an entrywise derivative lemma for the matrix exponential.

The definitions give a matrix coefficient, its linear functional on the \(U(n)\)-finite vectors, and two combinations of the infinitesimal operators attached to \(E_{ab}\) and \(iE_{ab}\). The derivative lemma applies coordinate projection to the derivative of the matrix exponential at zero, and ExistsHighestWeightHermitianDerivation uses it to differentiate the representation along exponential curves.

Key declarations

GlobalTheory.CompanionTheory.GelfAct.hasDerivAt_exp_entry: For every complex matrix \(X\), the real-parameter derivative of \((\exp(tX))_{ab}\) at \(t=0\) is \(X_{ab}\).

17theorem hasDerivAt_exp_entry (X : Mat n) (a b : Fin n) :18    HasDerivAt (fun t : ℝ => NormedSpace.exp ((t : ℂ) • X) a b) (X a b) 0 := …

GlobalTheory.CompanionTheory.GelfAct.cf: Defines the matrix coefficient \(g\mapsto\langle w,\pi_M(g)v\rangle\) for fixed vectors \(w\) and \(v\).

27def cf (π : G n →* (U →L[ℂ] U)) (w v : U) : Mat n → ℂ := fun g => ⟪w, piM π g v⟫_ℂ

GlobalTheory.CompanionTheory.GelfAct.lin: For fixed \(g\) and \(w\), defines the complex-linear functional \(v\mapsto\langle w,\pi_M(g)v\rangle\) on the \(U(n)\)-finite vectors.

29def lin (π : G n →* (U →L[ℂ] U)) (w : U) (g : Mat n) : kfin π →ₗ[ℂ] ℂ :=30  ((innerSL ℂ w) ∘L (piM π g)).toLinearMap ∘ₗ (kfin π).subtype

GlobalTheory.CompanionTheory.GelfAct.fam: Defines the two operators \(\tfrac12(D(E_{ab})\pm iD(iE_{ab}))\) on the \(U(n)\)-finite subspace, with the minus sign selected by the true flag.

32def fam (π : G n →* (U →L[ℂ] U)) (D : Mat n → Module.End ℂ (kfin π)) (s : Bool) (a b : Fin n) : Module.End ℂ (kfin π) :=33  (1 / 2 : ℂ) • (D (Matrix.single a b 1) + (if s then -Complex.I else Complex.I) • D (Matrix.single a b Complex.I))

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HasDerivAtMulVec

17 import steps from Main · 139 lines · Checked against the code

Derives the infinitesimal highest-weight equations by differentiating the group action on an extremal vector.

For a weakly decreasing integral weight \(\lambda\), the proof starts with a nonzero extremal vector and assumes entrywise holomorphy of the representation matrix. Along \(\mathbf{1}+tE_{ab}\) for \(a<b\), the vector is fixed, while along \(\mathbf{1}+tE_{aa}\) with \(1+t\ne0\) it is multiplied by \((1+t)^{\lambda_a}\). Differentiation at zero gives annihilation by the raising operators and diagonal eigenvalues \(\lambda_a\). ExistsHighestWeightHermitianDerivation uses these equations to construct its unitary highest-weight model.

Key declarations

GlobalTheory.CompanionTheory.RmHol.HW.hv_ne: The distinguished extremal vector in the polynomial representation is nonzero.

23theorem hv_ne (lam : Fin n → ℤ) : hv lam ≠ 0 := …

GlobalTheory.CompanionTheory.RmHol.HW.hasDerivAt_mulVec: Under entrywise holomorphy, the derivative at zero of \(R_m(\lambda,\mathbf{1}+tB)c\) is \(X_A(\lambda,B)c\), coordinate by coordinate.

36theorem hasDerivAt_mulVec {lam : Fin n → ℤ} (hD : HolRm lam) (B : Mat n) (c : Jd n lam → ℂ)37    (i : Jd n lam) :38    HasDerivAt (fun t : ℂ => (Rm lam (1 + t • B) *ᵥ c) i) ((XA lam B *ᵥ c) i) 0 := …

GlobalTheory.CompanionTheory.RmHol.HW.fix_upper: Every upper elementary unipotent \(\mathbf{1}+tE_{ab}\) with \(a<b\) fixes the distinguished vector.

42theorem fix_upper (lam : Fin n → ℤ) {a b : Fin n} (hab : a < b) {t : ℂ}43    (h : IsUnit ((1 : Mat n) + t • Matrix.single a b (1 : ℂ)).det) :44    GlobalTheory.Branching.sqRep ℂ n (dw lam) (Matrix.nonsingInvUnit _ h) (hv lam) = hv lam := …

GlobalTheory.CompanionTheory.RmHol.HW.diag_act: For weakly decreasing \(\lambda\) and \(1+t\ne0\), the diagonal matrix \(\mathbf{1}+tE_{aa}\) acts on the distinguished vector by \((1+t)^{\lambda_a}\).

66theorem diag_act {lam : Fin n → ℤ} (hA : Antitone lam) (a : Fin n) {t : ℂ} (ht : 1 + t ≠ 0)67    (h : IsUnit ((1 : Mat n) + t • Matrix.single a a (1 : ℂ)).det) :68    GlobalTheory.Branching.sqRep ℂ n (dw lam) (Matrix.nonsingInvUnit _ h) (hv lam) =69      ((1 + t) ^ (lam a)) • hv lam := …

GlobalTheory.CompanionTheory.RmHol.HW.exists_hw: For weakly decreasing \(\lambda\) and an entrywise holomorphic representation matrix, there is a nonzero vector killed by every raising operator and on which each diagonal infinitesimal operator acts by \(\lambda_a\).

104theorem exists_hw (n : ℕ) (lam : Fin n → ℤ) (hD : HolRm lam) (hA : Antitone lam) :105    ∃ v : Formalism.BasicNotions.nablaSq ℂ n (dw lam), v ≠ 0 ∧106      (∀ a b : Fin n, a < b → Xu lam a b *ᵥ ((wb lam).repr v : Jd n lam → ℂ) = 0) ∧107      ∀ a : Fin n, Xu lam a a *ᵥ ((wb lam).repr v : Jd n lam → ℂ) =108        (lam a : ℂ) • ((wb lam).repr v : Jd n lam → ℂ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LineInverse

17 import steps from Main · 120 lines · Checked against the code

Derives the matrix-unit commutator relations by differentiating conjugation along \(\mathbf{1}+te\).

When \(e^2=\delta e\), the inverse of \(\mathbf{1}+te\) near \(t=0\) is \(\mathbf{1}-\frac{t}{1+t\delta}e\). Assuming entrywise holomorphy, the proof inserts this inverse into the conjugation identity and differentiates at zero to obtain \([X_A(e),X_A(B)]=X_A(eB-Be)\). Specializing to matrix units gives the commutator relations for \(X_u\), which ExistsHighestWeightHermitianDerivation transports to its unitary model.

Key declarations

GlobalTheory.CompanionTheory.RmHol.line_inverse: If \(e^2=\delta e\) and \(s(1+t\delta)=t\), then \(\mathbf{1}-se\) is a two-sided inverse of \(\mathbf{1}+te\).

19theorem line_inverse {e : Mat n} {δ t s : ℂ} (he : e * e = δ • e) (hs : s * (1 + t * δ) = t) :20    (1 + t • e) * (1 - s • e) = 1 ∧ (1 - s • e) * (1 + t • e) = 1 := …

GlobalTheory.CompanionTheory.RmHol.conj_line: Under entrywise holomorphy and \(e^2=\delta e\), conjugation of \(X_A(B)\) by \(R_m(\mathbf{1}+te)\) agrees near zero with \(X_A\) applied to \((\mathbf{1}+te)B(\mathbf{1}-\frac{t}{1+t\delta}e)\).

33theorem conj_line {lam : Fin n → ℤ} (hD : HolRm lam) {e : Mat n} (B : Mat n) {δ : ℂ} (he : e * e = δ • e) :34    ∀ᶠ t : ℂ in 𝓝 0, Rm lam (1 + t • e) * XA lam B =35      (XA lam B + t • XA lam (e * B) + (-(t / (1 + t * δ))) • XA lam (B * e)36        + (-(t * (t / (1 + t * δ)))) • XA lam (e * B * e)) * Rm lam (1 + t • e) := …

GlobalTheory.CompanionTheory.RmHol.comm_XA: Under entrywise holomorphy and \(e^2=\delta e\), the commutator \([X_A(e),X_A(B)]\) equals \(X_A(eB)-X_A(Be)\) for every \(B\).

51theorem comm_XA {lam : Fin n → ℤ} (hD : HolRm lam) {e : Mat n} (B : Mat n) {δ : ℂ} (he : e * e = δ • e) :52    XA lam e * XA lam B - XA lam B * XA lam e = XA lam (e * B) - XA lam (B * e) := …

GlobalTheory.CompanionTheory.RmHol.XA_zero: The differential \(X_A\) sends the zero direction to the zero matrix.

96theorem XA_zero (lam : Fin n → ℤ) : XA lam (0 : Mat n) = 0 := …

GlobalTheory.CompanionTheory.RmHol.xu_glRel: Under entrywise holomorphy, \(X_{ab}=X_u(a,b)\) satisfies \([X_{ab},X_{cd}]=\delta_{bc}X_{ad}-\delta_{da}X_{cb}\).

99theorem xu_glRel : ∀ (n : ℕ) (lam : Fin n → ℤ), HolRm lam → Formalism.HadamardInequality.GlRel (Xu lam) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SecondCountableUnitary

17 import steps from Main · 371 lines · Checked against the code

Proves Haar averaging identities for a continuous matrix representation of \(U(n)\) and its Gram operator.

Haar averaging of \(F(k)^*F(k)\) gives a positive invertible Gram operator for a continuous finite-dimensional representation of a compact second-countable group. Right invariance gives \(F(k)^*QF(k)=Q\), and uniqueness of the positive square root gives commutation with every unitary operator commuting with the representation. The proof establishes second countability of \(U(n)\) and applies these identities to its exterior-algebra and tensor-product action. ExistsHighestWeightHermitianDerivation uses the identity, product, and continuity laws for \(R_m\) to construct a unitary model.

Key declarations

GlobalTheory.CompanionTheory.CxAvg.gram_isUnit: The Haar integral of \(F(k)^*F(k)\) is invertible for a continuous finite-dimensional representation \(F\) of a compact second-countable group.

76theorem gram_isUnit (hF : Continuous F) : IsUnit (gram μ F) := …

GlobalTheory.CompanionTheory.CxAvg.gram_invariant: The averaged Gram operator \(Q\) satisfies \(F(k)^*QF(k)=Q\) for every group element \(k\).

81theorem gram_invariant (hF : Continuous F) (k : K) : adj (F k) * gram μ F * F k = gram μ F := …

GlobalTheory.CompanionTheory.CxAvg.sqrt_commute: Every unitary operator commuting with all \(F(k)\) commutes with the positive square root of the averaged Gram operator.

110theorem sqrt_commute (hF : Continuous F) (A : E →L[ℂ] E) (hA1 : adj A * A = 1) (hA2 : A * adj A = 1)111    (hc : ∀ k, A * F k = F k * A) : A * CFC.sqrt (gram μ F) = CFC.sqrt (gram μ F) * A := …

GlobalTheory.CompanionTheory.CxAvg.continuous_Rm: For every integral weight tuple, the representation matrix \(R_m\) depends continuously on the unitary group element.

276theorem continuous_Rm (lam : Fin n → ℤ) : Continuous fun k : KU n => Rm lam k.1 := …

GlobalTheory.CompanionTheory.CxAvg.avg: For the concrete \(U(n)\)-action, the positive square root of the averaged Gram operator is invertible and self-adjoint, squares to that invariant Gram operator, and commutes with the unitary operators commuting with the action.

344theorem avg : Avg := …

Show the full file ›Contents ↑

Explore

X Reddit Email LinkedIn