{
  "schema_version": 1,
  "corpus": {
    "repository": "Deicyde/riemann-hypothesis",
    "commit": "e50d09817ad81469f737e8f637561e6ccf86c670"
  },
  "claims": [
    {
      "id": "DML-01",
      "chapter": "global",
      "anchor": "global-marked-maximal-lattices",
      "title": "Marking a maximal enlargement bounds the fibre by a fixed index count",
      "hypotheses": "A positive definite integral Hermitian lattice of rank r≥1, a CM field E unramified at the finite places of its real subfield and fixed positive discriminant order n.",
      "statement": "Every nonempty discriminant-order family has maximal enlargements in one genus. Each index i is fixed by n=n₀i². Marking an enlargement bounds its weighted mass by the maximal genus mass times i^(r+log₂[E:ℚ]).",
      "equations": [
        "global-discriminant-index-square"
      ],
      "dependencies": [
        "MHC-03"
      ],
      "sources": [
        {
          "label": "A maximal enlargement and the square of its index",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
          "lines": [
            81,
            103
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean#L81-L103",
          "declaration": "GlobalTheory.Mass.SpaceMass.main",
          "declaration_lines": {
            "GlobalTheory.Mass.SpaceMass.main": 79
          }
        },
        {
          "label": "The index identity in the chain of the two dual lattices",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/HermitianLatticeDiscriminantOrderNeZeroUnimodula.lean",
          "lines": [
            159,
            173
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/HermitianLatticeDiscriminantOrderNeZeroUnimodula.lean#L159-L173",
          "declaration": "GlobalTheory.Mass.DiscOrder.main",
          "declaration_lines": {
            "GlobalTheory.Mass.DiscOrder.main": 159
          }
        },
        {
          "label": "All maximal integral lattices in this space are locally isometric",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MemGenusIffMaximalIntegralHermitianLattice.lean",
          "lines": [
            386,
            416
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MemGenusIffMaximalIntegralHermitianLattice.lean#L386-L416",
          "declaration": "GlobalTheory.Mass.MaxGenus.sameGenus",
          "declaration_lines": {
            "GlobalTheory.Mass.MaxGenus.sameGenus": 386
          }
        },
        {
          "label": "Counting a fibre with stabilizer weights",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OrbitStabilizerMassEqWeightedSumFibres.lean",
          "lines": [
            187,
            208
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OrbitStabilizerMassEqWeightedSumFibres.lean#L187-L208",
          "declaration": "GlobalTheory.Mass.orbMass_eq_orbSum_fibre",
          "declaration_lines": {
            "GlobalTheory.Mass.orbMass_eq_orbSum_fibre": 187
          }
        },
        {
          "label": "The two projections of the marked pairs and the fixed index",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
          "lines": [
            112,
            150
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean#L112-L150",
          "declaration": "GlobalTheory.Mass.SpaceMass.main",
          "declaration_lines": {
            "GlobalTheory.Mass.SpaceMass.main": 79
          }
        },
        {
          "label": "Counting sublattices inside a projective module",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesOfIndexLe.lean",
          "lines": [
            10,
            40
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesOfIndexLe.lean#L10-L40",
          "declaration": "GlobalTheory.Mass.sublattice_count",
          "declaration_lines": {
            "GlobalTheory.Mass.sublattice_count": 10
          }
        },
        {
          "label": "Counting the prime factors of the integer index",
          "path": "src/Formalism/FlagUnipotentLattices/MinkowskiFactorialBounds/IdealsOfNormEqIndexSet.lean",
          "lines": [
            12,
            29
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Formalism/FlagUnipotentLattices/MinkowskiFactorialBounds/IdealsOfNormEqIndexSet.lean#L12-L29",
          "declaration": "Formalism.HermitianLatticeCounting.P.ideal_count_statement",
          "declaration_lines": {
            "Formalism.HermitianLatticeCounting.P.ideal_count_statement": 12
          }
        }
      ]
    },
    {
      "id": "DML-02",
      "chapter": "global",
      "anchor": "global-discriminant-order-mass",
      "title": "The mass of lattices with specified discriminant order",
      "hypotheses": "The same definite space and local hypotheses, with the standard orthonormal genus of the same rank as reference.",
      "statement": "The sum of reciprocal stabilizer orders for discriminant order n is at most the standard genus mass times n^((r+log₂[E:ℚ])/2). The middle-rank primitive count uses this separately for each nonzero complementary rank.",
      "equations": [
        "global-maximal-local-factor",
        "global-discriminant-order-inequality"
      ],
      "dependencies": [
        "DML-01",
        "MHC-01"
      ],
      "sources": [
        {
          "label": "Structure of the discriminant module of a maximal lattice",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeLocalStructureDiscriminan.lean",
          "lines": [
            511,
            524
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeLocalStructureDiscriminan.lean#L511-L524",
          "declaration": "GlobalTheory.MaxLatStruct.main",
          "declaration_lines": {
            "GlobalTheory.MaxLatStruct.main": 511
          }
        },
        {
          "label": "The rank-one defect, its norm-one automorphisms and the density",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean",
          "lines": [
            31,
            81
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean#L31-L81",
          "declaration": "GlobalTheory.Mass.MaxFormula.localMassFactor_eq_of_mem_badPrimes",
          "declaration_lines": {
            "GlobalTheory.Mass.MaxFormula.localMassFactor_eq_of_mem_badPrimes": 31
          }
        },
        {
          "label": "Collecting the bad finite places",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean",
          "lines": [
            83,
            109
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean#L83-L109",
          "declaration": "GlobalTheory.Mass.MaxFormula.lamG_eq_lamMax",
          "declaration_lines": {
            "GlobalTheory.Mass.MaxFormula.lamG_eq_lamMax": 83
          }
        },
        {
          "label": "Comparison with a constant common to the given field and rank",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean",
          "lines": [
            111,
            117
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean#L111-L117",
          "declaration": "GlobalTheory.Mass.MaxFormula.main",
          "declaration_lines": {
            "GlobalTheory.Mass.MaxFormula.main": 111
          }
        },
        {
          "label": "Positivity and the elementary bound at one bad place",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalLatticeLocalFactorProductPosAndLe.lean",
          "lines": [
            12,
            23
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalLatticeLocalFactorProductPosAndLe.lean#L12-L23",
          "declaration": "GlobalTheory.MaxLatLam.factor_bounds",
          "declaration_lines": {
            "GlobalTheory.MaxLatLam.factor_bounds": 12
          }
        },
        {
          "label": "The discriminant-order bound for the product",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalLatticeLocalFactorProductPosAndLe.lean",
          "lines": [
            25,
            35
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalLatticeLocalFactorProductPosAndLe.lean#L25-L35",
          "declaration": "GlobalTheory.MaxLatLam.main",
          "declaration_lines": {
            "GlobalTheory.MaxLatLam.main": 25
          }
        },
        {
          "label": "Orthonormal reference mass and the maximal genus inequality",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
          "lines": [
            91,
            106
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean#L91-L106",
          "declaration": "GlobalTheory.Mass.SpaceMass.main",
          "declaration_lines": {
            "GlobalTheory.Mass.SpaceMass.main": 79
          }
        },
        {
          "label": "Combining the fibre count with the genus mass",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
          "lines": [
            151,
            156
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean#L151-L156",
          "declaration": "GlobalTheory.Mass.SpaceMass.main",
          "declaration_lines": {
            "GlobalTheory.Mass.SpaceMass.main": 79
          }
        },
        {
          "label": "Separate applications in the subspace and its perpendicular",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/PrimitiveSublatticeMeanCountBound.lean",
          "lines": [
            184,
            200
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/PrimitiveSublatticeMeanCountBound.lean#L184-L200",
          "declaration": "GlobalTheory.Mass.PrimMean.main",
          "declaration_lines": {
            "GlobalTheory.Mass.PrimMean.main": 139
          }
        },
        {
          "label": "Using the proved mass comparison in the middle ranks",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MeanCountPrimitiveSublatticesOverGenus.lean",
          "lines": [
            183,
            189
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MeanCountPrimitiveSublatticesOverGenus.lean#L183-L189",
          "declaration": "GlobalTheory.Mass.PrimMeanRow.main",
          "declaration_lines": {
            "GlobalTheory.Mass.PrimMeanRow.main": 143
          }
        }
      ]
    }
  ],
  "written_source_calls": [
    {
      "callee": "GlobalTheory.T.exists_maximal_integralHermitianLattice_orthonormal_maximal",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 88,
        "spelling": "GlobalTheory.T.exists_maximal_integralHermitianLattice_orthonormal_maximal"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.hermitianLatticeDiscriminantOrder_ne_zero_unimodular",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 97,
        "spelling": "GlobalTheory.T.hermitianLatticeDiscriminantOrder_ne_zero_unimodular"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.hermitianGenusMass_eq_orbitStabilizerMass",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 98,
        "spelling": "GlobalTheory.T.hermitianGenusMass_eq_orbitStabilizerMass"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.orbitStabilizerMass_eq_weightedSum_fibres",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 117,
        "spelling": "GlobalTheory.T.orbitStabilizerMass_eq_weightedSum_fibres"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.orbitStabilizerMass_eq_weightedSum_fibres",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 119,
        "spelling": "GlobalTheory.T.orbitStabilizerMass_eq_weightedSum_fibres"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.mem_genus_iff_maximalIntegralHermitianLattice",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 127,
        "spelling": "GlobalTheory.T.mem_genus_iff_maximalIntegralHermitianLattice"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.encard_sublattices_of_index_le",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 134,
        "spelling": "GlobalTheory.T.encard_sublattices_of_index_le"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "Formalism.HermitianLatticeCounting.Final.LatticeSumBounds.c2a",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesOfIndexLe.lean",
        "line": 23,
        "spelling": "Formalism.HermitianLatticeCounting.Final.LatticeSumBounds.c2a"
      },
      "caller": "GlobalTheory.Mass.sublattice_count"
    },
    {
      "callee": "Formalism.SLP.Final.submoduleIndexCountO",
      "callsite": {
        "path": "src/Formalism/FlagUnipotentLattices/MinkowskiFactorialBounds/IdealsOfNormEqIndexSet.lean",
        "line": 14,
        "spelling": "Formalism.SLP.Final.submoduleIndexCountO"
      },
      "caller": "Formalism.HermitianLatticeCounting.P.ideal_count_statement"
    },
    {
      "callee": "Formalism.SLP.Final.omegaPow",
      "callsite": {
        "path": "src/Formalism/FlagUnipotentLattices/MinkowskiFactorialBounds/IdealsOfNormEqIndexSet.lean",
        "line": 17,
        "spelling": "Formalism.SLP.Final.omegaPow"
      },
      "caller": "Formalism.HermitianLatticeCounting.P.ideal_count_statement"
    },
    {
      "callee": "GlobalTheory.T.discriminantModule_isometries_eq_normOne_residues",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean",
        "line": 64,
        "spelling": "GlobalTheory.T.discriminantModule_isometries_eq_normOne_residues"
      },
      "caller": "GlobalTheory.Mass.MaxFormula.localMassFactor_eq_of_mem_badPrimes"
    },
    {
      "callee": "massConst_all",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean",
        "line": 114,
        "spelling": "massConst_all"
      },
      "caller": "GlobalTheory.Mass.MaxFormula.main"
    },
    {
      "callee": "lamG_eq_lamMax",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalHermitianLatticeMassRatio.lean",
        "line": 117,
        "spelling": "lamG_eq_lamMax"
      },
      "caller": "GlobalTheory.Mass.MaxFormula.main"
    },
    {
      "callee": "GlobalTheory.MaxLatStruct.main",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalLatticeLocalFactorProductPosAndLe.lean",
        "line": 27,
        "spelling": "GlobalTheory.MaxLatStruct.main"
      },
      "caller": "GlobalTheory.MaxLatLam.main"
    },
    {
      "callee": "factor_bounds",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MaximalLatticeLocalFactorProductPosAndLe.lean",
        "line": 31,
        "spelling": "factor_bounds"
      },
      "caller": "GlobalTheory.MaxLatLam.main"
    },
    {
      "callee": "GlobalTheory.T.maximalLatticeLocalFactorProduct_pos_and_le",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 106,
        "spelling": "GlobalTheory.T.maximalLatticeLocalFactorProduct_pos_and_le"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "real_bound",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MassIntegralLatticesDiscriminantOrderLe.lean",
        "line": 154,
        "spelling": "real_bound"
      },
      "caller": "GlobalTheory.Mass.SpaceMass.main"
    },
    {
      "callee": "GlobalTheory.T.mass_integralLattices_discriminantOrder_le",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/PrimitiveSublatticeMeanCountBound.lean",
        "line": 185,
        "spelling": "GlobalTheory.T.mass_integralLattices_discriminantOrder_le"
      },
      "caller": "GlobalTheory.Mass.PrimMean.main"
    },
    {
      "callee": "GlobalTheory.T.mass_integralLattices_discriminantOrder_le",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/PrimitiveSublatticeMeanCountBound.lean",
        "line": 193,
        "spelling": "GlobalTheory.T.mass_integralLattices_discriminantOrder_le"
      },
      "caller": "GlobalTheory.Mass.PrimMean.main"
    },
    {
      "callee": "GlobalTheory.T.maximalHermitianLattice_massRatio",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MeanCountPrimitiveSublatticesOverGenus.lean",
        "line": 187,
        "spelling": "GlobalTheory.T.maximalHermitianLattice_massRatio"
      },
      "caller": "GlobalTheory.Mass.PrimMeanRow.main"
    },
    {
      "callee": "GlobalTheory.Mass.PrimMean.main",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/MeanCountPrimitiveSublatticesOverGenus.lean",
        "line": 187,
        "spelling": "GlobalTheory.Mass.PrimMean.main"
      },
      "caller": "GlobalTheory.Mass.PrimMeanRow.main"
    }
  ],
  "derivation_edges": [
    [
      "DML-01",
      "DML-02"
    ],
    [
      "DML-02",
      "HCM-01"
    ]
  ],
  "classical_references": [
    {
      "title": "W. T. Gan, J. P. Hanke and J.-K. Yu, On an exact mass formula of Shimura",
      "url": "https://web.math.princeton.edu/~jonhanke/Web-02/Mass-Formula-of-Shimura/shimura-mass.pdf"
    }
  ],
  "outstanding": [
    "MHC-01 through MHC-03 derive the common maximal genus, including the dyadic integral isometry. The unitary local density formula is cited. The explicit bad-place factor, weighted fibres and index count are derived here. The Gaussian calculation illustrates only the pair and index identities."
  ]
}
