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.CommutingHermitianSimultaneousDiagStatement

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

Restates the simultaneous unitary diagonalisation theorem for commuting Hermitian matrices.

For any set of pairwise commuting Hermitian complex n-by-n matrices, the theorem gives a single unitary matrix that diagonalises every member by conjugation. The proof applies the imported simultaneous diagonalisation theorem directly.

Key declarations

GlobalTheory.T.commuting_hermitian_simultaneous_diag: If the matrices in S are Hermitian and commute pairwise, there is a unitary U such that U*AU is diagonal for every A in S, where U* denotes the conjugate transpose.

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.commuting_hermitian_simultaneous_diag : ∀ {n : ℕ} (S : Set (Matrix (Fin n) (Fin n) ℂ)), (∀ A ∈ S, Aᴴ = A) → (∀ A ∈ S, ∀ B ∈ S, A * B = B * A) → ∃ U ∈ Matrix.unitaryGroup (Fin n) ℂ, ∀ A ∈ S, (Uᴴ * A * U).IsDiag := …

Show the full file ›Contents ↑

Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.TraceFormula.GL4GeometricSide.CoreG

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

Proves the twisted trace is ±2^n on nonzero finite-dimensional U(n)-equivariant maps under the Lefschetz and irreducible-module hypotheses.

For a weakly decreasing integral weight, IsLefK constrains the Lefschetz pair (E,T), and IsCoreMod constrains the irreducible module and its involution A at the infinitesimal character determined by the weight. The theorem computes the trace of f ↦ A ∘ f ∘ T* on the nonzero finite-dimensional space of U(n)-equivariant maps from the dual of E to that module. The highest-weight trace formula and the multiplicity formula reduce the trace to 2^n times the trace of an involution on a single highest-weight line. The global Haar-average trace identity uses this result in its one-place calculation.

Key declarations

UpperTheory.V.Z.GSp4Splitting.coreG: Under the Lefschetz and irreducible-module hypotheses for a weakly decreasing integral weight, the induced involution on the nonzero finite-dimensional U(n)-equivariant map space has trace ±2^n.

17theorem UpperTheory.V.Z.GSp4Splitting.coreG : CoreG := …

Blueprint: A twisted trace on the lowest type (Merten's blueprint)

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CommutingHermitianSimultaneousDiag

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

Proves simultaneous unitary diagonalisation for any pairwise commuting set of Hermitian complex matrices.

The proof views the matrices as commuting self-adjoint operators on complex Euclidean space and applies an orthonormal common eigenbasis theorem. The basis vectors form the columns of a unitary matrix, and orthogonality makes every off-diagonal entry vanish after conjugation. The companion statement module uses this theorem directly to restate the result.

Key declarations

GlobalTheory.CompanionTheory.SimDiag.exists_unitary_isDiag: For any pairwise commuting set S of Hermitian complex n-by-n matrices, there is a single unitary U such that UᴴAU is diagonal for every A in S.

8theorem exists_unitary_isDiag {n : ℕ} (S : Set (Matrix (Fin n) (Fin n) ℂ))9    (hH : ∀ A ∈ S, Aᴴ = A) (hC : ∀ A ∈ S, ∀ B ∈ S, A * B = B * A) :10    ∃ U ∈ Matrix.unitaryGroup (Fin n) ℂ, ∀ A ∈ S, (Uᴴ * A * U).IsDiag := …

Show the full file ›Contents ↑

Development.AbelianVarietyTheory.Definitions.TwistedInnerProducts.ExistsIsSph

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

Proves existence of normalized spherical sections for minimal flags and formulates matrix coefficient bounds for standard modules.

For every minimal isotropic flag and real induction parameter, the spherical existence theorem supplies a scalar induced section whose right K-invariance and value 1 at the identity give value 1 throughout K. The definitions specify a Levi subgroup with determinant one on the ambient space and on each flag subspace and extend the real parts of the inducing exponents blockwise. The two bounds are formulated as propositions: one controls Levi matrix coefficients by a compact average of the absolute spherical section, and the other prescribes exponential times polynomial growth for compactly averaged K-finite coefficients along the split chamber.

Key declarations

GlobalTheory.StdCon.IsSph: Defines a spherical section on a subgroup S as a scalar induced function with trivial Levi action, unit block sizes, and value 1 on K ∩ S.

39def IsSph {ε : Fin n → Bool} (S : Subgroup (UJ ε)) {b : ℕ} (W₀ : Flag n b) (lam : Fin b → ℝ) (φ : UJ ε → ℂ) : Prop :=40  φ ∈ indFun S (fun _ => 1) W₀ (fun _ => (1 : ℂ →L[ℂ] ℂ)) (fun l => (lam l : ℂ)) ∧ ∀ k ∈ KG ε ⊓ S, φ k = 1

GlobalTheory.StdCon.exists_isSph: For every minimal isotropic flag and every real induction parameter, there is a scalar induced section on the full unitary group taking value 1 on K.

64theorem exists_isSph {ε : Fin n → Bool} {b : ℕ} {W₀ : Flag n b} (h : IsMinimalFlag ε W₀) (lam : Fin b → ℝ) :65    ∃ φ, IsSph (ε := ε) ⊤ W₀ lam φ := …

GlobalTheory.StdCon.reExt: Forms a real exponent vector on Fin b by repeating the real part of each inducing exponent over its block and assigning zero outside the blocks.

42def reExt {ε : Fin n → Bool} (D : Datum ε) (b : ℕ) : Fin b → ℝ := fun l => blockExt D.j (fun i => (D.s i).re) l

GlobalTheory.StdCon.LeviBound: Given a minimal flag containing every inducing flag subspace and a normalized spherical section φ with parameter reExt D b, formulates a bound for Levi matrix coefficients on a finite-dimensional K ∩ M-invariant subspace by the product of the vector norms times a constant and the probability Haar average of |φ(κm)| over K ∩ M.

47def LeviBound : Prop :=48  ∀ (n : ℕ) (ε : Fin n → Bool) (b : ℕ) (W₀ : Flag n b), IsMinimalFlag ε W₀ → ∀ D : Datum ε,49    (∀ i, D.W i ∈ Set.range W₀) → ∀ φ, IsSph (ε := ε) ⊤ W₀ (reExt D b) φ →50    ∀ μ : Measure ↥(KG ε ⊓ D.M), μ.IsHaarMeasure → IsProbabilityMeasure μ →51    ∀ U : Submodule ℂ D.V, FiniteDimensional ℂ U → (∀ k ∈ KG ε ⊓ D.M, ∀ w ∈ U, D.σ (uMat k) w ∈ U) →52      ∃ c : ℝ, ∀ v ∈ U, ∀ w ∈ U, ∀ m ∈ D.M,53        ‖⟪w, D.σ (uMat m) v⟫_ℂ‖ ≤ c * ‖v‖ * ‖w‖ * ∫ κ : ↥(KG ε ⊓ D.M), ‖φ (κ * m)‖ ∂μ

GlobalTheory.StdCon.Growth: Formulates a bound by a polynomial factor times an exponential for compactly averaged coefficients of K-finite functions in the standard and dual induced modules of standard data at split elements with nonnegative antitone coordinates, using the blockwise real parameter minus ρ paired with the split coordinates as the exponent.

55def Growth : Prop :=56  ∀ (n : ℕ) (ε : Fin n → Bool) (b : ℕ) (W₀ : Flag n b), IsMinimalFlag ε W₀ → ∀ D : Datum ε, D.IsStandard W₀ →57    ∀ f ∈ D.fns, IsKFinFun f → ∀ f' ∈ D.dualFns, IsKFinFun f' → ∃ (C : ℝ) (d : ℕ),58      ∀ x : Fin b → ℝ, Antitone x → (∀ l, 0 ≤ x l) → ∀ t, IsSplit ε W₀ x t →59        ‖kCoef f' f t‖ ≤ C * Real.exp (∑ l, (reExt D b l - (rho n (fun _ : Fin b => 1) l).re) * x l) * (1 + ‖x‖) ^ d

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicOfNormBoundStatement

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

Restates the criterion for membership in harmZ(λ) from a shifted squared-norm bound.

For weakly decreasing integer tuples λ and ν satisfying DomLE(wtR(ν), m0(λ)), permute the coordinates of wtR(ν) − rhoV(n) into weakly decreasing order and add rhoV(n) back. If the resulting squared Euclidean norm is at least that of m0(λ), then ν belongs to harmZ(λ). The proof applies the imported norm-bound criterion directly.

Key declarations

GlobalTheory.T.harmonic_of_norm_bound: Under the monotonicity and dominance hypotheses, any permutation that makes wtR(ν) − rhoV(n) weakly decreasing and yields the required squared-norm lower bound after adding rhoV(n) back certifies ν ∈ harmZ(λ).

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.harmonic_of_norm_bound : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ ν : Fin n → ℤ, Antitone ν → DomLE (wtR ν) (m0 lam) → ∀ w : Equiv.Perm (Fin n), Antitone (fun a => wtR ν (w a) - rhoV n (w a)) → ∑ a, (m0 lam a) ^ 2 ≤ ∑ a, (wtR ν (w a) - rhoV n (w a) + rhoV n a) ^ 2 → ν ∈ harmZ lam := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvF

9 import steps from Main · 25 lines · Checked against the code

Defines a space of unitary-group intertwiners and a twisted trace on the source representation.

The subspace invF consists of continuous complex-linear maps from the continuous dual of E to F that intertwine the contragredient action on the dual with the action r on F. For an endomorphism T of E, chiT assigns to each unitary k the trace of T followed by the action of k on E.

Key declarations

GlobalTheory.CompanionTheory.TrPassage.invF: Defines the complex subspace of continuous linear maps t from the continuous dual of E to F satisfying t(ξ ∘ ρ(k⁻¹)) = r(k)t(ξ) for every k and ξ.

11def invF (r : Matrix.unitaryGroup (Fin n) ℂ →* (F →L[ℂ] F)) (E : KMod n) :12    Submodule ℂ ((E.V →L[ℂ] ℂ) →L[ℂ] F)

GlobalTheory.CompanionTheory.TrPassage.chiT: Defines chiT(E, T, k) as the trace of the composite ρ(k) ∘ T on E.

22def chiT (E : KMod n) (T : E.V →L[ℂ] E.V) (k : Matrix.unitaryGroup (Fin n) ℂ) : ℂ :=23  LinearMap.trace ℂ E.V ((E.ρ k * T : E.V →L[ℂ] E.V) : E.V →ₗ[ℂ] E.V)

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RangeStable

9 import steps from Main · 49 lines · Checked against the code

Constructs unitary exponentials of skew-Hermitian matrices and verifies commutator relations for paired operators.

For a skew-Hermitian matrix X and real s, the adjoint of exp(sX) is exp(−sX), its inverse. This gives the unitary-valued map oneP. The commutator of two entries of kF is the sum of the commutators from the two operator families, since entries from different families commute. The general linear relations for the two families then give the same relations for kF.

Key declarations

GlobalTheory.CompanionTheory.RealCount.KHw.exp_smul_mem: For every skew-Hermitian matrix X and real scalar s, the matrix exp(sX) is unitary.

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

GlobalTheory.CompanionTheory.RealCount.KHw.oneP: Assigns to each real s the exponential exp(sX) as an element of U(n) for a fixed skew-Hermitian matrix X.

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

GlobalTheory.CompanionTheory.RealCount.KHw.glRel_kF: For operator families E₁ and E₂ satisfying IsPair, the combined family kF(E₁, E₂) satisfies the general linear commutator relations.

33theorem glRel_kF {E1 E2 : Fin n → Fin n → Module.End ℂ V} (h : IsPair E1 E2) : Formalism.REAL.GlRel (kF E1 E2) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SignOne

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

Proves that a complex-linear involution has trace ±1 on any invariant line.

On an invariant complex line, the restriction of the involution is multiplication by a scalar c, as seen by choosing a nonzero generator. The involution identity gives c² = 1, and the trace of the restriction equals c because the line has dimension one.

Key declarations

GlobalTheory.CompanionTheory.SignLine.signOne: If a complex-linear involution preserves a one-dimensional subspace, the trace of its restriction to that subspace is 1 or −1.

10theorem signOne : PositivityTheory.RgBcC.RealD.SignOne := …

Show the full file ›Contents ↑

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

9 import steps from Main · 18 lines · Checked against the code

Assembles a twisted-trace counting identity, the Dirac inequality for K-types, and the resulting least-weight admissibility criterion.

The counting identity expresses the twisted trace on U(n)-equivariant maps as 2^n times the sum of involution traces on harmonic highest-weight spaces and supplies the counting step in CoreG. For a second-type weight relative to the proposed least harmonic weight and its level data, the comparison lemma places it among the top types and gives it a strictly smaller shifted norm. If that weight occurs, equality in the Dirac lower and highest-term upper spin-norm bounds makes it harmonic, contradicting minimality.

Key declarations

PositivityTheory.RgBcC.RealD.countG_holds: For dominant integral λ, an IsCoreMod module at the corresponding infinitesimal character with compatible involution, Lefschetz data satisfying the prescribed ordinary and twisted character identities, and a finite-dimensional intertwiner space, gives the 2^n-weighted sum of involution traces over finite-dimensional, involution-stable harmonic highest-weight spaces, at least one of which is nonzero when the intertwiner space is nonzero.

9theorem countG_holds : CountG := …

PositivityTheory.RgBcC.RealD.dirac_inequality_k_types: For an IsCoreMod0 module at the infinitesimal character prescribed by dominant integral λ, with irreducibility, the adjoint relations for its two commuting Lie algebra actions, and the compatible differentiable U(n) action, bounds the squared spin norm of every occurring K-type below by ‖2(λ + ρ)‖².

11theorem dirac_inequality_k_types : DiracInequalityWithoutSplitComponent := …

PositivityTheory.RgBcC.RealD.adm_least_zero_holds: For a module satisfying IsCoreMod0 at the prescribed infinitesimal character for dominant integral λ, with irreducibility, adjoint relations and the compatible differentiable U(n) action, an occurring harmonic weight μ minimizing ‖μ + ρ‖² satisfies AdmFor, including the exclusion of occurring second-type weights relative to its level data.

13theorem adm_least_zero_holds : AdmLeast0 := …

PositivityTheory.RgBcC.RealD.adm_least_holds: Gives the same least-weight admissibility criterion for modules equipped with the involution used in the twisted trace.

16theorem adm_least_holds : AdmLeast := …

Show the full file ›Contents ↑

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

9 import steps from Main · 142 lines · Checked against the code

Defines the module hypotheses, twisted trace, and highest-weight spaces for archimedean real descent.

The module hypotheses specify two commuting gl(n,C)-actions, a prescribed pair of infinitesimal characters, and a compatible locally finite unitary U(n)-action. A unitary involution exchanges the two Lie algebra actions and commutes with U(n). The twist is defined on linear maps from the dual U(n)-module by precomposition with the dual of T and postcomposition with A, preserving intertwiners when T and A commute with their respective U(n)-actions. HighestVectorsRegularLine uses these definitions to formulate the twisted-trace counting identity over the finite set of harmonic weights.

Key declarations

PositivityTheory.RgBcC.RealD.IsCoreMod: Specifies a nonzero irreducible module with two commuting actions, character equations for E1 and the negative-transpose generators of E2, a compatible U(n)-action, and a unitary involution exchanging the actions.

82structure IsCoreMod (χ : Inf n) (E1 E2 : Fin n → Fin n → Module.End ℂ V)83    (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V) : Prop where84  pair : IsPair E1 E285  ch1 : ∀ m (x : V), gelA E1 m x = GlobalTheory.Dec.gelfVal (χ true) m • x86  ch2 : ∀ m (x : V), gelA (barF E2) m x = GlobalTheory.Dec.gelfVal (χ false) m • x87  nontriv : Nontrivial V88  irr : ∀ v w : V, v ≠ 0 → ∃ x ∈ alg E1 E2, x v = w89  der : IsDerivK σ (kF E1 E2)90  Asq : A * A = 191  Aiso : ∀ x y : V, ⟪A x, A y⟫_ℂ = ⟪x, y⟫_ℂ92  Aσ : ∀ k, A * σ k = σ k * A93  AE : ∀ a b, A * E1 a b = E2 a b * A

PositivityTheory.RgBcC.RealD.invA: Defines the space of U(n)-equivariant complex-linear maps from the contragredient of the auxiliary representation to the target module.

95def invA (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (E : KMod n) : Submodule ℂ ((E.V →L[ℂ] ℂ) →ₗ[ℂ] V)

PositivityTheory.RgBcC.RealD.flipA: Sends a linear map t to A ∘ t ∘ T∨, where T∨ is the dual operator and A acts on the target.

105def flipA (E : KMod n) (A : V →ₗ[ℂ] V) (T : E.V →L[ℂ] E.V) :106    ((E.V →L[ℂ] ℂ) →ₗ[ℂ] V) →ₗ[ℂ] ((E.V →L[ℂ] ℂ) →ₗ[ℂ] V) where107  toFun t := A.comp (t.comp (dualT E T).toLinearMap)108  map_add' x y := by ext; simp109  map_smul' c x := by ext; simp

PositivityTheory.RgBcC.RealD.hwSp: Defines the highest-weight space of weight μ for the sum of the two Lie algebra actions by imposing the diagonal eigenvalue equations and annihilation by raising operators.

111def hwSp (E1 E2 : Fin n → Fin n → Module.End ℂ V) (μ : Fin n → ℝ) : Submodule ℂ V where112  carrier := {v | Formalism.REAL.KHighest (fun _ => true) (kF E1 E2) μ v}113  add_mem' {x y} hx hy := ⟨fun a => by rw [map_add, hx.1 a, hy.1 a, smul_add],114    fun a b hab he => by rw [map_add, hx.2 a b hab he, hy.2 a b hab he, add_zero]⟩115  zero_mem' := ⟨fun a => by simp, fun a b _ _ => by simp⟩116  smul_mem' c x hx := ⟨fun a => by rw [map_smul, hx.1 a, smul_comm], fun a b hab he => by rw [map_smul, hx.2 a b hab he, smul_zero]⟩

PositivityTheory.RgBcC.RealD.harmSet: Forms the finite set of weights 2λ + 2ρ_U over ordered partitions into consecutive blocks on which λ is constant, with 2ρ_U in each coordinate counting later indices minus earlier indices outside its block.

131def harmSet (lam : Fin n → ℤ) : Finset (Fin n → ℝ) :=132  ((univ : Finset (Fin n → Fin n)).filter fun lev => IsLev lam fun a => (lev a : ℕ)).image fun lev => muQ lam fun a => (lev a : ℕ)

Show the full file ›Contents ↑

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

9 import steps from Main · 19 lines · Checked against the code

Combines least-weight admissibility and a multiplicity formula to bound harmonic highest-weight multiplicities.

The admissibility proof combines the Dirac inequality, the highest-term bound, and a strict shifted-norm comparison for second-type weights. The multiplicity reduction uses this criterion together with compression and the model's cone bound to show that at most one harmonic highest weight occurs and that its space is at most one-dimensional. CoreG applies the reduction to the multiplicity formula in its twisted-trace proof.

Key declarations

PositivityTheory.RgBcC.RealD.adm_least_holds: Proves that in an IsCoreMod module at infOf λ for antitone integral λ, a valid level assignment giving an occurring harmonic weight μ of least ‖μ + ρ‖² satisfies AdmFor, including vanishing of the associated second-type highest-weight spaces.

13theorem adm_least_holds : AdmLeast := …

PositivityTheory.RgBcC.RealD.multG_of_multFor: Derives from MultFor that in an IsCoreMod module at infOf λ for antitone integral λ, at most one harmonic highest-weight space is nonzero and any such space is spanned by each of its nonzero vectors.

16theorem multG_of_multFor (hM : MultFor) : MultG := …

Show the full file ›Contents ↑

Formalism.LocalToGlobal.IndefiniteReal.EigenDecomposition

9 import steps from Main · 126 lines · Checked against the code

Proves simultaneous orthonormal diagonalization for pairwise commuting complex endomorphisms closed under adjoints.

On a finite-dimensional complex inner product space, a pairwise commuting family closed under adjoints admits a common orthonormal eigenbasis. The proof chooses a finite basis of the family's linear span from the family itself and forms the Hermitian operators T + T* and i(T − T*) for each chosen operator. It assembles orthonormal bases of their nonzero joint eigenspaces and recovers the original operators by linearity. The matrix formulation uses this theorem to obtain a single unitary change of basis that diagonalizes a commuting family of Hermitian matrices.

Key declarations

Formalism.IndefR.EigenDecomposition.exists_onb_of_commuting: A pairwise commuting set of endomorphisms closed under adjoints on a finite-dimensional complex inner product space has a common orthonormal eigenbasis.

45theorem exists_onb_of_commuting (A : Set (H →ₗ[ℂ] H))46    (hcomm : ∀ S ∈ A, ∀ T ∈ A, Commute S T)47    (hadj : ∀ T ∈ A, LinearMap.adjoint T ∈ A) :48    ∃ (n : ℕ) (b : OrthonormalBasis (Fin n) ℂ H), ∀ k, ∀ T ∈ A, ∃ μ : ℂ, T (b k) = μ • b k := …

Formalism.IndefR.EigenDecomposition.exists_onb_of_parts: A finite family of pairwise orthogonal subspaces spanning a finite-dimensional complex inner product space admits a finite orthonormal basis with each vector labeled by a subspace containing it.

9theorem exists_onb_of_parts {I : Type*} [Finite I] (P : I → Submodule ℂ H)10    (horth : ∀ i j, i ≠ j → P i ⟂ P j) (htop : ⨆ i, P i = ⊤) :11    ∃ (n : ℕ) (b : OrthonormalBasis (Fin n) ℂ H) (lab : Fin n → I), ∀ k, b k ∈ P (lab k) := …

Formalism.IndefR.EigenDecomposition.exists_onb_of_parts_set: For a family of pairwise orthogonal subspaces indexed by a finite subset and spanning a finite-dimensional complex inner product space, there is a finite orthonormal basis whose vectors are labeled by elements of that subset and lie in the corresponding subspaces.

24theorem exists_onb_of_parts_set {L : Type*} (S : Set L) (hS : S.Finite) (P : L → Submodule ℂ H)25    (horth : ∀ c ∈ S, ∀ d ∈ S, c ≠ d → P c ⟂ P d) (htop : ⨆ c ∈ S, P c = ⊤) :26    ∃ (n : ℕ) (b : OrthonormalBasis (Fin n) ℂ H) (lab : Fin n → L),27      (∀ k, lab k ∈ S) ∧ ∀ k, b k ∈ P (lab k) := …

Formalism.IndefR.EigenDecomposition.reIm: Given T, the Boolean selector returns T + T* for true and i(T − T*) for false, where T* is the adjoint.

35noncomputable def reIm (T : H →ₗ[ℂ] H) (b : Bool) : H →ₗ[ℂ] H :=36  if b then T + LinearMap.adjoint T else Complex.I • (T - LinearMap.adjoint T)

Formalism.IndefR.EigenDecomposition.reIm_isSymmetric: Both operators selected by reIm are self-adjoint.

38theorem reIm_isSymmetric (T : H →ₗ[ℂ] H) (b : Bool) : (reIm T b).IsSymmetric := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConeNoSecondWeightsStatement

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

Restates the exclusion of second-type weights from a translated integral root cone.

For a weakly decreasing integer weight λ and an admissible level function ℓ, the theorem excludes second-type weights from the translate by muQ(λ, ℓ) of the nonnegative integer span of the roots eₐ − eᵦ with ℓ(a) < ℓ(b). The proof invokes the companion theorem directly, and multG_of_multFor uses this restatement to deduce MultG from MultFor.

Key declarations

GlobalTheory.T.cone_no_second_weights: For weakly decreasing λ and admissible ℓ, every real weight ν with ν − muQ(λ, ℓ) in the integral root cone for ℓ is excluded from the second-type class.

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.cone_no_second_weights : PositivityTheory.RgBcC.RealD.ConeWeightsNotSecondType := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DiagonalMemUnitary

10 import steps from Main · 203 lines · Checked against the code

Proves a highest-weight formula for the twisted trace on a finite-dimensional space of unitary-group intertwiners.

Restriction identifies the intertwiner space with the product, over harmonic weights, of Hom spaces from highest-weight spaces in the dual of E to the corresponding spaces in V. A Parthasarathy–Rao–Varadarajan construction and a Clifford norm bound give the harmonicity criterion. Weyl-character coefficient extraction gives trace 2ⁿ on each harmonic highest-weight space of the dual. The twisted trace is therefore 2ⁿ times the sum of the traces of the target involution on its harmonic highest-weight spaces. The direct importer records the theorem as countG_holds.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.countG: Under the core-module and Lefschetz hypotheses and finite-dimensionality of the intertwiner space, the target's harmonic highest-weight spaces are finite-dimensional and invariant under the involution, at least one is nonzero if the intertwiner space is nonzero, and the twisted trace is 2ⁿ times the sum of their involution traces.

112theorem countG : CountG := …

GlobalTheory.CompanionTheory.RealCountG.hw_harm: If a nonzero highest-weight vector of weight wtR(ν) occurs in the core module and wtR(ν) is dominated by m0(λ), then ν belongs to harmZ(λ).

28theorem hw_harm {n : ℕ} (lam : Fin n → ℤ) (hl : Antitone lam)29    (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V)30    (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V) (hc : IsCoreMod (infOf lam) E1 E2 σ A)31    (ν : Fin n → ℤ) (v : V) (hv : v ≠ 0) (hh : v ∈ hwSp E1 E2 (wtR ν)) (hdom : DomLE (wtR ν) (m0 lam)) :32    ν ∈ harmZ lam := …

GlobalTheory.CompanionTheory.RealCountG.dualtr: Under the Lefschetz hypothesis, the dual operator has trace 2ⁿ on each harmonic highest-weight space of the dual representation.

100theorem dualtr {n : ℕ} (lam : Fin n → ℤ) (hl : Antitone lam) (E : KMod n) (T : E.V →L[ℂ] E.V) (hT : IsLefK lam E T)101    (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)) (hG : IsDualFam E G) :102    ∀ μ ∈ harmZ lam, trOn (hwOf G (wtR μ)) (dualT E T : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) = 2 ^ n := …

GlobalTheory.CompanionTheory.RealCountG.flip_stable': The twist t ↦ A ∘ t ∘ Tᵛ preserves unitary-group intertwiners when A and T commute with their respective unitary actions, where Tᵛ is the dual operator.

63theorem flip_stable' {n : ℕ} {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V]64    {σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)} {A : V →ₗ[ℂ] V} (hAσ : ∀ k, A * σ k = σ k * A)65    (E : KMod n) (T : E.V →L[ℂ] E.V) (hT : ∀ k, T * E.ρ k = E.ρ k * T) :66    ∀ t ∈ invA σ E, flipA E A T t ∈ invA σ E := …

GlobalTheory.CompanionTheory.RealCountG.diagonal_mem_unitary: A diagonal complex matrix with diagonal entries of absolute value one is unitary.

90theorem diagonal_mem_unitary {n : ℕ} (z : Fin n → ℂ) (hz : ∀ a, ‖z a‖ = 1) :91    (diagonal z : Matrix (Fin n) (Fin n) ℂ) ∈ Matrix.unitaryGroup (Fin n) ℂ := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicOfNormBound

10 import steps from Main · 779 lines · Checked against the code

Proves that a shifted norm bound forces a dominated weight to be harmonic.

For weakly decreasing integer weights λ and ν with wtR(ν) dominated by m0(λ), set y = (wtR(ν) − ρ) ∘ w + ρ, where ρ = rhoV(n) and w orders the shifted coordinates decreasingly. Abel summation and a decreasing majorant for interval counts show that y is dominated by m0(λ). The lower bound on the squared norm of y then forces equality with m0(λ), and the resulting permutation splits into reversals of contiguous blocks on which λ is constant. This yields ν ∈ harmZ(λ), and the companion statement module invokes the criterion directly.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.mem_harmZ_of_norm_ge: Under the dominance and ordering hypotheses, ν belongs to harmZ(λ) if the squared norm of the shifted and reordered weight y is at least that of m0(λ).

716theorem mem_harmZ_of_norm_ge {n : ℕ} (lam : Fin n → ℤ) (hl : Antitone lam) (ν : Fin n → ℤ)717    (hν : Antitone ν) (hD : DomLE (wtR ν) (m0 lam)) (w : Equiv.Perm (Fin n))718    (hw : Antitone (fun a => wtR ν (w a) - rhoV n (w a)))719    (hn : ∑ a, (m0 lam a) ^ 2 ≤ ∑ a, (wtR ν (w a) - rhoV n (w a) + rhoV n a) ^ 2) :720    ν ∈ harmZ lam := …

GlobalTheory.CompanionTheory.RealCountG.LemmaHG.maj: Constructs a nonnegative decreasing sequence whose prefix sums majorize the subset counts in an interval, with equality for the full interval and a bound relating its first moment to the selected indices.

86theorem maj (S : Finset ℕ) (n : ℕ) : ∀ m p, p + m = n → ∃ c : ℕ → ℝ,87    (∀ a, p ≤ a → a < n → 0 ≤ c a) ∧88    (∀ a b, p ≤ a → a ≤ b → b < n → c b ≤ c a) ∧89    (∀ j, p ≤ j → j ≤ n → (cnt S p j : ℝ) ≤ ∑ i ∈ Finset.Ico p j, c i) ∧90    (∑ i ∈ Finset.Ico p n, c i = cnt S p n) ∧91    (∀ f : ℝ, (∀ j, p < j → j ≤ n → (cnt S p j : ℝ) ≤ f * ((j : ℝ) - p)) → ∀ a, p ≤ a → a < n → c a ≤ f) ∧92    (∑ a ∈ S.filter (fun a => p ≤ a ∧ a < n), (a : ℝ) + ∑ i ∈ Finset.range (cnt S p n), ((p : ℝ) + i) ≤93      2 * ∑ i ∈ Finset.Ico p n, (i : ℝ) * c i) := …

GlobalTheory.CompanionTheory.RealCountG.LemmaHG.step1: Under the monotonicity and dominance hypotheses, every k-coordinate sum of wtR(ν) − ρ is bounded by the first k coordinates of m0(λ) − ρ.

345theorem step1 (lam : Fin n → ℤ) (hl : Antitone lam) (ν : Fin n → ℤ) (hν : Antitone ν)346    (hD : DomLE (wtR ν) (m0 lam)) (w : Equiv.Perm (Fin n)) {k : ℕ} (hk : k ≤ n) :347    ∑ a ∈ univ.filter (fun a : Fin n => (a : ℕ) < k), (wtR ν (w a) - rhoV n (w a)) ≤348      ∑ a ∈ univ.filter (fun a : Fin n => (a : ℕ) < k), (m0 lam a - rhoV n a) := …

GlobalTheory.CompanionTheory.RealCountG.LemmaHG.blocks: For a permutation f whose adjacent steps are ascents or unit descents, the indices where f(i) + i takes a given value form an interval [p, q) on which f(i) = p + q − 1 − i.

482theorem blocks (n : ℕ) (f : ℕ → ℕ) (hf : ∀ i, i < n → f i < n)483    (hinj : ∀ i j, i < n → j < n → f i = f j → i = j)484    (H : ∀ i, i + 1 < n → f i < f (i + 1) ∨ f (i + 1) + 1 = f i) (b : ℕ) (hb : b < n) :485    ∃ p q, p ≤ b ∧ b < q ∧ q ≤ n ∧ (∀ c, c < n → (c < p ↔ f c + c < f b + b)) ∧486      (∀ c, c < n → (c < q ↔ f c + c ≤ f b + b)) ∧ f b + b + 1 = p + q := …

GlobalTheory.CompanionTheory.RealCountG.LemmaHG.harm_of_perm: For weakly decreasing λ and ν, the identity νᵢ = 2λ_{π(i)} + n − 1 − π(i) − i for a permutation π of the zero-based indices implies ν ∈ harmZ(λ).

548theorem harm_of_perm (lam : Fin n → ℤ) (hl : Antitone lam) (ν : Fin n → ℤ) (hν : Antitone ν)549    (π : Equiv.Perm (Fin n))550    (h : ∀ b, ν b = 2 * lam (π b) + ((n : ℤ) - 1) - ((π b : ℕ) : ℤ) - ((b : ℕ) : ℤ)) :551    ν ∈ harmZ lam := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestTermLemmaReal

10 import steps from Main · 485 lines · Checked against the code

Bounds the squared spin norm of real top weights and shows that equality forces harmonicity.

For weakly decreasing λ, every harmonic weight belongs to the top-type set, and each top weight ν satisfies spinSq(ν) ≤ ‖2(λ + ρ)‖², where ρ is the Weyl vector. The proof uses antisymmetric root signs to bound dot products and shows that the bound still holds after sorting the shifted weight and subtracting the weakly decreasing base. Equality forces the residual weight to be a permutation of ρ and yields an admissible level function that realizes ν as harmonic. The direct importer DiracInequalityKTypes combines this result with the Dirac inequality to prove adm_least_zero_holds.

Key declarations

GlobalTheory.CompanionTheory.SpinBound.lemmaHT: Every harmonic weight is a top weight, and every top weight has squared spin norm at most ‖2(λ + ρ)‖², with equality implying harmonicity.

482theorem lemmaHT : LemmaHT := …

GlobalTheory.CompanionTheory.SpinBound.harm_sub: For weakly decreasing λ, the harmonic weights lie in the top-type set.

375theorem harm_sub (lam : Fin n → ℤ) (hlam : Antitone lam) : harmSet lam ⊆ topTypes lam := …

GlobalTheory.CompanionTheory.SpinBound.top_form: Every top weight has the form 2λ + ρ + η, where the dot product of η with any g is bounded above by one quarter of the sum of all ordered pairwise absolute coordinate differences of g.

401theorem top_form (lam : Fin n → ℤ) (hlam : Antitone lam) {ν : Fin n → ℝ} (h : ν ∈ topTypes lam) :402    ∃ η : Fin n → ℝ, (∀ g, dot η g ≤ supp g) ∧ ν = (fun a => 2 * (lam a : ℝ) + rhoV n a) + η ∧403      StrictAnti (ν + rhoV n) := …

GlobalTheory.CompanionTheory.SpinBound.spin_le: A top weight ν satisfies spinSq(ν) ≤ LSq(λ), and equality implies ν ∈ harmSet(λ).

425theorem spin_le (lam : Fin n → ℤ) (hlam : Antitone lam) {ν : Fin n → ℝ} (h : ν ∈ topTypes lam) :426    spinSq ν ≤ LSq lam ∧ (spinSq ν = LSq lam → ν ∈ harmSet lam) := …

GlobalTheory.CompanionTheory.SpinBound.harm_of_eq: For weakly decreasing λ and a permutation π satisfying ⟨λ, ρ ∘ π⟩ = ⟨λ, ρ⟩, the weight ν = 2λ + ρ + ρ ∘ π is harmonic if ν + ρ is strictly decreasing.

223theorem harm_of_eq (lam : Fin n → ℤ) (hlam : Antitone lam) (π : Equiv.Perm (Fin n))224    (hs : StrictAnti fun a => 2 * (lam a : ℝ) + 2 * rhoV n a + rhoV n (π a))225    (he : ∑ a, (lam a : ℝ) * rhoV n (π a) = ∑ a, (lam a : ℝ) * rhoV n a) :226    (fun a => 2 * (lam a : ℝ) + rhoV n a + rhoV n (π a)) ∈ harmSet lam := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestTermLemmaRealStatement

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

Restates the highest-term bound on squared spin norms and its harmonicity criterion.

For a weakly decreasing integral weight λ, every harmonic weight is a top weight, and every top weight has squared spin norm at most ‖2(λ + ρ)‖², with equality implying harmonicity. The proof applies the companion theorem directly, and MultGOfMultFor uses the restatement alongside the Dirac inequality to establish the least-weight admissibility condition.

Key declarations

GlobalTheory.T.highest_term_lemma_real: For weakly decreasing λ, the harmonic set lies in the top-type set, where the squared spin norm is bounded by ‖2(λ + ρ)‖² and any weight attaining the bound is harmonic.

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.highest_term_lemma_real : PositivityTheory.RgBcC.RealD.LemmaHT := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IsCliff

10 import steps from Main · 53 lines · Checked against the code

Defines Clifford matrix families, their spin operators, and weight data for unitary representations.

The weight definitions give the shifted integral weight m0Z, the coordinatewise embedding wtR into real weights, dominance by prefix sums with equal totals, and diagonal torus weight spaces in the continuous dual. IsCliff imposes anticommutator and adjoint relations on a matrix family. The spin matrices are quadratic in that family, and yF adds their action to the coordinatewise action of Kf. SpinGlRelationsAdjoint uses these definitions to prove the general linear commutator relations and the adjoint identity for the spin matrices.

Key declarations

GlobalTheory.CompanionTheory.RealCount.IsCliff: Requires c(a,b) and c(d,e) to have anticommutator 2I when a = e and b = d and zero otherwise, and requires c(a,b)ᴴ = c(b,a).

32def IsCliff {ι : Type} [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ) : Prop :=33  (∀ a b d e, c a b * c d e + c d e * c a b = if a = e ∧ b = d then (2 : Matrix ι ι ℂ) else 0) ∧34    ∀ a b, (c a b)ᴴ = c b a

GlobalTheory.CompanionTheory.RealCount.spinM: Defines the (a,b) spin matrix as half the sum over e of c(a,e)c(e,b), with nI/2 subtracted when a = b.

36def spinM {ι : Type} [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ) (a b : Fin n) : Matrix ι ι ℂ :=37  (1 / 2 : ℂ) • ∑ e, c a e * c e b - if a = b then ((n : ℂ) / 2) • (1 : Matrix ι ι ℂ) else 0

GlobalTheory.CompanionTheory.RealCount.yF: Defines the (a,b) operator on V-valued tuples as the sum of Kf(a,b) acting coordinatewise and spinM(c,a,b) acting on the tuple index.

39def yF {V : Type} [AddCommGroup V] [Module ℂ V] {ι : Type} [Fintype ι] [DecidableEq ι]40    (Kf : Fin n → Fin n → Module.End ℂ V) (c : Fin n → Fin n → Matrix ι ι ℂ) (a b : Fin n) :41    Module.End ℂ (ι → V)

GlobalTheory.CompanionTheory.RealCount.wtDual: Defines the subspace of the continuous dual on which the diagonal unitary with entries z acts contragrediently by the monomial with exponent μ.

23def wtDual (E : KMod n) (μ : Fin n → ℤ) : Submodule ℂ (E.V →L[ℂ] ℂ) where24  carrier := {ξ | ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z →25    ξ ∘L E.ρ k⁻¹ = (∏ a, z a ^ μ a) • ξ}26  add_mem' {x y} hx hy k z hk := by27    rw [ContinuousLinearMap.add_comp, hx k z hk, hy k z hk, smul_add]28  zero_mem' k z _ := by simp29  smul_mem' c x hx k z hk := by30    rw [ContinuousLinearMap.smul_comp, hx k z hk, smul_comm]

GlobalTheory.CompanionTheory.RealCount.DomLE: Defines ν to be dominated by m when every prefix sum of ν is at most the corresponding prefix sum of m and their total sums agree.

19def DomLE (ν m : Fin n → ℝ) : Prop :=20  (∀ k : ℕ, ∑ a ∈ univ.filter (fun a : Fin n => (a : ℕ) < k), ν a ≤ ∑ a ∈ univ.filter (fun a : Fin n => (a : ℕ) < k), m a) ∧21    ∑ a, ν a = ∑ a, m a

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.N2TopReal

10 import steps from Main · 134 lines · Checked against the code

Proves that second-type weights are top weights with strictly smaller shifted norm than the associated harmonic weight.

For a weakly decreasing integral weight λ and an admissible level function ℓ, each second-type weight ν belongs to the top-type set and satisfies ‖ν + ρ‖² < ‖muQ(λ, ℓ) + ρ‖². To prove membership, the proof adds the positive roots within each level to the defining root subset and identifies the resulting dominant rearrangement. The strict inequality follows from the imported norm comparison. DiracInequalityKTypes combines this result with the Dirac inequality and the highest-term bound to prove adm_least_zero_holds.

Key declarations

GlobalTheory.CompanionTheory.MultOne.WeightSumTopTypes.n2T: For weakly decreasing λ and admissible ℓ, a second-type weight ν belongs to topTypes(λ) and has strictly smaller squared norm after the Weyl shift than muQ(λ, ℓ) after the same shift.

127theorem n2T : PositivityTheory.RgBcC.RealD.SecondTypeWeightsShorter := …

GlobalTheory.CompanionTheory.MultOne.WeightSumTopTypes.mem_topTypes: Every second-type weight attached to an admissible level function for λ belongs to topTypes(λ).

84theorem mem_topTypes {lam : Fin n → ℤ} {lev : Fin n → ℕ} (hl : IsLev lam lev) {ν : Fin n → ℝ}85    (h : IsSecondTypeWeight lam lev ν) : ν ∈ topTypes lam := …

GlobalTheory.CompanionTheory.MultOne.WeightSumTopTypes.wtB_lev: The sum of the roots eₐ − eᵦ over pairs with ℓ(a) < ℓ(b) equals 2 rhoU(ℓ).

28theorem wtB_lev (lev : Fin n → ℕ) :29    wtB (univ.filter fun p : Fin n × Fin n => lev p.1 < lev p.2) = fun c => 2 * rhoU lev c := …

GlobalTheory.CompanionTheory.MultOne.WeightSumTopTypes.wtB_pos: The sum of the positive roots eₐ − eᵦ with a < b equals twice the Weyl vector ρ.

46theorem wtB_pos :47    wtB (univ.filter fun p : Fin n × Fin n => p.1 < p.2) = fun c => 2 * rhoV n c := …

GlobalTheory.CompanionTheory.MultOne.WeightSumTopTypes.domC_eq: A strictly decreasing permutation of a tuple is its dominant rearrangement.

67theorem domC_eq {y z : Fin n → ℝ} (hz : StrictAnti z) {w : Equiv.Perm (Fin n)} (h : z = y ∘ w) : domC y = z := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.N2TopRealStatement

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

Restates the top-weight membership and strict shifted-norm bound for second-type weights.

For a weakly decreasing integral weight λ and an admissible level function ℓ, every second-type weight ν lies in topTypes(λ) and satisfies ‖ν + ρ‖² < ‖muQ(λ, ℓ) + ρ‖², where ρ is the Weyl vector. The proof applies the companion theorem directly, and MultGOfMultFor uses the result alongside the Dirac inequality and the highest-term bound to establish least-weight admissibility.

Key declarations

GlobalTheory.T.n2_top_real: A second-type weight for weakly decreasing λ and admissible ℓ is a top weight whose squared norm after the Weyl shift is strictly below that of the associated harmonic weight after the same shift.

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.n2_top_real : PositivityTheory.RgBcC.RealD.SecondTypeWeightsShorter := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.NormSqLeDominantRearrangement

10 import steps from Main · 234 lines · Checked against the code

Proves the Dirac inequality for compact highest weights without a split component.

On a nonzero highest-weight vector in the spin tensor product, the Dirac-square identity and the Casimir eigenvalues give a lower bound on the squared norm of the shifted weight, because the Dirac operator is skew-adjoint. A Parthasarathy–Rao–Varadarajan construction supplies such a vector from a compact highest-weight vector. The rearrangement inequality then bounds the resulting norm above by the squared spin norm of the original weight. DiracInequalityKTypes and MultGOfMultFor use the inequality to establish least-weight admissibility.

Key declarations

GlobalTheory.CompanionTheory.DiracKType0.dirac_inequality_k_types: For a weakly decreasing integer tuple λ and a core module without a split component at infOf λ, every weight ν with a nonzero compact highest-weight space satisfies LSq(λ) ≤ spinSq(ν).

203theorem dirac_inequality_k_types : DiracInequalityWithoutSplitComponent := …

GlobalTheory.CompanionTheory.DiracKType0.dirac_ineq0: A nonzero highest-weight vector of weight τ for the combined compact and spin action in a core module without a split component gives ‖m0(λ)‖² ≤ ‖τ + ρ‖² when the spin matrices satisfy IsCliff.

48theorem dirac_ineq0 : ∀ {n : ℕ} (lam : Fin n → ℤ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]49    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)),50    IsCoreMod0 (infOf lam) E1 E2 σ → ∀ (ι : Type) [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ),51      IsCliff c → ∀ (τ : Fin n → ℝ) (x : ι → V), x ≠ 0 → Formalism.REAL.KHighest (fun _ => true) (yF (kF E1 E2) c) τ x →52        ∑ a, (m0 lam a) ^ 2 ≤ ∑ a, (τ a + rhoV n a) ^ 2 := …

GlobalTheory.CompanionTheory.DiracKType0.norm_sq_le_dominant_rearrangement: For every real tuple a and permutation π, ‖a + ρ ∘ π‖² ≤ ‖domC(a) + ρ‖², where domC sorts the coordinates in weakly decreasing order.

17theorem norm_sq_le_dominant_rearrangement (a : Fin n → ℝ) (π : Equiv.Perm (Fin n)) :18    Formalism.REAL.nsq (a + rhoV n ∘ π) ≤ nsq (domC a + rhoV n) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealCompressionStatement

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

Restates the compression theorem for admissible level functions.

Given an integral weight λ and an admissible level function on n indices, the theorem gives an admissible replacement with values in {0, …, n − 1} and the same associated weight muQ. The proof applies the companion compression theorem directly, and MultGOfMultFor uses the result to deduce MultG from MultFor.

Key declarations

GlobalTheory.T.real_compression: For every admissible level function ℓ for λ, there is an admissible level function ℓ′ taking values in {0, …, n − 1} such that muQ(λ, ℓ′) = muQ(λ, ℓ).

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.real_compression : PositivityTheory.RgBcC.RealD.Compress := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealFirstNilpotentStatement

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

Restates the rigidity of harmonic weights under the integral root-cone order.

For a weakly decreasing integral weight λ and admissible level functions ℓ and ℓ′, if muQ(λ, ℓ′) − muQ(λ, ℓ) is a nonnegative integer combination of roots eₐ − eᵦ with ℓ(a) < ℓ(b), then the two harmonic weights coincide. The proof applies the companion theorem directly, and MultGOfMultFor uses the result to deduce MultG from MultFor.

