Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Tropical_TropicalAlgebra_AutomorphicBuildings

Definition
Tropical_TropicalAlgebra_AutomorphicBuildings

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogtropical

Definition bundle for the Aether Catalog module Tropical.TropicalAlgebra.AutomorphicBuildings, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.

Definition code
-- Def bundle generated from Tropical/TropicalAlgebra/AutomorphicBuildings.lean by skeleton subtraction
import Mathlib

/-! # CatalogBuild.Tropical.Langlands.AutomorphicBuildings

Auto-generated from theorem catalog database.
Domain: Tropical/Langlands
Declarations: 23
-/

noncomputable section

/-- A vertex in the Bruhat-Tits building of GL_n -/
structure BuildingVertex (n : ℕ) where
  invariantFactors : Fin n → ℝ
  sorted : ∀ i j : Fin n, i ≤ j → invariantFactors i ≤ invariantFactors j

/-- The distance between two vertices -/
def buildingDistance (n : ℕ) (v w : BuildingVertex n) : ℝ :=
  ∑ i : Fin n, |v.invariantFactors i - w.invariantFactors i|




/-- An apartment in the building -/
structure Apartment (n : ℕ) where
  origin : Fin n → ℝ

/-- The standard apartment -/
def standardApartment (n : ℕ) : Apartment n where
  origin := fun _ => 0



/-- Tropical Laplacian at a vertex -/
def tropicalLaplacian (n : ℕ) (f : BuildingVertex n → ℝ) (v : BuildingVertex n)
    (neighbors : Finset (BuildingVertex n)) : ℝ :=
  (∑ w ∈ neighbors, f w) / neighbors.card - f v


/-- Tropical spherical function -/
def tropicalSpherical (n : ℕ) (s : ℝ) (v : BuildingVertex n) : ℝ :=
  s * ∑ i : Fin n, v.invariantFactors i




/-- Iwahori-Hecke generator (tropical version) -/
def iwahoriGenerator (q : ℝ) (_hq : q > 0) (x : ℝ) : ℝ :=
  min x (x + q)



/-- Depth of a building vertex (requires n ≥ 1) -/
def vertexDepth (n : ℕ) (hn : n ≥ 1) (v : BuildingVertex n) : ℝ :=
  v.invariantFactors ⟨n - 1, by omega⟩ - v.invariantFactors ⟨0, by omega⟩


/-- A special vertex has integer invariant factors -/
def isSpecialVertex (n : ℕ) (v : BuildingVertex n) : Prop :=
  ∀ i, ∃ k : ℤ, v.invariantFactors i = k



end

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me