RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Lines and hyperplanes over a field

Lib.Adelic.TraceFormula.LineCount.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

This file describes the stabilisers in GL_n of the line of a basis vector e_i and of the complementary coordinate hyperplane. Over a finite field it counts the linear forms with value 1 at e_i, and those with value 1 both at e_i and at a vector off its line. It shows that 0 is a simple root of the characteristic polynomial of a matrix of block shape (0 ∗; 0 g') with g' invertible.

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

Rest of upstream introduction

Rest of upstream introduction

Notions from other files:

  • parabolic lev: the subgroup of GL_n of the matrices g with g a b = 0 whenever lev b < lev a. The two stabilisers use level functions with values in Prop, ordered by implication.

Relation to the literature

Standard linear algebra.

Pinned source lines

Declarations

Import route to Main

Lib.Adelic.TraceFormula.LineCount → Lib.Adelic.TraceFormula.LineStabiliser (pinned import) → Lib.Adelic.TraceFormula.LevelCut (pinned import) → Lib.Adelic.TraceFormula.CuspidalComparison (pinned import) → New.Spanning.Multiplicities.EqualMultiplicities (pinned import) → New.Spanning.SecondMoment.SpanningTheorem (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn