Choose a statement on the pages, or with the arrows above, to see its structured proof and its Lean text here.
Instance. For admissible data D, an infinite place v of E and a Boolean u: D.HasLogBound(u, |\varpi|_{v}, (12 if u else 10)\cdot\log x): |v(\varpi)| \le x^{12} and |v(\varpi)| \ge x^{10}, \varpi = P.\varpi(s) the chosen generator of the different (its absolute value at v is that of P'(\zeta) times \sqrt{d}, computed from the cyclotomic polynomial).
New/Seesaw/IndexTypes.lean · the statement, lines 19–20instance hasLogBound_varpi (v : D.Φ) (u) : D.HasLogBound u (v (P.ϖ D.s)) (ite u 12 10 * D.logX) := by
Instance. For admissible data D and a Boolean u: D.HasLogBound(u, \mathrm{rd}_E, (12 if u else 10)\cdot\log x): the root discriminant \mathrm{rd}_E, the geometric mean of the |\varpi|_{v}, lies in [x^{10}, x^{12}].
New/Seesaw/IndexTypes.lean · the statement, line 30instance hasLogBound_rootDisc (u) : D.HasLogBound u D.rootDisc (ite u 12 10 * D.logX) := have :=
Definition. For admissible data D: \overline{\pi}_g = D.piGBar, the complex conjugate of the element \pi_g \in \mathcal{O}_K of norm g_{0}g_{1} (the field piG of D), as an integer of E; the chosen places are its prime divisors.
New/Seesaw/IndexTypes.lean · line 37abbrev piGBar := star (algebraMap _ (𝓞 D.E) D.piG)
Definition. For admissible data D and a finite place w of E: D.IsChosen(w) holds when w divides \overline{\pi}_g.
New/Seesaw/IndexTypes.lean · line 41def IsChosen (w : FinPlace D.E) := D.piGBar ∈ w.1
Definition. For admissible data D and i \in \{0, 1\}: D.ChosenPlace(i) is the type of finite places w of E that divide both \overline{\pi}_g and g_i (the chosen places above g_i).
New/Seesaw/IndexTypes.lean · line 45protected abbrev ChosenPlace i := {w : FinPlace _ // D.piGBar ∈ w.1 ∧ ↑(D.g i) ∈ w.1}
For admissible data D: \overline{\pi}_g\cdot\operatorname{conj}(\overline{\pi}_g) = g_{0}g_{1} = D.gProd.
New/Seesaw/IndexTypes.lean · the statement, line 47lemma piGBar_mul_star : D.piGBar * star D.piGBar = D.gProd := by
For admissible data D: \pi_g \ne 0.
New/Seesaw/IndexTypes.lean · line 50@[simp] lemma piG_ne_zero : D.piG ≠ 0 := (by simpa [·, ne] using D.norm_piG)
For admissible data D: \overline{\pi}_g \ne 0.
New/Seesaw/IndexTypes.lean · line 52lemma piGBar_ne_zero : D.piGBar ≠ 0 := by simp
For admissible data D and i \in \{0, 1\}: there is a natural number c with \overline{\pi}_g\cdot\operatorname{conj}(\overline{\pi}_g) = g_i\cdot c and g_i coprime to c (c = g_{1-i}; the primes are distinct).
New/Seesaw/IndexTypes.lean · the statement, line 54lemma exists_cofactor {i} : ∃ c : ℕ, D.piGBar * star D.piGBar = D.g i * c ∧ (D.g i).Coprime c :=
For admissible data D and a finite place w: D.IsChosen(w) iff D.IsChosen(w) and g_i \in w for some i \in \{0, 1\}.
New/Seesaw/IndexTypes.lean · the statement, line 57lemma isChosen_iff : D.IsChosen w ↔ ∃ i, D.IsChosen w ∧ ↑(D.g i) ∈ w.1 := by
For admissible data D, i \in \{0, 1\} and a finite place w of E above g_i (premise): the absolute norm of w is g_i (w has residue degree one, as g_i \equiv 1 mod N_{1}d).
New/Seesaw/IndexTypes.lean · the statement, line 62lemma q_eq_g {i} {w : FinPlace D.E} : ↑(D.g i) ∈ w.1 → w.q = D.g i :=
For admissible data D: the set of chosen places {w : D.IsChosen(w)} is finite.
New/Seesaw/IndexTypes.lean · lines 65–66lemma finite_isChosen : {w | D.IsChosen w}.Finite := by simp [IsChosen, ← dvd_span_singleton, finite_factors]
For admissible data D and a chosen place w (h): the residue field of w has a complex multiplicative character T of order exactly M_{\omega}^{2}, M_{\omega} = Parameters.Mω(s) = (N_{0}d)^{s+6} (M_{\omega}^{2} divides N(w) - 1).
New/Seesaw/IndexTypes.lean · the statement, lines 70–71lemma exists_residue_char_of_order (h : D.IsChosen w) : ∃ T : MulChar (ResField w) ℂ, orderOf T = P.Mω D.s ^ 2 := exists_mulChar_orderOf _ (by grind [isChosen_iff, q_eq_g, dvd_g_sub_one,
Definition. For admissible data D and a finite place w: \omega_w = (the chosen character of order M_{\omega}^{2} of exists_residue_char_of_order)^{M_{\omega}} if w is chosen, and the trivial character otherwise.
New/Seesaw/IndexTypes.lean · line 76def ω w := if h : D.IsChosen w then (D.exists_residue_char_of_order h).choose ^ P.Mω D.s else 1
For admissible data D and a chosen place w (h): \omega_w has order exactly M_{\omega} = (N_{0}d)^{s+6}.
New/Seesaw/IndexTypes.lean · the statement, line 79lemma orderOf_ω (h : D.IsChosen w) : orderOf (D.ω w) = P.Mω D.s := by
For admissible data D and a finite place w that is not chosen (premise): \omega_w = 1.
New/Seesaw/IndexTypes.lean · line 82@[simp] lemma omega_eq_one_of_not_isChosen : ¬D.IsChosen w → D.ω w = 1 := (dite_eq_right ·)
For admissible data D, a finite place w, a family \psi of residue characters with \psi_w = 1 (h) and n \in \mathbb{Z}: ((\omega^{n}\cdot\psi)_{w})^{M_{\omega}} = 1.
New/Seesaw/IndexTypes.lean · the statement, line 84lemma omega_zpow_mul_pow_eq_one {ψ} (n : ℤ) (h : ψ w = 1) : (D.ω ^ n * ψ) w ^ P.Mω D.s = 1 := by
For admissible data D and natural numbers a, n: there is a unitary character \mu of U(1)(\mathbb{A}), trivial on U(1)(E), of weight \sigma \mapsto -a\cdot w_{0}(\sigma) (w_{0} = Data.w 0) and tame part (\omega_w^{n})_{w} (AutChar.HasWeight).
New/Seesaw/IndexTypes.lean · the statement, line 89lemma exists_char_hasWeight : ∃ μ, HasWeight μ (-a * D.w 0 ·) (D.ω ^ n) :=
Definition. For admissible data D: \mu\flat = D.muFlat, a chosen character of U(1)(\mathbb{A}) of weight -w_{0} and trivial tame part (exists_char_hasWeight with a = 1, n = 0).
New/Seesaw/IndexTypes.lean · line 101def muFlat := (D.exists_char_hasWeight 1 0).choose
Definition. For admissible data D: \chi = a chosen character of U(1)(\mathbb{A}) of weight 0 and tame part \omega (exists_char_hasWeight with a = 0, n = 1).
New/Seesaw/IndexTypes.lean · line 105def χ := (D.exists_char_hasWeight 0 1).choose
For admissible data D: \mu\flat has weight \sigma \mapsto -w_{0}(\sigma) and trivial tame part.
New/Seesaw/IndexTypes.lean · line 108lemma muFlat_hasWeight : D.muFlat.HasWeight (-D.w 0 ·) 1 := by grind [muFlat, pow_zero]
For admissible data D: \chi has weight 0 and tame part \omega.
New/Seesaw/IndexTypes.lean · line 111lemma chi_hasWeight : D.χ.HasWeight 0 D.ω := by rw [Pi.zero_def]; grind [χ, pow_one]
Definition (structure). For admissible data D, a pair consists of a character \nu of U(1)(\mathbb{A}) (an AutChar), c : \Phi \to \mathbb{N}, a family \psi of residue characters and a natural number z, such that \nu has weight \sigma \mapsto -c(\sigma) and tame part \psi (hasWeight), \psi_w = 1 at every place w that is not chosen (ψ_eq_one), 1 \le z \le t (z_mem), and z \le c(v) \le 4b for every infinite place v (le_c, c_{le}).
New/Seesaw/IndexTypes.lean · the statement, line 115structure Pair where
Definition. For admissible data D, an infinite place v and i \in \mathbb{N}: D.rowParameter(v, i) = k/2 - 1 - i if i + 1 < k, and h_{2} - w_{i+2-k}(v) otherwise (the entry i of the row parameter \varsigma at v; w^{-}_{j} = w_j - h_{2}).
New/Seesaw/IndexTypes.lean · line 126def rowParameter v i := ite (i + 1 < D.k) (D.k / 2 - 1 - i : ℤ) (D.h₂ - D.w (i + 2 - D.k) v)
Definition. For admissible data D: \lambda = D.logLevelTarget = m\cdot(mean over the infinite places v of \log w(v)) + (m - 1)\cdot\log(g\cdot\mathrm{rd}_E/2\pi) - (15/2)\cdot\log b, with w = D.nominalWeight and g = g_{0}g_{1}.
New/Seesaw/IndexTypes.lean · the statement, line 133def logLevelTarget := D.m * ((∑ v, .log (D.nominalWeight v)) / D.f) + (D.m - 1) * .log
For admissible data D: m\cdot\log b \le \lambda \le 29\cdot m\cdot\log b, \lambda = D.logLevelTarget.
New/Seesaw/IndexTypes.lean · the statement, line 137lemma logLevelTarget_mem_Icc : D.logLevelTarget ∈ Set.Icc (D.m * D.logB) (29 * D.m * D.logB) := by
Definition. For admissible data D: the level N, a prime chosen (from the field exists_prime_window of D) with N \equiv 1 mod M_{\omega}^{2} and \log N \in [\lambda, \lambda + \sqrt{\log b}], \lambda = D.logLevelTarget.
New/Seesaw/IndexTypes.lean · the statement, line 145def N := (D.exists_prime_window _
For admissible data D: the level N is prime.
New/Seesaw/IndexTypes.lean · line 149lemma N_prime : D.N.Prime := by grind [N]
For admissible data D: N \equiv 1 mod N_{1}d (D.cycloConductor).
New/Seesaw/IndexTypes.lean · the statement, line 151lemma N_modEq_one : D.N ≡ 1 [MOD D.cycloConductor] := by grind [N, ModEq.of_dvd,
For admissible data D: \lambda \le \log N \le \lambda + \sqrt{\log b}, \lambda = D.logLevelTarget.
New/Seesaw/IndexTypes.lean · lines 157–158lemma log_N_mem_window : .log D.N ∈ Set.Icc D.logLevelTarget (D.logLevelTarget + √D.logB) := by grind [N]
For admissible data D: m\cdot\log b \le \log N \le 30\cdot m\cdot\log b.
New/Seesaw/IndexTypes.lean · the statement, line 161lemma log_N_mem_Icc : .log D.N ∈ Set.Icc (D.m * D.logB) (30 * D.m * D.logB) := by
For admissible data D: there is an integer \pi of E with \pi\cdot\overline{\pi} = N.
New/Seesaw/IndexTypes.lean · the statement, line 173lemma exists_pi_mul_star : ∃ π : 𝓞 D.E, π * star π = D.N :=
Definition. For admissible data D: a chosen integer \pi of E with \pi\cdot\overline{\pi} = N (exists_pi_mul_star).
New/Seesaw/IndexTypes.lean · line 178def π := D.exists_pi_mul_star.choose
For admissible data D: \pi\cdot\overline{\pi} = N.
New/Seesaw/IndexTypes.lean · line 182lemma π_mul_star : D.π * star D.π = D.N := by grind [π]
Definition (structure). For admissible data D, a tame character consists of a character toAutChar of U(1)(\mathbb{A}) trivial on U(1)(E), a finite set Q of finite places and a family \psi of residue characters such that the character has weight 0 and tame part \psi (hasWeight), \psi_w = 1 for w \notin Q (ψ_eq_one), \overline{w} \notin Q for w \in Q (star_notMem), and g_{0}g_{1}N is coprime to \prod_{w\in Q} N(w) (coprime, the seventh field). Nothing is asked of \psi_w for w \in Q: a tame character may mark a place of Q at which its tame part is trivial; the non-triviality at every marked place is the extra field of Data.Twist.
New/Seesaw/IndexTypes.lean · the statement, line 186structure TameChar where
Definition. For a tame character \vartheta: levelNorm(\vartheta) = \prod_{w\in Q(\vartheta)} N(w), the product of the norms of the places of Q.
New/Seesaw/IndexTypes.lean · line 195abbrev TameChar.levelNorm {D} (ϑ : @TameChar P D) := ∏ w ∈ ϑ.Q, w.q
Definition (structure). For admissible data D, a twist is a tame character (Data.TameChar) whose tame part is non-trivial at every place of its set Q (psi_ne_one: \psi_w \ne 1 for w \in Q).
New/Seesaw/IndexTypes.lean · line 199structure Twist extends D.TameChar where psi_ne_one : ∀ w ∈ Q, ψ w ≠ 1
Definition. For admissible data D: the trivial tame character, with empty set Q and trivial tame part.
New/Seesaw/IndexTypes.lean · line 206abbrev TameChar.one {D} : @TameChar P D := Twist.toTameChar 1
Definition. For admissible data D and j \in \mathbb{N}: \mu^{0}_{j} = \mu\flat\cdot(\upsilon^{-h}\cdot\chi)^{j}, a character of U(1)(\mathbb{A}), with \upsilon the restricted splitting character (WeilData.upsilonU1) and h the gap.
New/Seesaw/IndexTypes.lean · line 210def μ₀ := D.muFlat * (WeilData.upsilonU1 ^ (-D.h : ℤ) * D.χ) ^ j
For admissible data D and j \in \mathbb{N}: \mu^{0}_{j} has weight \sigma \mapsto -w_j(\sigma) and tame part \omega^{j}.
New/Seesaw/IndexTypes.lean · the statement, line 213lemma mu₀_hasWeight : (D.μ₀ j).HasWeight (-D.w j ·) (D.ω ^ (j : ℤ)) := by
Definition. For admissible data D, a tame character \vartheta and j \in \mathbb{N}: D.liftChar(\vartheta, j) = \mu^{0}_{j}\cdot\vartheta (product of characters of U(1)(\mathbb{A})).
New/Seesaw/IndexTypes.lean · line 218def liftChar ϑ j := D.μ₀ j * TameChar.toAutChar ϑ
Definition. For admissible data D, a tame character \vartheta and j \in \mathbb{N}: D.liftTamePart(\vartheta, j) = \omega^{j}\cdot\psi_{\vartheta}, the family of residue characters \omega_w^{j}\cdot\psi_{\vartheta,w}; it is the tame part of \mu^{0}_{j}\vartheta.
New/Seesaw/IndexTypes.lean · line 222def liftTamePart ϑ (j : ℕ) := D.ω ^ (j : ℤ) * TameChar.ψ ϑ
Instance. For admissible data D, a tame character \vartheta and j \in \mathbb{N}: D.liftChar(\vartheta, j) has weight -w_j and tame part D.liftTamePart(\vartheta, j).
New/Seesaw/IndexTypes.lean · lines 224–225instance hasWeight_liftChar {ϑ j} : (D.liftChar ϑ j).HasWeight (-D.w j ·) (D.liftTamePart ϑ j) := by simpa using! (mu₀_hasWeight ..).mul ϑ.hasWeight
Definition. For admissible data D: D.LiftIndex = \{j \in \mathbb{N} : 1 \le j \le m\}, the indices of the lifts.
New/Seesaw/IndexTypes.lean · line 228abbrev LiftIndex := Set.Icc 1 D.m
Definition (by recursion on j). For index types S, T and j \in \mathbb{N}: BlockIndex(S, T, 0) = S and BlockIndex(S, T, j + 1) = BlockIndex(S, T, j) \sqcup T: the disjoint union of S and j copies of T (the index type of Y_j).
New/Seesaw/IndexTypes.lean · line 231@[instance_reducible] def _root_.BlockIndex (S T : Type) | 0 => S | j + 1 => BlockIndex S T j ⊕ T
Definition. For index types S, T and j: the inclusion S \hookrightarrow BlockIndex(S, T, j) of the first block.
New/Seesaw/IndexTypes.lean · lines 234–235def _root_.BlockIndex.firstBlock : ∀ j, S ↪ BlockIndex S T j | 0 => .refl _ | j + 1 => (BlockIndex.firstBlock j).trans .inl
Definition. For index types S, T, \alpha, a bijection \nu : S \simeq \alpha and j: a chosen bijection BlockIndex(S, T, j) \simeq \alpha \sqcup (\{0, \ldots, j-1\} \times T) (for j = 0 it is \nu; for j + 1 one is chosen by cardinality).
New/Seesaw/IndexTypes.lean · the statement, line 239def _root_.BlockIndex.equivSum (ν : S ≃ α) : ∀ j, BlockIndex S T j ≃ α ⊕ Fin j × T
Instance. For finite index types S, T and every j: BlockIndex(S, T, j) is finite.
New/Seesaw/IndexTypes.lean · lines 245–246instance _root_.instFintypeYT : ∀ j, Fintype (BlockIndex S T j) | 0 => ‹_› | j + 1 => @instFintypeSum _ T (instFintypeYT j) _
For finite index types S, T and j \in \mathbb{N}: |BlockIndex(S, T, j)| = |S| + j\cdot|T|.
New/Seesaw/IndexTypes.lean · lines 248–249@[simp] lemma _root_.BlockIndex.card : Fintype.card (BlockIndex S T j) = Fintype.card S + j * Fintype.card T := by simp [Fintype.card_congr (BlockIndex.equivSum (.refl _) j)]
Definition. For admissible data D: \varrho = \lfloor m/2\rfloor - 1 (truncated at zero); then m = 2\varrho + 2.
New/Seesaw/IndexTypes.lean · line 252def ϱ := D.m / 2 - 1
Definition. For admissible data D and j: D.InitIndex(j) = \{0, \ldots, n_j - 2\}, the basis indices of X_j other than the last (n_j - 1 elements).
New/Seesaw/IndexTypes.lean · line 255abbrev InitIndex := Fin (D.n j - 1)
Definition. For admissible data D and j: X(j) = D.InitIndex(j) \sqcup \{\operatorname{pt}\}, the basis index set of X_j (n_j indices, the point the last basis vector).
New/Seesaw/IndexTypes.lean · line 259abbrev X := D.InitIndex j ⊕ Unit
Definition. For admissible data D: the shape of Y_{0} (Shape): \varrho hyperbolic planes, the basis indices X(0) of X_{0}, and the point as the distinguished index.
New/Seesaw/IndexTypes.lean · line 263abbrev shape : Shape := ⟨D.ϱ, D.X 0, .inr ()⟩
Definition. For admissible data D: D.RowIndex = the Bessel index set of the shape: e_{1}, \ldots, e_{\varrho}, the indices of X_{0}, the middle vector z, and e\ast_{1}, \ldots, e\ast_{\varrho} — the basis index set of Y_{0}.
New/Seesaw/IndexTypes.lean · line 267@[reducible] def RowIndex := D.shape.BesselIndex deriving DecidableEq, Fintype
Definition. For admissible data D and j: Y(j) = BlockIndex(D.RowIndex, \{0, \ldots, t-1\}, j), the basis index set of Y_j (block R followed by j blocks of t indices).
New/Seesaw/IndexTypes.lean · line 270abbrev Y := BlockIndex D.RowIndex (Fin D.t) j
For admissible data D: |D.RowIndex| = r.
New/Seesaw/IndexTypes.lean · line 274lemma card_rowIndex : Fintype.card D.RowIndex = D.r := by simp; grind [ϱ, n]
Definition. For admissible data D: a chosen bijection D.RowIndex \simeq \{0, \ldots, r - 1\}.
New/Seesaw/IndexTypes.lean · line 281def basisNumber := Fintype.equivFinOfCardEq D.card_rowIndex
Definition. For admissible data D, an infinite place \tau and i \in D.RowIndex: D.paramW(\tau, i) = 2\cdotD.rowParameter(\tau, D.basisNumber(i)), the doubled parameter on the W_j and on Y_{0}.
New/Seesaw/IndexTypes.lean · line 285def paramW τ i := 2 * D.rowParameter τ (D.basisNumber i)
Definition (by equations). entrySign : \mathbb{N} \to \mathbb{N} \to \mathbb{N} \to \{\pm1\}: entrySign(o + 1, 0, a) = -entrySign(o, 0, a), and otherwise entrySign(o, j, a) = (-1)^{o + a + \min(a - o, j)} (a - o truncated at zero).
New/Seesaw/IndexTypes.lean · line 289def entrySign : ℕ → ℕ → ℕ → ℤˣ | o + 1, 0, a => -entrySign o 0 a | o, j, a => (-1) ^ (o + a + min (a - o) j)
For j \in \mathbb{N} and y \in \mathbb{Z}: (y - 1 if j mod 2 = 1, else y) = y - (j mod 2).
New/Seesaw/IndexTypes.lean · line 291lemma ite_odd_eq_sub_emod (y : ℤ) : ite (j % 2 = 1) (y - 1) y = y - j % 2 := by lia
Definition. For admissible data D, j and i \in D.RowIndex: D.signsW(j, i) = -1 if D.basisNumber(i) \ge k + j - 1 (D.posRank(j)), and +1 otherwise: the signs of W_j.
New/Seesaw/IndexTypes.lean · line 295def signsW i := ite (D.posRank j ≤ D.basisNumber i) (-1 : ℤˣ) 1
Definition. For admissible data D and a pair x = (i, w) with i \in \{0, 1\} and w \in D.ChosenPlace(i): D.chosen(x) = w, the finite place underlying the pair.
New/Seesaw/IndexTypes.lean · line 299def chosen (x : Σ i, D.ChosenPlace i) := x.2.1
Definition. For admissible data D: \mathsf{G} = \prod_{x} \mathrm{GL}_r(\mathbb{F}_{w_x}) (indices D.RowIndex), over the chosen places x = (i, w) above g_{0} and g_{1}.
New/Seesaw/IndexTypes.lean · line 302abbrev G := ∀ x, GL D.RowIndex (ResField (D.chosen x))
Definition. For admissible data D: the finite set of families (c_x) of monic polynomials of degree r over the residue fields of the chosen places x above g_{0}, g_{1} whose restriction above each g_i lies in goodTuples(M_{\omega}, r) (each an allowed label without roots of order dividing M_{\omega}, at least one primitive).
New/Seesaw/IndexTypes.lean · the statement, line 308def goodTupleFamilies :=
Definition. For admissible data D: e_{0} = \sum_{c \in \mathrm{D.goodTupleFamilies}} tupleIdem(D.RowIndex, c) \in \mathbb{C}[\mathsf{G}], the good idempotent.
New/Seesaw/IndexTypes.lean · line 314def e₀ := ∑ c ∈ D.goodTupleFamilies, tupleIdem D.RowIndex c
Let E be a CM field, n a non-empty and n' a finite index type, \kappa, \kappa' weights, e, e' determinant exponents, l' and l doubled Harish-Chandra parameters on n' and n with IsHCParam(\kappa, e, l') (h) and IsHCParam(\kappa', e', -l) (h'), interlacing: \#\{j : x < l'_{w}(j)\} - \#\{i : x < l_w(i)\} \in \{0, 1\} for every place w and x (hi); and let \sigma : n \sqcup \{\operatorname{pt}\} \simeq n' with signs s on n, r on \operatorname{pt}, t on n' such that (s \sqcup r)\circ\sigma^{-1} = t (hσ) and t = 1 (ht). Write v' \cdot (B\cdot v) = (v')^{T}\cdot B\cdot v for the bilinear pairing given by B (the dot product \cdot, no complex conjugation). Then there is an integer matrix B such that (a) there are integers N_{\tau} with (\rho_{\kappa',e'}(g)v') \cdot (B\cdot\rho_{\kappa,e}(\operatorname{diag}_{\sigma}(g, u))v) = \prod_{\tau} \det(u_{\tau})^{N_{\tau}}\cdot(v' \cdot (B\cdot v)) for all commutative rings S with involution, fields R of characteristic 0, ring maps f_{\tau} : S \to R and g, u, v', v (\rho = weylRep, entries mapped by f); |N_{\tau}| \le \operatorname{boxes}(\kappa, |n'|) + |e_{\tau}|; and |v' \cdot (B\cdot v)| \le (M^{M})^{3}\cdot\sqrt{\texttt{weylNormSq}(v')}\cdot\sqrt{\texttt{weylNormSq}(v)} (the norms of the positive definite Weyl Gram form) for every M \ge \operatorname{boxes}(\kappa, |n'|); and (b) for every g there is c = c_g (chosen after g and before V, \eta, \varphi, u and K; c_g = 0 is not excluded) such that for every standard space V (indices n, signs s), all algebraic forms \eta of weight (\kappa', e') and \varphi of weight (\kappa, e), every u and every level K: \int_{[U(V)]} F_{\eta}^{(-l, s)}(x)\cdot F_{\varphi}^{(l', t)}(\sigma-\operatorname{block}(x, 1, u)\cdot(g, 1)) dx = c_g/[K_{0} : K]\cdot(the class integral at level K of h \mapsto \eta(h) \cdot (B\cdot\varphi(\operatorname{diag}_{\sigma}(h, u)))), F = ofAlgForm. So B pairs the two weights bilinearly and invariantly up to a power of \det u, with explicit bounds, and periods over definite U(n) are constants times means of this pairing.
New/Seesaw/PairTensorData.lean · the statement, lines 22–32lemma exists_branching_pairing [Nonempty n] {l l' s t r} {σ : _ ⊕ Unit ≃ n'} (hσ : (s ⊕ᵥ r) ∘ σ.symm = t) (ht : t = 1) (h : IsHCParam κ e l') (h' : IsHCParam κ' e' (-l)) (hi : ∀ w x, (#{j | x < l' w j} - #{i | x < l w i} : ℤ) ∈ Icc 0 1) : ∃ B : Matrix _ _ ℤ, (∃ N : _ → ℤ, (∀ (S R : Type) [CommRing S] [StarRing S] [Field R] [CharZero R] (f : _ → S →+* R) g u v' v, weylRep κ' e' (g.1.map <| f ·) *ᵥ v' ⬝ᵥ B.map (↑) *ᵥ weylRep κ e ((U.block σ (g, u)).1.map <| f ·) *ᵥ v = (∏ τ, (u.1.map (f τ)).det ^ N τ : Rˣ) * v' ⬝ᵥ B.map (↑) *ᵥ v) ∧ (∀ τ, (N τ).natAbs ≤ boxes κ (card n') + (e τ).natAbs) ∧ ∀ M, boxes κ (card n') ≤ M → ∀ v' v, ‖v' ⬝ᵥ B.map (↑) *ᵥ v‖ ≤ ((M ^ M) ^ 3 :) * √(weylNormSq v') * √(weylNormSq v)) ∧ ∀ g, ∃ c, ∀ (V : Space E n s) [V.IsStd] (η : AlgForm n _ e') (φ : AlgForm _ _ e) u K [IsLevel K], ∫ x, ofAlgForm (-l) s η x * ofAlgForm l' t φ (G.reindex σ hσ (.sum (x, 1, u)) * (g, 1)) ∂V.quotMeasure = c / stdLevelIndex K * classIntegral stdRatPoints K fun h ↦ η.1 h ⬝ᵥ B.map (↑) *ᵥ φ.1 (U.block σ (h, u)) := by
Definition (by cases). For admissible data D: the hermitian space gridSpace(o, z, i, j) over E with the signs D.gridSigns(z, o, i, j) at the node (i, j) of grid z with offset o: for o = 0, z = true, i = j = 0 it is Y_{0} \oplus (a signed line), reindexed; for o = 0, z = false, i = 0 it is Y_j = D.spaceY(j); for o + 1 and i = j = 0 it is the negative of the space for o; otherwise it is the standard signed space signedSpace of these signs.
New/Seesaw/PairTensorData.lean · the statement, line 68def gridSpace : ∀ o z i j, Space D.E _ (D.gridSigns z o i j)
Definition. For admissible data D and a node (i, j) of grid z: the pair of kernels kernelPair(D.gridParam(z, 0, i, j), D.gridSigns(z, 0, i, j)): at false the type kernel of the doubled parameter, at true that of its negative.
New/Seesaw/PairTensorData.lean · line 75def gridKernel z i j := kernelPair (D.gridParam z 0 i j) (D.gridSigns z 0 i j)
Definition. For admissible data D and a node (a, b) of grid z: the forms on the unitary group of gridSpace(0, z, a, b) of the type gridKernel(z, a, b)(true), i.e. of doubled parameter -D.gridParam.
New/Seesaw/PairTensorData.lean · line 79abbrev GridForm z a b := (gridSpace ..).Form (D.gridKernel z a b true)
Definition. For admissible data D, an m-fold twist \vartheta, c \in \{true, false\}, l \in \mathbb{N} and a finite index type n: gridChar(\vartheta, c, l, n) = D.liftChar(\vartheta^{l+1} if c, else 1; l + 1)\cdot\upsilon^{\lfloor (|n| + [c \mathrm{false}])/2\rfloor}: the character \mu^{0}_{l+1}\vartheta^{l+1}\upsilon^{\lfloor |n|/2\rfloor} if c is true and the untwisted \mu^{0}_{l+1}\upsilon^{\lceil |n|/2\rceil} if c is false.
New/Seesaw/PairTensorData.lean · the statement, line 83def gridChar := D.liftChar (bif c then ϑ.pow (l + 1) else .one) (l + 1) *
Definition. For admissible data D, an m-fold twist \vartheta, c and l: gridTamePart(\vartheta, c, l) = D.liftTamePart(\vartheta^{l+1} if c else 1, l + 1), the family \omega_w^{l+1}\psi_{\vartheta,w}^{l+1} if c is true and \omega_w^{l+1} otherwise: the tame part of gridChar.
New/Seesaw/PairTensorData.lean · line 88abbrev gridTamePart := D.liftTamePart (bif c then ϑ.pow (l + 1) else .one) (l + 1)
Definition. For admissible data D, a grid z, an m-fold twist \vartheta and n \in \mathbb{N}: |\mathrm{GL}_{\mathrm{D.GridIndex}(z, 0, n)}(O_E/triangleModulus(z, \vartheta))|, the order of the general linear group, of the rank of the node (0, n), over the residue ring of the triangle modulus.
New/Seesaw/PairTensorData.lean · line 92abbrev triangleOrder z ϑ n := Fintype.card (GL (D.GridIndex z 0 n) (D.triangleModulus z ϑ).ResRing)
Definition. Node = Bool \times \mathbb{N} \times \mathbb{N}: triples (z, a, b), standing for the space V_{a,b} if z is false and Z_{b,a} if z is true.
New/Seesaw/PairTensorData.lean · line 96abbrev Node := Bool × ℕ × ℕ
Definition. For admissible data D and a node p = (z, i, j): NodeIndex(p) = D.GridIndex(z, i, j), the basis index set of the node.
New/Seesaw/PairTensorData.lean · line 99abbrev NodeIndex (p : Node) := D.GridIndex p.1 p.2.1 p.2.2
Definition. For admissible data D, an m-fold twist \vartheta and a node p = (z, a, b): the subgroup of \mathrm{GL}_{\mathrm{NodeIndex}(p)}(O_E/gridModulus(\vartheta)) that is trivial (\bot) at the nodes (false, 0, b), and otherwise the kernel of reduction to the triangle modulus (reduceToTriangle(\vartheta, true)).
New/Seesaw/PairTensorData.lean · the statement, line 103def nodeLevel p := if !p.1 ∧
Definition. For admissible data D, an m-fold twist \vartheta and a node (a, b) of grid z: the index of nodeLevel(\vartheta, (z, a, b)), as a complex number.
New/Seesaw/PairTensorData.lean · line 108abbrev levelIndex z a b := ((nodeLevel ϑ (z, a, b)).index : ℂ)
Definition. For admissible data D and i \in \mathbb{N}: the forms on Z_{i,0} = gridSpace(0, true, 0, i) of the type gridKernel(true, 0, i)(true) that are fixed by the principal level of gridLevelGen = \overline{\pi}_g^{b_{1}}.
New/Seesaw/PairTensorData.lean · the statement, line 112abbrev gridLevelForms i :=
For admissible data D, a grid z and a node (i, j) with i, j \le m (h): gridKernel(z, i, j) is a conjugate kernel pair (IsConjKernelPair: its two type kernels are complex conjugates and cuspidal of order 0). (One step: isConjKernelPair_kernelPair, the gap of D.gridParam exceeding the threshold for these ranks by the size comparisons of the data.)
New/Seesaw/PairTensorData.lean · the statement, line 115lemma isConjKernelPair_gridKernel (h : i ≤ D.m ∧ j ≤ D.m) : IsConjKernelPair (D.gridKernel z i j) :=
Instance. For admissible data D, an m-fold twist \vartheta, c, l and a finite index type n: gridChar(\vartheta, c, l, n) has weight D.gridWeight(c, l, n) and tame part gridTamePart(\vartheta, c, l) (AutChar.HasWeight).
New/Seesaw/PairTensorData.lean · lines 119–120instance gridChar_hasWeight : (gridChar ϑ c l n).HasWeight (D.gridWeight c l n) (gridTamePart ϑ c l) := D.hasWeight_liftChar.mul_upsilonU1_pow _
For admissible data D, a grid z, a node (i, j), a family \vartheta : I \to m-fold twists and a step of the grid from (i, j) to (i', j') given by d and e ((c, l, i', j') = (z, i, i + 1, j) if d, else (\neg z, j, i, j + 1)) with i', j' \le m (hi, hj): the characters x \mapsto gridChar(\vartheta_x, c, l), the kernels gridKernel(z, i, j), gridKernel(z, i', j') and the polynomial D.gridHarmonic(0, d, c, l, \ldots) satisfy IsEdgeFamily in direction d: steps of the grids are edges.
New/Seesaw/PairTensorData.lean · lines 125–128lemma isEdgeFamily_grid {I} (ϑ : I → _) d {c l i' j'} (e : (c, l, i', j') = bif d then (z, i, i + 1, j) else (!z, j, i, j + 1)) (hi : i' ≤ D.m := by omega) (hj : j' ≤ D.m := by omega) : IsEdgeFamily (fun x ↦ gridChar (ϑ x) c l) (D.gridKernel z i j) (D.gridKernel z i' j') d (D.gridHarmonic 0 d c l ..) := isEdgeFamily_of_paramsCorrespond _ _ (D.paramsCorrespond_grid _ _ _ _ _ e)
For admissible data D and j \le m (the hypothesis h of the reindexing): gridSpace(0, true, j, j) = (gridSpace(0, false, j, j) \oplus the signed line of sign (-1)^{j}) reindexed along D.gridDiagEquiv(j): Z_{j,j} is V_{j,j} plus a line.
New/Seesaw/PairTensorData.lean · the statement, lines 132–133lemma gridSpace_diag h : D.gridSpace 0 _ j j = ((gridSpace ..).sum (signedSpace ..)).reindex _ (D.gridDiagEquiv_spec h) := by
For admissible data D and j \in \mathbb{N}: there are a bijection \tau of basis index sets and a compatibility h of the signs with gridSpace(0, true, j, j + 1) = gridSpace(0, false, j + 1, j) reindexed along \tau^{-1}: Z_{j+1,j} equals V_{j+1,j} up to relabelling.
New/Seesaw/PairTensorData.lean · the statement, lines 140–141lemma gridSpace_subdiag j : ∃ τ h, D.gridSpace 0 true j (j + 1) = (D.gridSpace 0 false (j + 1) j).reindex (.symm τ) h :=
Definition. For admissible data D, an m-fold twist \vartheta, a grid z and b \in \mathbb{N}: the linear map GridForm(z, 0, b + 1) \to GridForm(z, 0, b), triangleOrder(z, \vartheta, b) times the descent modDescent with the character gridChar(\vartheta, \neg z, b), the harmonic D.gridHarmonic(0, false, \neg z, b, z, 0, b, 0, b + 1) and the finite datum the indicator of the standard inclusion (1; 0) modulo triangleModulus(z, \vartheta) (inclusionDatum).
New/Seesaw/PairTensorData.lean · the statement, line 148def pointDescent z b : D.GridForm z 0 (b + 1) →ₗ[ℂ] D.GridForm z 0 b := (triangleOrder z ϑ b : ℂ) •
Definition. For admissible data D, an m-fold twist \vartheta, a grid z and b \in \mathbb{N}: iotaPlus(z, b) : GridForm(z, 0, m) \to GridForm(z, 0, b), the composite of the descents pointDescent from node (0, m) down to (0, b) if b < m (recursively: pointDescent(z, b) \circ iotaPlus(z, b + 1)), the identity if b = m and 0 if b > m.
New/Seesaw/PairTensorData.lean · the statement, line 154def iotaPlus z b : D.GridForm z 0 D.m →ₗ[ℂ] D.GridForm z 0 b := if b < D.m then pointDescent ϑ .. ∘ₗ
Definition. For admissible data D, an m-fold twist \vartheta, a node (a, b) of grid z and a residue matrix y modulo \mathfrak{m} = gridModulus(\vartheta): the descent GridForm(z, a, b + 1) \to GridForm(z, a, b) (modDescent) with character gridChar(\vartheta, \neg z, b), harmonic D.gridHarmonic(0, false, \neg z, b, \ldots) and finite datum the indicator of y modulo \mathfrak{m}.
New/Seesaw/PairTensorData.lean · lines 161–163def descentMove (y : Matrix (D.GridIndex z a (b + 1)) (D.GridIndex z a b) (gridModulus ϑ).ResRing) : D.GridForm z a (b + 1) →ₗ[ℂ] D.GridForm z a b := modDescent _ _ (gridChar ϑ (!z) b) (D.gridHarmonic 0 false (!z) b ..) (Pi.single y 1) ..
Definition. For admissible data D, an m-fold twist \vartheta, a node (a, b) of grid z and a residue matrix y modulo \mathfrak{m} = gridModulus(\vartheta): the lift GridForm(z, a, b) \to GridForm(z, a + 1, b) (modLift) with character gridChar(\vartheta, z, a), harmonic D.gridHarmonic(0, true, z, a, \ldots) and finite datum the indicator of y modulo \mathfrak{m}.
New/Seesaw/PairTensorData.lean · lines 167–169def liftMove (y : Matrix (D.GridIndex z (a + 1) b) (D.GridIndex z a b) (gridModulus ϑ).ResRing) : D.GridForm z a b →ₗ[ℂ] D.GridForm z (a + 1) b := modLift _ _ (gridChar ϑ z a) (D.gridHarmonic 0 true z a ..) (Pi.single y 1) ..
For admissible data D, an m-fold twist \vartheta, c, l, a finite index type n, a finite index type n', signs s and k \in K_{0} of rank n': gridChar(\vartheta, c, l, n) at \det(1, k) equals charOfTamePart(gridModulus(\vartheta), gridTamePart(\vartheta, c, l)) at \det(k mod \mathfrak{m}): the character modulo \mathfrak{m} with local components (\omega_w\psi_{\vartheta,w})^{l+1} if c, else \omega_w^{l+1}, evaluated at the reduction of \det k, whatever n is.
New/Seesaw/PairTensorData.lean · the statement, lines 173–175lemma gridChar_det {n'} [Fintype n'] s (k : Kf D.E n') : (gridChar ϑ c l n).1 (G.det (s := s) (1, k.1)) = (gridModulus ϑ).charOfTamePart (gridTamePart ϑ c l) ((gridModulus ϑ).reductionK₀ k).1.det := (gridChar_hasWeight ..).apply_det_eq_charOfTamePart (by
For admissible data D, an m-fold twist \vartheta and a node (a, b) of grid z with z true or a \ne 0 (h): levelIndex(\vartheta, z, a, b) = |\mathrm{GL}_{\mathrm{D.GridIndex}(z, a, b)}(O_E/gridModulus(1))|, the order of \mathrm{GL} of that rank over the residue ring of \mathfrak{b} = M^{b_{1}} (the untwisted modulus); in particular it does not depend on \vartheta.
New/Seesaw/PairTensorData.lean · the statement, lines 181–182lemma levelIndex_eq_untwisted (h : z ∨ a ≠ 0) : levelIndex ϑ z a b = Fintype.card (GL (D.GridIndex z a b) (D.gridModulus 1).ResRing) := by