Key declarations

GlobalTheory.T.real_first_nilpotent: For weakly decreasing λ and admissible ℓ and ℓ′, membership of muQ(λ, ℓ′) − muQ(λ, ℓ) in the integral root cone for ℓ forces equality of the associated harmonic weights.

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.real_first_nilpotent : PositivityTheory.RgBcC.RealD.N1 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealKTypesInConeStatement

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

Restates the integral root-cone bound for highest weights generated from a harmonic highest-weight vector.

Assume MultFor, an operator pair satisfying IsPair and AdmFor, and a comparison model whose second-type highest-weight spaces vanish. For a weakly decreasing integral weight λ and an admissible level function ℓ, the companion theorem gives ν − muQ(λ, ℓ) as a nonnegative integer combination of roots eₐ − eᵦ with ℓ(a) < ℓ(b) whenever a nonzero highest-weight vector of weight ν is obtained by applying an element of the operator algebra to a nonzero highest-weight vector of weight muQ(λ, ℓ). MultGOfMultFor uses this restatement to deduce MultG from MultFor.

Key declarations

GlobalTheory.T.real_k_types_in_cone: Under the multiplicity, admissibility, and comparison-model hypotheses, the difference between a highest weight generated by the operator algebra and its harmonic generating weight belongs to the integral root cone for ℓ.

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.real_k_types_in_cone : PositivityTheory.RgBcC.RealD.KTypeGenerationHighest := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealModelExistsStatement

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

Re-exports the existence theorem for inner-product models in real Levi descent.

The theorem invokes the imported construction to supply a complex inner-product model for each weakly decreasing integral weight λ and each weakly increasing level assignment lev on whose fibers λ is constant. The model has two commuting Lie algebra actions and a nonzero highest-weight vector of weight μQ(λ, lev). For every weight ν with a nonzero highest-weight vector, ν − μQ(λ, lev) is a nonnegative integer combination of eₐ − eᵦ with lev(a) < lev(b). The multiplicity argument uses this existence theorem to show that among the candidate highest weights, at most one has a nonzero space and that space is at most one-dimensional.

Key declarations

GlobalTheory.T.real_model_exists: Asserts that for every weakly decreasing integral weight λ and weakly increasing level assignment lev on whose fibers λ is constant, a complex inner-product model exists with two commuting Lie algebra actions and a nonzero highest-weight vector of weight μQ(λ, lev).

5set_option maxHeartbeats 1000000 in6theorem _root_.GlobalTheory.T.real_model_exists : PositivityTheory.RgBcC.RealD.ModelEx := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WtRInjective

10 import steps from Main · 56 lines · Checked against the code

Proves that harmonic weights admit an injective integral parametrization and defines highest-weight spaces and dual Lie actions.

For each admissible level assignment, the integral weight doubles each coordinate of the original weight and adds the number of indices at higher levels minus the number at lower levels. A coordinatewise calculation identifies these integral weights with the harmonic weights after embedding in the reals, and injectivity lets countG reindex its trace sum by integral weights. The module also defines highest-weight subspaces for an operator family and characterizes dual Lie actions by differentiation along unitary one-parameter subgroups.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.muZ: Defines the integral weight obtained by adding the signed level counts to twice the given weight.

15def muZ (lam : Fin n → ℤ) (lev : Fin n → ℕ) : Fin n → ℤ := fun a =>16  2 * lam a + (((univ.filter fun b => lev a < lev b).card : ℤ) - ((univ.filter fun b => lev b < lev a).card : ℤ))

GlobalTheory.CompanionTheory.RealCountG.wtR_injective: Proves that coordinatewise inclusion into the reals is injective on integral weights.

24theorem wtR_injective : Function.Injective (wtR : (Fin n → ℤ) → Fin n → ℝ) := …

GlobalTheory.CompanionTheory.RealCountG.harmSet_eq: Identifies the harmonic weight set with the real image of the finite set of integral weights from admissible level assignments.

36theorem harmSet_eq (lam : Fin n → ℤ) : harmSet lam = (harmZ lam).image wtR := …

GlobalTheory.CompanionTheory.RealCountG.hwOf: Defines the common diagonal eigenspace of the prescribed weight intersected with the kernels of all raising operators.

42def hwOf {M : Type*} [AddCommGroup M] [Module ℂ M] (G : Fin n → Fin n → Module.End ℂ M) (μ : Fin n → ℝ) :43    Submodule ℂ M where44  carrier := {v | Formalism.REAL.KHighest (fun _ => true) G μ v}45  add_mem' {x y} hx hy := ⟨fun a => by rw [map_add, hx.1 a, hy.1 a, smul_add],46    fun a b hab he => by rw [map_add, hx.2 a b hab he, hy.2 a b hab he, add_zero]⟩47  zero_mem' := ⟨fun a => by simp, fun a b _ _ => by simp⟩48  smul_mem' c x hx := ⟨fun a => by rw [map_smul, hx.1 a, smul_comm],49    fun a b hab he => by rw [map_smul, hx.2 a b hab he, smul_zero]⟩

GlobalTheory.CompanionTheory.RealCountG.IsDualFam: Requires the general linear commutation relations and agreement with the derivative of the contragredient action along unitary one-parameter subgroups.

51def IsDualFam (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)) : Prop :=52  Formalism.REAL.GlRel G ∧ ∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X →53    (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ ξ : E.V →L[ℂ] ℂ,54      HasDerivAt (fun t : ℝ => ξ ∘L E.ρ (γ t)⁻¹) (∑ a, ∑ b, X a b • G a b ξ) 0

Show the full file ›Contents ↑

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

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

Derives admissibility for a least harmonic highest weight from the Dirac inequality and two weight comparisons.

The module hypotheses retain the commuting Lie algebra actions, infinitesimal characters, irreducibility, and compatible U(n)-action. The second-type comparison puts an occurring second-type weight among the top types and gives it a strictly smaller shifted norm than the candidate minimum. The Dirac lower bound and highest-term upper bound force equality of squared spin norms with the infinitesimal-character bound, making that weight harmonic and contradicting minimality. MultGOfMultFor uses this criterion and its transfer to modules equipped with the twisted-trace involution.

Key declarations

PositivityTheory.RgBcC.RealD.IsCoreMod0: Specifies a nonzero irreducible inner-product module for two commuting Lie algebra actions with prescribed infinitesimal characters and a compatible unitary U(n)-action.

13structure IsCoreMod0 {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] (χ : Inf n)14    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) : Prop where15  pair : IsPair E1 E216  ch1 : ∀ m (x : V), gelA E1 m x = GlobalTheory.Dec.gelfVal (χ true) m • x17  ch2 : ∀ m (x : V), gelA (barF E2) m x = GlobalTheory.Dec.gelfVal (χ false) m • x18  nontriv : Nontrivial V19  irr : ∀ v w : V, v ≠ 0 → ∃ x ∈ alg E1 E2, x v = w20  der : IsDerivK σ (kF E1 E2)

PositivityTheory.RgBcC.RealD.DiracInequalityWithoutSplitComponent: States that for antitone integral λ and a module satisfying IsCoreMod0 at infOf λ, each occurring highest weight ν satisfies ‖2(λ + ρ)‖² ≤ spinSq ν.

27def DiracInequalityWithoutSplitComponent : Prop :=28  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]29    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)),30    IsCoreMod0 (infOf lam) E1 E2 σ → ∀ ν : Fin n → ℝ, hwSp E1 E2 ν ≠ ⊥ → LSq lam ≤ spinSq ν

PositivityTheory.RgBcC.RealD.adm_least_zero_of_dirac: Assuming the Dirac inequality, the highest-term bound with its equality criterion, and the strict shifted-norm comparison, proves admissibility for an occurring harmonic weight μ minimizing ‖μ + ρ‖² among occurring harmonic weights.

41theorem adm_least_zero_of_dirac (hN : SecondTypeWeightsShorter) (hD : DiracInequalityWithoutSplitComponent) (hH : LemmaHT) : AdmLeast0 := …

PositivityTheory.RgBcC.RealD.adm_least_of_zero_module: Transfers the least-weight admissibility criterion to modules equipped with the twisted-trace involution.

39theorem adm_least_of_zero_module (h : AdmLeast0) : AdmLeast := …

Show the full file ›Contents ↑

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

10 import steps from Main · 48 lines · Checked against the code

Defines the weights, norm comparisons, and trace expansion used in archimedean highest-weight counting.

The expansion weights come from subtracting sums of distinct positive roots and taking dominant representatives with a Weyl shift. The highest-term statement gives an upper spin-norm bound with a harmonicity criterion at equality, while the Dirac statement gives the matching lower bound for occurring weights. For antitone integral λ, CountE asserts nonnegative integer coefficients, equal to one at harmonic weights, given Lefschetz and core modules and a finite-dimensional intertwiner space. DiracOfDiracZeroModule combines the highest-term and second-type comparisons with the Dirac inequality without a split component to obtain least-weight admissibility under IsCoreMod0.

Key declarations

PositivityTheory.RgBcC.RealD.topTypes: Forms the weights ν obtained by sorting 2λ + 3ρ minus a sum of distinct positive roots in decreasing order, then subtracting ρ and retaining the cases where ν + ρ is strictly decreasing.

22def topTypes (lam : Fin n → ℤ) : Finset (Fin n → ℝ) :=23  (((univ : Finset (Finset (Fin n × Fin n))).filter fun B => ∀ p ∈ B, p.1 < p.2).image fun B =>24    domC ((fun a => 2 * (lam a : ℝ) + 2 * rhoV n a) + rhoV n - wtB B) - rhoV n).filter fun ν => StrictAnti (ν + rhoV n)

PositivityTheory.RgBcC.RealD.LemmaHT: States that for antitone integral λ the expansion set contains the harmonic weights and its weights have squared spin norm at most ‖2(λ + ρ)‖², with equality implying harmonicity.

26def LemmaHT : Prop :=27  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → harmSet lam ⊆ topTypes lam ∧28    ∀ ν ∈ topTypes lam, spinSq ν ≤ LSq lam ∧ (spinSq ν = LSq lam → ν ∈ harmSet lam)

PositivityTheory.RgBcC.RealD.DiracV: States that for antitone integral λ every occurring highest weight in an IsCoreMod module at infOf λ has squared spin norm at least ‖2(λ + ρ)‖².

30def DiracV : Prop :=31  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]32    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V),33    IsCoreMod (infOf lam) E1 E2 σ A → ∀ ν : Fin n → ℝ, hwSp E1 E2 ν ≠ ⊥ → LSq lam ≤ spinSq ν

PositivityTheory.RgBcC.RealD.SecondTypeWeightsShorter: States that for antitone integral λ and a valid level assignment, each associated second-type weight belongs to the expansion set and has strictly smaller ρ-shifted norm than the harmonic weight of that assignment.

35def SecondTypeWeightsShorter : Prop :=36  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → ∀ ν, IsSecondTypeWeight lam lev ν →37    ν ∈ topTypes lam ∧ nsq (ν + rhoV n) < nsq (muQ lam lev + rhoV n)

PositivityTheory.RgBcC.RealD.CountE: Asserts that for antitone integral λ, a Lefschetz K-module and an IsCoreMod module at infOf λ with finite-dimensional intertwiner space admit a twisted-trace expansion equal to 2ⁿ times a weighted sum of involution traces over the expansion weights, with coefficient one at harmonic weights, finite-dimensional spaces for positive coefficients, and a nonzero space with positive coefficient whenever the intertwiner space is nonzero.

39def CountE : Prop :=40  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T →41    ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V)42      (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V), IsCoreMod (infOf lam) E1 E2 σ A →43      FiniteDimensional ℂ (invA σ E) → ∃ m : (Fin n → ℝ) → ℕ, (∀ μ ∈ harmSet lam, m μ = 1) ∧44        (∀ ν ∈ topTypes lam, m ν ≠ 0 → FiniteDimensional ℂ (hwSp E1 E2 ν)) ∧45        (invA σ E ≠ ⊥ → ∃ ν ∈ topTypes lam, m ν ≠ 0 ∧ hwSp E1 E2 ν ≠ ⊥) ∧46        trOn (invA σ E) (flipA E A T) = 2 ^ n * ∑ ν ∈ topTypes lam, (m ν : ℂ) * trOn (hwSp E1 E2 ν) A

Show the full file ›Contents ↑

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

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

Reduces the ±2ⁿ twisted-trace formula to harmonic highest-weight counting, multiplicity at most one, and the sign on a line.

The hypotheses separate the trace calculation into a sum over harmonic highest-weight spaces, a multiplicity bound, and the trace of an involution on a stable line. For a nonzero intertwiner space, counting gives an occurring harmonic weight and the multiplicity bound makes its space the unique contributing line, leaving 2ⁿ times its involution sign. The regular-parameter statements single out the weight 2λ + 2ρ. DiagonalMemUnitary proves the harmonic counting statement, and SignOne proves the sign statement.

Key declarations

PositivityTheory.RgBcC.RealD.HighestVectorsRegularLine: States that for strictly decreasing integral λ in an IsCoreMod module at infOf λ, any nonzero highest-weight vector of weight 2λ + 2ρ spans its highest-weight space.

46def HighestVectorsRegularLine : Prop :=47  ∀ (n : ℕ) (lam : Fin n → ℤ), StrictAnti lam → ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]48    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V),49    IsCoreMod (infOf lam) E1 E2 σ A → ∀ v w : V, v ∈ hwSp E1 E2 (m0 lam) → w ∈ hwSp E1 E2 (m0 lam) → v ≠ 0 →50      ∃ c : ℂ, w = c • v

PositivityTheory.RgBcC.RealD.CoreG: States that for weakly decreasing λ and the prescribed auxiliary data, the twisted trace on a nonzero finite-dimensional U(n)-intertwiner space is ±2ⁿ.

56def CoreG : Prop :=57  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T →58    ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V)59      (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V), IsCoreMod (infOf lam) E1 E2 σ A →60      FiniteDimensional ℂ (invA σ E) → invA σ E ≠ ⊥ →61        ∃ s : ℂ, (s = 1 ∨ s = -1) ∧ trOn (invA σ E) (flipA E A T) = s * 2 ^ n

PositivityTheory.RgBcC.RealD.CountG: States that for weakly decreasing integral λ, a Lefschetz K-module and an IsCoreMod module at infOf λ with finite-dimensional intertwiner space, the twisted trace equals 2ⁿ times the sum of involution traces on finite-dimensional, involution-stable harmonic highest-weight spaces, with at least one nonzero summand space when the intertwiner space is nonzero.

63def CountG : Prop :=64  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T →65    ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V)66      (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V), IsCoreMod (infOf lam) E1 E2 σ A →67      FiniteDimensional ℂ (invA σ E) →68        (∀ μ ∈ harmSet lam, (∀ x ∈ hwSp E1 E2 μ, A x ∈ hwSp E1 E2 μ) ∧ FiniteDimensional ℂ (hwSp E1 E2 μ)) ∧69          (invA σ E ≠ ⊥ → ∃ μ ∈ harmSet lam, hwSp E1 E2 μ ≠ ⊥) ∧70          trOn (invA σ E) (flipA E A T) = 2 ^ n * ∑ μ ∈ harmSet lam, trOn (hwSp E1 E2 μ) A

