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.Comparison.Betti.Pure.LocalPoincare |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.ManifoldPurity |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.ManifoldRestriction |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.HolomorphicPullback |
| 5 | |
| 6 | /-! # Open Poincare -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.OpenPoincare |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Local holomorphic primitives in every positive degree on an actual open domain. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 18 | |
| 19 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 20 | [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] {U : Opens E} {n : ℕ} |
| 21 | |
| 22 | theorem local_open_primitive (a : DeRhamComplex.forms E U (n + 1)) |
| 23 | (ha : DeRhamComplex.differential E U (n + 1) a = 0) (x : U) : |
| 24 | ∃ (W : Opens E) (hWU : W ≤ U), (x : E) ∈ W ∧ ∃ b : DeRhamComplex.forms E W n, |
| 25 | DeRhamComplex.differential E W n b = |
| 26 | HolomorphicPullback.pullback (Opens.inclusion hWU) (contMDiff_inclusion (I := 𝓘(ℂ, E)) hWU) (n + 1) a := by |
| 27 | let α := (Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U (n + 1)).symm (DeRhamComplex.inclusion E U (n + 1) a) |
| 28 | have hclosed : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d α = 0 := by |
| 29 | dsimp only [α] |
| 30 | rw [← Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv_symm_d, ← DeRhamComplex.inclusion_differential, ha, map_zero, map_zero] |
| 31 | have hpure : ∀ y : U, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E (n + 1) 0 (α y) := |
| 32 | Open.ManifoldPurity.Holomorphic.smoothOpenManifoldEquiv_symm_pure (p := n + 1) (q := 0) |
| 33 | (DeRhamComplex.inclusion E U (n + 1) a) a.val.hasManifoldBidegree |
| 34 | obtain ⟨W, hWU, hx, β, hβ, hβpure⟩ := Pure.LocalPoincare.Holomorphic.pure_local_poincare U α hclosed hpure x |
| 35 | let bval := Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv W n β |
| 36 | let bpure : Analysis.DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm E W n 0 := |
| 37 | ⟨bval, (Open.ManifoldPurity.Holomorphic.smoothOpenManifoldEquiv_pure_iff (p := n) (q := 0) β).mpr hβpure⟩ |
| 38 | have hdb : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d bval = |
| 39 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (Opens.inclusion hWU) |
| 40 | (contMDiff_inclusion (I := 𝓘(ℝ, E)) hWU) (DeRhamComplex.inclusion E U (n + 1) a) := by |
| 41 | dsimp only [bval] |
| 42 | rw [Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv_d, hβ, Open.ManifoldRestriction.Holomorphic.smoothOpenManifoldEquiv_restrict] |
| 43 | congr 1 |
| 44 | exact (Analysis.DifferentialForms.Manifold.OpenEquivalence.smoothOpenManifoldEquiv U (n + 1)).apply_symm_apply _ |
| 45 | have hhol : bpure ∈ DeRhamComplex.forms E W n := by |
| 46 | apply (DeRhamComplex.mem_forms_iff_derivative_pure n bpure).mpr |
| 47 | change Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E W (n + 1) 0 (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d bval).val |
| 48 | rw [hdb] |
| 49 | exact a.val.hasManifoldBidegree.pullback (Opens.inclusion hWU) |
| 50 | (contMDiff_inclusion (I := 𝓘(ℂ, E)) hWU) |
| 51 | refine ⟨W, hWU, hx, ⟨bpure, hhol⟩, ?_⟩ |
| 52 | apply HolomorphicPullback.inclusion_injective (n + 1) |
| 53 | rw [DeRhamComplex.inclusion_differential, HolomorphicPullback.pullback_inclusion] |
| 54 | exact hdb |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.OpenPoincare |