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.HolomorphicMetric.Connection |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SmoothScalarExterior |
| 3 | |
| 4 | /-! # Metric Connection Reality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Metric compatibility of the actual local Chern connection, with its original positive weight. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 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 M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 22 | [IsScalarTower ℝ ℂ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 23 | {U : Opens M} |
| 24 | |
| 25 | theorem MetricConnectionReality.smoothScalarOpenConnection_add_conjugate (f : SmoothScalarForm.SmoothComplexOpenFunction (E := E) U) |
| 26 | (hf : ∀ x : U, conj (f x) = f x) : |
| 27 | ScalarOpenConnection.smoothScalarOpenConnection f + Open.ConjugateForms.openManifoldConjugate (ScalarOpenConnection.smoothScalarOpenConnection f) = |
| 28 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f) := by |
| 29 | have hF : Open.ConjugateForms.openManifoldConjugate (SmoothScalarForm.smoothScalarOpenZeroForm f) = SmoothScalarForm.smoothScalarOpenZeroForm f := by |
| 30 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 31 | intro x |
| 32 | ext v |
| 33 | rw [Open.ConjugateForms.openManifoldConjugate_apply, SmoothScalarForm.smoothScalarOpenZeroForm_apply] |
| 34 | exact hf x |
| 35 | have hdF : Open.ConjugateForms.openManifoldConjugate (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f)) = |
| 36 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm f) := by |
| 37 | rw [← Open.ConjugateForms.openManifoldConjugate_d, hF] |
| 38 | have hI : conj (-Complex.I) = Complex.I := by apply Complex.ext <;> norm_num |
| 39 | rw [ScalarOpenConnection.smoothScalarOpenConnection, Open.ConjugateProjection.openManifoldConjugate_onePart, hI, hdF] |
| 40 | exact Manifold.OneFormProjection.openManifoldOnePart_add _ |
| 41 | |
| 42 | variable {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) |
| 43 | |
| 44 | def HolomorphicMetric.Data.HolomorphicLineMetricData.weightFunction (i : M) : |
| 45 | SmoothScalarForm.SmoothComplexOpenFunction (E := E) (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) := |
| 46 | ⟨fun x => (h.weight i x : ℂ), Complex.ofRealCLM.contDiff.contMDiff.comp (h.smooth i)⟩ |
| 47 | |
| 48 | omit [IsScalarTower ℝ ℂ E] [IsManifold 𝓘(ℂ, E) ∞ M] in |
| 49 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.weightFunction_exp_log (i : M) : |
| 50 | h.weightFunction i = SmoothScalarExterior.smoothComplexOpenFunctionExp (h.logFunction i) := by |
| 51 | apply ContMDiffMap.ext |
| 52 | intro x |
| 53 | change (h.weight i x : ℂ) = Complex.exp (Real.log (h.weight i x) : ℂ) |
| 54 | rw [← Complex.ofReal_exp, Real.exp_log (h.positive i x)] |
| 55 | |
| 56 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.localConnection_add_conjugate (i : M) : |
| 57 | h.localConnection i + Open.ConjugateForms.openManifoldConjugate (h.localConnection i) = |
| 58 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm (h.logFunction i)) := |
| 59 | MetricConnectionReality.smoothScalarOpenConnection_add_conjugate (h.logFunction i) (fun _ => Complex.conj_ofReal _) |
| 60 | |
| 61 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.weightFunction_d (i : M) : |
| 62 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d (SmoothScalarForm.smoothScalarOpenZeroForm (h.weightFunction i)) = |
| 63 | SmoothScalarForm.smoothScalarOpenFormMul (h.weightFunction i) |
| 64 | (h.localConnection i + Open.ConjugateForms.openManifoldConjugate (h.localConnection i)) := by |
| 65 | rw [h.localConnection_add_conjugate, h.weightFunction_exp_log] |
| 66 | exact SmoothScalarExterior.smoothScalarOpenZeroForm_d_exp (h.logFunction i) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.DivisorClass.Chern |