PositivityTheory.RgBcC.RealD.MultG: States that for weakly decreasing integral λ in an IsCoreMod module at infOf λ, there is a harmonic weight whose highest-weight space has dimension at most one, and all other harmonic highest-weight spaces vanish.

72def MultG : Prop :=73  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]74    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V),75    IsCoreMod (infOf lam) E1 E2 σ A → ∃ μ₀ ∈ harmSet lam, (∀ μ ∈ harmSet lam, μ ≠ μ₀ → hwSp E1 E2 μ = ⊥) ∧76      ∀ v w : V, v ∈ hwSp E1 E2 μ₀ → w ∈ hwSp E1 E2 μ₀ → v ≠ 0 → ∃ c : ℂ, w = c • v

PositivityTheory.RgBcC.RealD.coreG_of: Proves the ±2ⁿ formula from the harmonic counting identity, the harmonic multiplicity bound, and the ±1 trace of an involution on a stable line.

78theorem coreG_of (hK : CountG) (hM : MultG) (hS : SignOne) : CoreG := …

Blueprint: A twisted trace on the lowest type (Merten's blueprint)

Show the full file ›Contents ↑

Development.WeilBound.RepresentationTheoryGL.HolomorphicDiscreteSeries.EmbeddedFrames.PfD

10 import steps from Main · 22 lines · Checked against the code

Defines two product ratios, a difference of sums, and a threshold count for two finite real families.

For real families d and d′ of lengths m+1 and m, pfR and pfD are ratios of products of differences, pfX subtracts the sum of d′ from the sum of d, and above counts entries of both families strictly above a threshold. Importing modules use these definitions in partial-fraction identities, sign calculations, and the construction of an interlacing realization unitary for the Hermitian form with diagonal signs specified by ε.

Key declarations

PositivityTheory.RgHe.Frame.pfR: At d′ⱼ, divides the product of differences from all entries of d by the product of differences from the other entries of d′.

11def pfR (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ) (j : Fin m) : ℝ :=12  (∏ i, (d' j - d i)) / ∏ k ∈ univ.erase j, (d' j - d' k)

PositivityTheory.RgHe.Frame.pfX: Returns the sum of the entries of d minus the sum of the entries of d′.

14def pfX (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ) : ℝ := ∑ i, d i - ∑ j, d' j

PositivityTheory.RgHe.Frame.above: Counts the indices in both families whose values strictly exceed a given real threshold, counting repeated values by index.

16def above (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ) (r : ℝ) : ℕ :=17  (univ.filter fun x : Fin (m + 1) ⊕ Fin m => r < Sum.elim d d' x).card

PositivityTheory.RgHe.Frame.pfD: At dᵢ, divides the product of differences from the other entries of d by the product of differences from all entries of d′.

19def pfD (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ) (i : Fin (m + 1)) : ℝ :=20  (∏ k ∈ univ.erase i, (d i - d k)) / ∏ j, (d i - d' j)

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CliffordHighestWeightVector

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

Proves a Dirac inequality for highest weights of the diagonal action on a module tensored with a Clifford module.

For an inner-product core module with infinitesimal characters ±(λ + ρ) and a family c satisfying the Clifford relations and adjoint condition, let τ be the full diagonal highest weight of a nonzero vector in the spin tensor product. Then ‖τ + ρ‖² ≥ 4‖λ + ρ‖², where ρ is the half-sum of the positive roots. The proof expands the Dirac square using the Clifford relations, evaluates the spin and module Casimirs, and uses skew-symmetry to turn the square into a norm inequality. The same square and Casimir identities are used in the version for modules without the auxiliary involution.

Key declarations

GlobalTheory.CompanionTheory.DiracK.spinM_glRel: Proves that the quadratic Clifford operators with the diagonal scalar correction satisfy the general linear Lie bracket relations.

508theorem spinM_glRel (c : Fin n → Fin n → Matrix ι ι ℂ) (h : IsCliff c) : Formalism.REAL.GlRel (spinM c) := …

GlobalTheory.CompanionTheory.DiracK.spinM_cas: Computes the quadratic spin Casimir as (n³ − n)/4 times the identity.

511theorem spinM_cas (c : Fin n → Fin n → Matrix ι ι ℂ) (h : IsCliff c) :512    Formalism.REAL.Cas (spinM c) = (((n : ℂ) ^ 3 - n) / 4) • (1 : Matrix ι ι ℂ) := …

GlobalTheory.CompanionTheory.DiracK.dirac_sq_ring: Expresses the Dirac square as the quadratic contraction of the difference operators minus twice the mixed compact–spin contraction.

287theorem dirac_sq_ring (p k g : Fin n → Fin n → A)288    (hg : ∀ a b d e, g a b * g d e + g d e * g a b = if a = e ∧ b = d then (2 : ℂ) • (1 : A) else 0)289    (hp : ∀ a b c d, p a b * p c d - p c d * p a b = (if b = c then k a d else 0) - (if d = a then k c b else 0))290    (hpg : ∀ a b c d, p a b * g c d = g c d * p a b) :291    (∑ a, ∑ b, p a b * g b a) * (∑ a, ∑ b, p a b * g b a) =292      ∑ a, ∑ b, p a b * p b a -293        2 * ∑ a, ∑ d, k a d * ((1 / 2 : ℂ) • ∑ e, g d e * g e a - if d = a then ((n : ℂ) / 2) • (1 : A) else 0) := …

GlobalTheory.CompanionTheory.DiracK.dirac_skew: Proves skew-symmetry of the Dirac operator for the sum inner product under the stated adjoint relations.

475theorem dirac_skew {n : ℕ} {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] {ι : Type} [Fintype ι] [DecidableEq ι]476    (P : Fin n → Fin n → Module.End ℂ V) (c : Fin n → Fin n → Matrix ι ι ℂ)477    (hP : ∀ a b (x y : V), ⟪P a b x, y⟫_ℂ = -⟪x, P b a y⟫_ℂ) (hc : ∀ a b, (c a b)ᴴ = c b a) (x y : ι → V) :478    ∑ i, ⟪dirac P c x i, y i⟫_ℂ = -∑ i, ⟪x i, dirac P c y i⟫_ℂ := …

GlobalTheory.CompanionTheory.DiracK.dirac_ineq: Bounds the squared norm of the shifted total highest weight below by four times the squared norm of the shifted input weight.

624theorem dirac_ineq : ∀ {n : ℕ} (lam : Fin n → ℤ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]625    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V),626    IsCoreMod (infOf lam) E1 E2 σ A → ∀ (ι : Type) [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ),627      IsCliff c → ∀ (τ : Fin n → ℝ) (x : ι → V), x ≠ 0 → Formalism.REAL.KHighest (fun _ => true) (yF (kF E1 E2) c) τ x →628        ∑ a, (m0 lam a) ^ 2 ≤ ∑ a, (τ a + rhoV n a) ^ 2 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CliffordHighestWeightVectorStatement

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

Re-exports the Dirac inequality for highest weights in a Clifford tensor product.

The theorem invokes the imported Dirac inequality to show that a nonzero vector of weight τ in the tensor product of a core module with a Clifford spin module, highest for the sum of the compact and spin actions, satisfies ‖τ + ρ‖² ≥ 4‖λ + ρ‖², where ρ is the positive-root half-sum and the two infinitesimal characters are ±(λ + ρ). The harmonic-weight argument uses this bound to show that an integral compact highest weight satisfying the dominance bound belongs to the harmonic set.

Key declarations

GlobalTheory.T.clifford_highest_weight_vector: Bounds the squared norm of the shifted Clifford tensor product highest weight below by four times the squared norm of the shifted parameter λ.

7set_option maxHeartbeats 1000000 in8theorem _root_.GlobalTheory.T.clifford_highest_weight_vector : ∀ {n : ℕ} (lam : Fin n → ℤ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]9    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V),10    IsCoreMod (infOf lam) E1 E2 σ A → ∀ (ι : Type) [Fintype ι] [DecidableEq ι] (c : Fin n → Fin n → Matrix ι ι ℂ),11      IsCliff c → ∀ (τ : Fin n → ℝ) (x : ι → V), x ≠ 0 → Formalism.REAL.KHighest (fun _ => true) (yF (kF E1 E2) c) τ x →12        ∑ a, (m0 lam a) ^ 2 ≤ ∑ a, (τ a + rhoV n a) ^ 2 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConeNoSecondWeights

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

Proves that the integral root cone based at a harmonic weight excludes all second-type weights for the same level assignment.

Adding a nonnegative integral sum of roots eᵢ − eⱼ with level(i) < level(j) cannot decrease the ρ-shifted squared norm of the base harmonic weight. For a second-type weight ν, ν + ρ is a coordinate permutation of the vector obtained by subtracting the sum of a nonempty set of those roots from μ_Q + ρ, and its squared norm is strictly smaller than that of μ_Q + ρ. The strict bound combines positive coordinate gaps with a triple-by-triple estimate on skew sign matrices obtained by reversing the selected pairs. The importing statement module exposes this exclusion for real Levi descent.

Key declarations

GlobalTheory.CompanionTheory.ConeSecondWeights.cone_weight_not_in_second: Excludes second-type weights from the translated integral root cone for every weakly decreasing integral weight and compatible level assignment.

229theorem cone_weight_not_in_second : ConeWeightsNotSecondType := …

GlobalTheory.CompanionTheory.ConeSecondWeights.muQ_gap: Shows that the base harmonic weight has strictly larger coordinates at strictly lower levels.

208theorem muQ_gap {lam : Fin n → ℤ} (hlam : Antitone lam) {lev : Fin n → ℕ} (hlev : IsLev lam lev)209    {a b : Fin n} (h : lev a < lev b) : 0 < muQ lam lev a - muQ lam lev b := …

GlobalTheory.CompanionTheory.ConeSecondWeights.nsq_rho_sub_le: Shows that the sum of any subset of positive roots can be subtracted from ρ without increasing its squared norm.

150theorem nsq_rho_sub_le {B : Finset (Fin n × Fin n)} (hB : ∀ p ∈ B, p.1 < p.2) :151    nsq (rhoV n - wtB B) ≤ nsq (rhoV n) := …

GlobalTheory.CompanionTheory.ConeSecondWeights.tri_le: Bounds the triple expression for a skew sign matrix by one, with value zero when all three indices coincide.

30theorem tri_le (e : Fin n → Fin n → ℝ) (h0 : ∀ a, e a a = 0) (ha : ∀ a b, e b a = - e a b)31    (hs : ∀ a b, a ≠ b → e a b = 1 ∨ e a b = -1) (a b c : Fin n) : tri e a b c ≤ triT a b c := …

GlobalTheory.CompanionTheory.ConeSecondWeights.dot_cone: Expresses the pairing with a cone vector as a weighted sum of coordinate differences.

173theorem dot_cone (f : Fin n → ℝ) (c : Fin n → Fin n → ℕ) (Q : Fin n → ℝ)174    (hQ : ∀ x, Q x = ∑ a, ∑ b, (c a b : ℝ) * ((if x = a then 1 else 0) - (if x = b then 1 else 0))) :175    ∑ x, f x * Q x = ∑ a, ∑ b, (c a b : ℝ) * (f a - f b) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CyclicStandardTournament

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

Proves that transitive tournaments maximize the sum of squared signed scores and uses this to bound second-type weights.

The tournament bound equates three times the sum of squared row scores with the sum of the cyclic expression over ordered triples and compares each triple with the transitive orientation. Reversing the edges in a subset of positive roots gives signed scores equal to twice ρ minus twice the sum of those roots. For a nonempty subset joining strictly increasing levels, the positive coordinate gaps of the base harmonic weight then force the second-type weight to have strictly smaller ρ-shifted norm. The importing module combines this bound with membership in the set of top weights.

Key declarations

GlobalTheory.CompanionTheory.MultOne.ShortSecondWeights.cyclic_standard_tournament: Shows that the triple expression equals one on distinct vertices in the transitive tournament.

72theorem cyclic_standard_tournament {a b c : Fin n} (hab : a ≠ b) (hbc : b ≠ c) (hca : c ≠ a) : cyc t0 a b c = 1 := …

GlobalTheory.CompanionTheory.MultOne.ShortSecondWeights.cyc_compare: Bounds the triple expression of any tournament by that of the transitive tournament, including triples with repeated vertices.

79theorem cyc_compare {t : Fin n → Fin n → ℝ} (h : IsT t) (a b c : Fin n) : cyc t a b c ≤ cyc t0 a b c := …

GlobalTheory.CompanionTheory.MultOne.ShortSecondWeights.score_sq_le: Shows that the transitive tournament maximizes the sum of squares of outdegree minus indegree.

109theorem score_sq_le {t : Fin n → Fin n → ℝ} (h : IsT t) :110    ∑ c, (∑ b, t c b) ^ 2 ≤ ∑ c : Fin n, (∑ b : Fin n, t0 c b) ^ 2 := …

GlobalTheory.CompanionTheory.MultOne.ShortSecondWeights.wt_sq_le: Bounds the squared norm of a sum of distinct positive roots by twice its inner product with ρ.

175theorem wt_sq_le {B : Finset (Fin n × Fin n)} (hB : ∀ p ∈ B, p.1 < p.2) :176    ∑ c, wtB B c ^ 2 ≤ 2 * ∑ c, rhoV n c * wtB B c := …

GlobalTheory.CompanionTheory.MultOne.ShortSecondWeights.nsq_lt: For an antitone integral weight λ and compatible levels lev, proves that each second-type weight has strictly smaller ρ-shifted squared norm than the base harmonic weight μ_Q(λ, lev).

219theorem nsq_lt (n : ℕ) (lam : Fin n → ℤ) (hl : Antitone lam) (lev : Fin n → ℕ) (hlev : IsLev lam lev)220    (ν : Fin n → ℝ) (hν : IsSecondTypeWeight lam lev ν) : Formalism.REAL.nsq (ν + rhoV n) < Formalism.REAL.nsq (muQ lam lev + rhoV n) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DiracKHolds

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

Proves integrality of unitary diagonal weights and verifies the Lie bracket relations for the sum of two commuting actions.

The unitary exponential satisfies the one-parameter subgroup law, and each diagonal coordinate circle returns to the identity at time 2π. For a nonzero diagonal eigenvector of real weight r, the orbit satisfies the differential equation with scalar ir, so periodicity gives exp(2πir) = 1 and hence r ∈ ℤ. The sum of the two general linear actions satisfies the same bracket relations because the mixed commutators vanish. The importing proof uses both facts in the Dirac inequality for compact highest weights.

Key declarations

GlobalTheory.CompanionTheory.RealMult.DiracProof.expU_add': Shows that exponentiating real multiples of a fixed skew-Hermitian matrix gives a one-parameter subgroup of the unitary group.

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

GlobalTheory.CompanionTheory.RealMult.DiracProof.expU_two_pi: Shows that the diagonal coordinate subgroup generated by i times a diagonal matrix unit returns to the identity at time 2π.

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

GlobalTheory.CompanionTheory.RealMult.DiracProof.weight_int: Proves that a real eigenvalue of a diagonal infinitesimal operator in a differentiated unitary action is integral.

54theorem weight_int (h : IsDerivK σ Kf) (a : Fin n) (r : ℝ) {v : V} (hv : v ≠ 0)55    (hr : Kf a a v = (r : ℂ) • v) : ∃ m : ℤ, r = m := …

GlobalTheory.CompanionTheory.RealMult.DiracProof.kF_gl: Verifies the general linear bracket relations for the entrywise sum of two commuting general linear actions.

136theorem kF_gl {E1 E2 : Fin n → Fin n → Module.End ℂ V} (h : IsPair E1 E2) : Formalism.REAL.GlRel (kF E1 E2) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantEqOfNormGe

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

Proves a shifted dominance bound and an equality criterion from prefix sums and a reverse squared-norm inequality.

The prefix-sum estimate bounds the sum of the k largest entries of an index-shifted sequence by splitting at the first unselected index and comparing adjacent intervals. Applied to weights, it bounds the decreasing rearrangement after subtracting ρ by the corresponding shifted reference weight. With equal totals and successive gaps of at least one in the pointwise sum, Abel summation forces all prefix deficits to vanish when the dominated vector has at least the reference squared norm. In the harmonic-weight proof, adding ρ back in its original order to the rearranged shifted weight gives the reference weight by this criterion.

Key declarations

GlobalTheory.CompanionTheory.RealCount.LemmaH.core: If decreasing sequences ν and c satisfy the prefix bounds ν ≤ c − 4i in cumulative sums, the k largest entries of ν + i sum to at most the first k entries of c − 3i.

46theorem core (n k : ℕ) (ν c : ℕ → ℝ)47    (hν : ∀ i j, i ≤ j → j < n → ν j ≤ ν i)48    (hc : ∀ i j, i ≤ j → j < n → c j ≤ c i)49    (hP : ∀ j, j ≤ n → ∑ i ∈ Finset.range j, ν i ≤ ∑ i ∈ Finset.range j, (c i - 4 * (i : ℝ)))50    (I : Finset ℕ) (hI : ∀ i ∈ I, i < n) (hk : I.card = k)51    (htop : ∀ a ∈ I, ∀ b, b < n → b ∉ I → ν b + b ≤ ν a + a) :52    ∑ i ∈ I, (ν i + (i : ℝ)) ≤ ∑ i ∈ Finset.range k, (c i - 4 * (i : ℝ) + (i : ℝ)) := …

GlobalTheory.CompanionTheory.RealCount.LemmaH.abel: Bounds a weighted sum below by the sum of its prefix sums and an endpoint term when the prefix sums are nonnegative and successive weights drop by at least one.

199theorem abel (z d : ℕ → ℝ) (N : ℕ) (hz : ∀ i, i < N → 1 ≤ z i - z (i + 1))200    (hD : ∀ j, j ≤ N + 1 → 0 ≤ ∑ i ∈ Finset.range j, d i) :201    ∀ m, m ≤ N → z m * ∑ i ∈ Finset.range (m + 1), d i +202      ∑ j ∈ Finset.range m, ∑ i ∈ Finset.range (j + 1), d i ≤ ∑ i ∈ Finset.range (m + 1), z i * d i := …

GlobalTheory.CompanionTheory.RealCount.LemmaH.eq_of_dom: For vectors with equal totals and successive gaps of at least one in their pointwise sum, prefix dominance and the reverse squared-norm inequality force coordinatewise equality.

222theorem eq_of_dom (N : ℕ) (m y : ℕ → ℝ)223    (hs : ∀ i, i < N → 1 ≤ (m i + y i) - (m (i + 1) + y (i + 1)))224    (hdom : ∀ j, j ≤ N + 1 → ∑ i ∈ Finset.range j, y i ≤ ∑ i ∈ Finset.range j, m i)225    (htot : ∑ i ∈ Finset.range (N + 1), y i = ∑ i ∈ Finset.range (N + 1), m i)226    (hsq : ∑ i ∈ Finset.range (N + 1), (m i) ^ 2 ≤ ∑ i ∈ Finset.range (N + 1), (y i) ^ 2) :227    ∀ i, i < N + 1 → y i = m i := …

GlobalTheory.CompanionTheory.RealCount.LemmaH.lam_mono: Shows that adding the coordinate index to a strictly decreasing integral weight gives a weakly decreasing sequence.

314theorem lam_mono (lam : Fin n → ℤ) (hl : StrictAnti lam) {a b : Fin n} (hab : a ≤ b) :315    lam b + ((b : ℕ) : ℤ) ≤ lam a + ((a : ℕ) : ℤ) := …

GlobalTheory.CompanionTheory.RealCount.LemmaH.step1: Given strictly decreasing integral λ and antitone integral ν with wtR(ν) dominated by m0(λ), bounds the prefixes of the decreasing rearrangement of wtR(ν) − ρ by those of m0(λ) − ρ.

326theorem step1 (lam : Fin n → ℤ) (hl : StrictAnti lam) (ν : Fin n → ℤ) (hν : Antitone ν)327    (hD : DomLE (wtR ν) (m0 lam)) (w : Equiv.Perm (Fin n))328    (hw : Antitone (fun a => wtR ν (w a) - rhoV n (w a))) {k : ℕ} (hk : k ≤ n) :329    ∑ a ∈ univ.filter (fun a : Fin n => (a : ℕ) < k), (wtR ν (w a) - rhoV n (w a)) ≤330      ∑ a ∈ univ.filter (fun a : Fin n => (a : ℕ) < k), (m0 lam a - rhoV n a) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualOperatorCommutesLieStatement

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

States the dual commutation theorem as GlobalTheory.T.dual_operator_commutes_lie using the imported proof.

The imported theorem shows that precomposition by an endomorphism commuting with the unitary group action commutes with every matrix-unit operator of the differentiated contragredient action. The importing proofs use this commutation to preserve dual highest-weight spaces and compute the trace in terms of those spaces.

Key declarations

GlobalTheory.T.dual_operator_commutes_lie: Asserts that the dual of a unitary-equivariant endomorphism commutes with each generator of any compatible dual Lie algebra action.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.dual_operator_commutes_lie : ∀ {n : ℕ} (E : KMod n) (T : E.V →L[ℂ] E.V), (∀ k, T * E.ρ k = E.ρ k * T) → ∀ G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ), IsDualFam E G → ∀ a b ξ, dualT E T (G a b ξ) = G a b (dualT E T ξ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightTraceFormulaStatement

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

Re-exports the Weyl-character expansion of the twisted trace on the contragredient representation.

For a U(n)-equivariant endomorphism T, a compatible dual Lie algebra action G, and a diagonal unitary element with distinct entries, the imported formula expands the trace of the contragredient action composed with the dual of T as a finite sum of Weyl characters indexed by dominant integral weights, with coefficients given by the traces of the dual of T on the highest-weight spaces for G. The importing proof compares these coefficients with a Weyl-character product identity to obtain the trace 2ⁿ on each harmonic highest-weight space under its additional hypotheses.

Key declarations

GlobalTheory.T.dual_weight_trace_formula: For a U(n)-equivariant T and a compatible dual Lie algebra action, expresses the twisted dual trace on regular diagonal unitary elements as a Weyl-character sum with traces of the dual of T on the highest-weight spaces as coefficients, indexed by a finite set of dominant integral weights containing every such weight with nonzero highest-weight space.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.dual_weight_trace_formula : ∀ {n : ℕ} (E : KMod n) (T : E.V →L[ℂ] E.V), (∀ k, T * E.ρ k = E.ρ k * T) → ∀ G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ), IsDualFam E G → ∃ F : Finset (Fin n → ℤ), (∀ ν ∈ F, Antitone ν) ∧ (∀ ν : Fin n → ℤ, Antitone ν → ν ∉ F → hwOf G (wtR ν) = ⊥) ∧ ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z → LinearMap.trace ℂ (E.V →L[ℂ] ℂ) (dualT E (E.ρ k⁻¹ * T) : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) = ∑ ν ∈ F, trOn (hwOf G (wtR ν)) (dualT E T : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) * weylChar ν z := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightsDominatedStatement

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

Re-exports the spanning and dominance theorem for torus weights of the contragredient representation.

For a weakly decreasing integral weight λ and Lefschetz character data for λ, the imported theorem shows that the diagonal torus weight spaces span the dual and that every occurring weight has prefix sums bounded by those of 2(λ + ρ), with equal total sum, where ρ is the positive-root half-sum. The importing proof uses both conclusions to show that an invariant map is determined by its restrictions to harmonic highest-weight spaces.

Key declarations

GlobalTheory.T.dual_weights_dominated: For a weakly decreasing integral weight λ and a representation with a Lefschetz operator satisfying IsLefK for λ, the dual torus weight spaces span and every occurring weight is dominated by 2(λ + ρ).

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.dual_weights_dominated : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T → (⨆ μ, wtDual E μ) = ⊤ ∧ ∀ μ, wtDual E μ ≠ ⊥ → DomLE (wtR μ) (m0 lam) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsDualLieFamilyStatement

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

Re-exports the existence of an infinitesimal action on the contragredient of a unitary-group representation.

The imported theorem supplies matrix-unit operators on the dual that satisfy the general linear Lie bracket relations and give the derivative at zero of the contragredient action on a dual vector ξ along exp(tX) for skew-Hermitian X as the sum ∑ₐ,ᵦ Xₐᵦ Gₐᵦ ξ. The importing trace proof uses these operators to define dual highest-weight spaces and restrict invariant maps to them.

Key declarations

GlobalTheory.T.exists_dual_lie_family: Asserts that a continuous, norm-preserving action of U(n) on a finite-dimensional complex inner-product space has a dual Lie algebra action compatible with differentiation of its contragredient action.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.exists_dual_lie_family : ∀ {n : ℕ} (E : KMod n), ∃ G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ), IsDualFam E G := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsInvariantExtendingStatement

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

States a simultaneous extension theorem for highest-weight maps by a single unitary-group intertwiner.

The theorem follows directly from the imported extension result: under the stated compatibility conditions on the group and Lie algebra actions, any prescribed complex-linear maps from the highest-weight spaces of the continuous dual to the corresponding spaces of the target, at finitely many integral weights, extend to a single U(n)-equivariant map. The proof of countG uses this theorem to show that restriction to the harmonic weights is surjective.

Key declarations

GlobalTheory.T.exists_invariant_extending: For a source U(n)-module with a compatible dual Lie family and a complex inner-product target with a pair of Lie actions satisfying IsPair and a U(n)-action satisfying IsDerivK for their sum, every family of complex-linear maps between matching highest-weight spaces at finitely many integral weights extends to one U(n)-intertwiner from the continuous dual.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.exists_invariant_extending : ∀ {n : ℕ} (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)), IsPair E1 E2 → IsDerivK σ (kF E1 E2) → ∀ (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)), IsDualFam E G → ∀ (M : Finset (Fin n → ℤ)) (f : ∀ μ : Fin n → ℤ, hwOf G (wtR μ) →ₗ[ℂ] hwSp E1 E2 (wtR μ)), ∃ t ∈ invA σ E, ∀ μ ∈ M, ∀ ξ : hwOf G (wtR μ), t ξ = f μ ξ := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteWeightsInvariantHomStatement

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

