# A concrete model transfer matrix: Yang-Baxter relation, frames and energy limit: its Lean files in plain English

Written by AI from the Lean source at commit 40e56bab; each sentence checked against the code by a second pass.

Alpöge original · Cluster k0250 (https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/) · 34 Lean files, by distance from Main.lean · data: https://riemannhypothesissolved.com/api/file-lines/k0250.json

## Contents

- 11 import steps from Main:
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.GammaFamilyCommuteGenerators](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.GammaFamilyCommuteGenerators)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.InterlaceSignTwo](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.InterlaceSignTwo)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferProductMonic](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferProductMonic)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferRtt](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferRtt)
  - [Formalism.HermitianCurvature.LetterProductDoubleDegreeCount](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.LetterProductDoubleDegreeCount)
  - [Formalism.HermitianCurvature.StatementI](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.StatementI)
  - [Formalism.HermitianCurvature.StatementM](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.StatementM)
- 12 import steps from Main:
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.AdmissibleRecOfAdmissibleWord](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.AdmissibleRecOfAdmissibleWord)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.ConnectionRaisingConstantEq](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.ConnectionRaisingConstantEq)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.CoordinateCommuteRaisingConstant](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.CoordinateCommuteRaisingConstant)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.EulerZetaGammaInvIdentity](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.EulerZetaGammaInvIdentity)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.GramProductIdentities](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.GramProductIdentities)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.Interlace](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.Interlace)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.IsAdmissibleSplittingCharPairMulTwist](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.IsAdmissibleSplittingCharPairMulTwist)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.LagrangeExtraction](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.LagrangeExtraction)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.LevelNablaStarRelations](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.LevelNablaStarRelations)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.LowerLevelsSameScalar](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.LowerLevelsSameScalar)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.ModelWordsAssemble](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.ModelWordsAssemble)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.MultiplicationOpHom](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.MultiplicationOpHom)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.RaisingConstantEqNablaStar](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.RaisingConstantEqNablaStar)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.RealWeightedForms](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.RealWeightedForms)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.ResidueForm](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.ResidueForm)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.RhoAntitoneOfInterlacing](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.RhoAntitoneOfInterlacing)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.RuleInv](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.RuleInv)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.SquareIntegrableGammaZetabarInv](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.SquareIntegrableGammaZetabarInv)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.TopDegreePolynomials](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.TopDegreePolynomials)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.WeightedSumDifferenceIdentity](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.WeightedSumDifferenceIdentity)
  - [Formalism.HermitianCurvature.HermitianCurvatureProofs.WordMonicExtraction](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.HermitianCurvatureProofs.WordMonicExtraction)
  - [Formalism.HermitianCurvature.PositionExpansionTopCoefficients](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.PositionExpansionTopCoefficients)
- 13 import steps from Main:
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPFSum](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPFSum)
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.PolyInMul](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.PolyInMul)
  - [Formalism.HermitianCurvature.StatementMA](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Formalism.HermitianCurvature.StatementMA)
  - [Lemmata.HermitianSesquilinear.ConjEqOfNonnegReal](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Lemmata.HermitianSesquilinear.ConjEqOfNonnegReal)
- 14 import steps from Main:
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPF](https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPF)

## The files

### Formalism.HermitianCurvature.HermitianCurvatureProofs.GammaFamilyCommuteGenerators

11 import steps from Main · 657 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.GammaFamilyCommuteGenerators)

**Proves commutation of model site generators and propagates the starting transfer matrix identities to every lower level.**

The six generators at each level commute with the designated zeta, gamma, and nabla operators, and generators at distinct levels commute. Centralizers show that each next-level matrix entry commutes with the current site's generators and their adjoints. Multiplying by the site matrix on the right and its conjugate transpose at the conjugate parameter on the left preserves real-axis Hermiticity, RTT, and the same quantum determinant with its real-axis reality condition. LowerLevelsSameScalar uses these results to establish the model word identities.

Key declarations:

- `Formalism.FourierDecayAlt.P.Mx8.gamma_family_commute_generators`: Every generator in G at a fixed level commutes with each of ζ, ζb, GG, GGi, nab, and nabs.

  ```lean
  theorem gamma_family_commute_generators (l : Fin r) : ∀ x ∈ G L l,
      ∀ y ∈ ({L.ζ, L.ζb, L.GG, L.GGi, L.nab, L.nabs} : Set A), Commute x y := …
  ```
- `Formalism.FourierDecayAlt.P.Mx8.isStart_step`: Multiplying a starting matrix by an admissible site matrix on the right and its conjugate-transpose at the conjugate parameter on the left preserves the starting identities when the starting entries commute with the site generators and their adjoints.

  ```lean
  theorem isStart_step (σ : Site A) (QQ : ℂ → M2 A) (q : ℂ → ℂ) (hσ : IsSite σ)
      (hc : QQCommutes QQ σ) (h : IsStart QQ q) :
      IsStart (fun Y => (Ts σ (star Y))ᴴ * QQ Y * Ts σ Y) q := …
  ```
- `Formalism.FourierDecayAlt.P.sites_admissible_model`: The model sites satisfy the Weyl relations and the required commutation with their adjoints, with other sites, and with starting matrix entries.

  ```lean
  theorem sites_admissible_model : Formalism.FourierDecayAlt.M.SitesOKM := …
  ```
- `Formalism.FourierDecayAlt.P.start_assemble`: For admissible parameters and model level data, assembles IsLevelStart from StartIsStart, pairwise commutation of the lower-left entries, SSScalar, SSShift, and the coordinate raising rule for ρ.

  ```lean
  theorem start_assemble : Formalism.FourierDecayAlt.M.StartAssemble := …
  ```
- `Formalism.FourierDecayAlt.P.mx_lowerStart_of_parts`: For admissible P, the model transfer matrix's Hermitian symmetry, RTT relation, and prescribed determinant imply IsStart with determinant qC at every chain index i ≤ P.r.

  ```lean
  theorem mx_lowerStart_of_parts (hH : Formalism.FourierDecayAlt.M.QQHerm) (hR : Formalism.FourierDecayAlt.M.QQRTT) (hD : Formalism.FourierDecayAlt.M.QQDet) :
      Formalism.FourierDecayAlt.M.LowerStart := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.InterlaceSignTwo

11 import steps from Main · 421 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.InterlaceSignTwo)

**Classifies lattice interlacings, proves exact division of the weight numerator, and determines the coordinate product sign at shifts ±2.**

Bounded integer offsets from the lower endpoints parametrize all lattice interlacings, with a unit raise changing just one coordinate. The raising and reverse lowering normalizations agree and are positive along each allowed step, and vanish at their respective endpoints. The numerator vanishes at each distinct shifted coordinate root, so the product of the corresponding linear factors divides it. On the cut, the coordinate product at either shift ±2 has exactly k − l negative factors, giving sign (−1)^(k − l). LowerLevelsSameScalar uses this sign in assembling the base model frame.

Key declarations:

- `Formalism.FourierDecayAlt.P.types_complete`: Every interlacing with coordinates in the lattice u₁ + ½ + ℤ has a unique model index on the coordinate range 1 through k − 1.

  ```lean
  theorem types_complete : Formalism.FourierDecayAlt.M.TyComplete := …
  ```
- `Formalism.FourierDecayAlt.P.rho_raise`: An allowed raise at index l adds one to coordinate l and leaves every other coordinate fixed.

  ```lean
  theorem rho_raise : Formalism.FourierDecayAlt.M.RhoUp := …
  ```
- `Formalism.FourierDecayAlt.P.nrmFacts_statement`: The raising normalization and its reverse lowering counterpart coincide and are positive on each allowed step, with vanishing at the upper and lower endpoints, respectively.

  ```lean
  theorem nrmFacts_statement : Formalism.FourierDecayAlt.M.NrmFacts := …
  ```
- `Formalism.FourierDecayAlt.P.weight_exact`: The weight numerator equals the monic shifted coordinate polynomial times its quotient by that polynomial.

  ```lean
  theorem weight_exact : Formalism.FourierDecayAlt.M.WExact := …
  ```
- `Formalism.FourierDecayAlt.P.interlace_sign_two`: For an interlacing and a point Y on the cut at index l, the product of the factors Y + e + ρᵢ for 1 ≤ i ≤ k − 1 has sign (−1)^(k − l) for both e = −2 and e = 2.

  ```lean
  theorem interlace_sign_two : Formalism.FourierDecayAlt.M.InterlaceSignTwo := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferProductMonic

11 import steps from Main · 68 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferProductMonic)

**Proves self-duality of a split congruence order and determines the leading term of a transfer matrix product.**

The order of pairs in O² congruent modulo q is self-dual for the O-valued integrality test under (a₁b₁ − a₂b₂)/q, as shown by testing against (1,1) and (q,0) and expanding products of congruent pairs. In a product of n transfer matrices, the upper-left entry is monic of degree n and the lower-left entry has degree below n, by induction on the first column under left multiplication. LocalModelPeriodLattices uses the order result to prove additive-character self-duality in the split case.

Key declarations:

- `Formalism.FourierDecayAlt.P.self_dual_gamma`: For a subring O of a field F and nonzero q in O, a pair in F² lies in the split congruence order exactly when its scaled difference pairing with every element of the order lies in O.

  ```lean
  theorem Formalism.FourierDecayAlt.P.self_dual_gamma : Formalism.FourierDecayAlt.I.SelfDualG := …
  ```
