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.Holomorphic.StandardFunctionSheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.MultivariablePolynomialGerms |
| 3 | |
| 4 | /-! # Polynomial Holomorphic Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PolynomialHolomorphicSections.AnalyticLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual polynomial functions define standard holomorphic sections, |
| 11 | whose section germs are the original polynomial germ evaluation. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace Set Filter |
| 14 | open scoped _root_.Topology _root_.Manifold ContDiff |
| 15 | |
| 16 | variable {n : ℕ} |
| 17 | |
| 18 | def functionSectionOfDifferentiable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 19 | [FiniteDimensional ℂ E] (U : Opens E) (F : E → ℂ) (hF : DifferentiableOn ℂ F U) : |
| 20 | Holomorphic.FunctionPure.holomorphicFunctions U := |
| 21 | ⟨fun y => F y, by |
| 22 | have hs := Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF.Constructions.HolomorphicDerivative.contDiffOn_infty_of_differentiableOn U.isOpen hF |
| 23 | apply hs.congr |
| 24 | intro y hy |
| 25 | exact Holomorphic.CoefficientMem.openCoefficientExtension_apply U (fun y => F y) ⟨y, hy⟩⟩ |
| 26 | |
| 27 | theorem polynomial_eval_differentiable (P : MvPolynomial (Fin n) ℂ) : |
| 28 | Differentiable ℂ (fun x : Fin n → ℂ => MvPolynomial.eval x P) := by |
| 29 | intro x |
| 30 | obtain ⟨F, hFmap, U, hU, hx, hF⟩ := (MultivariablePolynomialGerms.AnalyticLocal.mvPolynomialGermMap x P).property |
| 31 | have he := Germ.coe_eq.mp (hFmap.trans (MultivariablePolynomialGerms.AnalyticLocal.mvPolynomialGermMap_val x P)) |
| 32 | exact (hF.differentiableAt (hU.mem_nhds hx)).congr_of_eventuallyEq he.symm |
| 33 | |
| 34 | def polynomialCoefficientSection (P : MvPolynomial (Fin n) ℂ) (U : Opens (Fin n → ℂ)) : |
| 35 | Holomorphic.FunctionPure.holomorphicFunctions U := |
| 36 | functionSectionOfDifferentiable U (fun x => MvPolynomial.eval x P) |
| 37 | (polynomial_eval_differentiable P).differentiableOn |
| 38 | |
| 39 | def polynomialHolomorphicSection (P : MvPolynomial (Fin n) ℂ) (U : Opens (Fin n → ℂ)) : |
| 40 | C^∞⟮𝓘(ℂ, Fin n → ℂ), U; 𝓘(ℂ), ℂ⟯ := |
| 41 | Holomorphic.StandardFunctionSheaf.AnalyticLocal.holomorphicFunctionContMDiffEquiv (Fin n → ℂ) U (polynomialCoefficientSection P U) |
| 42 | |
| 43 | theorem polynomialHolomorphicSection_apply (P : MvPolynomial (Fin n) ℂ) |
| 44 | (U : Opens (Fin n → ℂ)) (x : U) : polynomialHolomorphicSection P U x = MvPolynomial.eval x P := rfl |
| 45 | |
| 46 | theorem polynomialCoefficientSection_germ (P : MvPolynomial (Fin n) ℂ) (U : Opens (Fin n → ℂ)) |
| 47 | (x : Fin n → ℂ) (hx : x ∈ U) : |
| 48 | Holomorphic.SectionGerms.AnalyticLocal.holomorphicSectionGerm U x hx (polynomialCoefficientSection P U) = MultivariablePolynomialGerms.AnalyticLocal.mvPolynomialGermMap x P := by |
| 49 | apply Subtype.ext |
| 50 | rw [MultivariablePolynomialGerms.AnalyticLocal.mvPolynomialGermMap_val] |
| 51 | apply Germ.coe_eq.mpr |
| 52 | filter_upwards [U.isOpen.mem_nhds hx] with y hy |
| 53 | exact Holomorphic.CoefficientMem.openCoefficientExtension_apply U (polynomialCoefficientSection P U).val ⟨y, hy⟩ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Comparison.Betti.PolynomialHolomorphicSections.AnalyticLocal |