States a finite highest-weight criterion for a U(n)-equivariant map to vanish.

With a compatible target operator pair giving the infinitesimal U(n) action, a compatible dual infinitesimal family, and spanning integral torus weight spaces in the continuous dual, an intertwiner vanishes if it kills the dual highest-weight spaces at a finite set containing all dual torus weights that also occur as target highest weights. The proof of countG applies this criterion to show that restriction to the harmonic highest-weight spaces is injective.

Key declarations

GlobalTheory.T.finite_weights_invariant_hom: Under the stated compatibility and weight-spanning hypotheses, a U(n)-intertwiner from the continuous dual is determined by its restrictions to the highest-weight spaces indexed by a finite set containing every integral weight common to the dual torus spectrum and the target highest-weight spectrum.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.finite_weights_invariant_hom : ∀ {n : ℕ} (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)), IsPair E1 E2 → IsDerivK σ (kF E1 E2) → ∀ (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)), IsDualFam E G → (⨆ μ, wtDual E μ) = ⊤ → ∀ M : Finset (Fin n → ℤ), (∀ (ν : Fin n → ℤ) (v : V), v ≠ 0 → v ∈ hwSp E1 E2 (wtR ν) → wtDual E ν ≠ ⊥ → ν ∈ M) → ∀ t ∈ invA σ E, (∀ μ ∈ M, ∀ ξ ∈ hwOf G (wtR μ), t ξ = 0) → t = 0 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicWeightsCoefficientStatement

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

States that every harmonic weight occurs with coefficient 2^n in the specified Weyl character expansion.

For dominant integral λ, if a finite complex linear combination of Weyl characters of dominant integral weights equals the character of λ at the squared coordinates times the product of 1 + z_a/z_b over all ordered pairs on unit-circle tuples with pairwise distinct squares, then every harmonic weight of λ occurs with coefficient 2^n. The importing proof uses this coefficient to compute the trace of the dual operator on each harmonic highest-weight space.

Key declarations

GlobalTheory.T.harmonic_weights_coefficient: For a dominant integral λ, any finite dominant-weight Weyl character expansion of the specified product contains every harmonic weight of λ in its indexing set, with coefficient 2^n.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.harmonic_weights_coefficient : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ (F : Finset (Fin n → ℤ)), (∀ ν ∈ F, Antitone ν) → ∀ c : (Fin n → ℤ) → ℂ, (∀ z : Fin n → ℂ, (∀ a, ‖z a‖ = 1) → Function.Injective (fun a => z a ^ 2) → ∑ ν ∈ F, c ν * weylChar ν z = (∏ a, ∏ b, (1 + z a / z b)) * weylChar lam (fun a => z a ^ 2)) → ∀ μ ∈ harmZ lam, μ ∈ F ∧ c μ = 2 ^ n := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightAntitoneOfFiniteDimensionalStable

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

Proves that a nonzero highest-weight vector in a finite-dimensional invariant subspace has dominant weight.

For operators satisfying the matrix-unit relations of gl_n, a nonzero highest-weight vector in a finite-dimensional invariant subspace has weakly decreasing weight coordinates. For each pair a < b, the proof uses the finite lowering string for the (a, b) root to show that ν_a − ν_b is a nonnegative integer. The Parthasarathy–Rao–Varadarajan construction and the harmonic-weight criterion both use this dominance conclusion.

Key declarations

GlobalTheory.CompanionTheory.RealCount.highestWeight_antitone_of_finiteDimensional_stable: If a nonzero highest-weight vector of real weight ν lies in a finite-dimensional complex subspace invariant under all gl_n matrix-unit operators, then ν_a ≥ ν_b whenever a ≤ b.

11theorem highestWeight_antitone_of_finiteDimensional_stable :12    ∀ {n : ℕ} (V : Type) [AddCommGroup V] [Module ℂ V] (Kf : Fin n → Fin n → Module.End ℂ V) (S : Submodule ℂ V)13    (ν : Fin n → ℝ) (v : V), Formalism.REAL.GlRel Kf → FiniteDimensional ℂ S → (∀ a b, ∀ w ∈ S, Kf a b w ∈ S) → v ∈ S → v ≠ 0 →14    Formalism.REAL.KHighest (fun _ => true) Kf ν v → Antitone ν := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvariantIntertwinesDualStatement

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

States that U(n)-equivariant maps from a continuous dual also intertwine the differentiated actions.

The theorem restates an imported result obtained by differentiating U(n)-equivariance along one-parameter subgroups and using that skew-Hermitian matrices span the complex matrix algebra over ℂ. The importing proofs use the resulting operator identities to show that intertwiners preserve highest-weight spaces and to lift a highest-weight vector through an intertwiner in the finite-weight vanishing argument.

Key declarations

