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.NumberTheory.PadicHodge.GeometricComparison.BettiHalfDimension |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AbelianDeRhamFinite |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AbelianComparisonNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SubspaceBaseI |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AbelianDeRhamFiltration |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FirstHodgeNumber |
| 7 | |
| 8 | /-! # Half Dimension -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.HalfDimension |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual local Hodge filtration has half-dimensional first step, transported from complex conjugation through the proved filtered comparisons. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | private theorem filtered_scalar_finrank {K L V W : Type*} [Field K] [Field L] [Algebra K L] |
| 20 | [AddCommGroup V] [Module K V] [FiniteDimensional K V] |
| 21 | [AddCommGroup W] [Module L W] |
| 22 | (e : L ⊗[K] V ≃ₗ[L] W) (P : Submodule K V) (Q : Submodule L W) |
| 23 | (h : (P.baseChange L).map e.toLinearMap = Q) : |
| 24 | Module.finrank L Q = Module.finrank K P := by |
| 25 | rw [← h, e.finrank_map_eq, SubspaceBaseI.SubspaceBaseChange.finrank] |
| 26 | |
| 27 | namespace AbelianH1Model |
| 28 | |
| 29 | variable {K : Type} [Field K] [NumberField K] |
| 30 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 31 | |
| 32 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_hodge_half_dimension (hBettiComparison : Betti.ComparisonInput) (j : K →+* ℂ) |
| 33 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) : |
| 34 | 2 * Module.finrank ℚ_[q] (A.Fil 1) = Module.finrank ℚ_[q] A.DeRham := by |
| 35 | let : Algebra K ℚ_[q] := jq.toAlgebra |
| 36 | let : Algebra K ℂ := j.toAlgebra |
| 37 | let : FiniteDimensional K A.AlgebraicDeRham := A.algebraicDeRham_finite_of_BettiComparison hBettiComparison j P |
| 38 | let : FiniteDimensional ℂ (A.ComplexBetti j) := A.complexBetti_finiteDimensional j P |
| 39 | let : FiniteDimensional ℂ ((A.smoothProjectiveFiber j P).complexCohomology 1) := |
| 40 | A.complexBetti_finiteDimensional j P |
| 41 | obtain ⟨e, _, he⟩ := A.algebraicBettiComparison_exists hBettiComparison j P |
| 42 | have hl := filtered_scalar_finrank A.localAlgebraicComparison (A.algebraicFiltration 1) |
| 43 | (A.Fil 1) (A.localAlgebraicComparison_filtration 1) |
| 44 | have hc := filtered_scalar_finrank e (A.algebraicFiltration 1) (A.bettiFiltration j P 1) (he 1) |
| 45 | have hld : Module.finrank ℚ_[q] A.DeRham = Module.finrank K A.AlgebraicDeRham := |
| 46 | A.localAlgebraicComparison.finrank_eq.symm.trans Module.finrank_baseChange |
| 47 | have hcd : Module.finrank ℂ (A.ComplexBetti j) = Module.finrank K A.AlgebraicDeRham := |
| 48 | e.finrank_eq.symm.trans Module.finrank_baseChange |
| 49 | have hs := BettiHalfDimension.BettiHodge.degreeOne_half_dimension (A.smoothProjectiveFiber j P) |
| 50 | have hstep : A.bettiFiltration j P 1 = (A.smoothProjectiveFiber j P).pureBettiSubspace 1 0 := rfl |
| 51 | rw [← hstep] at hs |
| 52 | change 2 * Module.finrank ℂ (A.bettiFiltration j P 1) = Module.finrank ℂ (A.ComplexBetti j) at hs |
| 53 | omega |
| 54 | |
| 55 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_hodge_number_twice (hBettiComparison : Betti.ComparisonInput) (j : K →+* ℂ) |
| 56 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 57 | [FiniteDimensional ℚ_[q] A.DeRham] : |
| 58 | 2 * A.finiteFiltration.tH = (Module.finrank ℚ_[q] A.DeRham : ℚ) := by |
| 59 | rw [FirstHodgeNumber.FiltrationTransport.tH_h1 A.finiteFiltration (A.Fil_eq_top 0 le_rfl) |
| 60 | (A.Fil_eq_bot 2 (by decide))] |
| 61 | exact_mod_cast A.native_hodge_half_dimension hBettiComparison j P |
| 62 | |
| 63 | end AbelianH1Model |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.HalfDimension |