grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 148

lemma Filling.HasLevel.abs_norm_bordered_det

What it saysLemma. Let E be a number field with a CM structure, \mathfrak{s} a shape, S filling data over E of shape \mathfrak{s},j\in\{0,\ldots,\varrho+1\} and \gamma\in G(E) of level j (h: HasLevel(S,j,\gamma) — \gamma is in normal form of index j,D_j(\gamma)\ne0, and \varrho<j\iff\mathsf{g}(\gamma)\ne0). Let r split the indices a\in\{0,\ldots,\varrho-1\} of the isotropic frame vectors e_a=f_a (a<\varrho) into a<j and a\ge j, and let P be the matrix with the columns e_a (all a<\varrho), \gamma e_a (a<j),e_a^{*} (j\le a<\varrho),z=f_{\mathrm{top}}=f_{\varrho} and \gamma z — the isotropic frame vectors, their images under \gamma below j, the dual basis vectors from j on, and z,\gamma z, each of these two once (m= isotropicFramePair(\gamma)=(e_a|\gamma e_a)_{a<\varrho},s the columns e_a^{*},p the pair (z,\gamma z), as in the lets). Put M=P^{*}\cdot J\cdot P+\operatorname{diag}(0,N(S)\cdot1),N(S) added on the diagonal of the last block (the columns e_a^{*},z,\gamma z). Then [\det M]=(N(S)^{2f}\cdot\mathtt{minorNorm}(S,j,\gamma))^{2}. (Notation: T= ratMiddle(S) is the Gram matrix of the rational middle form X_0\oplus Ez with z of square h(z,z)=-N(S) (T= middleGram(N(S)): 1 on X_0 and -N(S) at z), J= ratGram(S) its split Gram matrix on BesselIndex(\mathfrak{s}); Z(\gamma)= frameProducts(S,\gamma); D_j(\gamma)= leadingMinor(Z(\gamma),j); \mathsf{g}(\gamma)= termDisc(S,\gamma); \operatorname{link}(\gamma)\subseteq(X_0\oplus Ez)^{2} is the image under linkMatrix(\gamma) of the J-orthogonal of the isotropic frame pair (f_a,\gamma f_a); zFormPair(T)=\operatorname{diag}(T_z,T_z) takes the z-pairing in both halves; linkMetric(S)=\tfrac{1}{2}\cdot\operatorname{diag}(T,T)+N(S)^{-1}\cdotzFormPair(T)^{*}zFormPair(T), the diagonal matrix with 1/2 at the X_0-coordinates and -N(S)/2+N(S)=N(S)/2 at the two z-coordinates; linkDiscSq(S,v,e)=|N_{E/\mathbb{Q}}(\det(v^{*}\cdot\mathtt{linkMetric}(S)\cdot v))|\cdot[\det e]^{2},[\cdot] the generalised index of a finite adele; minorNorm(S,j,\gamma)=|N_{E/\mathbb{Q}}(D_j(\gamma))|/N(S)^{2(j-\varrho)_+f}; termDiscNorm(S,\gamma)=\prod_v|\Phi_v(\mathsf{g}(\gamma))|; HasIntegralLifts(S,c,\gamma,m): m= linkMatrix(\gamma)\cdot t\cdot w for a rational t with (isotropic frame pair of \gamma)*\cdot J\cdot t=0 and adelic w with classCoord(S,c)\cdot t\cdot w integral; f=f(E) the number of infinite places.)
The argument in briefReorder the rows and columns of M into a block upper triangular matrix with diagonal blocks A and A*, where A is paddedLeading(j,Z(\gamma^{-1})) with its top row replaced by that of Z(\gamma^{-1}); then [\det M]=|N(\det A)|^{2}. For j=\varrho+1,A=Z(\gamma^{-1}) and |N(\det A)|=N^{2f}minorNorm by definition; for j\le\varrho, Cramer's rule with the shared frame vector of \gamma^{-1} at the top gives \det A= (unit)\cdot N\cdot D_j, so again |N(\det A)|=N^{2f}\cdotminorNorm(S,j,\gamma).

14 steps, 10 of them leaves · New/Filling/LinkPairing.lean, lines 25–50 · in the notes: Lemma 4.1, p. 7 of Links of pairs of terms: integral lifts and the discriminant gain

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1deductionlines 32–33

    Introduce the lets; A= paddedLeading(j,Z(\gamma^{-1})) (rows a<j of Z(\gamma^{-1}), identity rows elsewhere) with the top row replaced by the top row of Z(\gamma^{-1}).

  2. 2deduction5 steps insidelines 34–41

    [\det M]=|N_{E/\mathbb{Q}}(\det M)| (\det M is rational), and it suffices that |N(\det A)|=N^{2f}\cdotminorNorm(S,j,\gamma) (a side goal, steps 3–9) together with |N(\det M)|=|N(\det A)|^{2}:

    1. 2.1deductionline 35

      g: the reindexing of the frame indices (finSuccEquivLast, r, Option \simeq Sum) used for A;

    2. 2.2deductionlines 36–37

      d: \det M equals the determinant of M with its index sum reassociated and the two halves swapped (det_reindex_self, det_permute);

    3. 2.3deductionlines 38–39

      that reindexed matrix is fromBlocks(A', *, 0,A'^{*}) with A'=A reindexed by g (checked entrywise),

    4. 2.4deductionline 40

      so |N(\det M)|=|N(\det A)\cdot N(\operatorname{conj}\det A)|=|N(\det A)|^{2};

    5. 2.5deductionline 41

      the entrywise identities: the Gram entries of the columns e_a (a<\varrho),\gamma e_a (a<j),e_a^{*} (j\le a<\varrho),z,\gamma z under the split Gram matrix (splitGram, middleGram, frameGram; grind).

  3. 3deduction2 steps insidelines 42–50

    Cases j=\varrho+1 and j=j'\le\varrho (Fin.lastCases):

    1. 3.1case1 step insideline 43

      j=\varrho+1: A=Z(\gamma^{-1}) (step 3.1.1) and the identity is the definition of minorNorm with (j-\varrho)_+=1 (field_simp).

      1. 3.1.1deductionline 43

        A=Z(\gamma^{-1}): at j= last, paddedLeading keeps all rows below the top, and the top row is replaced by itself.

        Lean statesA = S.frameProducts γ⁻¹

    2. 3.2case3 steps insidelines 44–50

      j\le\varrho: the shared frame vector of \gamma^{-1} (level j by HasLevel.inv): frameImage(1)\cdot w= frameImage(\gamma^{-1})\cdot(top column of paddedLeading(j,Z(\gamma^{-1}))^{-1}).

      UsesFilling.HasLevel.exists_shared_frame_vector unit 148, Filling.HasLevel.inv unit 148

      1. 3.2.1deductionlines 45–47

        Cramer's rule: \det A times the top column of A^{-1} is the top column of the adjugate, and Z(\gamma^{-1}) applied to that column is -N\cdot w_{\mathrm{top}}\cdot e_{\mathrm{top}} (frameProducts_mulVec_of_frameImage_eq), with det paddedLeading =D_j(\gamma^{-1})\ne0;

        UsesFilling.frameProducts_mulVec_of_frameImage_eq unit 148

      2. 3.2.2deductionlines 48–49

        |w_{\mathrm{top}}| equals the modulus of the top coordinate of the column (star_mul_last_eq_of_frameImage_eq), and the top diagonal entry of paddedLeading\cdotinverse is 1;

        UsesFilling.star_mul_last_eq_of_frameImage_eq unit 148

      3. 3.2.3deductionline 50

        combining, |N(\det A)|=N^{2f}\cdot|N(D_j(\gamma))| (the conjugate transpose has the same minors) =N^{2f}\cdotminorNorm(S,j,\gamma) as (j-\varrho)_+=0 (simp_all; ring).