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.Diagonal |
| 2 | |
| 3 | /-! # Local Finiteness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.LocalFiniteness.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: local exactness at P suffices for branch homology finiteness |
| 11 | |
| 12 | This applies to any two endomorphisms of the actual branch image, |
| 13 | including the complementary powers of a chosen uniformizer. |
| 14 | -/ |
| 15 | |
| 16 | variable {R : Type*} [CommRing R] [IsDomain R] [IsLocalRing R] [Ring.KrullDimLE 2 R] |
| 17 | |
| 18 | theorem branchLocalized_exact_off_closed (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 19 | (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) |
| 20 | (φ ψ : PeriodicComplex.BundleCycles.productBranchModule a b P →ₗ[R] PeriodicComplex.BundleCycles.productBranchModule a b P) |
| 21 | (hlocal : Function.Exact (Periodic.Localization.BundleCycles.localizedEndomorphism P.primeCompl φ) (Periodic.Localization.BundleCycles.localizedEndomorphism P.primeCompl ψ)) |
| 22 | (q : PrimeSpectrum R) (hqm : q.asIdeal ≠ IsLocalRing.maximalIdeal R) : |
| 23 | Function.Exact (Periodic.Localization.BundleCycles.localizedEndomorphism q.asIdeal.primeCompl φ) (Periodic.Localization.BundleCycles.localizedEndomorphism q.asIdeal.primeCompl ψ) := by |
| 24 | by_cases hpq : P ≤ q.asIdeal |
| 25 | · have he := Diagonal.BundleCycles.surfaceMinimalPrime_le_eq_of_not_maximal (a * b) (mul_ne_zero ha hb) P hP q hqm hpq |
| 26 | subst P |
| 27 | exact hlocal |
| 28 | · have hz : Subsingleton (LocalizedModule q.asIdeal.primeCompl (PeriodicComplex.BundleCycles.productBranchModule a b P)) := |
| 29 | MinimalBranchSupport.BundleCycles.minimalPrime_branch_localization_zero (Ideal.span {a * b}) P hP q hpq |
| 30 | intro m |
| 31 | constructor |
| 32 | · intro _ |
| 33 | exact ⟨0, hz.elim _ _⟩ |
| 34 | · intro _ |
| 35 | exact hz.elim _ _ |
| 36 | |
| 37 | theorem branchPeriodicHomology_length_ne_top [IsNoetherianRing R] |
| 38 | (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 39 | (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) |
| 40 | (φ ψ : PeriodicComplex.BundleCycles.productBranchModule a b P →ₗ[R] PeriodicComplex.BundleCycles.productBranchModule a b P) |
| 41 | (hψφ : φ.comp ψ = 0) |
| 42 | (hlocal : Function.Exact (Periodic.Localization.BundleCycles.localizedEndomorphism P.primeCompl ψ) (Periodic.Localization.BundleCycles.localizedEndomorphism P.primeCompl φ)) : |
| 43 | Module.length R (Periodic.Exact.BundleCycles.periodicHomology φ ψ hψφ) ≠ ⊤ := |
| 44 | Periodic.Localization.BundleCycles.periodicHomology_length_ne_top_of_local_exact φ ψ hψφ |
| 45 | (branchLocalized_exact_off_closed a b ha hb P hP ψ φ hlocal) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.LocalFiniteness.BundleCycles |