{
  "schema_version": 1,
  "corpus": {
    "repository": "Deicyde/riemann-hypothesis",
    "commit": "e50d09817ad81469f737e8f637561e6ccf86c670"
  },
  "evidence": "The two written calls in uniform_counts separate generic single-flag bounds from pairs. Read their fixed-row counts alongside the saturation lemma.",
  "claims": [
    {
      "id": "GLC-01",
      "chapter": "global",
      "title": "Saturation converts a determinant cutoff into an index cutoff",
      "anchor": "global-lattice-saturation",
      "statement": "The rank-n count is bounded by the sum of primitive determinant-d counts weighted by (G/d)^(k+log₂[K:ℚ]+1).",
      "hypotheses": "Positive definite integral finitely generated lattice under the selected CM hypotheses, ambient dimension k. The count is zero below G=1.",
      "definitions": [
        "M=L∩span_K(P)",
        "j=#(M/P)",
        "det(P)=j det(M)"
      ],
      "equations": [
        "global-lattice-index-sum"
      ],
      "dependencies": [],
      "sources": [
        {
          "declaration": "GlobalTheory.LoopC.SubCount.main",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
          "lines": [
            85,
            103
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean#L85-L103",
          "label": "Passing to the saturation",
          "declaration_lines": {
            "GlobalTheory.LoopC.SubCount.main": 85
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.SubCount.main",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
          "lines": [
            103,
            122
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean#L103-L122",
          "label": "Integral determinant and finite index",
          "declaration_lines": {
            "GlobalTheory.LoopC.SubCount.main": 85
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.SubCount.index_eq",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
          "lines": [
            42,
            58
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean#L42-L58",
          "label": "Counting each index in a projective module",
          "declaration_lines": {
            "GlobalTheory.LoopC.SubCount.index_eq": 42
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.SubCount.index_le",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
          "lines": [
            60,
            81
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean#L60-L81",
          "label": "Summing the indices",
          "declaration_lines": {
            "GlobalTheory.LoopC.SubCount.index_le": 60
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.SubCount.main",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
          "lines": [
            123,
            130
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean#L123-L130",
          "label": "Summing the primitive determinants",
          "declaration_lines": {
            "GlobalTheory.LoopC.SubCount.main": 85
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.GenericMean.sub_count",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
          "lines": [
            127,
            143
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean#L127-L143",
          "label": "The empty range below one",
          "declaration_lines": {
            "GlobalTheory.LoopC.GenericMean.sub_count": 127
          }
        }
      ],
      "status": "mathematical proof reconstructed",
      "correspondence": "The exact-index count uses the bound for finitely generated projective modules. The integral determinant uses the standing CM norm conditions.",
      "review": "A separate reader checked the determinant and index hypotheses, the exponent, the recovery of the pair isometry and the four-unit orbits. In the example eight rank-one submodules occupy six field lines."
    },
    {
      "id": "GLC-02",
      "chapter": "global",
      "title": "A generic flag has a witness in the definite complement",
      "anchor": "global-generic-lattice-count",
      "statement": "For fixed row and Gram class, the generic term count is bounded by the number of admissible rank-(k−1) sublattices times the uniform fixed-witness flag bound.",
      "hypotheses": "Selected fixed base flag, admissible row, generic term, determinant control and a positive uniform fixed-witness estimate.",
      "definitions": [
        "The witness is the definite lattice seen from the orthogonal flag."
      ],
      "equations": [
        "global-lattice-index-sum"
      ],
      "dependencies": [
        "GLC-01",
        "FWF-03"
      ],
      "sources": [
        {
          "declaration": "GlobalTheory.LoopC.GenericMean.orth_lattice",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
          "lines": [
            79,
            96
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean#L79-L96",
          "label": "The orthogonal lattice of a frame",
          "declaration_lines": {
            "GlobalTheory.LoopC.GenericMean.orth_lattice": 79
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.GenericMean.cntCl_le_encard_mul",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
          "lines": [
            144,
            159
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean#L144-L159",
          "label": "Bounding a covered set of equivalence classes",
          "declaration_lines": {
            "GlobalTheory.LoopC.GenericMean.cntCl_le_encard_mul": 144
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.GenericMean.main",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
          "lines": [
            217,
            242
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean#L217-L242",
          "label": "Applying the bound on one generic row",
          "declaration_lines": {
            "GlobalTheory.LoopC.GenericMean.main": 178
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.GenericMean.main",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
          "lines": [
            244,
            250
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean#L244-L250",
          "label": "Exchanging the two finite sums",
          "declaration_lines": {
            "GlobalTheory.LoopC.GenericMean.main": 178
          }
        }
      ],
      "status": "mathematical proof reconstructed",
      "correspondence": "The cover by witness lattices suffices for the claimed upper bound, then row averaging preserves it.",
      "review": "A separate reader checked the determinant and index hypotheses, the exponent, the recovery of the pair isometry and the four-unit orbits. In the example eight rank-one submodules occupy six field lines."
    },
    {
      "id": "GLC-03",
      "chapter": "global",
      "title": "Two flag classes determine an admissible loop triple",
      "anchor": "global-lattice-pair-count",
      "statement": "A common rank-(k−s) witness and two fixed-witness flag counts give a bound of the number of witnesses times J².",
      "hypotheses": "Fixed admissible base flag and row, positive frame parameter, level at least three, positive corank, two fixed Gram classes and the stated determinant bound.",
      "definitions": [
        "The third component is the isometry between the indicated flag quotients."
      ],
      "equations": [
        "global-lattice-index-sum"
      ],
      "dependencies": [
        "GLC-01",
        "FWF-03"
      ],
      "sources": [
        {
          "declaration": "GlobalTheory.LoopC.PairMean.pair_sub",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
          "lines": [
            97,
            119
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean#L97-L119",
          "label": "Constructing a common lattice",
          "declaration_lines": {
            "GlobalTheory.LoopC.PairMean.pair_sub": 97
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.PairMean.pEqv_iff",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
          "lines": [
            121,
            138
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean#L121-L138",
          "label": "Recovering the comparison isometry",
          "declaration_lines": {
            "GlobalTheory.LoopC.PairMean.pEqv_iff": 121
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.PairMean.cnt_triples",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
          "lines": [
            30,
            57
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean#L30-L57",
          "label": "Counting pairs of classes",
          "declaration_lines": {
            "GlobalTheory.LoopC.PairMean.cnt_triples": 30
          }
        },
        {
          "declaration": "GlobalTheory.LoopC.PairMean.main",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
          "lines": [
            314,
            325
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean#L314-L325",
          "label": "The row and genus averages",
          "declaration_lines": {
            "GlobalTheory.LoopC.PairMean.main": 242
          }
        },
        {
          "declaration": "GlobalTheory.RowCounts.uniform_counts",
          "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/RowCountsUniformConstantsFamilies.lean",
          "lines": [
            25,
            44
          ],
          "url": "https://github.com/Deicyde/riemann-hypothesis/blob/e50d09817ad81469f737e8f637561e6ccf86c670/src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/RowCountsUniformConstantsFamilies.lean#L25-L44",
          "label": "Assembly of the separate arithmetic estimates",
          "declaration_lines": {
            "GlobalTheory.RowCounts.uniform_counts": 25
          }
        }
      ],
      "status": "mathematical proof reconstructed",
      "correspondence": "Existence of a common witness and uniqueness after moving the flags are separate steps in the proof. The genus-mean bound remains a separate numerical input.",
      "review": "A separate reader checked the determinant and index hypotheses, the exponent, the recovery of the pair isometry and the four-unit orbits. In the example eight rank-one submodules occupy six field lines."
    }
  ],
  "written_source_calls": [
    {
      "caller": "index_eq",
      "callee": "Formalism.HermitianLatticeCounting.Final.LatticeSumBounds.c2a",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
        "line": 52
      }
    },
    {
      "caller": "index_le",
      "callee": "index_eq",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
        "line": 75
      }
    },
    {
      "caller": "SubCount.main",
      "callee": "GlobalTheory.LoopC.DetCard.main",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
        "line": 103
      }
    },
    {
      "caller": "SubCount.main",
      "callee": "GlobalTheory.Mass.DetNat.main",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/EncardSublatticesBoundedDetLeSum.lean",
        "line": 111
      }
    },
    {
      "caller": "GenericMean.main",
      "callee": "orth_lattice",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
        "line": 229
      }
    },
    {
      "caller": "GenericMean.main",
      "callee": "sub_count",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/CntClLeEncardMul.lean",
        "line": 239
      }
    },
    {
      "caller": "PairMean.main",
      "callee": "pEqv_iff",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
        "line": 317
      }
    },
    {
      "caller": "PairMean.main",
      "callee": "pair_sub",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
        "line": 318
      }
    },
    {
      "caller": "PairMean.main",
      "callee": "GlobalTheory.T.encard_sublattices_bounded_det_le_sum",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/OneLeSizeZ.lean",
        "line": 321
      }
    },
    {
      "caller": "uniform_counts",
      "callee": "GlobalTheory.LoopC.PairMean.main",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/RowCountsUniformConstantsFamilies.lean",
        "line": 34
      }
    },
    {
      "caller": "uniform_counts",
      "callee": "GlobalTheory.LoopC.GenericMean.main",
      "callsite": {
        "path": "src/Development/AbelianVarietyTheory/Proofs/FlagMeasures/RowCountsUniformConstantsFamilies.lean",
        "line": 36
      }
    }
  ],
  "derivation_edges": [
    [
      "GLC-01",
      "GLC-02"
    ],
    [
      "GLC-01",
      "GLC-03"
    ]
  ],
  "outstanding": [
    "FWF traces the uniform numerical bound per witness and PGM derives the primitive corank-one genus mean for generic flags. The higher-corank mean for pairs is derived in HCM. A further input is the bound for sublattices of bounded index in a projective module."
  ]
}
