RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Matched functions, sections over GL cosets and same-section pairs of matrix functions

New.Determinant.Exchange.MatchingPartners.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

This file studies functions on matrices over a finite product F of non-archimedean local fields with integers O (New.SemilocalField). For k in GL_n(F) and n = b ⊔ a, write y_k = New.firstCols e k for the block of columns b of k and x_k = New.invLastRows e k for the block of rows a of k⁻¹. A matrix is primitive (New.IsPrimitiveMatrix O) if it is integral with an integral left inverse.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Rows.areMatched_block: the block determinant functions New.Rows.blockRowDatum and New.Rows.blockColDatum are matched functions.
  • New.localSection χ y: a linear functional that is the sum of χ(det g) Ψ(y g) over representatives g of GL_b(F)/GL_b(O) (New.IsCommonCosetRep, New.exists_linearMap_eq_sum_and_isCommonCosetRep) when that sum is finite; New.exists_isPrimitiveMatrix_localSection_eq computes it for Ψ with primitive support.
  • New.sameSectionPairs: the pairs (Φ, Ψ) of Schwartz–Bruhat functions, Φ(x) zero unless xᵀ has a left inverse and Ψ(y) zero unless y has one, such that the section of y ↦ Φ(yᵀ) at x_kᵀ is χ(det k) times that of Ψ at y_k; GL_n(F) acts on them (New.sameSectionPairs.translate_mem).
  • New.sameSectionPairs.exists_linear_factor: a linear map of Φ that is invariant under Φ ↦ χ(det g) Φ(g ·) depends, on same-section pairs, only on Ψ.
  • New.AreMatched.mem_sameSectionPairs: for tame χ (New.TameLocalChar) and locally constant Ψ, matched functions over O form a same-section pair (New.sameSectionPairs).

Notions from other files:

  • New.AreMatched: Φ vanishes off the matrices x_k = New.invLastRows (last rows of k⁻¹), Ψ off the y_k = New.firstCols (first columns of k), k in GL_n(O), and Φ(x_k) = χ(det k) Ψ(y_k).
  • New.TameLocalChar: A finite ring R, a surjection π: O → R with kernel ϖO, and a primitive character η (New.Exchange.IsPrimitiveMulChar) with η∘π equal to χ⁻¹ on units, 0 on non-units.
  • New.SemilocalField: Conditions met by a finite product of non-archimedean local fields: a locally compact ring with Haar measure, compact open subring O of volume one, a topologically nilpotent ϖ in O that is invertible in F, and New.IsValuationPair O.

Relation to the literature

See New.Determinant.Exchange.ExplicitMatching and New.Determinant.Exchange.TheoremForPartners for related work. See Lib.Adelic.Hecke.ClassSums for sources.

Pinned source lines

Declarations

Import route to Main

New.Determinant.Exchange.MatchingPartners → New.OneLift.ComparisonOperator.OneExchange (pinned import) → New.OneLift.ComparisonOperator.GluedLattices (pinned import) → New.OneLift.HeckeValues.CentralAction (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn