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.Branch.FamilyEuler |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.Diagonal |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FiniteError |
| 4 | |
| 5 | /-! # Euler Balance -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.EulerBalance.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the total Euler contribution of the actual branch complexes is zero |
| 13 | |
| 14 | The exact product complex has zero Euler invariant. Its actual diagonal |
| 15 | to all branch images has finite-length kernel and cokernel, whose Euler |
| 16 | invariants vanish. The full branch sum therefore vanishes as an integer. |
| 17 | -/ |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] [IsDomain R] [IsLocalRing R] |
| 20 | [Ring.KrullDimLE 2 R] [IsNoetherianRing R] |
| 21 | |
| 22 | theorem productBranchEuler_sum_zero (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) : |
| 23 | ∑ P : Diagonal.BundleCycles.minimalBranchIndex (a * b), FamilyEuler.BundleCycles.productBranchEuler a b ha hb P = 0 := by |
| 24 | have hM (j : Bool) : Module.length R ((ProductPeriodicComplex.BundleCycles.productPeriodicComplex a b).homology j) ≠ ⊤ := by |
| 25 | rw [ProductPeriodicComplex.BundleCycles.productPeriodicComplex_homology_length_zero a b ha hb j] |
| 26 | exact ENat.zero_ne_top |
| 27 | have he := Periodic.FiniteError.BundleCycles.equationPeriodicEulerLength_eq_of_finite_errors |
| 28 | (M := ProductPeriodicComplex.BundleCycles.productEquationQuotient a b) (N := Diagonal.BundleCycles.productBranchFamily a b) a b |
| 29 | (Diagonal.BundleCycles.productEquation_annihilated a b) (Diagonal.BundleCycles.productBranchFamily_annihilated a b) |
| 30 | (Diagonal.BundleCycles.productBranchDiagonal a b) |
| 31 | (Diagonal.BundleCycles.productBranchDiagonal_kernel_length_ne_top a b ha hb) |
| 32 | (Diagonal.BundleCycles.productBranchDiagonal_cokernel_length_ne_top a b ha hb) |
| 33 | (hM false) (hM true) |
| 34 | (FamilyEuler.BundleCycles.productBranchFamily_homology_finite a b ha hb false) |
| 35 | (FamilyEuler.BundleCycles.productBranchFamily_homology_finite a b ha hb true) |
| 36 | exact (FamilyEuler.BundleCycles.productBranchFamily_Euler_sum a b ha hb).symm.trans |
| 37 | (he.symm.trans (ProductPeriodicComplex.BundleCycles.productPeriodicEulerLength_zero a b ha hb (hM false) (hM true))) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.EulerBalance.BundleCycles |