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.DivisorClass.Chern.ScalarOpenConnection |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.ExponentialEpi |
| 3 | |
| 4 | /-! # Log Norm Curvature Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.LogNormCurvatureVanishing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The logarithm of the squared norm of an actual holomorphic unit has zero local curvature. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 20 | |
| 21 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 22 | [IsScalarTower ℝ ℂ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | [IsManifold 𝓘(ℂ, E) ∞ M] {U : Opens M} |
| 24 | |
| 25 | theorem smoothScalarOpenCurvature_logNormSq_unit |
| 26 | (g : (Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U))ˣ) (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 27 | (hf : ∀ x : U, f x = (Real.log (Complex.normSq (g.val x)) : ℂ)) : |
| 28 | ScalarOpenConnection.smoothScalarOpenCurvature f = 0 := by |
| 29 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 30 | intro x |
| 31 | ext v |
| 32 | obtain ⟨V, hVU, hxV, l, hl⟩ := Holomorphic.ExponentialEpi.exists_holomorphicSubopenLog g x |
| 33 | have hv : ScalarOpenConnection.smoothScalarOpenCurvature (SmoothScalarForm.smoothComplexOpenFunctionRestrict hVU f) = 0 := |
| 34 | ScalarOpenConnection.smoothScalarOpenCurvature_logNormSq_exp l (SmoothScalarForm.smoothComplexOpenFunctionRestrict hVU f) (by |
| 35 | intro y |
| 36 | change f ⟨y.val, hVU y.property⟩ = _ |
| 37 | rw [hf, hl y]) |
| 38 | have hr : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hVU (ScalarOpenConnection.smoothScalarOpenCurvature f) = 0 := |
| 39 | (ScalarOpenConnection.smoothScalarOpenCurvature_restrict hVU f).trans hv |
| 40 | exact congrArg (fun a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E V 2 => a ⟨x.val, hxV⟩ v) hr |
| 41 | |
| 42 | theorem smoothScalarOpenCurvature_eq_of_logNormSq_difference |
| 43 | (g : (Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U))ˣ) |
| 44 | (f h : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 45 | (hf : ∀ x : U, (f - h) x = (Real.log (Complex.normSq (g.val x)) : ℂ)) : |
| 46 | ScalarOpenConnection.smoothScalarOpenCurvature f = ScalarOpenConnection.smoothScalarOpenCurvature h := by |
| 47 | have hz := smoothScalarOpenCurvature_logNormSq_unit g (f - h) hf |
| 48 | have he : f = (f - h) + h := (sub_add_cancel f h).symm |
| 49 | conv_lhs => rw [he] |
| 50 | rw [ScalarOpenConnection.smoothScalarOpenCurvature_add, hz, zero_add] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.DivisorClass.Chern.LogNormCurvatureVanishing |