GlobalTheory.T.invariant_intertwines_dual: If G differentiates the dual action of a finite-dimensional continuous unitary U(n)-module and K differentiates an isometric U(n)-action on a complex inner-product space in which each vector lies in a finite-dimensional subspace stable under the action and K, then every complex-linear U(n)-intertwiner t from the continuous dual to that target satisfies t(G_ab ξ) = K_ab(tξ) for every a, b, and ξ.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.invariant_intertwines_dual : ∀ {n : ℕ} (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (Kf : Fin n → Fin n → Module.End ℂ V), IsDerivK σ Kf → ∀ (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)), IsDualFam E G → ∀ t ∈ invA σ E, ∀ a b ξ, t (G a b ξ) = Kf a b (t ξ) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealCompression

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

Proves that admissible level functions can be compressed to labels 0 through n−1 while preserving their harmonic weights.

The compression replaces each level by the number of indices at strictly lower levels. The count is less than n and preserves strict comparisons and ties, so it preserves admissibility, the shift ρ_U, and the weight μ_Q = 2λ + 2ρ_U. Thus every admissible natural-number level function yields a weight in the finite harmonic set, a membership criterion used in the highest-term equality argument.

Key declarations

GlobalTheory.CompanionTheory.LevelCompress.lowCount: Assigns to each index the number of indices at strictly lower levels.

12def lowCount (lev : Fin n → ℕ) (a : Fin n) : ℕ := (univ.filter fun b => lev b < lev a).card

GlobalTheory.CompanionTheory.LevelCompress.lowCount_lt_iff: One index has a smaller count than another exactly when its original level is smaller.

41theorem lowCount_lt_iff {lev : Fin n → ℕ} {a b : Fin n} :42    lowCount lev a < lowCount lev b ↔ lev a < lev b := …

GlobalTheory.CompanionTheory.LevelCompress.muQ_lowCount: Replacing the levels by their counts preserves the weight μ_Q.

53theorem muQ_lowCount (lam : Fin n → ℤ) (lev : Fin n → ℕ) : muQ lam (lowCount lev) = muQ lam lev := …

GlobalTheory.CompanionTheory.LevelCompress.exists_compress: Every admissible natural-number level function on n indices has an admissible replacement with labels in {0, …, n−1} and the same weight μ_Q.

65theorem exists_compress (lam : Fin n → ℤ) (lev : Fin n → ℕ) (h : IsLev lam lev) :66    ∃ l : Fin n → Fin n, (IsLev lam fun a => (l a : ℕ)) ∧ (muQ lam fun a => (l a : ℕ)) = muQ lam lev := …

GlobalTheory.CompanionTheory.LevelCompress.muQ_mem_harmSet: The weight μ_Q attached to any admissible level function belongs to the finite harmonic set of λ.

69theorem muQ_mem_harmSet {lam : Fin n → ℤ} {lev : Fin n → ℕ} (h : IsLev lam lev) :70    muQ lam lev ∈ harmSet lam := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealFirstNilpotent

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

Proves that two harmonic weights coincide if their difference lies in the root monoid of the starting level function.

For a fixed dominant integral λ, let μ and μ′ come from admissible levels ℓ and ℓ′. If μ′ − μ is a nonnegative integral sum of roots e_a − e_b with ℓ(a) < ℓ(b), then μ′ = μ. The proof uses antisymmetry to write the pairing of μ′ − μ with ℓ as half the sum of pairwise sign changes times the original level differences. Each product is nonnegative, while each allowed root pairs strictly negatively with ℓ. The importing module restates the result as the first nilpotent condition.

Key declarations

GlobalTheory.CompanionTheory.HarmCone.sg: Assigns +1, 0, or −1 to an ordered pair according as the first level is below, equal to, or above the second.

13def sg (lev : Fin n → ℕ) (a b : Fin n) : ℝ :=14  (if lev a < lev b then 1 else 0) - (if lev b < lev a then 1 else 0)

GlobalTheory.CompanionTheory.HarmCone.two_rhoU: Expresses twice the shift ρ_U at each index as the sum of its pairwise level signs.

16theorem two_rhoU (lev : Fin n → ℕ) (a : Fin n) : 2 * rhoU lev a = ∑ b, sg lev a b := …

GlobalTheory.CompanionTheory.HarmCone.dsg_nonneg: The change in a pairwise sign from ℓ to ℓ′, multiplied by the original level difference ℓ(a) − ℓ(b), is nonnegative.

