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.SmoothHolomorphicScalar |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.LogNorm |
| 3 | |
| 4 | /-! # Scalar Open Connection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ScalarOpenConnection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual local curvature operator annihilates holomorphic logarithms and their conjugates. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 22 | |
| 23 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 24 | [IsScalarTower ℝ ℂ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 25 | [IsManifold 𝓘(ℂ, E) ∞ M] {U V : Opens M} |
| 26 | |
| 27 | def smoothScalarOpenCurvature (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U 2 := |
| 28 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (Manifold.OneFormProjection.openManifoldOnePart (-Complex.I) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f))) |
| 29 | |
| 30 | theorem smoothScalarOpenCurvature_add (f g : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) : |
| 31 | smoothScalarOpenCurvature (f + g) = smoothScalarOpenCurvature f + smoothScalarOpenCurvature g := by |
| 32 | have h := (SmoothScalarForm.smoothScalarOpenZeroFormLinear (E := E) U).map_add f g |
| 33 | change SmoothScalarForm.smoothScalarOpenZeroForm (f + g) = SmoothScalarForm.smoothScalarOpenZeroForm f + SmoothScalarForm.smoothScalarOpenZeroForm g at h |
| 34 | unfold smoothScalarOpenCurvature |
| 35 | rw [h, map_add, map_add, map_add] |
| 36 | |
| 37 | theorem smoothScalarOpenCurvature_restrict (h : V ≤ U) (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) : |
| 38 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict h (smoothScalarOpenCurvature f) = |
| 39 | smoothScalarOpenCurvature (SmoothScalarForm.smoothComplexOpenFunctionRestrict h f) := by |
| 40 | simp only [smoothScalarOpenCurvature, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_d, |
| 41 | Manifold.OneFormProjection.openManifoldOnePart_restrict, SmoothScalarForm.smoothScalarOpenZeroForm_restrict] |
| 42 | |
| 43 | theorem smoothScalarOpenCurvature_holomorphic (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 44 | smoothScalarOpenCurvature (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen g) = 0 := by |
| 45 | rw [smoothScalarOpenCurvature, SmoothHolomorphicScalar.smoothHolomorphicScalar_holomorphicPart_d] |
| 46 | exact Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d_squared _ |
| 47 | |
| 48 | theorem smoothScalarOpenCurvature_conjugateHolomorphic (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 49 | smoothScalarOpenCurvature (SmoothHolomorphicScalar.conjugateSmoothOpenFunction (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen g)) = 0 := by |
| 50 | rw [smoothScalarOpenCurvature, SmoothHolomorphicScalar.smoothConjugateHolomorphicScalar_holomorphicPart_d, map_zero] |
| 51 | |
| 52 | theorem smoothScalarOpenCurvature_logNormSq_exp (l : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) |
| 53 | (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 54 | (hf : ∀ x : U, f x = (Real.log (Complex.normSq (Complex.exp (l x))) : ℂ)) : |
| 55 | smoothScalarOpenCurvature f = 0 := by |
| 56 | have h : f = SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l + |
| 57 | SmoothHolomorphicScalar.conjugateSmoothOpenFunction (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l) := by |
| 58 | apply ContMDiffMap.ext |
| 59 | intro x |
| 60 | exact (hf x).trans (Holomorphic.LogNorm.complexLog_normSq_exp (l x)) |
| 61 | rw [h, smoothScalarOpenCurvature_add, smoothScalarOpenCurvature_holomorphic, |
| 62 | smoothScalarOpenCurvature_conjugateHolomorphic, add_zero] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! The actual scalar connection operator and its logarithmic primitive formula. -/ |
| 67 | |
| 68 | open _root_.TopologicalSpace |
| 69 | open scoped _root_.Manifold ContDiff |
| 70 | |
| 71 | set_option backward.isDefEq.respectTransparency false |
| 72 | set_option backward.isDefEq.respectTransparency.types false |
| 73 | set_option backward.defeqAttrib.useBackward true |
| 74 | |
| 75 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 76 | |
| 77 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 78 | [IsScalarTower ℝ ℂ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 79 | [IsManifold 𝓘(ℂ, E) ∞ M] {U V : Opens M} |
| 80 | |
| 81 | def smoothScalarOpenConnection (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U 1 := |
| 82 | Manifold.OneFormProjection.openManifoldOnePart (-Complex.I) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f)) |
| 83 | |
| 84 | theorem smoothScalarOpenConnection_add (f g : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) : |
| 85 | smoothScalarOpenConnection (f + g) = smoothScalarOpenConnection f + smoothScalarOpenConnection g := by |
| 86 | have h := (SmoothScalarForm.smoothScalarOpenZeroFormLinear (E := E) U).map_add f g |
| 87 | change SmoothScalarForm.smoothScalarOpenZeroForm (f + g) = SmoothScalarForm.smoothScalarOpenZeroForm f + SmoothScalarForm.smoothScalarOpenZeroForm g at h |
| 88 | unfold smoothScalarOpenConnection |
| 89 | rw [h, map_add, map_add] |
| 90 | |
| 91 | theorem smoothScalarOpenConnection_restrict (h : V ≤ U) (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) : |
| 92 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict h (smoothScalarOpenConnection f) = |
| 93 | smoothScalarOpenConnection (SmoothScalarForm.smoothComplexOpenFunctionRestrict h f) := by |
| 94 | simp only [smoothScalarOpenConnection, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_d, |
| 95 | Manifold.OneFormProjection.openManifoldOnePart_restrict, SmoothScalarForm.smoothScalarOpenZeroForm_restrict] |
| 96 | |
| 97 | theorem smoothScalarOpenConnection_logNormSq_exp (l : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) |
| 98 | (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 99 | (hf : ∀ x : U, f x = (Real.log (Complex.normSq (Complex.exp (l x))) : ℂ)) : |
| 100 | smoothScalarOpenConnection f = Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l)) := by |
| 101 | have h : f = SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l + |
| 102 | SmoothHolomorphicScalar.conjugateSmoothOpenFunction (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l) := by |
| 103 | apply ContMDiffMap.ext |
| 104 | intro x |
| 105 | exact (hf x).trans (Holomorphic.LogNorm.complexLog_normSq_exp (l x)) |
| 106 | rw [h, smoothScalarOpenConnection_add] |
| 107 | change Manifold.OneFormProjection.openManifoldOnePart (-Complex.I) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l))) + |
| 108 | Manifold.OneFormProjection.openManifoldOnePart (-Complex.I) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d |
| 109 | (SmoothScalarForm.smoothScalarOpenZeroForm (SmoothHolomorphicScalar.conjugateSmoothOpenFunction (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l)))) = _ |
| 110 | rw [SmoothHolomorphicScalar.smoothHolomorphicScalar_holomorphicPart_d, SmoothHolomorphicScalar.smoothConjugateHolomorphicScalar_holomorphicPart_d, add_zero] |
| 111 | |
| 112 | theorem smoothScalarOpenConnection_log_difference (l : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) |
| 113 | (f h : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 114 | (hf : ∀ x : U, (f - h) x = (Real.log (Complex.normSq (Complex.exp (l x))) : ℂ)) : |
| 115 | smoothScalarOpenConnection f = smoothScalarOpenConnection h + |
| 116 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm (SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen l)) := by |
| 117 | have he : f = (f - h) + h := (sub_add_cancel f h).symm |
| 118 | conv_lhs => rw [he] |
| 119 | rw [smoothScalarOpenConnection_add, smoothScalarOpenConnection_logNormSq_exp l (f - h) hf, add_comm] |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ScalarOpenConnection |