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 | |
| 3 | /-! # Real Scalar Curvature -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.RealScalarCurvature |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Curvature of a real metric potential is imaginary-valued, proved with the actual conjugation operator. -/ |
| 10 | |
| 11 | open _root_.TopologicalSpace |
| 12 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 19 | |
| 20 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 21 | [IsScalarTower ℝ ℂ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 22 | [IsManifold 𝓘(ℂ, E) ∞ M] {U : Opens M} |
| 23 | |
| 24 | theorem smoothScalarOpenCurvature_add_conjugate (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 25 | (hf : ∀ x : U, conj (f x) = f x) : |
| 26 | ScalarOpenConnection.smoothScalarOpenCurvature f + Open.ConjugateForms.openManifoldConjugate (ScalarOpenConnection.smoothScalarOpenCurvature f) = 0 := by |
| 27 | have hF : Open.ConjugateForms.openManifoldConjugate (SmoothScalarForm.smoothScalarOpenZeroForm f) = SmoothScalarForm.smoothScalarOpenZeroForm f := by |
| 28 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 29 | intro x |
| 30 | ext v |
| 31 | rw [Open.ConjugateForms.openManifoldConjugate_apply, SmoothScalarForm.smoothScalarOpenZeroForm_apply] |
| 32 | exact hf x |
| 33 | have hdF : Open.ConjugateForms.openManifoldConjugate (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f)) = |
| 34 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f) := by |
| 35 | rw [← Open.ConjugateForms.openManifoldConjugate_d, hF] |
| 36 | have hI : conj (-Complex.I) = Complex.I := by |
| 37 | apply Complex.ext <;> norm_num |
| 38 | have hc : Open.ConjugateForms.openManifoldConjugate (ScalarOpenConnection.smoothScalarOpenCurvature f) = |
| 39 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (Manifold.OneFormProjection.openManifoldOnePart Complex.I (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f))) := by |
| 40 | rw [ScalarOpenConnection.smoothScalarOpenCurvature, ← Open.ConjugateForms.openManifoldConjugate_d, Open.ConjugateProjection.openManifoldConjugate_onePart, hI, hdF] |
| 41 | rw [hc] |
| 42 | have h := congrArg Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d |
| 43 | (Manifold.OneFormProjection.openManifoldOnePart_add (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f))) |
| 44 | rw [map_add, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d_squared] at h |
| 45 | exact h |
| 46 | |
| 47 | theorem smoothScalarOpenCurvature_re_zero (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 48 | (hf : ∀ x : U, conj (f x) = f x) (x : U) (v : Fin 2 → TangentSpace 𝓘(ℝ, E) x.val) : |
| 49 | (ScalarOpenConnection.smoothScalarOpenCurvature f x v).re = 0 := by |
| 50 | have h := congrArg (fun a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U 2 => (a x v).re) |
| 51 | (smoothScalarOpenCurvature_add_conjugate f hf) |
| 52 | simp only [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.add_apply, ContinuousAlternatingMap.add_apply, |
| 53 | Open.ConjugateForms.openManifoldConjugate_apply, Complex.add_re, Complex.conj_re] at h |
| 54 | change (ScalarOpenConnection.smoothScalarOpenCurvature f x v).re + (ScalarOpenConnection.smoothScalarOpenCurvature f x v).re = 0 at h |
| 55 | linarith |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.DivisorClass.Chern.RealScalarCurvature |