- `Formalism.FourierDecayAlt.P.Misc.tpolyProd_succ`: The product of n + 1 transfer matrices is obtained by multiplying the n-factor product on the left by the new transfer matrix.

  ```lean
  lemma tpolyProd_succ {A : Type} [Ring A] (n : ℕ) (p c ci : ℕ → A) :
      TpolyProd (n + 1) p c ci = Tpoly (p (n + 1)) (c (n + 1)) (ci (n + 1)) * TpolyProd n p c ci := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_product_monic`: Over any nontrivial ring, the n-factor transfer product has a monic upper-left entry of degree n and a lower-left entry of degree strictly less than n.

  ```lean
  theorem Formalism.FourierDecayAlt.P.transfer_product_monic : Formalism.FourierDecayAlt.I.TProdMonic := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferRtt

11 import steps from Main · 1,861 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.TransferRtt)

**Proves the rational RTT relation for the model transfer matrix at all complex spectral parameters.**

A Gauss decomposition reduces the entrywise RTT identities at generic spectral parameters to commutators of diagonal, raising, and lowering factors. A scalar partial-fraction identity supplies the mixed raising–lowering relation. The entries are polynomial in the spectral parameter, so a polynomial identity argument in each variable extends the commutator identities across the exceptional values. The tensor-product embeddings then give the matrix RTT relation, which LowerLevelsSameScalar uses to establish the starting matrix identities.

Key declarations:

- `Formalism.FourierDecayAlt.P.Mx6.GA.gauss_rtt`: For spectral difference outside {0, ±1}, the stated commutator relations for the Gauss factors imply all entrywise RTT identities.

  ```lean
  theorem gauss_rtt (D : ℂ) (hD0 : D ≠ 0) (hD1 : D ≠ 1) (hD2 : D ≠ -1) (τ τ' d d' l l' m m' : B)
      (c1 : τ' * τ = τ * τ') (c2 : d' * d = d * d') (c3 : d' * τ = τ * d') (c4 : d * τ' = τ' * d)
      (D1 : D • (τ * l' - l' * τ) = -(τ * (l - l'))) (D1s : D • (τ' * l - l * τ') = -(τ' * (l - l')))
      (D2 : D • (d * l' - l' * d) = d * (l - l')) (D2s : D • (d' * l - l * d') = d' * (l - l'))
      (E1 : D • (τ * m' - m' * τ) = (m - m') * τ) (TwistedContraction : D • (τ' * m - m * τ') = (m - m') * τ')
      (E2 : D • (d * m' - m' * d) = -((m - m') * d)) (E2VanishingOtherColumns : D • (d' * m - m * d') = -((m - m') * d'))
      (D3 : D • (l * l' - l' * l) = (l - l') * (l - l')) (E3 : D • (m * m' - m' * m) = -((m - m') * (m - m')))
      (D4 : D • (τ' * m * l' * τ - τ' * l' * m * τ) = d' * τ - τ' * d)
      (D4s : D • (τ * m' * l * τ' - τ * l * m' * τ') = τ * d' - d * τ') :
      ∀ i j k n : Fin 2,
        D • ((!![d + m * τ * l, m * τ; τ * l, τ] : Matrix (Fin 2) (Fin 2) B) i j *
              (!![d' + m' * τ' * l', m' * τ'; τ' * l', τ'] : Matrix (Fin 2) (Fin 2) B) k n -
            (!![d' + m' * τ' * l', m' * τ'; τ' * l', τ'] : Matrix (Fin 2) (Fin 2) B) k n *
              (!![d + m * τ * l, m * τ; τ * l, τ] : Matrix (Fin 2) (Fin 2) B) i j) =
          (!![d + m * τ * l, m * τ; τ * l, τ] : Matrix (Fin 2) (Fin 2) B) k j *
              (!![d' + m' * τ' * l', m' * τ'; τ' * l', τ'] : Matrix (Fin 2) (Fin 2) B) i n -
            (!![d' + m' * τ' * l', m' * τ'; τ' * l', τ'] : Matrix (Fin 2) (Fin 2) B) k j *
              (!![d + m * τ * l, m * τ; τ * l, τ] : Matrix (Fin 2) (Fin 2) B) i n := …
  ```
- `Formalism.FourierDecayAlt.P.Mx6.WB.scalar_partial_fraction_identity`: For admissible P and parameters u and v satisfying Good, the difference of the scalar ratios q(v)/(x(v)x(v+1)) and q(u)/(x(u)x(u+1)) equals u − v times the sum of a polynomial term and the weighted reciprocal coordinate products.

  ```lean
  theorem scalar_partial_fraction_identity (P : Par) (hP : P.OK) (π : Ty P) (u v : ℂ) (hu : Good P u) (hv : Good P v) :
      (u - v) * ((u + v + 1 + 2 * (aC P π : ℂ)) * (P.TT : ℂ) + ∑ j ∈ Icc 1 (P.k - 1),
        (((Nrm P j π : ℝ) : ℂ) / ((u + (rho P π j : ℂ) + 1) * (v + (rho P π j : ℂ) + 1)) -
          ((NrmDown P j π : ℝ) : ℂ) / ((u + (rho P π j : ℂ)) * (v + (rho P π j : ℂ))))) =
        qC P v / (xC P π v * xC P π (v + 1)) - qC P u / (xC P π u * xC P π (u + 1)) := …
  ```
- `Formalism.FourierDecayAlt.P.Mx6.generic`: For admissible P, the model shift, normalization, and curvature relations imply the entrywise RTT identities when u and v each avoid coordinate zeros shifted by −2, −1, 0, 1, and 2 and u − v lies outside {0, ±1}.

  ```lean
  theorem generic (hN : SSNorm) (hC : SSComm) (hM : SSMixed) (hS : NabSS) (hK : Curvature) (hP : P.OK)
      (u v : ℂ) (hu : Good P u) (hv : Good P v) (h0 : u - v ≠ 0) (h1 : u - v ≠ 1) (h2 : u - v ≠ -1)
      (i j k l : Fin 2) :
      (u - v) • (QQr P u i j * QQr P v k l - QQr P v k l * QQr P u i j) =
        QQr P u k j * QQr P v i l - QQr P v k j * QQr P u i l := …
  ```
- `Formalism.FourierDecayAlt.P.Mx6.PC.entries_of_generic`: Validity of the model's entrywise RTT identities at generic pairs of spectral parameters implies their validity at every complex pair.

  ```lean
  theorem entries_of_generic
      (h : ∀ u v : ℂ, Good P u → Good P v → u - v ≠ 0 → u - v ≠ 1 → u - v ≠ -1 → ∀ i j k l : Fin 2,
        (u - v) • (QQr P u i j * QQr P v k l - QQr P v k l * QQr P u i j) =
          QQr P u k j * QQr P v i l - QQr P v k j * QQr P u i l)
      (u v : ℂ) (i j k l : Fin 2) :
      (u - v) • (QQr P u i j * QQr P v k l - QQr P v k l * QQr P u i j) =
        QQr P u k j * QQr P v i l - QQr P v k j * QQr P u i l := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_rtt`: For every admissible model parameter set, the transfer matrix satisfies the rational matrix RTT relation at every pair of complex spectral parameters.

  ```lean
  theorem transfer_rtt : Formalism.FourierDecayAlt.M.QQRTT := …
  ```

### Formalism.HermitianCurvature.LetterProductDoubleDegreeCount

11 import steps from Main · 267 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.LetterProductDoubleDegreeCount)

**Defines degree-count bounds and auxiliary propositions for the Hermitian-curvature argument.**

The degree-count propositions bound doubled products and the weighted degree sum D + 3(r + 1)d. Other declarations state cofactor norm identities, invariance of the Hilbert–Schmidt pairing under unitary frame changes, and sign rules from joint interlacing. The interlacing form of Lemma E states an energy-limit conclusion under quantitative interval and analytic hypotheses. The direct importer ThirdCountLemmaVariant proves DegreeCount2 and LetterProductDoubleDegreeCount.

Key declarations:

- `Formalism.FourierDecayAlt.C7.DegreeCount2`: Under the stated bounds on the multiplicity M and the degrees dₗ and Dₗ, the proposition bounds 2Mdₗ by 2N′n and 2MDₗ by 6(r + 1)N′n, with n = k + 2r + 1 and N′ = 3(N + 1).

  ```lean
  def DegreeCount2 : Prop :=
    ∀ (k r N M dl Dl : ℕ), 1 ≤ k → r + 1 ≤ N → M ≤ Nprime N → dl ≤ nOf k r →
      Dl ≤ (r + 1) * (2 * nOf k r + 2) →
      2 * M * dl ≤ 2 * Nprime N * nOf k r ∧ 2 * M * Dl ≤ 6 * (r + 1) * Nprime N * nOf k r ∧
      Nprime N * nOf k r ≤ 2 * Nprime N * nOf k r ∧ 2 * Nprime N ≤ 6 * (r + 1) * Nprime N * nOf k r
  ```
- `Formalism.FourierDecayAlt.C7.LetterProductDoubleDegreeCount`: For k ≥ 1, n = k + 2r + 1, d ≤ (N + 1)n and D ≤ (N + 1)(r + 1)(2n + 2), the proposition bounds D + 3(r + 1)d by 6(r + 1)(N + 1)n and then by Dstar(r, 3(N + 1), n).

  ```lean
  def LetterProductDoubleDegreeCount : Prop :=
    ∀ (k r N d D : ℕ), 1 ≤ k → d ≤ (N + 1) * nOf k r → D ≤ (N + 1) * (r + 1) * (2 * nOf k r + 2) →
      D + 3 * (r + 1) * d ≤ 6 * (r + 1) * (N + 1) * nOf k r ∧
        6 * (r + 1) * (N + 1) * nOf k r ≤ Dstar r (Nprime N) (nOf k r)
  ```
- `Formalism.FourierDecayAlt.C7.OmNormCofactor`: Under the stated Hermitian Gram and orthogonality hypotheses and the cofactor decomposition, T B(ω, ω) equals the squared modulus of the pairing determinant minus TT′ times the squared modulus of its leading principal minor.

  ```lean
  def OmNormCofactor : Prop :=
    ∀ (V : Type) [AddCommGroup V] [Module ℂ V] (B : V →ₗ[ℂ] V →ₗ⋆[ℂ] ℂ) (r : ℕ) (f x' : Fin (r + 1) → V)
      (x ω z : V) (T T' : ℝ),
      IsHerm B → 0 < T → (∀ b b', B (x' b) (x' b') = if b = Fin.last r ∧ b' = Fin.last r then -(T' : ℂ) else 0) →
      B x x = 0 → B x ω = 0 → B x z = 0 → B ω z = 0 → B z z = -(T : ℂ) →
      cofX' B f x' = x + ω + (-(zhat B f x').det / T) • z →
      (T : ℂ) * B ω ω = Complex.normSq (zhat B f x').det - T * T' * Complex.normSq (minorR (zhat B f x'))
  ```
- `Formalism.FourierDecayAlt.C7.PSign`: Under joint interlacing with −Y strictly between the two l-th entries, both the shifted λ product and the polynomial determined by ρ have sign (−1)^(k − l).

  ```lean
  def PSign : Prop :=
    ∀ (k r : ℕ) (u u' ρ : ℕ → ℝ) (lam : Fin (k + 2 * r + 1) → ℝ) (l : ℕ) (Y : ℝ), 1 ≤ l → l ≤ k →
      LamInterlaces k r u lam → LamInterlaces k r u' lam → I.Interlaces k u u' ρ → Between u u' l Y →
      0 < (-1 : ℝ) ^ (k - l) * ∏ s, (Y + lam s) ∧ 0 < (-1 : ℝ) ^ (k - l) * I.xpoly k ρ Y ∧
        |∏ s, (Y + lam s)| = (-1 : ℝ) ^ (k - l) * ∏ s, (Y + lam s)
  ```
- `Formalism.FourierDecayAlt.C7.LemmaEInterlacing`: If λ interlaces both lists and −Y stays strictly between their l-th entries for a fixed l throughout the interval, the stated quantitative bounds, integrability, and analytic hypotheses imply the system’s energy limit.

  ```lean
  def LemmaEInterlacing : Prop := …
  ```

### Formalism.HermitianCurvature.StatementI

11 import steps from Main · 56 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.StatementI)

**Defines interlacing sign and product bounds, a self-duality criterion, and polynomial transfer matrices.**

The interlacing condition places each ρᵢ between adjacent entries of both sequences with a half-unit margin, and the cut keeps −Y at least two units from either endpoint. On the l-th cut for 1 ≤ l ≤ k, the propositions specify the sign of the shifted interlacing product, positivity of the paired product, and a bound comparing their factors. The module also states self-duality for a congruence order and degree bounds for a reverse-ordered product of 2×2 polynomial matrices over a nontrivial ring. StatementFr uses the sign and positivity propositions as hypotheses in its frame statements.

Key declarations:

- `Formalism.FourierDecayAlt.I.InterlaceSign`: On the l-th cut under joint interlacing with 1 ≤ l ≤ k, x(Y + e) has sign (−1)^(k − l) for e ∈ {−1, 0, 1}.

  ```lean
  def InterlaceSign : Prop :=
    ∀ (k : ℕ) (u u' ρ : ℕ → ℝ) (l : ℕ) (Y : ℝ), 1 ≤ l → l ≤ k → Interlaces k u u' ρ →
      OnCut u u' l Y → ∀ e ∈ ({-1, 0, 1} : Finset ℝ), 0 < (-1 : ℝ) ^ (k - l) * xpoly k ρ (Y + e)
  ```
- `Formalism.FourierDecayAlt.I.QPositive`: On the l-th cut under joint interlacing with 1 ≤ l ≤ k, the product of the paired half-shifted factors multiplied by −TT′ is positive for T, T′ > 0.

  ```lean
  def QPositive : Prop :=
    ∀ (k : ℕ) (u u' ρ : ℕ → ℝ) (l : ℕ) (Y T T' : ℝ), 1 ≤ l → l ≤ k → Interlaces k u u' ρ →
      OnCut u u' l Y → 0 < T → 0 < T' → 0 < qpoly k T T' u u' Y
  ```
- `Formalism.FourierDecayAlt.I.InterlaceRatio`: On the l-th cut under joint interlacing with 1 ≤ l ≤ k, x(Y + 1)² times the absolute product of the l-th pair of half-shifted factors is bounded by the absolute product of all the paired factors.

  ```lean
  def InterlaceRatio : Prop :=
    ∀ (k : ℕ) (u u' ρ : ℕ → ℝ) (l : ℕ) (Y : ℝ), 1 ≤ l → l ≤ k → Interlaces k u u' ρ →
      OnCut u u' l Y →
      xpoly k ρ (Y + 1) ^ 2 * (|Y + 1/2 + u l| * |Y + 1/2 + u' l|) ≤
        |(∏ i ∈ Icc 1 k, (Y + 1/2 + u i)) * (∏ i ∈ Icc 1 k, (Y + 1/2 + u' i))|
  ```
- `Formalism.FourierDecayAlt.I.SelfDualG`: For a nonzero q in a subring o of a field, the pairs in o × o congruent modulo qo are their own o-valued dual under the pairing (a₁b₁ − a₂b₂)/q.

  ```lean
  def SelfDualG : Prop :=
    ∀ (F : Type) [Field F] (o : Subring F) (q : F), q ∈ o → q ≠ 0 → ∀ a : F × F,
      (∀ b ∈ orderR o q, (a.1 * b.1 - a.2 * b.2) / q ∈ o) ↔ a ∈ orderR o q
  ```
- `Formalism.FourierDecayAlt.I.TProdMonic`: In the reverse-ordered product of n specified transfer matrices over a nontrivial ring, the upper-left entry is monic of degree n and the lower-left entry has degree strictly less than n.

  ```lean
  def TProdMonic : Prop :=
    ∀ (A : Type) [Ring A] [Nontrivial A] (n : ℕ) (p c ci : ℕ → A),
      (TpolyProd n p c ci 0 0).Monic ∧ (TpolyProd n p c ci 0 0).natDegree = n ∧
        (TpolyProd n p c ci 1 0).degree < n
  ```

### Formalism.HermitianCurvature.StatementM

11 import steps from Main · 506 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.StatementM)

**Constructs a 2×2 transfer matrix over Hahn-series operators and formulates its relations and word-frame properties.**

The model places multiplication and Euler operators in matrices indexed by finite interlacing patterns, with weighted shifts that raise one coordinate by one. It defines the transfer matrix from these operators and states its Hermitian symmetry, RTT relation, and quantum determinant. Each lower level uses a two-sided transformation with the site matrix at Y on the right and the adjoint of the site matrix at the complex conjugate of Y on the left. The word-frame statements specify a factorization with positive diagonal weights on the cut. TransferRtt proves the RTT relation through entrywise identities, while ModelWordsAssemble proves the word and base-cut frame assembly implications.

Key declarations:

- `Formalism.FourierDecayAlt.M.QQr`: Forms the 2×2 transfer matrix from the explicit entries built using diagonal spectral factors, differential operators, and weighted shifts.

  ```lean
  def QQr (Y : ℂ) : M2 (A P) := !![t11 P Y, t12 P Y; t21 P Y, t22 P Y]
  ```
- `Formalism.FourierDecayAlt.M.QQRTT`: Asserts that the transfer matrix satisfies the RTT relation for every parameter set satisfying the model hypotheses.

  ```lean
  def QQRTT : Prop := ∀ P : Par, P.OK → IsRTT (QQr P)
  ```
- `Formalism.FourierDecayAlt.M.QQDet`: Prescribes the quantum determinant as −TT′ times the product of the factors Y + 1/2 + uᵢ and Y + 1/2 + u′ᵢ for i from 1 to k.

  ```lean
  def QQDet : Prop := ∀ P : Par, P.OK → IsDet (QQr P) (qC P)
  ```
- `Formalism.FourierDecayAlt.M.ModelWords`: For valid model parameters and each good word, asserts module identities at levels 0 through P.r, congruence of word forms from level i + 1 to i for i < P.r, and an eigenvector identity for the full site chain starting at level 0 at regular real spectral points.

  ```lean
  def ModelWords : Prop :=
    ∀ P : Par, P.OK → ∀ (l : ℕ) (S : Type) [Fintype S] [DecidableEq S] (w : List (Letter ℂ S)), Good w →
      (∀ i ≤ P.r, IsModule {Y | Reg w Y} (RRw (QQlev P l i) w) (TTw (QQlev P l i) w) (qw (qC P) w)) ∧
      (∀ i : Fin P.r, star (bT (siteA P i) w) * RRw (QQlev P l (i + 1)) w * bT (siteA P i) w =
        RRw (QQlev P l i) w) ∧
      ∀ Y, Reg w Y → star Y = Y → ∀ z : Ix S,
        (∑ z', Cw (startM P l).QQ (sitesFrom P 0) w Y z z' * uw (sitesFrom P 0) w z') =
          uw (sitesFrom P 0) w z * C0 (startM P l).QQ (sitesFrom P 0) Y
  ```
- `Formalism.FourierDecayAlt.M.FrameConcl`: Specifies the word frame, its factorization of the word form, its intertwining identities for the lower transfer entries, and positivity of its diagonal weights.

  ```lean
  def FrameConcl (P : Par) (l : ℕ) (L : LevelData (A P) P.r) {S : Type} [Fintype S] [DecidableEq S]
      (w : List (Letter ℂ S)) : Prop := …
  ```

Blueprint: [Archimedean Bessel data](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-theta/sec-theta-bessel/def-archimedean-bessel-data.md) (Merten's blueprint)

### Formalism.HermitianCurvature.HermitianCurvatureProofs.AdmissibleRecOfAdmissibleWord

12 import steps from Main · 656 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.AdmissibleRecOfAdmissibleWord)

**Derives recursive admissibility for signed words and proves frame assembly, diagonal formulas, and positivity on interlacing cuts.**

Induction on the word shows that both ordinary and base admissibility preserve the required inverse-domain and determinant nonvanishing conditions through each signed update. The starting frame and the two signed step rules then give a frame for the full word. When the starting coordinate and its inverse are images of a scalar family and its pointwise reciprocal under the same algebra map, the updated coordinate, inverse, and frame coefficient are diagonal, with explicit scalar entries. Real separation and interlacing signs yield positivity of the frame coefficients on the cut. LowerLevelsSameScalar uses these results to assemble the model frames.

Key declarations:

- `Formalism.FourierDecayAlt.P.admissible_rec_of_admissible`: Global admissibility at the original letter parameters implies the recursive admissibility conditions for each update of the frame built from the remaining word.

  ```lean
  theorem admissible_rec_of_admissible : Formalism.FourierDecayAlt.Fr.AdmRecOfAdm := …
  ```
- `Formalism.FourierDecayAlt.P.admissible_rec_of_base_case`: The base admissibility conditions at the sign-adjusted letter parameters imply the same recursive admissibility conditions.

  ```lean
  theorem admissible_rec_of_base_case : Formalism.FourierDecayAlt.Fr.AdmRecOfBase := …
  ```
- `Formalism.FourierDecayAlt.P.frame_rec_of_steps`: A starting frame and module, the plus and minus update rules, and the availability of each new index imply the frame property for every recursively admissible word.

  ```lean
  theorem frame_rec_of_steps : Formalism.FourierDecayAlt.Fr.FrameRecAssemble := …
  ```
- `Formalism.FourierDecayAlt.P.c_diagonal`: If the starting coordinate and inverse are images of a scalar family and its pointwise reciprocal under the same algebra map, the updated coordinate, its inverse expression, and the frame coefficient are diagonal with entries given by scalar word formulas mapped into the coefficient algebra.

  ```lean
  theorem c_diagonal : Formalism.FourierDecayAlt.Fr.CDiag := …
  ```
- `Formalism.FourierDecayAlt.P.c_pos_truncated`: Applies general word positivity to real letter parameters on the interlacing cut separated pairwise by more than two, using the coordinate sign at each cut parameter Y and at Y ± 1 and determinant positivity at Y and Y − 1.

  ```lean
  theorem c_pos_truncated : Formalism.FourierDecayAlt.Fr.CPosCut := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.ConnectionRaisingConstantEq

12 import steps from Main · 2,596 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.ConnectionRaisingConstantEq)

**Proves a 2×2 polynomial matrix normal form over complex *-algebras assuming P.OK and SHyp, including RTT and the prescribed determinant.**

Projecting the RTT relation onto blocks indexed by interlacing patterns gives the diagonal and single-coordinate raising terms of the normalized lower-left entry at regular spectral parameters. The connection and its adjoint give formulas for both off-diagonal entries and satisfy commutation relations with the shifts. Clearing denominators in the quantum determinant identity and evaluating at shifted coordinate roots gives the shift norms and determines the upper-left entry. QNFAsm uses the resulting ring theorem to prove the module-level normal form.

Key declarations:

- `Formalism.FourierDecayAlt.P.theorem_S_ring`: Under the stated hypotheses, there are normal-form data extending the initial level data, retaining the given spectral algebra map, and reproducing the matrix at every spectral parameter.

  ```lean
  theorem theorem_S_ring : Formalism.FourierDecayAlt.NF.ThmSRing := …
  ```
- `Formalism.FourierDecayAlt.P.shift_block`: Produces a block formula at regular spectral parameters for the normalized lower-left entry, with diagonal terms and shifts that raise one interlacing coordinate by one.

  ```lean
  theorem shift_block : Formalism.FourierDecayAlt.NF.SBlock := …
  ```
- `Formalism.FourierDecayAlt.P.shift_connection`: Extends the initial level data by a connection and its adjoint, establishes the core relations, and recovers both off-diagonal entries and the lower-right entry.

  ```lean
  theorem shift_connection : Formalism.FourierDecayAlt.NF.SConn := …
  ```
- `Formalism.FourierDecayAlt.P.NFx2.connection_raising_constant_eq`: Expresses the connection term m₀(Y) in the upper-right entry as −∇* − (Y − ½)ζG⁻¹, where G is the invertible level element.

  ```lean
  theorem connection_raising_constant_eq (h : SHyp P L0 QQ κ) (hF : SForm P L0 QQ κ b SS) (Y : ℂ) :
      (sc_LL h hF).m0 Y = -star (nabDef L0 κ b) - (Y - 1 / 2) • (L0.ζ * L0.GGi) := …
  ```
- `Formalism.FourierDecayAlt.P.shift_norm`: Identifies the adjoint-times-shift products for 1 ≤ ℓ ≤ P.k − 1 with the prescribed spectral weights and recovers the upper-left entry in normal form.

  ```lean
  theorem shift_norm : Formalism.FourierDecayAlt.NF.SNorm := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.CoordinateCommuteRaisingConstant

12 import steps from Main · 6,205 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.CoordinateCommuteRaisingConstant)

**Proves Hermitian symmetry, the RTT relation, and the quantum determinant formula for the model monodromy matrix.**

For admissible interlacing parameters and a coefficient algebra satisfying the model laws, the adjoint of the 2×2 model matrix at Y equals its value at conjugate Y. The RTT proof uses a Gauss factorization and commutator identities, and the determinant proof verifies eight identities at unit-shifted arguments. Polynomial identities extend both calculations to all spectral parameters. At levels 1 ≤ ℓ ≤ P.k, algebraic and smooth-function models have frame factorizations with positive diagonal weights for cut words. HsVecProjLe uses the analytic frames to obtain the involution and starting-matrix conditions in its word comparison.

Key declarations:

- `Formalism.FourierDecayAlt.P.MAx1.qQHerm`: For admissible parameters P and a coefficient algebra D satisfying D.Laws P.TT, the conjugate transpose of the model matrix at Y equals its value at the complex conjugate of Y.

  ```lean
  theorem qQHerm : QQHerm := …
  ```
- `Formalism.FourierDecayAlt.P.MAx1.qQRTT`: For admissible parameters and a coefficient algebra satisfying the model laws, the model matrix satisfies the denominator-cleared RTT identity for every pair of complex spectral parameters, including coincident ones.

  ```lean
  theorem qQRTT : QQRTT := …
  ```
- `Formalism.FourierDecayAlt.P.MAx1.qQDet`: For admissible parameters and a coefficient algebra satisfying the model laws, the two unit-shift quantum determinant identities hold with the prescribed scalar polynomial qC.

  ```lean
  theorem qQDet : QQDet := …
  ```
- `Formalism.FourierDecayAlt.P.MAx1.ModelAlgebraRelations.coordinate_commute_raising_constant`: The diagonal coordinate operator xA(u) commutes with the raising term m0A(v) for all complex u and v.

  ```lean
  theorem coordinate_commute_raising_constant (u v : ℂ) : xA P D u * m0A P D v = m0A P D v * xA P D u := …
  ```
- `Formalism.FourierDecayAlt.P.model_frame_analytic`: At each admissible level, the smooth-function model has a frame factorization with explicit positive diagonal weights for every cut word.

  ```lean
  theorem model_frame_analytic : Formalism.FourierDecayAlt.MA.ModelFrameAn := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.EulerZetaGammaInvIdentity

12 import steps from Main · 840 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.EulerZetaGammaInvIdentity)

**Proves curvature and weighted shift identities for a Hahn-series operator model on interlacing patterns.**

The Leibniz and inverse rules for the Hahn-series Euler derivations yield two reciprocal differentiation identities, which give the diagonal curvature of the connection. Interlacing bounds give positivity of the shift weights on allowed moves, and the real shift matrices yield the adjoint norm identities and the weighted commutation law for distinct raises. A unit raise decreases the diagonal connection coefficient by one, giving the connection–shift commutators. TransferRtt uses the shift norms, weighted and mixed shift commutation laws, connection–shift commutators, and curvature to establish the entrywise RTT relations.

Key declarations:

- `Formalism.FourierDecayAlt.P.Mx4.euler_zeta_gamma_inv_identity`: For formal coordinates z and w and real T, the normalized Euler derivative z⁻¹E_z of z/(zw − T) is −T/(zw − T)².

  ```lean
  theorem euler_zeta_gamma_inv_identity (TT : ℝ) : (coord vz)⁻¹ * euler vz (coord vz * (gg TT)⁻¹ : Fn r) =
      -(algebraMap ℂ (Fn r) (TT : ℂ) * ((gg TT)⁻¹ * (gg TT)⁻¹)) := …
  ```
- `Formalism.FourierDecayAlt.P.m_curvature_proof`: The commutator of the adjoint connection with the connection is diagonal, with pattern entry 2aT/(zw − T)², where a is the connection coefficient at that pattern.

  ```lean
  theorem m_curvature_proof : Formalism.FourierDecayAlt.M.Curvature := …
  ```
- `Formalism.FourierDecayAlt.P.shift_norm_relation`: For admissible P and raising shifts S with index 1 ≤ ℓ ≤ P.k − 1, the products S* S and S S* are diagonal with the upward and downward norm weights, respectively.

  ```lean
  theorem shift_norm_relation : Formalism.FourierDecayAlt.M.SSNorm := …
  ```
- `Formalism.FourierDecayAlt.P.shift_commute_relation`: For admissible P and distinct indices j and ℓ in 1 through P.k − 1, multiplying S_j S_ℓ on the right by the diagonal of ρ_j − ρ_ℓ − 1 gives S_ℓ S_j times the diagonal of ρ_j − ρ_ℓ + 1.

  ```lean
  theorem shift_commute_relation : Formalism.FourierDecayAlt.M.SSComm := …
  ```
- `Formalism.FourierDecayAlt.P.nabla_shift_relation`: For a raising shift with index 1 ≤ ℓ ≤ P.k − 1, the commutators of the connection and its adjoint with that shift are the shift multiplied on the left by −w/(zw − T) and −z/(zw − T), respectively.

  ```lean
  theorem nabla_shift_relation : Formalism.FourierDecayAlt.M.NabSS := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.GramProductIdentities

12 import steps from Main · 334 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.GramProductIdentities)

**Proves Gram factorization and positivity identities, finite-word product bounds, and grid-spacing estimates.**

The matrix action respects the pairing adjoint, and Cauchy–Schwarz bounds the resulting positive sesquilinear forms. Factoring a positive semidefinite matrix and reordering finite sums express its weighted pairing as a sum of pairings of linear combinations. The word quotient factors into rational terms close to one, giving uniform exponential bounds under separation. The grid estimates keep points and their unit translates within the middle third and separate them across grid intervals. DualKernelLemmas uses the all-plus product formula and Cauchy–Schwarz in its dual-kernel estimate.

Key declarations:

- `Formalism.FourierDecayAlt.P.GramProductIdentities.gramRealise`: Every finite positive semidefinite complex matrix admits a Gram factorization K = U U*.

  ```lean
  theorem gramRealise : GramRealise := …
  ```
- `Formalism.FourierDecayAlt.P.GramProductIdentities.gramSum`: A sesquilinear pairing weighted by the entries of U U* equals the sum of pairings of the linear combinations formed from the columns of U.

  ```lean
  theorem gramSum : GramSum := …
  ```
- `Formalism.FourierDecayAlt.P.GramProductIdentities.p1aBound`: For the positive form R represented by RR, the identity W* RR W = RR implies that |R(Wx,x)| is bounded by Re R(x,x).

  ```lean
  theorem p1aBound : CauchySchwarzInvariantForm := …
  ```
- `Formalism.FourierDecayAlt.P.GramProductIdentities.lemmaQ`: For a word of length at most N with N ≥ 4, the quotient q_w(Y)/q(Y) lies in [exp(−1/2), exp(1/2)] when q(Y) is nonzero and Y is at distance at least N² + 1 from every letter point and every minus-letter point shifted down by one.

  ```lean
  theorem lemmaQ : LemmaQ := …
  ```
- `Formalism.FourierDecayAlt.P.GramProductIdentities.dkStep4`: For an all-plus list, the dual-kernel scalar κ_F is the product of q_w evaluated at its letter points.

  ```lean
  theorem dkStep4 : DKStep4 := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.Interlace

12 import steps from Main · 154 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.Interlace)

**Proves sign, positivity, and product comparison estimates for polynomials associated with interlacing sequences.**

For interlacing data and 1 ≤ ℓ ≤ k, when u_ℓ + 2 ≤ −Y ≤ u′_ℓ − 2, the polynomial x(Y+e) has sign (−1)^(k−ℓ) for every |e| ≤ 1. On either orientation of the cut the paired product has exactly one negative factor pair, yielding positivity of q(Y) for positive scales. Removing that pair and reindexing the remaining factors gives a termwise bound for x(Y+1)². LowerLevelsSameScalar uses the sign and positivity results to construct the model frames.

Key declarations:

- `Formalism.FourierDecayAlt.P.Interlace.sign_core`: For interlacing data and 1 ≤ ℓ ≤ k, if u_ℓ + 2 ≤ −Y ≤ u′_ℓ − 2, then x(Y+e) has sign (−1)^(k−ℓ) for every real e in [−1, 1].

  ```lean
  lemma sign_core (k : ℕ) (u u' ρ : ℕ → ℝ) (l : ℕ) (Y : ℝ) (hl1 : 1 ≤ l) (hlk : l ≤ k)
      (h : Interlaces k u u' ρ) (hA : u l + 2 ≤ -Y ∧ -Y ≤ u' l - 2) (e : ℝ)
      (he : -1 ≤ e ∧ e ≤ 1) :
      0 < (-1 : ℝ) ^ (k - l) * xpoly k ρ (Y + e) := …
  ```
- `Formalism.FourierDecayAlt.P.q_positive_interlacing`: For interlacing data and 1 ≤ ℓ ≤ k, on either orientation of the cut the paired product of the half-shifted outer factors multiplied by −TT′ is strictly positive if T,T′ > 0.

  ```lean
  theorem Formalism.FourierDecayAlt.P.q_positive_interlacing : Formalism.FourierDecayAlt.I.QPositive := …
  ```
- `Formalism.FourierDecayAlt.P.interlacing_ratio`: For interlacing data and 1 ≤ ℓ ≤ k, on the cut x(Y+1)² times |Y+1/2+u_ℓ| |Y+1/2+u′_ℓ| is at most the absolute value of the full product of the half-shifted outer factors.

  ```lean
  theorem Formalism.FourierDecayAlt.P.interlacing_ratio : Formalism.FourierDecayAlt.I.InterlaceRatio := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.IsAdmissibleSplittingCharPairMulTwist

12 import steps from Main · 17,981 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.IsAdmissibleSplittingCharPairMulTwist)

**Proves the cutoff energy limit for the analytic transfer-matrix model on interlacing patterns.**

Under the model’s interlacing, separation, and source-vector hypotheses, the cutoff energy tends to the admissible word's size times the squared L² norm of the source. The proof applies the general cutoff theorem using word-energy identities, residue and weight-ratio estimates, and a measurable factorization whose matrix and inverse are bounded for each word in the prescribed boxes. Source adjoint identities move starred components across the real-part cutoff pairing, and the Leibniz rule in logarithmic coordinates gives closure of admissible multipliers under products. CarrierXAll uses the limit in its placewise energy calculation.

Key declarations:

- `Formalism.FourierDecayAlt.P.lemma_model`: For admissible words within the length bound and under the model’s interval-width, decay, adjoint, and eigenvector hypotheses, the energy converges as the cutoff parameter decreases to zero to the word size times the squared L² norm of the source.

  ```lean
  theorem lemma_model : Formalism.FourierDecayAlt.MA.LemmaEModel := …
  ```
- `Formalism.FourierDecayAlt.P.induction_imports`: Supplies the energy induction with uniform residue, weight-ratio, and probability-ratio bounds together with the step identities and regularity properties.

  ```lean
  theorem induction_imports : Formalism.FourierDecayAlt.MA.StepImportsQ := …
  ```
- `Formalism.FourierDecayAlt.P.factor_exists`: Constructs a measurable factorization for words with points in the prescribed boxes, with a vector factor polynomial in the power parameter and an entrywise bound over the base for the matrix factor and its measurable inverse for each fixed word.

  ```lean
  theorem factor_exists : Formalism.FourierDecayAlt.MA.FactorExistsQ := …
  ```
- `Formalism.FourierDecayAlt.P.theorem_P_adjoint`: Equates the real parts of the cutoff pairings before and after each starred gRing component in the double sum is transferred to the second argument as the corresponding unstarred action.

  ```lean
  theorem theorem_P_adjoint : Formalism.FourierDecayAlt.MA.ThmPAdj := …
  ```
- `Formalism.FourierDecayAlt.P.MAx3.AD.isAdmissibleSplittingCharPair_mul_twist`: The product of two logarithmically smooth multipliers that vanish below positive thresholds and have bounded logarithmic derivatives of every order has the same properties.

  ```lean
  theorem isAdmissibleSplittingCharPair_mul_twist {φ ψ : ℝ → ℝ} (hφ : admitted φ) (hψ : admitted ψ) : admitted (fun x => φ x * ψ x) := …
  ```

Blueprint: [Energies of cut-off vectors in the archimedean model](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-theta/sec-theta-offdiag/thm-offdiagonal-bound/prop-archimedean-model-data/lem-cutoff-energy-limit.md) (Merten's blueprint)

### Formalism.HermitianCurvature.HermitianCurvatureProofs.LagrangeExtraction

12 import steps from Main · 159 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.LagrangeExtraction)

**Proves iterated Lagrange coefficient extraction on product grids, with norm bounds and explicit Chebyshev constants.**

The Lagrange weights annihilate monomials below degree d and recover the degree-d coefficient of a vector-valued polynomial of degree at most d. For coordinate steps of degree at most d whose degree-d coefficient is a scalar times the preceding stage, induction expresses the scaled initial stage as a weighted terminal grid sum using d+1 distinct nodes per coordinate. The triangle inequality gives a uniform norm bound, and normalizing the absolute weights and applying Cauchy–Schwarz gives first- and second-moment bounds. Chebyshev nodes give an explicit constant on each interval. GaugeNormPower uses exact extraction to express an operator-valued word in terms of its grid evaluations.

Key declarations:

- `Formalism.FourierDecayAlt.P.LagrangeExtraction.lagrangeLead`: The coefficient of degree d of a real vector-valued polynomial of degree at most d is the Lagrange-weighted sum of its values at d+1 distinct real nodes.

  ```lean
  theorem lagrangeLead : LagrangeLead := …
  ```
- `Formalism.FourierDecayAlt.P.LagrangeExtraction.extractK`: If each coordinate step has degree at most d with degree-d coefficient equal to the preceding stage times a scalar, then on d+1 distinct nodes per coordinate the scaled initial stage equals the terminal grid sum with product Lagrange weights.

  ```lean
  theorem extractK : ExtractK := …
  ```
- `Formalism.FourierDecayAlt.P.LagrangeExtraction.extractBound`: A uniform bound B on the terminal grid norms bounds the scaled initial norm by B times the product of the coordinatewise sums of absolute Lagrange weights.

  ```lean
  theorem extractBound : ExtractBound := …
  ```
- `Formalism.FourierDecayAlt.P.LagrangeExtraction.extractProb`: The normalized absolute product weights define a probability measure whose first and second norm moments bound the scaled initial norm and its square, with the corresponding weight factors.

  ```lean
  theorem extractProb : ExtractProb := …
  ```
- `Formalism.FourierDecayAlt.P.LagrangeExtraction.extractCheb`: For d ≥ 1 and strictly ordered endpoints α < β in each coordinate interval, Chebyshev grids give the factor (1/2)(4/(β−α))^d per interval in the uniform norm bound.

  ```lean
  theorem extractCheb : ExtractCheb := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.LevelNablaStarRelations

12 import steps from Main · 548 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.LevelNablaStarRelations)

**Proves the commutation relations and existence of the Hahn-series operator model at each level.**

The proof establishes the Euler product rule coefficient by coefficient in Hahn series, then lifts the resulting operator identities to diagonal matrices. The coordinate multipliers commute and have two-sided inverses, and the indexed Euler operators commute with one another and with ∇ and ∇*. The commutators of ∇ and ∇* with the distinguished coordinates, their inverses, and the multiplier G = ζζ̄ − T and its inverse complete the relations needed to assemble the model. The transfer determinant proof uses the multiplier relations and both sets of ∇ commutator identities.

Key declarations:

- `Formalism.FourierDecayAlt.P.Mx2.eulerLeibniz`: Every coordinate Euler operator satisfies the Leibniz rule on the Hahn-series field.

  ```lean
  theorem eulerLeibniz : EulerLeibniz := …
  ```
- `Formalism.FourierDecayAlt.P.Mx2.levFns`: The designated multipliers commute, their specified inverses are two-sided, and G is the product ζζ̄ shifted by the scalar T.

  ```lean
  theorem levFns : LevFns := …
  ```
- `Formalism.FourierDecayAlt.P.Mx2.levNab`: The operator ∇ has commutators [∇, ζ] = 1 and [∇, G] = ζ̄, satisfies the corresponding inverse identities, and commutes with ζ̄, its inverse, and the indexed coordinate multipliers and their inverses.

  ```lean
  theorem levNab : LevNab := …
  ```
- `Formalism.FourierDecayAlt.P.Mx2.levNabs`: The operator ∇* has commutators [∇*, ζ̄] = −1 and [∇*, G] = −ζ, satisfies the corresponding inverse identities, and commutes with ζ, its inverse, and the indexed coordinate multipliers and their inverses.

  ```lean
  theorem levNabs : LevNabs := …
  ```
- `Formalism.FourierDecayAlt.P.Mx2.levelExists`: For every choice of model parameters, the prescribed matrices satisfy all the defining relations of a level.

  ```lean
  theorem levelExists : LevelExists := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.LowerLevelsSameScalar

12 import steps from Main · 43 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.LowerLevelsSameScalar)

**Assembles starting-matrix proofs, propagates the scalar quantum determinant down the site chain, and obtains word modules and frames.**

For admissible model parameters, the sign preserves Hermiticity at real spectral parameters, RTT, and the prescribed scalar quantum determinant, which is real at real spectral parameters. Admissibility relative to model level data uses lower-left commutation, scalar and shift identities, and type raising. Descending induction along the site chain preserves the scalar quantum determinant at every level. For good words, the word identities give modules at each level and relate adjacent word forms by congruence with the site operator. Interlacing and positivity yield frames with positive diagonal coefficients for cut words and base cut words with 1 ≤ l ≤ P.k.

Key declarations:

- `Formalism.FourierDecayAlt.P.start_matrix_is_module`: For admissible model parameters, each signed starting transfer matrix is Hermitian at real spectral parameters, satisfies RTT, and has the prescribed scalar quantum determinant, which is real at real spectral parameters.

  ```lean
  theorem start_matrix_is_module : Formalism.FourierDecayAlt.M.StartIsStart := …
  ```
- `Formalism.FourierDecayAlt.P.lower_levels_same_scalar`: For admissible model parameters P, every matrix at levels 0 through P.r satisfies the starting-matrix identities with the same scalar quantum determinant qC P.

  ```lean
  theorem lower_levels_same_scalar : Formalism.FourierDecayAlt.M.LowerStart := …
  ```
- `Formalism.FourierDecayAlt.P.model_words_all_levels`: For admissible model parameters P, each good word on a finite alphabet gives a module on its regular spectral set at levels 0 through P.r, with a site congruence between consecutive word forms and a weighted row-sum identity for the starting matrix and full site list at real regular parameters.

  ```lean
  theorem model_words_all_levels : Formalism.FourierDecayAlt.M.ModelWords := …
  ```
- `Formalism.FourierDecayAlt.P.model_frame`: For admissible P and 1 ≤ l ≤ P.k, one star-compatible model level datum with an admissible start gives frames for every cut word on a finite alphabet, with word-form factorization, intertwining of both lower transfer entries on their stated spectral domains, and positive scalar diagonal coefficients.

  ```lean
  theorem model_frame : Formalism.FourierDecayAlt.M.ModelFrame := …
  ```
- `Formalism.FourierDecayAlt.P.model_frame_base`: For admissible P and 1 ≤ l ≤ P.k, one star-compatible model level datum with an admissible start gives frames for every base cut word on a finite alphabet, with word-form factorization, both lower-entry intertwining identities, and positive scalar diagonal coefficients.

  ```lean
  theorem model_frame_base : Formalism.FourierDecayAlt.M.ModelFrameBase := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.ModelWordsAssemble

12 import steps from Main · 173 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.ModelWordsAssemble)

**Derives admissibility for cut words and assembles the model’s word modules and positive frame factorizations.**

The admissibility proofs use interlacing signs and positivity to show that the required shifted spectral values avoid zeros of the model polynomials, and use spacing greater than two to exclude integer differences of absolute value at most two. The assembly theorems use the site chain to relate word forms at consecutive levels by congruence, and combine admissibility with frame and positivity hypotheses to factor the word forms for cut words and base cut words. LowerLevelsSameScalar supplies the hypotheses to obtain the model’s all-level word and frame theorems.

Key declarations:

- `Formalism.FourierDecayAlt.P.model_words_assemble`: The general word identities and site-chain hypotheses give, for valid model parameters and each good word, a module at levels 0 through P.r, congruences from level i + 1 to i for i < P.r, and a weighted row-sum identity at real regular spectral parameters.

  ```lean
  theorem model_words_assemble : Formalism.FourierDecayAlt.M.ModelWordsAssemble := …
  ```
- `Formalism.FourierDecayAlt.P.cut_admissible`: For valid model parameters and 1 ≤ l ≤ P.k, the interlacing signs, type interlacing, positivity at the cut and its shift by −1, and real-to-complex evaluation identities imply that each cut word is admissible for the model starting matrix.

  ```lean
  theorem cut_admissible : Formalism.FourierDecayAlt.M.CutAdm := …
  ```
- `Formalism.FourierDecayAlt.P.cut_admissible_base`: For valid model parameters and 1 ≤ l ≤ P.k, the cut hypotheses with the extra sign condition at shifts ±2 give base-cut admissibility, with nonvanishing checks depending on whether the effective spectral point or that point plus one lies on the cut.

  ```lean
  theorem cut_admissible_base : Formalism.FourierDecayAlt.M.CutAdmBase := …
  ```
- `Formalism.FourierDecayAlt.P.model_assemble`: The model-level, admissibility, frame, and positivity hypotheses give a frame that factors the word form with positive diagonal coefficients and intertwines the two lower transfer entries on their respective spectral domains.

  ```lean
  theorem model_assemble : Formalism.FourierDecayAlt.M.ModelAssemble := …
  ```
- `Formalism.FourierDecayAlt.P.model_assemble_base`: For base cut words, recursive admissibility and the identities relating the recursive and word constructions give the same factorization, intertwining, and diagonal positivity conclusions.

  ```lean
  theorem model_assemble_base : Formalism.FourierDecayAlt.M.ModelAssembleBase := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.MultiplicationOpHom

12 import steps from Main · 179 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.MultiplicationOpHom)

**Proves the multiplication, Euler derivation, and involution identities for the Hahn-series model.**

Multiplication on Hahn series preserves sums, products, the unit, and complex scalars. Coefficientwise calculation gives the Euler product rule, the action on coordinates and constants, and commutativity of the Euler derivations, while evaluation at the unit proves nontriviality of the operator model. The involution is computed on the model generators by swapping the two operator components and passing to diagonal matrices. The generator identities enter the transfer determinant proof, and the resulting level involution identities enter the model frame theorems.

Key declarations:

- `Formalism.FourierDecayAlt.P.multiplication_op_hom`: Sending a Hahn series to multiplication by that series preserves the unital complex algebra operations.

  ```lean
  theorem multiplication_op_hom : Formalism.FourierDecayAlt.M.MulOpHom := …
  ```
- `Formalism.FourierDecayAlt.P.euler_leibniz`: Each coordinate Euler operator satisfies the Leibniz rule on products of Hahn series.

  ```lean
  theorem euler_leibniz : Formalism.FourierDecayAlt.M.EulerLeibniz := …
  ```
- `Formalism.FourierDecayAlt.P.eulerMul_statement`: The commutator of a coordinate Euler operator with multiplication by a series is multiplication by the Euler derivative of that series.

  ```lean
  theorem eulerMul_statement : Formalism.FourierDecayAlt.M.EulerMul := …
  ```
- `Formalism.FourierDecayAlt.P.star_generators`: The involution exchanges the paired coordinates and their inverses, sends each indexed Euler generator to the negative of its partner, fixes G and its inverse, and sends ∇ to ∇*.

  ```lean
  theorem star_generators : Formalism.FourierDecayAlt.M.StarGens := …
  ```
- `Formalism.FourierDecayAlt.P.level_star`: In every model level, the involution sends ζ to ζ̄ and ∇ to ∇*, and fixes the scalar parameter.

  ```lean
  theorem level_star : Formalism.FourierDecayAlt.M.LevelStar := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.RaisingConstantEqNablaStar

12 import steps from Main · 950 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.RaisingConstantEqNablaStar)

**Computes the raising and lowering constants and proves the transfer matrix’s normal form, Hermiticity, leading terms, and ζ commutators.**

The raising and lowering constants are −∇* and −∇ with affine spectral corrections, and the adjoint of either constant at Y is G times the other constant at the complex conjugate of Y times G⁻¹, where G = ζζ̄ − TT. The normal form follows by cancelling coordinate factors and separating equal-index and distinct-index terms in the shift sums. Entrywise adjoint and coefficient calculations give Hermiticity and the leading terms, while the lowering commutator gives the transfer matrix’s ζ identities. WeightedSumDifferenceIdentity uses the normal form in the determinant proof, and LowerLevelsSameScalar uses Hermiticity to prove the starting matrices satisfy IsStart.

Key declarations:

- `Formalism.FourierDecayAlt.P.Mx5.raising_constant_eq_nabla_star`: The raising constant at spectral parameter Y is −∇* − (Y − 1/2)ζG⁻¹.

  ```lean
  theorem raising_constant_eq_nabla_star (Y : ℂ) : m0A P Y = -nabsA P - (Y - 1 / 2) • (zA P * ggiA P) := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_normal_alt`: For P.OK and all xC(π,Y) nonzero, the off-diagonal entries factor through the lower-right entry, the upper-left entry has the corresponding product plus qC(Y) times G⁻¹ kap(π ↦ 1/xC(π,Y + 1)) when all xC(π,Y + 1) are also nonzero, and for real Y the raising operator is the adjoint of the lowering operator at Y − 1.

  ```lean
  theorem transfer_normal_alt : Formalism.FourierDecayAlt.M.QQNormal := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_hermitian`: For P.OK, taking the adjoint of the transfer matrix conjugates the spectral parameter, so the matrix is Hermitian at real parameters.

  ```lean
  theorem transfer_hermitian : Formalism.FourierDecayAlt.M.QQHerm := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_leading`: For P.OK, the entries t₁₁, t₁₂, t₂₁, and t₂₂ have terms Yᵏ⁺¹ times the identity, −Yᵏζ, −Yᵏζ̄, and Yᵏ⁻¹G, respectively, plus lower-degree polynomial remainders.

  ```lean
  theorem transfer_leading : Formalism.FourierDecayAlt.M.QQLeading := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_zeta`: The commutators of the first-column entries with ζ are the negatives of the corresponding second-column entries, which commute with ζ.

  ```lean
  theorem transfer_zeta : Formalism.FourierDecayAlt.M.QQZeta := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.RealWeightedForms

12 import steps from Main · 221 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.RealWeightedForms)

**Proves reality and positivity of word weights and derives a dual-kernel bound for the first polynomial pairing.**

Induction on the word identifies the complex weight with the real formula at real points and proves positivity by showing that the shifted ratios have positive sign. The spacing hypotheses give regularity, and positivity of the real base weight on the interval combines with spacing to give positive, hence nonzero, updated weights at the added points. The size bound combines that estimate with invariance of the quadratic form under the plane-wave action and expresses the denominator as a product of positive real word weights. CutIntervalLong uses the real formula to bound the word weight at cut nodes.

Key declarations:

- `Formalism.FourierDecayAlt.P.RealWeightedForms.qwOfReal`: At a real spectral parameter where the base weight is real, the complex word weight for real letters equals the complex embedding of the corresponding real word weight.

  ```lean
  theorem qwOfReal : QwOfReal := …
  ```
- `Formalism.FourierDecayAlt.P.RealWeightedForms.qw_pos`: A positive real base weight remains positive and real after the word updates when the letters are real and the relevant shifted distances exceed two.

  ```lean
  theorem qw_pos (q : ℂ → ℂ) (Y : ℝ) (hq : (q Y).im = 0 ∧ 0 < (q Y).re) :
      ∀ w : List (Letter ℂ S), (∀ l' ∈ w, l'.pt.im = 0 ∧ CndY Y l') →
        (qw q w (Y : ℂ)).im = 0 ∧ 0 < (qw q w (Y : ℂ)).re := …
  ```
- `Formalism.FourierDecayAlt.P.RealWeightedForms.admissible_dual_kernel_identity`: For added plus letters, a positive real base weight on the interval, and growth for both augmented words, the theorem gives dual-kernel admissibility and positive real updated weights at the added points.

  ```lean
  theorem admissible_dual_kernel_identity : AdmDK := …
  ```
- `Formalism.FourierDecayAlt.P.RealWeightedForms.frm_act_act_of_star_mul_mul_eq`: An operator W satisfying W*RW = R preserves the pairing defined by R when applied to both arguments.

  ```lean
  theorem frm_act_act_of_star_mul_mul_eq (ρ : Rep A V) (RR W : SlopeTestRemainingChoices S A) (hW : star W * RR * W = RR) (X X' : Ix S → V) :
      frm ρ RR (act W X) (act W X') = frm ρ RR X X' := …
  ```
- `Formalism.FourierDecayAlt.P.RealWeightedForms.first_polynomial_size`: Under the plane-wave data, positivity of the real base weight and the word forms, and growth for both augmented words, the squared modulus of the first polynomial pairing is bounded by the product of the two real quadratic-form values divided by the product of the updated weights at the added points.

  ```lean
  theorem first_polynomial_size : AdmissiblePointSizeBound := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.ResidueForm

12 import steps from Main · 304 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.ResidueForm)

**Proves a simple-pole expansion for the frame entry ee of an admissible word consisting of plus letters.**

The expansion adds a diagonal term independent of the spectral parameter, multiplies each starting residue on the right by a diagonal word factor, and subtracts one simple-pole term for each letter. The proof inducts on the word, using frame conjugation and a divided difference to update the residues and insert the new letter’s pole. The formula assumes the frame and conjugation identities, star-level and compatible level-start data, and a starting expansion with poles disjoint from the letter points. Both Y and Y + 1 lie in the updated invertibility domain, with Y off the starting poles. The cut-word theorem ee_form specializes the expansion to the model’s explicit starting residues.

Key declarations:

- `Formalism.FourierDecayAlt.P.Fr11.Ph_res`: For pairwise distinct Y, a, and γ, the divided-difference update at a letter point a preserves the simple-pole denominator Y − γ and rescales the two projected components by 1 ± 1/(a − γ).

  ```lean
  lemma Ph_res (T : B) (γ Ya Y : ℂ) (h1 : Y ≠ γ) (h2 : Ya ≠ γ) (h3 : Y ≠ Ya) :
      Ph p0 p1 (Y - Ya)⁻¹ ((Y - γ)⁻¹ • T) ((Ya - γ)⁻¹ • T) =
        (Y - γ)⁻¹ • (((1 + 1 / (Ya - γ)) • p0 + (1 - 1 / (Ya - γ)) • p1) * T) := …
  ```
- `Formalism.FourierDecayAlt.P.Fr11.mult_single`: The one-letter diagonal multiplier acts by 1 + 1/(a − γ) on coordinate 0 and by 1 − 1/(a − γ) on coordinate 1.

  ```lean
  lemma mult_single (l : Letter ℂ S) (γ : ℂ) :
      (mult [l] γ : SlopeTestRemainingChoices S A) =
        (1 + 1 / (l.pt - γ)) • eU l.intersection_update_fsHerm_neg_one 0 0 + (1 - 1 / (l.pt - γ)) • eU l.intersection_update_fsHerm_neg_one 1 1 := …
  ```
- `Formalism.FourierDecayAlt.P.Fr11.letterSum_step`: If the new letter’s site and spectral point differ from those of every remaining letter and Y avoids all their spectral points as well as the new letter’s, the divided-difference update multiplies each existing letter-pole term by the new letter’s diagonal factor at that pole.

  ```lean
  lemma letterSum_step (l : Letter ℂ S) (Y : ℂ) (hY : Y ≠ l.pt) :
      ∀ (w v : List (Letter ℂ S)), (∀ l' ∈ w, l.intersection_update_fsHerm_neg_one ≠ l'.intersection_update_fsHerm_neg_one ∧ Y ≠ l'.pt ∧ l.pt ≠ l'.pt) →
        Ph (eU l.intersection_update_fsHerm_neg_one 0 0 : SlopeTestRemainingChoices S A) (eU l.intersection_update_fsHerm_neg_one 1 1) (Y - l.pt)⁻¹ (letterSum v w Y) (letterSum v w l.pt) =
          letterSum (l :: v) w Y
    | [], v, _ => by simp [letterSum, Ph_zero]
    | l' :: w, v, h => by
      obtain ⟨h1, h2, h3⟩ := …
  ```
- `Formalism.FourierDecayAlt.P.Fr11.Kw_cons`: Prepending a letter adds the level operator tz projected onto coordinate 0 at that letter’s position to the constant term.

  ```lean
  lemma Kw_cons {r : ℕ} (L : LevelData A r) (l : Letter ℂ S) (w : List (Letter ℂ S)) :
      (Kw L (l :: w) : SlopeTestRemainingChoices S A) = Kw L w + eU l.intersection_update_fsHerm_neg_one 0 0 * tz L := …
  ```
- `Formalism.FourierDecayAlt.P.fr_residue_form`: Given the frame and conjugation identities, star-level and compatible level-start data, a starting simple-pole expansion, and an admissible all-plus word whose letter points avoid the starting poles, the updated frame entry equals the diagonal constant plus the weighted starting-pole sum minus the letter-pole sum when Y avoids the starting poles and both Y and Y + 1 lie in the updated invertibility domain.

  ```lean
  theorem fr_residue_form : Formalism.FourierDecayAlt.Fr.ResidueForm := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.RhoAntitoneOfInterlacing

12 import steps from Main · 160 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.RhoAntitoneOfInterlacing)

**Derives polynomial signs and root exclusion from interlacing and uses root exclusion to specialize Lemma E.**

Joint interlacing makes ρ nonincreasing on indices 1 through k − 1. When −Y lies strictly between the two entries at index l, bounds on λ and ρ determine the signs of the linear factors by index, and counting negative factors gives both products the sign (−1)^(k−l). If −Y stays in that gap throughout a closed interval of Y-values, the λ-product has no root there. The importing theorem eigenvalue_interlacing combines this root exclusion with Lemma E to obtain the energy limit under the interlacing hypotheses.

Key declarations:

- `Formalism.FourierDecayAlt.P.rho_antitone_of_interlacing`: The interlacing inequalities imply ρ(j) ≤ ρ(i) whenever 1 ≤ i ≤ j ≤ k − 1.

  ```lean
  theorem rho_antitone_of_interlacing {k : ℕ} {u u' ρ : ℕ → ℝ} (h : I.Interlaces k u u' ρ) :
      ∀ i j, 1 ≤ i → i ≤ j → j ≤ k - 1 → ρ j ≤ ρ i := …
  ```
- `Formalism.FourierDecayAlt.P.lambda_side_inequality`: Under joint λ-interlacing and the gap condition at l, the λ-entries before position l exceed both entries at l, and those from position l onward lie below both.

  ```lean
  theorem lambda_side_inequality : C7.LamSide := …
  ```
- `Formalism.FourierDecayAlt.P.polynomial_sign`: Under the interlacing and gap hypotheses, both products at Y have sign (−1)^(k−l), and multiplying the λ-product by that sign gives its absolute value.

  ```lean
  theorem polynomial_sign : C7.PSign := …
  ```
- `Formalism.FourierDecayAlt.P.roots_outside_jointly`: If λ interlaces both sequences and every −Y for Y in the closed interval lies strictly between their entries at l, then every root −λ(s) lies outside the interval.

  ```lean
  theorem roots_outside_jointly : C7.RootsOutJoint := …
  ```
- `Formalism.FourierDecayAlt.P.interlacing_of_parts`: Lemma E and joint root exclusion imply the energy-limit conclusion under the interlacing and interval-gap hypotheses and the remaining assumptions of Lemma E.

  ```lean
  theorem interlacing_of_parts : C7.LemmaEInterlacingOfParts := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.RuleInv

12 import steps from Main · 227 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.RuleInv)

**Proves eight commutator identities for inverse coordinate elements and level operators built from transfer matrices.**

The two inverse coordinate elements commute with both normalized transfer entries and each commutes with one of the two level operators. The remaining commutators [R0(Y),ζi] and [R0v(Y),ζbi] are obtained by left-multiplying Ahat(Y) by G·Di² and Ahatv(Y) by −G·Dbi², respectively. The proof propagates entrywise commutation through ordered matrix products and cancels inverse factors in the commutative subalgebra generated by the coefficient data. LevelRaisingOperators applies all eight identities to compositions of concrete operators.

Key declarations:

- `Formalism.FourierDecayAlt.R.PInv.comm_mat_prod`: An element commuting with every entry of each 2 × 2 matrix in a list also commutes with every entry of their ordered product.

  ```lean
  theorem comm_mat_prod (x : A) :
      ∀ l : List (Matrix (Fin 2) (Fin 2) A), (∀ M ∈ l, ∀ i j, Commute x (M i j)) →
        ∀ i j, Commute x (l.prod i j)
    | [], _ => by
        intro i j
        by_cases h : i = j <;> simp [Matrix.one_apply, h]
    | M :: l, h => by
        intro i j
        rw [List.prod_cons, Matrix.mul_apply]
        exact Commute.sum_right _ _ _ fun k _ =>
          (h M (by simp) i k).mul_right (comm_mat_prod x l (fun N hN => h N (by simp [hN])) k j)
  ```
- `Formalism.FourierDecayAlt.R.PInv.prod_mul_prod_eq_one`: If fᵢgᵢ = 1 for every i and each fᵢ commutes with every gⱼ, then the two ordered products multiply to 1.

  ```lean
  theorem prod_mul_prod_eq_one : ∀ (n : ℕ) (f g : Fin n → A), (∀ i, f i * g i = 1) →
      (∀ i j, Commute (f i) (g j)) → (List.ofFn f).prod * (List.ofFn g).prod = 1
    | 0, _, _, _, _ => by simp
    | n + 1, f, g, h1, hc => by
        rw [List.ofFn_succ, List.ofFn_succ, List.prod_cons, List.prod_cons]
        have hP : Commute (List.ofFn fun i => f i.succ).prod (g 0) := …
  ```
- `Formalism.FourierDecayAlt.R.LevelData.inv_hR_hol`: The holomorphic correction term G·Di²·Ahat(Y) equals Drb·GG·ζi²·Ar(Y).

  ```lean
  theorem _root_.Formalism.FourierDecayAlt.R.LevelData.inv_hR_hol (Y : ℂ) :
      L.G * L.Di * L.Di * L.Ahat Y = L.Drb * L.GG * (L.ζi * L.ζi * L.Ar Y) := …
  ```
- `Formalism.FourierDecayAlt.R.LevelData.inv_hR_bar`: The barred correction term G·Dbi²·Ahatv(Y) equals Dr·GG·ζbi²·Avr(Y).

  ```lean
  theorem _root_.Formalism.FourierDecayAlt.R.LevelData.inv_hR_bar (Y : ℂ) :
      L.G * L.Dbi * L.Dbi * L.Ahatv Y = L.Dr * L.GG * (L.ζbi * L.ζbi * L.Avr Y) := …
  ```
- `Formalism.FourierDecayAlt.R.PInv.ruleInv`: With [X,Z] = XZ − ZX, the eight identities give [R0(Y),ζi] = G·Di²·Ahat(Y) and [R0v(Y),ζbi] = −G·Dbi²·Ahatv(Y), with the other six commutators equal to zero.

  ```lean
  theorem ruleInv : RuleInv := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.SquareIntegrableGammaZetabarInv

12 import steps from Main · 3,176 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.SquareIntegrableGammaZetabarInv)

**Proves square-integrability estimates, adjoint identities, and word formulas, and derives the model energy limit from Lemma E.**

On |ζ|² > τ ≥ 0, the bound (|ζ|² − τ)/|ζ| ≤ |ζ| gives square-integrability for both inverse-coordinate multiples of the radial factor whenever ζf is square-integrable. Integration by parts gives the level-zero cutoff adjoint identities and verifies formal adjoints on test functions for the operator generators. The module proves word product and eigenvector identities and establishes positivity and finite logarithmic-derivative expansions for the cutoff families. The importing theorem lemma_model uses its reduction of the model energy limit to Lemma E and the model hypotheses.

Key declarations:

- `Formalism.FourierDecayAlt.P.MAx2.J0.L2.square_integrable_gamma_zetabar_inv`: For τ ≥ 0, square-integrability of ζf implies square-integrability of (|ζ|² − τ)f/ζ̄ in the level-zero base measure.

  ```lean
  theorem L2.square_integrable_gamma_zetabar_inv (hτ : 0 ≤ τ) {f : S τ} (h : L2 (z * f)) : L2 (gg * (zbi * f)) := …
  ```
- `Formalism.FourierDecayAlt.P.adjoint_at_zero`: For level-zero model data with nonnegative threshold, the Jacobi decay hypothesis implies the cutoff adjoint identities.

  ```lean
  theorem adjoint_at_zero : Formalism.FourierDecayAlt.MA.JAdjZero := …
  ```
- `Formalism.FourierDecayAlt.P.adjoint_algebra`: For a nonnegative threshold, every element of the generated operator algebra acts with its prescribed formal adjoint on the test space.

  ```lean
  theorem adjoint_algebra : Formalism.FourierDecayAlt.MA.AdjAlg := …
  ```
- `Formalism.FourierDecayAlt.P.family_restriction`: Under the model hypotheses, the cutoff families up to the prescribed length satisfy positivity and admit finite expansions in logarithmic derivatives of the cutoff.

  ```lean
  theorem family_restriction : Formalism.FourierDecayAlt.MA.FamRestQ := …
  ```
- `Formalism.FourierDecayAlt.P.lemma_model_of_parts`: Lemma E and its constants hypothesis, the model's step and family hypotheses, root exclusion, energy polynomiality, source square-integrability, the model Theorem P hypothesis ThmPQ, and source norm normalization imply the model energy limit.

  ```lean
  theorem lemma_model_of_parts : Formalism.FourierDecayAlt.MA.LemmaEModelOfParts := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.TopDegreePolynomials

12 import steps from Main · 151 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.TopDegreePolynomials)

**Proves degree bounds and top-degree coefficient formulas for shifted sesquilinear pairings, plane waves, and lifts.**

Pairing two polynomial actions at real arguments Y and Y+h gives a complex polynomial of degree at most a+b when the input degrees are bounded by a and b. Expanding both actions leaves only the pair of indices (a,b) contributing to the coefficient of Y^(a+b). Expanding the two-by-two matrix action gives a difference of pairings, from which monicity and degree bounds give the plane-wave and lift coefficients at degrees 2n and 2n+s, respectively. WordLiftInduction uses the plane-wave coefficient formula and derives the lift coefficient from shifted pairing estimates to prove Chebyshev norm bounds for both kinds of words.

Key declarations:

- `Formalism.FourierDecayAlt.P.pairing_top_degree`: For input degree bounds a and b, the shifted pairing has degree at most a+b, and its coefficient in degree a+b is the pairing of the actions of the input coefficients in degrees a and b.

  ```lean
  theorem pairing_top_degree : Formalism.FourierDecayAlt.F7.PairTop := …
  ```
- `Formalism.FourierDecayAlt.P.j_pairing_formula`: Pairing the first evaluated pair, after applying J U(s)⁻¹, with the second evaluated pair gives Ξ((B(Y)+sA(Y))x, A′(Y′)x′) − Ξ(A(Y)x, B′(Y′)x′).

  ```lean
  theorem j_pairing_formula : Formalism.FourierDecayAlt.F7.JPairing := …
  ```
- `Formalism.FourierDecayAlt.P.plane_wave_top_degree`: For monic A and A′ of degree n and B and B′ of degree below n, the plane-wave pairing with shift one has degree at most 2n and coefficient s Ξ(x,x′) in degree 2n.

  ```lean
  theorem plane_wave_top_degree : Formalism.FourierDecayAlt.F7.PlaneWaveTop := …
  ```
- `Formalism.FourierDecayAlt.P.lift_top_degree`: For s ≥ 1, e = ±1, nonzero t and t′, and monic A and A′ of degree n+s, if B and B′ act on the chosen vectors at every real evaluation point as e/t and e/conj(t′) times the respective monic degree-n polynomial actions, then the shifted J-pairing has degree at most 2n+s and coefficient e(1/t − 1/t′) Ξ(x,x′) in that degree.

  ```lean
  theorem lift_top_degree : Formalism.FourierDecayAlt.F7.LiftTop := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.WeightedSumDifferenceIdentity

12 import steps from Main · 1,545 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.WeightedSumDifferenceIdentity)

**Proves the model transfer matrix’s quantum determinant formula and pairwise commutativity of its lower-left entries.**

The lower-left commutator vanishes by separate identities for the constant and mixed products and by antisymmetry in the double shift sum. A partial-fraction calculation accounts for coincident shifted roots and expresses the raising–lowering commutator as a difference of normalized determinant values. This gives eight entry identities wherever the required diagonal inverses exist, and polynomiality extends them to every spectral parameter. LowerLevelsSameScalar uses the determinant formula to establish the starting module structure and lower-left commutativity to prove admissibility.

Key declarations:

- `Formalism.FourierDecayAlt.P.Mx7.weighted_sum_difference_identity`: If NS−SN = −bS, S commutes with b and G, XS = SX′, and E commutes with N and b, then GX(−N−cb)SE = SGX′E(−N−cb+b).

  ```lean
  theorem weighted_sum_difference_identity (G b N S X Xp E : R) (hNS : N * S = S * N - b * S) (hbS : b * S = S * b)
      (hXS : X * S = S * Xp) (hSG : S * G = G * S) (hEN : Commute E N) (hEb : Commute E b) (c : ℂ) :
      G * X * (-N - c • b) * (S * E) = S * G * (Xp * E * ((-N - c • b) + b)) := …
  ```
- `Formalism.FourierDecayAlt.P.lower_left_commute_model`: For P.OK, the lower-left transfer entries t₂₁(P,u) and t₂₁(P,v) commute for all complex u and v.

  ```lean
  theorem lower_left_commute_model : Formalism.FourierDecayAlt.M.T21Commute := …
  ```
- `Formalism.FourierDecayAlt.P.Mx7.pf`: For P.OK and xC(P,π,·) nonzero at u−1, u, and u+1, the difference F(u−1) − F(u), with F(v) = qC(P,v)/(xC(P,π,v)xC(P,π,v+1)), equals an affine term plus a sum weighted by the upward and downward shift norms.

  ```lean
  theorem pf (P : Par) (hP : P.OK) (π : Ty P) (u : ℂ) (h0 : xC P π (u - 1) ≠ 0) (h1 : xC P π u ≠ 0)
      (h2 : xC P π (u + 1) ≠ 0) :
      qC P (u - 1) * ((xC P π (u - 1))⁻¹ * (xC P π u)⁻¹) - qC P u * ((xC P π u)⁻¹ * (xC P π (u + 1))⁻¹) =
        (2 * (aC P π : ℂ) + 2 * u) * (P.TT : ℂ) + ∑ l ∈ Icc 1 (P.k - 1),
          ((Nrm P l π : ℂ) * ((u + rho P π l)⁻¹ * (u + rho P π l + 1)⁻¹) -
            (NrmDown P l π : ℂ) * ((u + rho P π l)⁻¹ * (u + rho P π l - 1)⁻¹)) := …
  ```
- `Formalism.FourierDecayAlt.P.Mx7.raising_lowering_commutator_alt`: Under the model relations, P.OK, and nonvanishing of all diagonal factors xC(π,·) at u−1, u, and u+1, the raising–lowering commutator is qC(u−1)t₂₂(u−1)⁻¹t₂₂(u)⁻¹ − qC(u)t₂₂(u)⁻¹t₂₂(u+1)⁻¹.

  ```lean
  theorem raising_lowering_commutator_alt (hSc : SSScalar) (hSh : SSShift) (hR : RhoUp) (hLF : LevFns) (hLN : LevNab) (hLNs : LevNabs)
      (hSG : StarGens) (hN : NabSS) (hNorm : SSNorm) (hMix : SSMixed) (hCurv : Curvature)
      (P : Par) (hP : P.OK) (u : ℂ) (h0 : ∀ π, xC P π (u - 1) ≠ 0) (h1 : ∀ π, xC P π u ≠ 0)
      (h2 : ∀ π, xC P π (u + 1) ≠ 0) :
      mA P u * lA P u - lA P u * mA P u =
        qC P (u - 1) • (ti P (u - 1) * ti P u) - qC P u • (ti P u * ti P (u + 1)) := …
  ```
- `Formalism.FourierDecayAlt.P.transfer_determinant`: For P.OK, the transfer matrix has quantum determinant qC(Y) = −TT′ ∏ᵢ (Y+½+uᵢ)(Y+½+u′ᵢ) in both shifted symplectic matrix identities.

  ```lean
  theorem transfer_determinant : Formalism.FourierDecayAlt.M.QQDet := …
  ```

### Formalism.HermitianCurvature.HermitianCurvatureProofs.WordMonicExtraction

12 import steps from Main · 413 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.HermitianCurvatureProofs.WordMonicExtraction)

**Proves Lagrange interpolation formulas for plane-wave pairings, lift pairings, and lifted vectors along words.**

Lagrange weights on d+1 distinct real nodes extract the degree-d coefficient of a polynomial of degree at most d, including for vector-valued polynomials. For plane waves, strict degree bounds on B and Bv and monicity give the degree-2n coefficient. For lifts, the zero letter parameter and pairing identities reduce the degree-2n+s coefficient calculation to monic factors of degrees n and n+s. Induction on word length multiplies the letter factors and the interpolation weights, and the vector lift uses the same argument with ordered products of algebra elements. PolynomialDegreeExpansion uses the plane-wave formula to prove its grid degree identity.

Key declarations:

- `Formalism.FourierDecayAlt.P.WordMonicExtraction.word_gen`: If each letter’s weighted sum scales the pairing by a scalar for all algebra multiples of the input vectors, the product-weighted word sum scales the pairing by the product of those scalars.

  ```lean
  theorem word_gen (Ξ : Sesq M) (d : ℕ) (X X' : M) : ∀ (K : ℕ) (dat : Fin K → Dat R)
      (grid : Fin K → Fin (d + 1) → ℝ) (c : Fin K → ℂ),
      (∀ a (Q Q' : R), ∑ i, ((lagCo (grid a) i : ℝ) : ℂ) *
        letterVal Ξ (dat a) (grid a i) (Q • X) (Q' • X') = c a * Ξ (Q • X) (Q' • X')) →
      ∀ Q Q' : R, (∏ a, c a) * Ξ (Q • X) (Q' • X') =
        ∑ j : Fin K → Fin (d + 1), ((∏ a, lagCo (grid a) (j a) : ℝ) : ℂ) *
          Fw Ξ (Q • X) (Q' • X') (List.ofFn fun a => (dat a, grid a (j a))) 1 1 := …
  ```
- `Formalism.FourierDecayAlt.P.WordMonicExtraction.monic_extract`: For a monic degree-n polynomial A₀ and a complex-linear map E, the Lagrange-weighted sum of E(A₀(yᵢ)x) over n+1 distinct real nodes equals E(x).

  ```lean
  theorem monic_extract {V : Type} [AddCommGroup V] [Module ℂ V] (ev : M →ₗ[ℂ] V) (n : ℕ) (A₀ : R[X])
      (hA : A₀.Monic) (hn : A₀.natDegree = n) (y : Fin (n + 1) → ℝ) (hy : Function.Injective y)
      (x : M) : ∑ i, ((lagCo y i : ℝ) : ℂ) • ev (evR A₀ (y i) • x) = ev x := …
  ```
- `Formalism.FourierDecayAlt.P.plane_wave_word_formula`: Under the plane-wave degree and monicity conditions, the Lagrange-weighted word sum on 2n+1 distinct nodes per letter equals the base pairing multiplied by ∏ₐ sₐ.

  ```lean
  theorem plane_wave_word_formula : Formalism.FourierDecayAlt.F7.PlaneWaveWord := …
  ```
- `Formalism.FourierDecayAlt.P.lift_word_formula`: Under the lift hypotheses, the Lagrange-weighted word sum on 2n+s+1 distinct nodes per letter equals the base pairing multiplied by ∏ₐ eₐ(1/tₐ−1/t′ₐ).

  ```lean
  theorem lift_word_formula : Formalism.FourierDecayAlt.F7.LiftWord := …
  ```
- `Formalism.FourierDecayAlt.P.lift_vector_word`: If after applying a complex-linear map E each letter acts on every algebra multiple of X₀ as cₐ times a monic degree-n polynomial, the Lagrange-weighted sum of E applied to the ordered word actions on X₀ over n+1 distinct real nodes per letter equals (∏ₐ cₐ)E(X₀).

  ```lean
  theorem lift_vector_word : Formalism.FourierDecayAlt.F7.LiftVectorWord := …
  ```

### Formalism.HermitianCurvature.PositionExpansionTopCoefficients

12 import steps from Main · 406 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.PositionExpansionTopCoefficients)

**Defines word pairings and formulates duality, interpolation, and norm estimates for plane waves.**

A sesquilinear pairing compatible with the algebra involution defines the forms associated with word matrices. The duality propositions compare squared moduli of mixed pairings with products of diagonal forms divided by word-dependent scalar factors. The position expansion states a sesquilinear evaluation identity, and tensor-product Lagrange interpolation links its grid values to the plane-wave pairing. The module formulates implications from interpolation and pointwise size to a combined bound, then through normalisation to a two-regime estimate with the direct plane-wave bound as a separate input. GramProductIdentities proves the Gram sum, positivity, and realisation statements.

Key declarations:

- `Formalism.FourierDecayAlt.FormPairingAction.Rep`: Equips a module over a complex star algebra with a sesquilinear pairing for which the action of the involution gives the adjoint action.

  ```lean
  structure Rep (A V : Type) [Ring A] [StarRing A] [Algebra ℂ A] [AddCommGroup V] [Module ℂ V]
      [Module A V] where
  
    β : F7.Sesq V
  
    adj : ∀ (a : A) (x y : V), β (a • x) y = β x (star a • y)
  ```
- `Formalism.FourierDecayAlt.FormPairingAction.LemmaDK`: States that under the start, duality, and positivity hypotheses, the product of the primal and dual diagonal forms divided by the product of the word-dependent scalar factors is real and its real part bounds the squared modulus of the mixed pairing.

  ```lean
  def LemmaDK : Prop := …
  ```
- `Formalism.FourierDecayAlt.FormPairingAction.PositionExpansionTopCoefficients`: States that under the plane-wave data and with the sesquilinear form given by the specified word form, the extended-word pairing at K real positions equals the iterated sesquilinear evaluation of the four insertion polynomials.

  ```lean
  def PositionExpansionTopCoefficients : Prop := …
  ```
- `Formalism.FourierDecayAlt.FormPairingAction.GridDegreeIdentity`: States that under the plane-wave data and with 2n + 1 distinct nodes per position, sᴷ times the original plane-wave pairing equals a tensor-product Lagrange sum of extended pairings.

  ```lean
  def GridDegreeIdentity : Prop := …
  ```
- `Formalism.FourierDecayAlt.FormPairingAction.SmallParameterNormBound`: States that under the plane-wave, grid, growth, positivity, and normalisation hypotheses, including a local normalisation factor at most X at every position, the plane-wave modulus divided by the word normaliser is bounded by the original normalised diagonal form for |s| ≤ X and by (X/|s|)ᴷ times a grid-weighted sum of the means of the primal and dual normalised extended forms for |s| > X.

  ```lean
  def SmallParameterNormBound : Prop := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPFSum

13 import steps from Main · 18 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPFSum)

**Proves that polynomial functions from ℂ to a complex algebra are closed under finite pointwise sums.**

Each summand is represented by a polynomial with coefficients in the target algebra, evaluated at the image of the complex argument under the structure map. The proof inducts on the finite index set, starting with the zero polynomial and using additivity of evaluation when a summand is inserted. ConnectionRaisingConstantEq applies the theorem to establish polynomiality of its coordinate function and its lower, upper, and quartic sums.

Key declarations:

- `UpperTheory.Reformulated.B.IsPFSum.isPF_sum`: For any complex algebra A and finite index set, the pointwise sum of a family of polynomial functions from ℂ to A is polynomial.

  ```lean
  theorem UpperTheory.Reformulated.B.IsPFSum.isPF_sum :
      ∀ {A : Type} [inst : Ring A] [inst_1 : Algebra ℂ A] {ι : Type} (s : Finset ι) {f : ι → ℂ → A},
        (∀ i ∈ s, UpperTheory.Reformulated.B.PolynomialFunction₂.IsPF (f i)) → UpperTheory.Reformulated.B.PolynomialFunction₂.IsPF fun (Y : ℂ) ↦ ∑ i ∈ s, f i Y := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.PolyInMul

13 import steps from Main · 31 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.PolyInMul)

**Defines polynomial functions of bounded degree and proves that degree bounds add under pointwise multiplication.**

For a function from ℂ to a complex algebra, PolyIn expresses a degree bound by a finite expansion in powers of the scalar argument. The proof expands the pointwise product and collects the ordered coefficient products aᵢbⱼ with i + j = n in degree n. The importer applies this bound inductively to the polynomial extensions of conjugated word products.

Key declarations:

- `UpperTheory.Reformulated.B.Qk18.PolyIn`: A function from ℂ to a complex algebra has degree at most d if it is a sum of scalar powers from 0 through d acting on fixed algebra coefficients.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.Qk18.PolyIn :
      {R : Type} → [inst : Ring R] → [Algebra ℂ R] → (ℂ → R) → ℕ → Prop :=
      fun {R : Type} [Ring R] [Algebra ℂ R] (f : ℂ → R) (d : ℕ) ↦
        ∃ (a : ℕ → R), ∀ (s : ℂ), f s = ∑ k ∈ Finset.range (d + (1 : ℕ)), s ^ k • a k
  ```
- `UpperTheory.Reformulated.B.Qk18.polyIn_mul`: The pointwise product of two functions with degree bounds d₁ and d₂ has degree at most d₁ + d₂.

  ```lean
  theorem UpperTheory.Reformulated.B.Qk18.polyIn_mul :
      ∀ {R : Type} [inst : Ring R] [inst_1 : Algebra ℂ R] {f g : ℂ → R} {d₁ d₂ : ℕ},
        UpperTheory.Reformulated.B.Qk18.PolyIn f d₁ →
          UpperTheory.Reformulated.B.Qk18.PolyIn g d₂ → UpperTheory.Reformulated.B.Qk18.PolyIn (fun (t : ℂ) ↦ f t * g t) (d₁ + d₂) := …
  ```

### Formalism.HermitianCurvature.StatementMA

13 import steps from Main · 787 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.HermitianCurvature.StatementMA)

**Builds differential-algebra models of the transfer matrix and formulates Lemma E for the smooth cutoff energy.**

The transfer entries are matrices of operator pairs on a commutative complex algebra of Hahn series or smooth functions, with the second operator in the opposite ring. The smooth model uses coordinate multiples of Wirtinger derivatives on the open set where every c-coordinate is nonzero and |ζ|² > TT′, and proves that these operators preserve smoothness. The word recursion and its diagonal weights define the steps and families of the cutoff-energy system. Lemma E specifies the limit as the cutoff tends to zero from above, under interlacing, decay, adjointness, and eigenvalue hypotheses. StatementJC uses this limit as a hypothesis in its comparison with the local lattice energy.

Key declarations:

- `Formalism.FourierDecayAlt.MA.DAlg.Laws`: Requires the Euler operators to be commuting derivations with prescribed action on coordinates, and requires the coordinates and ζζ̄ − TT′ to be units in a nontrivial algebra.

  ```lean
  structure Laws (TT : ℝ) : Prop where
    leibniz : ∀ v f g, D.ev v (f * g) = D.ev v f * g + f * D.ev v g
    coord : ∀ v w, D.ev v (D.x w) = if v = w then D.x w else 0
    comm : ∀ v w, D.ev v * D.ev w = D.ev w * D.ev v
    unit_alt_bis : ∀ v, IsUnit (D.x v)
    unit_gg : IsUnit (D.gg TT)
    nontrivial : Nontrivial D.R
  ```
- `Formalism.FourierDecayAlt.MA.anQ`: Realises the differential algebra on smooth complex-valued functions using coordinates and their conjugates together with the corresponding Wirtinger Euler operators.

  ```lean
  def anQ (r : ℕ) (TT : ℝ) : DAlg r where
    R := SmQ r TT
    x := coordQ
    ev := eulerQ
  ```
- `Formalism.FourierDecayAlt.MA.ModelFrameD`: Asserts the existence of compatible level and start data yielding a word-frame factorisation with positive diagonal coefficients for every cut word.

  ```lean
  def ModelFrameD : Prop :=
    ∀ P : M.Par, P.OK → ∀ l, 1 ≤ l → l ≤ P.k → ∀ D : DAlg P.r, D.Laws P.TT →
      ∃ L : LevelData (A P D) P.r, IsModelLevel P D L ∧ IsStarLevel L ∧ IsLevelStart L (startM P D l) ∧
        ∀ (S : Type) [Fintype S] [DecidableEq S] (w : List (Letter ℂ S)), M.CutWord P l w → FrameConcl P D l L w
  ```
- `Formalism.FourierDecayAlt.MA.sysQ`: Packages the cutoff quadratic form, recursive word steps, and word families into a system for Lemma E.

  ```lean
  def sysQ (c : LE.Cut) (Ntot : ℕ) : LE.Sys
  ```
- `Formalism.FourierDecayAlt.MA.LemmaEModel`: States that for a sufficiently wide spectral interval and an admitted word within the length bound, the cutoff energy tends to the word size times the squared L² norm of the source.

  ```lean
  def LemmaEModel : Prop := …
  ```

Blueprint: [Energies of cut-off vectors in the archimedean model](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-theta/sec-theta-offdiag/thm-offdiagonal-bound/prop-archimedean-model-data/lem-cutoff-energy-limit.md) (Merten's blueprint)

### Lemmata.HermitianSesquilinear.ConjEqOfNonnegReal

13 import steps from Main · 44 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Lemmata.HermitianSesquilinear.ConjEqOfNonnegReal)

**Proves Hermitian symmetry and the Cauchy–Schwarz inequality for complex sesquilinear forms with real, nonnegative diagonal values.**

Expanding the diagonal values at x + y and x + iy and setting their imaginary parts to zero yields Hermitian symmetry. The form then satisfies the axioms of a positive semidefinite inner product, so the standard inner-product Cauchy–Schwarz inequality bounds the squared modulus by the product of the diagonal values. GramProductIdentities invokes this bound in cs_of_pos and applies it to the form frmS in csPos.

Key declarations:

- `Bl.HermitianSesquilinear.conj_eq_of_nonneg_real`: A complex sesquilinear form with real, nonnegative diagonal values satisfies Ξ(y,x) = overline(Ξ(x,y)).

  ```lean
  private theorem conj_eq_of_nonneg_real {M : Type} [AddCommGroup M] [Module ℂ M] (Ξ : Formalism.FourierDecayAlt.F7.Sesq M)
      (h : ∀ m : M, 0 ≤ (Ξ m m).re ∧ (Ξ m m).im = 0) (x y : M) :
      starRingEnd ℂ (Ξ x y) = Ξ y x := …
  ```
- `Bl.HermitianSesquilinear.goal1`: For a complex sesquilinear form with real, nonnegative diagonal values, |Ξ(x,y)|² ≤ Re Ξ(x,x) · Re Ξ(y,y) for all x and y.

  ```lean
  theorem goal1 :
    ∀ {M : Type} [inst : AddCommGroup.{0} M] [inst_1 : Module.{0, 0} Complex M] (Ξ : Formalism.FourierDecayAlt.F7.Sesq M),
    (∀ (m : M),
        And (LE.le.{0} 0 (DFunLike.coe.{1, 1, 1} (DFunLike.coe.{1, 1, 1} Ξ m) m).re)
          (Eq.{1} (DFunLike.coe.{1, 1, 1} (DFunLike.coe.{1, 1, 1} Ξ m) m).im 0)) →
      ∀ (x y : M),
        LE.le.{0} (HPow.hPow.{0, 0, 0} (Norm.norm.{0} (DFunLike.coe.{1, 1, 1} (DFunLike.coe.{1, 1, 1} Ξ x) y)) 2)
          (HMul.hMul.{0, 0, 0} (DFunLike.coe.{1, 1, 1} (DFunLike.coe.{1, 1, 1} Ξ x) x).re
            (DFunLike.coe.{1, 1, 1} (DFunLike.coe.{1, 1, 1} Ξ y) y).re) := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPF

14 import steps from Main · 5 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IsPF)

**Defines polynomiality for functions from ℂ to a complex algebra.**

The predicate IsPF holds when a single polynomial with coefficients in the target algebra represents the function at every complex argument, evaluated via the algebra’s structure map. IsPFSum unfolds this definition to prove closure under finite pointwise sums.

Key declarations:

- `UpperTheory.Reformulated.B.PolynomialFunction₂.IsPF`: A function f from ℂ to a complex algebra A is polynomial if some p in A[X] satisfies f(z) = p(ι(z)) for all z in ℂ, where ι is the structure map.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.PolynomialFunction₂.IsPF :
      {A : Type} → [inst : Ring A] → [Algebra ℂ A] → (ℂ → A) → Prop :=
    fun {A} _ _ f => ∃ p : Polynomial A, ∀ Y : ℂ, f Y = Polynomial.eval (algebraMap ℂ A Y) p
  ```


---

A concrete model transfer matrix… · Alpöge Lean readings. Web page: https://riemannhypothesissolved.com/cluster/k0250-a-concrete-model-transfer-matrix-yang-baxter-relation/lean/ · updated 2026-11-26 · site map for machines: https://riemannhypothesissolved.com/llms.txt
