Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.ResidueBranchSum |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.EulerBalance |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FactorialRationalReciprocity |
| 4 | |
| 5 | /-! # Normal Reciprocity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.NormalReciprocity.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: complete rational residue reciprocity on a normal local surface |
| 13 | |
| 14 | Each actual geometric residue divisor is the negative branch Euler |
| 15 | cycle. Their complete sum vanishes by the actual diagonal comparison. |
| 16 | Numerator/denominator representations and the proved bilinearity extend |
| 17 | this to every pair of nonzero rational functions, including shared |
| 18 | components and poles. No factoriality or properness is assumed. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 22 | open scoped Classical |
| 23 | |
| 24 | variable (R : Type) [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 25 | [IsIntegrallyClosed R] [IsLocalRing R] |
| 26 | |
| 27 | theorem affineNormalRegularResidueBoundary_zero (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 28 | (hdim : ringKrullDim R = 2) : |
| 29 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle (Spec (CommRingCat.of R)) (ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 30 | (ProperReciprocity.BundleCycles.affineFunctionUnit R a ha) (ProperReciprocity.BundleCycles.affineFunctionUnit R b hb) = 0 := by |
| 31 | let affineNormalReciprocity_dim : Ring.KrullDimLE 2 R := Ring.krullDimLE_iff.mpr hdim.le |
| 32 | rw [ResidueBranchSum.BundleCycles.affineRegularResidueBoundary_eq_branch_sum] |
| 33 | have he (P : Branch.Diagonal.BundleCycles.minimalBranchIndex (a * b)) : |
| 34 | ResidueCycleFamily.BundleCycles.normalResidueContribution (Spec (CommRingCat.of R)) (ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) |
| 35 | (ProperReciprocity.BundleCycles.affineFunctionUnit R a ha) (ProperReciprocity.BundleCycles.affineFunctionUnit R b hb) (ResidueBranchSum.BundleCycles.affineProductBranchEmbedding R a b ha hb P) = |
| 36 | Finsupp.single (LocalDivisor.BundleCycles.affineLocalClosedPoint R) (-(Branch.FamilyEuler.BundleCycles.productBranchEuler a b ha hb P) : ℚ) := |
| 37 | ResidueBranchCycle.BundleCycles.affineNormalResidue_principal_eq_branchEuler R a b ha hb hdim P |
| 38 | simp_rw [he] |
| 39 | change (∑ P : Branch.Diagonal.BundleCycles.minimalBranchIndex (a * b), |
| 40 | (Finsupp.singleAddHom (LocalDivisor.BundleCycles.affineLocalClosedPoint R)) (-(Branch.FamilyEuler.BundleCycles.productBranchEuler a b ha hb P) : ℚ)) = 0 |
| 41 | rw [← map_sum (Finsupp.singleAddHom (LocalDivisor.BundleCycles.affineLocalClosedPoint R)) |
| 42 | (fun P : Branch.Diagonal.BundleCycles.minimalBranchIndex (a * b) => (-(Branch.FamilyEuler.BundleCycles.productBranchEuler a b ha hb P) : ℚ)) Finset.univ] |
| 43 | have hsum := congrArg (fun z : ℤ => (z : ℚ)) (Branch.EulerBalance.BundleCycles.productBranchEuler_sum_zero a b ha hb) |
| 44 | rw [Int.cast_sum, Int.cast_zero] at hsum |
| 45 | change Finsupp.single (LocalDivisor.BundleCycles.affineLocalClosedPoint R) |
| 46 | (∑ P : Branch.Diagonal.BundleCycles.minimalBranchIndex (a * b), -(Branch.FamilyEuler.BundleCycles.productBranchEuler a b ha hb P : ℚ)) = 0 |
| 47 | rw [Finset.sum_neg_distrib, hsum, neg_zero, Finsupp.single_zero] |
| 48 | |
| 49 | theorem affineNormalResidueBoundary_zero (hdim : ringKrullDim R = 2) |
| 50 | (g h : (Spec (CommRingCat.of R)).functionFieldˣ) : |
| 51 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle (Spec (CommRingCat.of R)) (ProperReciprocity.BundleCycles.affineNormal_stalk_integrallyClosed R) g h = 0 := by |
| 52 | obtain ⟨a, c, ha, hc, hg⟩ := FactorialRationalReciprocity.BundleCycles.affineFunctionUnit_exists_ratio R g |
| 53 | obtain ⟨b, d, hb, hd, hh⟩ := FactorialRationalReciprocity.BundleCycles.affineFunctionUnit_exists_ratio R h |
| 54 | rw [hg, hh, Geometric.Steinberg.BundleCycles.normalResidueBoundaryCycle_div_left, Geometric.Steinberg.BundleCycles.normalResidueBoundaryCycle_div_right, |
| 55 | Geometric.Steinberg.BundleCycles.normalResidueBoundaryCycle_div_right, |
| 56 | affineNormalRegularResidueBoundary_zero R a b ha hb hdim, |
| 57 | affineNormalRegularResidueBoundary_zero R a d ha hd hdim, |
| 58 | affineNormalRegularResidueBoundary_zero R c b hc hb hdim, |
| 59 | affineNormalRegularResidueBoundary_zero R c d hc hd hdim] |
| 60 | simp only [sub_zero] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.NormalReciprocity.BundleCycles |