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.Smooth.SectionCotangent |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.DifferentialCoordinates |
| 3 | import Mathlib.RingTheory.LocalRing.Module |
| 4 | |
| 5 | /-! # Section Differentials -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.SectionDifferentials.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: a smooth local section has actual kernel coordinates with a differential basis -/ |
| 12 | |
| 13 | open KaehlerDifferential |
| 14 | |
| 15 | variable (A B : Type) [CommRing A] [CommRing B] [Algebra A B] [Algebra B A] |
| 16 | [IsScalarTower A B A] |
| 17 | |
| 18 | def sectionDifference (b : B) : RingHom.ker (algebraMap B A) := |
| 19 | ⟨b - algebraMap A B (algebraMap B A b), by |
| 20 | change algebraMap B A (b - algebraMap A B (algebraMap B A b)) = 0 |
| 21 | rw [map_sub, ← IsScalarTower.algebraMap_apply A B A] |
| 22 | exact sub_self _⟩ |
| 23 | |
| 24 | theorem sectionDifference_differential (b : B) : D A B (sectionDifference A B b).val = D A B b := by |
| 25 | change D A B (b - algebraMap A B (algebraMap B A b)) = _ |
| 26 | rw [map_sub, Derivation.map_algebraMap, sub_zero] |
| 27 | |
| 28 | theorem sectionKernelDifferential_span : |
| 29 | Submodule.span B (Set.range (fun b : RingHom.ker (algebraMap B A) => D A B b.val)) = ⊤ := by |
| 30 | apply top_unique |
| 31 | rw [← span_range_derivation A B] |
| 32 | apply Submodule.span_le.mpr |
| 33 | rintro _ ⟨b, rfl⟩ |
| 34 | exact Submodule.subset_span ⟨sectionDifference A B b, sectionDifference_differential A B b⟩ |
| 35 | |
| 36 | variable [IsLocalRing B] [IsNoetherianRing B] [Algebra.EssFiniteType A B] [Algebra.FormallySmooth A B] |
| 37 | |
| 38 | omit [IsNoetherianRing B] in |
| 39 | theorem smoothSection_exists_differentialBasis : |
| 40 | ∃ (ι : Type) (_ : Finite ι) (v : ι → RingHom.ker (algebraMap B A)) (b : Module.Basis ι B Ω[B⁄A]), |
| 41 | ∀ i, b i = D A B (v i).val := by |
| 42 | obtain ⟨ι, v, b, hb⟩ := Module.exists_basis_of_span_of_flat |
| 43 | (fun r : RingHom.ker (algebraMap B A) => D A B r.val) (sectionKernelDifferential_span A B) |
| 44 | exact ⟨ι, Module.Finite.finite_basis b, v, b, hb⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.SectionDifferentials.BundleCycles |