70theorem dsg_nonneg (lev lev' : Fin n → ℕ) (x b : Fin n) :71    0 ≤ ((lev x : ℝ) - lev b) * dsg lev lev' x b := …

GlobalTheory.CompanionTheory.HarmCone.pairing_nonneg: The pairing of the original levels with the vector of row sums of the sign changes is nonnegative.

77theorem pairing_nonneg (lev lev' : Fin n → ℕ) :78    0 ≤ ∑ x, (lev x : ℝ) * ∑ b, dsg lev lev' x b := …

GlobalTheory.CompanionTheory.HarmCone.harm_cone: Two weights from admissible levels for the same dominant integral λ coincide whenever their ordered difference belongs to the nonnegative integral root monoid determined by the starting levels.

97theorem harm_cone : N1 := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealKTypesInCone

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

Proves a root-cone bound for the highest weights of K-types generated by a harmonic highest-weight vector.

Under the admissibility, multiplicity, and model hypotheses, any nonzero highest-weight vector generated from a nonzero highest-weight vector of harmonic weight μ_Q has weight in μ_Q plus the nonnegative integral span of roots e_a − e_b with ℓ(a) < ℓ(b). The proof lifts the vector to the cyclic submodule of the orthogonal direct sum with the model, taking the orthogonal complement of the projection kernel within a finite-dimensional invariant subspace of that cyclic submodule. The multiplicity hypothesis at μ_Q and the adjoint identities force the lift to have a nonzero model component, which supplies the cone bound. The importing module restates this as the K-type generation theorem.

Key declarations

GlobalTheory.CompanionTheory.KTypeCone.lift_highest: A vector in the image of a finite-dimensional invariant subspace under an intertwiner lifts to a vector of the same highest weight whenever the target vector satisfies the highest-weight equations and the source operators satisfy the transpose adjoint identities.

53theorem lift_highest [AddCommGroup X] [Module ℂ X] {Kf : Fin n → Fin n → Module.End ℂ Y}54    (hK : ∀ a b (x y : Y), ⟪Kf a b x, y⟫_ℂ = ⟪x, Kf b a y⟫_ℂ) {S : Submodule ℂ Y} [FiniteDimensional ℂ S]55    (hS : ∀ a b, ∀ w ∈ S, Kf a b w ∈ S) (π : Y →ₗ[ℂ] X) (KX : Fin n → Fin n → Module.End ℂ X)56    (hπ : ∀ a b y, π (Kf a b y) = KX a b (π y)) {ν : Fin n → ℝ} {m : Y} (hm : m ∈ S)57    (hx : KHighest (fun _ => true) KX ν (π m)) :58    ∃ y ∈ S, π y = π m ∧ KHighest (fun _ => true) Kf ν y := …

GlobalTheory.CompanionTheory.KTypeCone.admissible_direct_sum_cone: The orthogonal direct sum of an admissible module and a model with vanishing second-type highest-weight spaces is admissible.

225theorem admissible_direct_sum_cone {lam : Fin n → ℤ} {lev : Fin n → ℕ} {E1 E2 : Fin n → Fin n → Module.End ℂ V}226    (hV : AdmFor lam lev E1 E2) (M : Model lam lev) (hN : ∀ ν, IsSecondTypeWeight lam lev ν → hwSp M.F1 M.F2 ν = ⊥) :227    AdmFor lam lev (sumF E1 M.F1) (sumF E2 M.F2)

GlobalTheory.CompanionTheory.KTypeCone.exists_adj: For each element of the paired operator algebra, another element realizes the adjoint of its first component on the first summand.

317theorem exists_adj (hp : IsPair E1 E2) {p : Module.End ℂ V × Module.End ℂ W} (hpA : p ∈ pairAlg E1 E2 F1 F2) :318    ∃ q ∈ pairAlg E1 E2 F1 F2, ∀ x y : V, ⟪p.1 x, y⟫_ℂ = ⟪x, q.1 y⟫_ℂ := …

GlobalTheory.CompanionTheory.KTypeCone.first_summand_zero: If the starting highest-weight space in the cyclic submodule is spanned by its generator and the generator has a nonzero second component, then the cyclic submodule meets the first summand only at zero under the stated adjointness and local finiteness hypotheses.

362theorem first_summand_zero {E1 E2 : Fin n → Fin n → Module.End ℂ V} {F1 F2 : Fin n → Fin n → Module.End ℂ W}363    (hp : IsPair E1 E2)364    (hunit : ∀ a b (x y : 𝐘), ⟪kF (sumF E1 F1) (sumF E2 F2) a b x, y⟫_ℂ = ⟪x, kF (sumF E1 F1) (sumF E2 F2) b a y⟫_ℂ)365    (hloc : ∀ y : 𝐘, ∃ S : Submodule ℂ 𝐘, FiniteDimensional ℂ S ∧ y ∈ S ∧366      ∀ a b, ∀ w ∈ S, kF (sumF E1 F1) (sumF E2 F2) a b w ∈ S)367    {μ : Fin n → ℝ} {v : V} {f : W} (hv : v ∈ hwSp E1 E2 μ) (hf : f ≠ 0)368    (hmult : ∀ w ∈ hwSp (sumF E1 F1) (sumF E2 F2) μ, w ∈ genN (pairAlg E1 E2 F1 F2) (WithLp.toLp 2 (v, f)) →369      ∃ c : ℂ, w = c • (WithLp.toLp 2 (v, f) : 𝐘))370    {u : V} (hu : (WithLp.toLp 2 (u, 0) : 𝐘) ∈ genN (pairAlg E1 E2 F1 F2) (WithLp.toLp 2 (v, f))) : u = 0 := …

GlobalTheory.CompanionTheory.KTypeCone.k_types_in_weight_cone: Under the stated multiplicity and model hypotheses, every highest weight occurring in the submodule generated by a nonzero harmonic highest-weight vector in an admissible module differs from its starting weight by an element of the level-defined root cone.

419theorem k_types_in_weight_cone : KTypeGenerationHighest := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealModelExists

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

Constructs a cyclic model with a prescribed harmonic highest-weight vector and a root-cone bound on its highest weights.

For each dominant integral λ and admissible level function, the model is generated from a smooth parabolically equivariant function by two commuting Lie algebra actions obtained from right differentiation. Haar integration over the unitary group gives the inner product, with definiteness from Iwasawa decomposition. Evaluation at the identity yields the prescribed Gelfand invariant scalars. The evaluation identities, local finiteness, and nontriviality of evaluation on each nonzero finite-dimensional stable submodule place every highest weight in the harmonic weight plus the level-defined root cone. The importing module restates the model existence theorem.

Key declarations

GlobalTheory.CompanionTheory.ModelS.kF_gl: The diagonal sum of two commuting families satisfying the gl_n matrix-unit relations again satisfies those relations.

41theorem kF_gl {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] {F1 F2 : Fin n → Fin n → Module.End ℂ V}42    (g1 : Formalism.REAL.GlRel F1) (g2 : Formalism.REAL.GlRel F2) (cm : ∀ a b c d, F1 a b * F2 c d = F2 c d * F1 a b) :43    Formalism.REAL.GlRel (kF F1 F2) := …

GlobalTheory.CompanionTheory.ModelS.evaluation_raising_lowering: For a test function with the same parabolic equivariance factor as the normalized inducing function and indices with lev b ≤ lev a, evaluation at the identity after either e1 or f1 multiplies the test function's value there by the corresponding derivative value on the inducing function at the identity.

173theorem evaluation_raising_lowering (lev : Fin n → ℕ) (f h : SmF n) (hf : f ∈ Eqv lev f.1) (h1 : f.1 1 = 1) (hh : h ∈ Eqv lev f.1)174    (a b : Fin n) (hab : lev b ≤ lev a) :175    (e1 DR a b h).1 1 = (e1 DR a b f).1 1 * h.1 1 ∧ (f1 DR a b h).1 1 = (f1 DR a b f).1 1 * h.1 1 := …

GlobalTheory.CompanionTheory.ModelS.model_of_ops: Cyclic operator data with the stated adjoint, highest-weight, and evaluation properties and a finite-dimensional submodule stable under the compact action and containing the generator give a locally K-finite model with the prescribed Gelfand invariant scalars and highest-weight cone bound.

68theorem model_of_ops (lam : Fin n → ℤ) (lev : Fin n → ℕ) (hlev : IsLev lam lev)69    {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] (F1 F2 : Fin n → Fin n → Module.End ℂ V) (f : V)70    (ev : V →ₗ[ℂ] ℂ) (gl1 : Formalism.REAL.GlRel F1) (gl2 : Formalism.REAL.GlRel F2)71    (cm : ∀ a b c d, F1 a b * F2 c d = F2 c d * F1 a b)72    (unitK : ∀ a b (x y : V), ⟪kF F1 F2 a b x, y⟫_ℂ = ⟪x, kF F1 F2 b a y⟫_ℂ)73    (gen : ∀ x : V, ∃ T ∈ alg F1 F2, T f = x) (S₀ : Submodule ℂ V) (fd : FiniteDimensional ℂ S₀) (hf : f ∈ S₀)74    (st : ∀ a b, ∀ w ∈ S₀, kF F1 F2 a b w ∈ S₀) (hw : f ∈ hwSp F1 F2 (muQ lam lev)) (hev : ev f ≠ 0)75    (e1l : ∀ a b v, lev b ≤ lev a → a ≠ b → ev (F1 a b v) = 0) (e1d : ∀ a v, ev (F1 a a v) = (lam a : ℂ) * ev v)76    (e2l : ∀ a b v, lev b ≤ lev a → a ≠ b → ev (barF F2 a b v) = 0)77    (e2d : ∀ a v, ev (barF F2 a a v) = (yZ lam lev a : ℂ) * ev v)78    (sep : ∀ S : Submodule ℂ V, FiniteDimensional ℂ S → (∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S) → (∀ w ∈ S, ev w = 0) →79      ∀ w ∈ S, w = 0) : Nonempty (Model lam lev) := …

GlobalTheory.CompanionTheory.ModelS.modelEx_main: A model with a nonzero generator of harmonic highest weight, the prescribed infinitesimal characters, and the highest-weight cone bound exists for every dominant integral λ and admissible level function.

191theorem modelEx_main : ModelEx := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SignAntisymmetric

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

Proves sign-matrix identities for the Weyl vector and its shifts by sums of positive roots.

The basic sign matrix records the order of the indices, and the modified matrix reverses the signs on a chosen subset B of positive-root pairs and on its transpose. Both are antisymmetric, and counting row and column incidences gives row sums of twice the Weyl vector for the basic matrix and 2(ρ_V − wtB(B)) for the modified matrix. A rearrangement inequality bounds the dot product of a decreasing vector with a permuted Weyl vector. The highest-term proof uses these identities to bound dot products by sums of absolute coordinate differences.

Key declarations

GlobalTheory.CompanionTheory.RealMult.Short.sg_anti: Swapping the two indices negates the modified sign, for any finite set of ordered pairs.

68theorem sg_anti (B : Finset (Fin n × Fin n)) (a b : Fin n) : sg B b a = -sg B a b := …

GlobalTheory.CompanionTheory.RealMult.Short.sum_sign_eq_two_rho: The row sum of the basic sign matrix is twice the corresponding Weyl-vector coordinate.

73theorem sum_sign_eq_two_rho (a : Fin n) : ∑ b, s0 a b = 2 * rhoV n a := …

GlobalTheory.CompanionTheory.RealMult.Short.sum_sg: The modified sign matrix has row-sum vector 2(ρ_V − wtB(B)).

110theorem sum_sg (B : Finset (Fin n × Fin n)) (a : Fin n) :111    ∑ b, sg B a b = 2 * (rhoV n a - wtB B a) := …

GlobalTheory.CompanionTheory.RealMult.Short.sg_val: When B consists of positive-root pairs, every off-diagonal entry of the modified sign matrix is +1 or −1.

115theorem sg_val (B : Finset (Fin n × Fin n)) (hB : ∀ p ∈ B, p.1 < p.2) {a b : Fin n} (hab : a ≠ b) :116    sg B a b = 1 ∨ sg B a b = -1 := …

GlobalTheory.CompanionTheory.RealMult.Short.rearr: The dot product of a weakly decreasing vector with a permutation of the Weyl vector is at most its dot product with the Weyl vector in decreasing order.

51theorem rearr (u : Fin n → ℝ) (hu : Antitone u) (σ : Equiv.Perm (Fin n)) :52    dot u (rhoV n ∘ σ) ≤ dot u (rhoV n) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TraceFactorTensorDecompStatement

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

States the trace factorization for blockwise precomposition and postcomposition on spaces of linear maps.

The theorem restates an imported formula: if a finite-dimensional complex space is a finite product of blocks Hom(W_i, H_i) with nonzero finite-dimensional W_i, then each H_i is finite-dimensional, and a blockwise operator f_i ↦ a_i ∘ f_i ∘ b_i has trace Σ_i tr(b_i) tr(a_i). The proof of countG uses both conclusions to establish finite-dimensionality of the harmonic highest-weight spaces and to factor the twisted trace on unitary intertwiners.

Key declarations

GlobalTheory.T.trace_factor_tensor_decomp: Under the stated Hom-space decomposition and block-action hypotheses, all target spaces H_i are finite-dimensional and the total trace is the sum of the products of the corresponding precomposition and postcomposition traces.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.trace_factor_tensor_decomp : ∀ (ι : Type) [Fintype ι] [DecidableEq ι] (I : Type) (W H : ι → Type) [AddCommGroup I] [Module ℂ I] [∀ i, AddCommGroup (W i)] [∀ i, Module ℂ (W i)] [∀ i, AddCommGroup (H i)] [∀ i, Module ℂ (H i)] [FiniteDimensional ℂ I] [∀ i, FiniteDimensional ℂ (W i)] [∀ i, Nontrivial (W i)] (R : I ≃ₗ[ℂ] ∀ i, W i →ₗ[ℂ] H i) (F : I →ₗ[ℂ] I) (a : ∀ i, H i →ₗ[ℂ] H i) (b : ∀ i, W i →ₗ[ℂ] W i), (∀ x i, R (F x) i = a i ∘ₗ R x i ∘ₗ b i) → (∀ i, FiniteDimensional ℂ (H i)) ∧ LinearMap.trace ℂ I F = ∑ i, LinearMap.trace ℂ (W i) (b i) * LinearMap.trace ℂ (H i) (a i) := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TwistedTraceWeylCharacterStatement

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

States the Weyl character formula for the twisted trace on the continuous dual at a diagonal unitary matrix.

The theorem restates an imported identity: under the Lefschetz hypotheses, for k = diag(z) with pairwise distinct squared entries, the trace of precomposition by ρ(k⁻¹) ∘ T on the continuous dual is χ_λ(z²) times the product of (1 + z_a/z_b) over all ordered pairs. The proof of dualtr uses this identity to extract the traces on harmonic highest-weight spaces from a Weyl character expansion.

Key declarations

GlobalTheory.T.twisted_trace_weyl_character: Under the Lefschetz hypotheses, the dual trace of ρ(k⁻¹) ∘ T at a diagonal unitary k with distinct squared entries equals the Weyl character at those squares multiplied by the full ordered-pair product of the factors 1 + z_a/z_b.

9set_option maxHeartbeats 1000000 in10theorem _root_.GlobalTheory.T.twisted_trace_weyl_character : ∀ {n : ℕ} (lam : Fin n → ℤ) (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T → ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective (fun a => z a ^ 2) → LinearMap.trace ℂ (E.V →L[ℂ] ℂ) (dualT E (E.ρ k⁻¹ * T) : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) = (∏ a, ∏ b, (1 + z a / z b)) * weylChar lam (fun a => z a ^ 2) := …

Show the full file ›Contents ↑

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

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

Defines the block root cone and the model, admissibility, and generation statements used to isolate harmonic highest weights.

The cone consists of nonnegative integral sums of roots eₐ − eᵦ with a in an earlier block than b. The model is required to contain the block harmonic weight μ and to have every occurring highest weight in μ plus this cone. The remaining statements specify model existence, exclusion of second-type weights, admissibility at minimum shifted norm, and transfer of the cone bound to highest-weight vectors generated from weight μ. MuQMemHarmSet derives the harmonic multiplicity bound from these propositions, level compression, and the admissible-weight multiplicity formula.

Key declarations

PositivityTheory.RgBcC.RealD.Model: Specifies an inner-product space with two commuting Lie algebra actions of prescribed infinitesimal characters, a locally finite diagonal action whose generators have adjoints given by transposed indices, and a nonzero highest-weight vector of weight μ whose cone translate contains all occurring highest weights.

21structure Model (lam : Fin n → ℤ) (lev : Fin n → ℕ) : Type 1

PositivityTheory.RgBcC.RealD.N1: States that harmonic weights from two valid block decompositions of the same antitone integral parameter coincide if their difference lies in the cone attached to the weight being subtracted.

41def N1 : Prop :=42  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev lev' : Fin n → ℕ, IsLev lam lev → IsLev lam lev' →43    inCone lev (muQ lam lev' - muQ lam lev) → muQ lam lev' = muQ lam lev

PositivityTheory.RgBcC.RealD.ConeWeightsNotSecondType: States that for an antitone integral parameter and a valid block decomposition, the translate of the block cone by its harmonic weight excludes all second-type weights for that decomposition.

45def ConeWeightsNotSecondType : Prop :=46  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → ∀ ν : Fin n → ℝ,47    inCone lev (ν - muQ lam lev) → ¬ IsSecondTypeWeight lam lev ν

PositivityTheory.RgBcC.RealD.AdmLeast: States that in an IsCoreMod module at infOf λ for antitone integral λ, a valid block decomposition with nonzero harmonic highest-weight space satisfies AdmFor if its weight μ minimizes ‖μ + ρ‖² over valid decompositions with nonzero highest-weight spaces.

51def AdmLeast : Prop :=52  ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]53    (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (A : V →ₗ[ℂ] V),54    IsCoreMod (infOf lam) E1 E2 σ A → ∀ lev : Fin n → ℕ, IsLev lam lev → hwSp E1 E2 (muQ lam lev) ≠ ⊥ →55      (∀ lev' : Fin n → ℕ, IsLev lam lev' → hwSp E1 E2 (muQ lam lev') ≠ ⊥ →56        nsq (muQ lam lev + rhoV n) ≤ nsq (muQ lam lev' + rhoV n)) → AdmFor lam lev E1 E2

PositivityTheory.RgBcC.RealD.KTypeGenerationHighest: States that, assuming MultFor and a model with vanishing second-type spaces, for a pair satisfying IsPair and AdmFor at a valid block decomposition of an antitone integral parameter, each nonzero highest-weight vector generated by the algebra of the pair from a nonzero highest-weight vector of harmonic weight μ has weight in the cone translate by μ.

58def KTypeGenerationHighest : Prop :=59  MultFor → ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev →60    ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V),61      IsPair E1 E2 → AdmFor lam lev E1 E2 → ∀ (M : Model lam lev), (∀ ν, IsSecondTypeWeight lam lev ν → hwSp M.F1 M.F2 ν = ⊥) →62      ∀ v : V, v ∈ hwSp E1 E2 (muQ lam lev) → v ≠ 0 → ∀ (ν : Fin n → ℝ) (x : V), x ∈ hwSp E1 E2 ν → x ≠ 0 →63        (∃ a ∈ alg E1 E2, a v = x) → inCone lev (ν - muQ lam lev)

Show the full file ›Contents ↑

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

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

Proves from compression and the stated hypotheses that at most one harmonic highest-weight space is nonzero and any such space is a line.

The harmonic set consists of the weights obtained from admissible block labels in {0,…,n−1}. When a harmonic space is nonzero, the proof minimizes ‖μ + ρ‖² over the occurring harmonic weights and uses compression to compare all admissible labelings with nonzero spaces, giving least-weight admissibility. Irreducibility gives reachability from a nonzero vector at the minimum, and the cone comparison forces all occurring harmonic weights to coincide. The multiplicity formula makes the surviving space a line. RealCompressionStatement wraps the proof of Compress from RealCompression, and multG_of_multFor supplies it to multG_of.

Key declarations

PositivityTheory.RgBcC.RealD.isLev_id: Shows that assigning each index its own block gives admissible block labels for any parameter λ.

13theorem isLev_id (lam : Fin n → ℤ) : IsLev lam fun a => ((a : Fin n) : ℕ) := …

PositivityTheory.RgBcC.RealD.mem_harmSet: Represents every harmonic weight as the weight attached to admissible block labels in {0,…,n−1}.

15theorem mem_harmSet {lam : Fin n → ℤ} {μ : Fin n → ℝ} (h : μ ∈ harmSet lam) :16    ∃ l : Fin n → Fin n, IsLev lam (fun a => (l a : ℕ)) ∧ μ = muQ lam fun a => (l a : ℕ) := …

PositivityTheory.RgBcC.RealD.muQ_mem_harmSet: Shows that the weight attached to any admissible block labels in {0,…,n−1} belongs to the harmonic set.

21theorem muQ_mem_harmSet {lam : Fin n → ℤ} (lev : Fin n → Fin n) (h : IsLev lam fun a => (lev a : ℕ)) :22    muQ lam (fun a => (lev a : ℕ)) ∈ harmSet lam := …

PositivityTheory.RgBcC.RealD.Compress: States that every admissible natural-number labeling can be replaced by one with labels in {0,…,n−1} and the same weight.

26def Compress : Prop :=27  ∀ (n : ℕ) (lam : Fin n → ℤ) (lev : Fin n → ℕ), IsLev lam lev →28    ∃ l : Fin n → Fin n, IsLev lam (fun a => (l a : ℕ)) ∧ muQ lam (fun a => (l a : ℕ)) = muQ lam lev

PositivityTheory.RgBcC.RealD.multG_of: Under the compression, least-weight admissibility, model, cone, generation, and multiplicity hypotheses, proves that for a core module with antitone λ at most one harmonic highest-weight space is nonzero, and any such space is one-dimensional.

30theorem multG_of (hCp : Compress) (hM : MultFor) (hA : AdmLeast) (h1 : N1) (hC : ConeWeightsNotSecondType) (hE : ModelEx) (h7 : KTypeGenerationHighest) : MultG := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CenterActsByScalarOnCyclicStatement

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

States a criterion for a commuting endomorphism to act by a scalar on the whole space.

The theorem restates an imported argument: if evaluation satisfies ev ∘ z = c ev, then commutation makes ev vanish on the subspace generated by (z − cI)x under the diagonal operators, and local finiteness and the evaluation hypothesis force that subspace to be zero. The model construction applies this criterion to turn evaluation formulas for the Gelfand invariants into scalar actions on the entire model.

Key declarations

GlobalTheory.T.center_acts_by_scalar_on_cyclic: If z commutes with both operator families, the diagonal action is locally finite, and the kernel of ev contains no nonzero finite-dimensional diagonal-invariant subspace, then ev ∘ z = c ev implies z = cI.

11set_option maxHeartbeats 1000000 in12theorem _root_.GlobalTheory.T.center_acts_by_scalar_on_cyclic : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (F1 F2 : Fin n → Fin n → Module.End ℂ V), (∀ x : V, ∃ S : Submodule ℂ V, FiniteDimensional ℂ S ∧ x ∈ S ∧ ∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S) → ∀ (z : Module.End ℂ V), (∀ a b, z * F1 a b = F1 a b * z ∧ z * F2 a b = F2 a b * z) → ∀ (ev : V →ₗ[ℂ] ℂ) (c : ℂ), (∀ v, ev (z v) = c * ev v) → (∀ S : Submodule ℂ V, FiniteDimensional ℂ S → (∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S) → (∀ w ∈ S, ev w = 0) → ∀ w ∈ S, w = 0) → ∀ x : V, z x = c • x := …

Show the full file ›Contents ↑

Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualOperatorCommutesLie

12 import steps from Main · 93 lines · Checked against the code

Proves that the transpose of a U(n)-equivariant operator commutes with every differentiated operator on the continuous dual.

Precomposition by a U(n)-equivariant operator commutes with the contragredient group action. Differentiating along the one-parameter subgroups generated by skew-Hermitian matrices gives commutation with the corresponding infinitesimal actions. Testing the skew-Hermitian combinations E_ab − E_ba and i(E_ab + E_ba) then gives commutation with each individual matrix-unit operator. The importing module restates this entrywise commutation theorem.

Key declarations

GlobalTheory.CompanionTheory.RealCountG.DualComm.eq_zero_of_skew: A complex vector-valued array is zero if its entrywise contraction with every skew-Hermitian matrix vanishes.

30theorem eq_zero_of_skew {W : Type*} [AddCommGroup W] [Module ℂ W] (Δ : Fin n → Fin n → W)31    (h : ∀ X : Matrix (Fin n) (Fin n) ℂ, Xᴴ = -X → ∑ x, ∑ y, X x y • Δ x y = 0) (a b : Fin n) : Δ a b = 0 := …

GlobalTheory.CompanionTheory.RealCountG.DualComm.dualT_comp_rho: Precomposition by a U(n)-equivariant operator commutes with precomposition by each group operator.

48theorem dualT_comp_rho (E : KMod n) (T : E.V →L[ℂ] E.V) (hT : ∀ k, T * E.ρ k = E.ρ k * T)49    (k : Matrix.unitaryGroup (Fin n) ℂ) (ξ : E.V →L[ℂ] ℂ) :50    dualT E T (ξ ∘L E.ρ k) = dualT E T ξ ∘L E.ρ k := …

GlobalTheory.CompanionTheory.RealCountG.DualComm.dualT_sum: The transpose of a U(n)-equivariant operator commutes with the derivative of the contragredient action along each skew-Hermitian direction.

56theorem dualT_sum (E : KMod n) (T : E.V →L[ℂ] E.V) (hT : ∀ k, T * E.ρ k = E.ρ k * T)57    (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)) (hG : IsDualFam E G)58    (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (ξ : E.V →L[ℂ] ℂ) :59    dualT E T (∑ a, ∑ b, X a b • G a b ξ) = ∑ a, ∑ b, X a b • G a b (dualT E T ξ) := …

GlobalTheory.CompanionTheory.RealCountG.DualComm.dualT_G: Precomposition by a U(n)-equivariant operator commutes with each operator in a family satisfying the matrix-unit Lie brackets and differentiating the contragredient action along skew-Hermitian exponentials.

82theorem dualT_G : ∀ {n : ℕ} (E : KMod n) (T : E.V →L[ℂ] E.V), (∀ k, T * E.ρ k = E.ρ k * T) →83    ∀ G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ), IsDualFam E G →84      ∀ a b ξ, dualT E T (G a b ξ) = G a b (dualT E T ξ) := …

Show the full file ›Contents ↑

Explore

X Reddit Email LinkedIn