Choose a statement on the pages, or with the arrows above, to see its structured proof and its Lean text here.
Let E be a CM field with a CM type (CMType E: a CM number field with a chosen complex embedding \Phi_w inducing each infinite place w), N a nonzero natural number (NeZero N) whose image in the ring of integers lies in the different ideal of E (h), and n a finite index type. Then the number of classes of the standard definite hermitian space of rank |n| at the level K_f, i.e. Nat.card of StdClasses (Kf E n) = \Gamma_f\backslash G_f/K_f (G_f the finite adelic unitary group of the identity form on E^{n}, \Gamma_f its rational points, K_f = G_f \cap \mathrm{GL}_n(\hat{O}) the stabiliser of the standard lattice \hat{O}^{n}), is at most (1 + 2\cdot C^{3})^{4\cdot f\cdot|n|^{2}}, where C = shortBasisConst E n N = 6\cdot N\cdot(f\cdot|n|)^{2} and f = numInfPlaces E is the number of infinite places of E.
New/Core/ClassCountBound.lean · the statement, lines 14–16lemma Space.card_classes_le {E} [Field E] [CMType E] {N} [NeZero N] (h : ↑N ∈ differentIdeal ℤ (𝓞 E)) {n} [Fintype n] : .card (StdClasses (Kf E n)) ≤ (1 + 2 * shortBasisConst E n N ^ 3) ^ (4 * numInfPlaces E * card n ^ 2) := by
For a commutative ring O, an O-module V, submodules M, N \subseteq V and an element z \in O: IndexDvd M N z holds when for every natural number n and every family \Phi_1, \ldots, \Phi_n of elements of M there is an n\times n matrix m over O whose determinant divides z such that every combination \sum_k m_{ik}\cdot\Phi_k (i = 1, \ldots, n) lies in N. (A divisibility form of 'the index of N in M divides z'; when M \subseteq N, m = 1 works.) The definition takes M, N, z as explicit arguments (variable (M N z) in).
New/Core/ModuleIndex.lean · line 20def IndexDvd := ∀ n (Φ : Fin n → V), (∀ k, Φ k ∈ M) → ∃ m, det m ∣ z ∧ ∀ i, ∑ k, m i k • Φ k ∈ N
Pull-back. For a commutative ring O, O-modules U and V, submodules M, N \subseteq V and M', N' \subseteq U, z \in O and an O-linear map f : U \to V: if IndexDvd M N z (h), f(M') \subseteq M, and every x \in M' with f(x) \in N lies in N', then IndexDvd M' N' z.
New/Core/ModuleIndex.lean · lines 24–25lemma IndexDvd.comap (h : IndexDvd M N z) (f : U →ₗ[O] V) : M' ≤ M.comap f → (∀ x ∈ M', f x ∈ N → x ∈ N') → IndexDvd M' N' z := fun a _ _ _ c ↦ (h _ _ (a <| c ·)).imp (by aesop)
For a commutative ring O, an O-module V, submodules M, N \subseteq V and any z \in O: if M \subseteq N, then IndexDvd M N z (take m = 1). A simp lemma.
New/Core/ModuleIndex.lean · line 28@[simp] lemma IndexDvd.of_le : M ≤ N → IndexDvd M N z := fun _ _ _ _ ↦ ⟨1, by aesop⟩
Transitivity. For a commutative ring O, an O-module V, submodules M, N, P \subseteq V and z, a \in O: if IndexDvd M N z (h) and IndexDvd N P a (g), then IndexDvd M P (z\cdot a).
New/Core/ModuleIndex.lean · the statement, line 31lemma IndexDvd.trans (h : IndexDvd M N z) (g : IndexDvd N P a) : IndexDvd M P (z * a) :=
Push-forward. For a commutative ring O, O-modules U and V, submodules M, N \subseteq V and M', N' \subseteq U, z \in O and an O-linear map f : V \to U: if IndexDvd M N z (h), M' \subseteq f(M) + N', and f(N) \subseteq N', then IndexDvd M' N' z.
New/Core/ModuleIndex.lean · the statement, lines 37–38lemma IndexDvd.map (h : IndexDvd M N z) (f : V →ₗ[O] U) : M' ≤ M.map f ⊔ N' → N.map f ≤ N' → IndexDvd M' N' z := by
For a commutative ring O, O-modules U and V, an index type \iota, O-linear maps f_i : V \to U (i \in \iota), a submodule M \subseteq V, a submodule N' \subseteq U and z \in O: if IndexDvd M (f_i^{-1}(N')) z for every i \in \iota (h), then for every finite set s \subseteq \iota, IndexDvd (span of \bigcup_{i\in s} f_i(M) \cup N') N' (z^{|s|}). (Induction on s with IndexDvd.map and IndexDvd.trans.)
New/Core/ModuleIndex.lean · the statement, lines 46–47lemma IndexDvd.sup {f : ι → V →ₗ[O] U} (h : ∀ i, IndexDvd M (.comap (f i) N') z) (s : Finset ι) : IndexDvd (span O (.image2 (f ·) s M ∪ N')) N' (z ^ #s) := s.cons_induction (by simp) fun i _
Composition. For a commutative ring O, an O-module V, submodules M, N \subseteq V, elements z, z', a \in O and an O-linear endomorphism f of V with f(M) \subseteq M (e): if IndexDvd M (f(M) + a\cdot M) z and IndexDvd M (N + a\cdot M) z', then IndexDvd M (f(N) + a\cdot M) (z\cdot z'). (IndexDvd.map along f, then IndexDvd.trans.)
New/Core/ModuleIndex.lean · lines 50–51lemma IndexDvd.comp (e : M.map f ≤ M) : IndexDvd M (M.map f ⊔ a • M) z → IndexDvd M (N ⊔ a • M) z' → IndexDvd M (N.map f ⊔ a • M) (z * z') := (·.trans <| ·.map f (by order) (by grw [← e]; simp))
For a commutative ring O, an O-module V, p \in O, a submodule M \subseteq V, a natural number n, an O-linear endomorphism y of V and a real number c: HasType p M n y c means that y(M) \subseteq M and there is a natural number l \le c with IndexDvd M (y(M) + p^{n}\cdot M) (p^{l}) ('y has type at most c at p^{n} on M': the index of y(M) + p^{n}M in M divides p^{l}).
New/Core/ModuleIndex.lean · the statement, line 55def HasType p M n (y : End O V) (c : ℝ) :=
Exponents add under products. For a commutative ring O, an O-module V, an index type \iota, a submodule M \subseteq V, z \in O, a natural number s, endomorphisms T(l) of V and real numbers t(l) (l \in \iota), and a list L of indices: if HasType z M s (T l) (t l) for every l in L, then HasType z M s (\Pi_{l\in L} T(l)) (\sum_{l\in L} t(l)), where the product is the composition T(l_{1})\circ T(l_{2})\circ\cdots in the order of the list (the empty product is the identity) and the sum is the sum of the t(l) over the list.
New/Core/ModuleIndex.lean · the statement, lines 60–61lemma HasType.prod {s T t} (L : List ι) : (∀ l ∈ L, HasType z M s (T l) (t l)) → HasType z M s (L.map T).prod (L.map t).sum := by
Determinant criterion. Let O be a valuation domain (an integral domain whose ideals are totally ordered: ValuationRing O), \iota a finite type, z \in O, A an \iota\times\iota matrix over O with \det A dividing z (h), and N \subseteq O^{\iota} a submodule containing the image A(O^{\iota}) (e). Then IndexDvd O^{\iota} N z (the whole module \top on the left).
New/Core/ModuleIndex.lean · the statement, lines 68–69lemma IndexDvd.of_det_dvd [IsDomain O] [ValuationRing O] [Fintype ι] {A : Matrix ι ι O} {N} (h : A.det ∣ z) (e : .map A.mulVecLin ⊤ ≤ N) : IndexDvd ⊤ N z := fun _ Φ _ ↦
numInfPlaces(E): the number of infinite places of E.
Lib/General/Analysis/ZpowSum.lean · line 32noncomputable abbrev numInfPlaces := card (InfinitePlace K)
For a number field E, a finite type n and a natural number N: 6·N·(f·|n|)², f the number of infinite places of E.
Lib/Adelic/Transference/MassBasic.lean · line 73noncomputable abbrev shortBasisConst N := 6 * N * (numInfPlaces E * card n) ^ 2
K_f: the subgroup of G_f of matrices in GL_n(Ô) (integral, with integral inverse); the stabiliser of the standard lattice Ô^n.
Lib/Adelic/Unitary/SpaceDefs.lean · line 109def Kf : Subgroup (Gf E n) := (intGL n (Ô E)).subgroupOf _
For a CM field E with CM type, a finite type n and a subgroup K of the finite adelic unitary group G_f (Gf E n: matrices g ∈ GL_n(𝔸_f) with g*g = 1): the double cosets Γ_f\G_f/K, Γ_f the rational points of the standard definite space I_n (stdSpace E n, the identity form on E^n).
Lib/Adelic/CuspForms/ClassReps.lean · line 93abbrev StdClasses (K : Subgroup (Gf E n)) := DoubleCosets (stdSpace ..).Γf K
Let N ≠ 0 be a natural number in the different of E and g in G_f. Some Y in GL_n(E) has columns in the lattice at g and entries of bounded size at every complex embedding.
Lib/Adelic/Transference/MassBasic.lean · the statement, lines 101–103lemma exists_short_basis_stdSpace {N : ℕ} [NeZero N] (h : ↑N ∈ differentIdeal ℤ (𝓞 E)) (g : Gf E n) : ∃ Y : GL n E, IsIntMatrix (Ô E) (↑↑g⁻¹ * Y.1.map (↑)) ∧ ∀ (φ : _ →+* ℂ) i j, ‖φ (Y i j)‖ ≤ shortBasisConst E n N := by
For d ≠ 0 in the different of E (f infinite places), z ∈ ℂ^f and a finite adele y there is a ∈ E with y − a integral and |z_w − Φ_w(a)| ≤ (2f)²|Φ_w(d)| at every infinite place w.
Lib/Adelic/Transference/MassBasic.lean · the statement, lines 116–118lemma exists_rat_near_of_mem_differentIdeal {E} [Field.{0} E] [CMType E] {d} (hd : d ≠ 0) (hN' : d ∈ differentIdeal ℤ (𝓞 E)) (z : _ → ℂ) y : ∃ a, y - algebraMap E _ a ∈ Ô E ∧ ∀ w, ‖z w - Φ w a‖ ≤ (2 * numInfPlaces E) ^ 2 * ‖Φ w d‖ := (exists_sub_mem_Ô y).elim fun r o ↦
For a number field E' with chosen complex embeddings (PlaceEmbedding E'), a type \alpha, a finite type \iota, a set A\subseteq\alpha,r with 0\le r (o) and f:\alpha\to E'^{\iota} such that for a\in A all f(a)_i are algebraic integers with |\Phi_v(f(a)_i)|\le r at every infinite place v (h), and f injective on A (j): \#A\le(1+2r)^{2\cdot|\iota|\cdot m},m the number of infinite places of E'.
New/Filling/BoxPartition.lean · the statement, lines 287–289lemma encard_integral_le [PlaceEmbedding E'] {r} (f : α → ι → E') (o : 0 ≤ r) (h : ∀ᵉ (a ∈ A) (i), IsIntegral ℤ (f a i) ∧ ∀ v, ‖Φ v (f a i)‖ ≤ r) (j : InjOn f A) : A.encard ≤ ENNReal.ofReal ((1 + 2 * r) ^ (card ι * numInfPlaces E' * 2)) := by
Hermite form: if (A, R) satisfies IsValuationPair and ι embeds k in n, an n×k matrix y over A is U_ι·D with U ∈ GL_n(R), U_ι its columns at ι, and D = (rows ι of U⁻¹)·y block upper triangular.
Lib/Adelic/Witt/FrameAction.lean · the statement, lines 58–59lemma IsValuationPair.hermite y (wt : k → ℕ := 0) : ∃ᵉ (U ∈ intGL n R) (D : Matrix k k A), D.BlockTriangular wt ∧ y = U.1.submatrix id ι * D ∧ U⁻¹.1.submatrix ι id * y = D :=
If A is an integral domain and a valuation ring, the pair (A, ⊤) satisfies IsValuationPair.
Lib/Adelic/Witt/FrameAction.lean · the statement, line 50lemma isValuationPair_top [IsDomain A] [ValuationRing A] : @IsValuationPair A _ ⊤ := by