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.ScalarPotentialFunctions |
| 2 | |
| 3 | /-! # Potential -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exponentiating an actual real scalar potential changes the actual metric by its curvature. -/ |
| 10 | |
| 11 | open _root_.TopologicalSpace |
| 12 | open scoped _root_.Manifold ContDiff |
| 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 M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace ℝ E] |
| 21 | [IsScalarTower ℝ ℂ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 22 | {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} |
| 23 | |
| 24 | def Data.HolomorphicLineMetricData.withPotential (h : Data.HolomorphicLineMetricData u) |
| 25 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) : Data.HolomorphicLineMetricData u := |
| 26 | h.rescale (fun x => Real.exp (ScalarPotentialFunctions.realPotentialScalar f x)) |
| 27 | (Real.contDiff_exp.contMDiff.comp (ScalarPotentialFunctions.realPotentialScalar_smooth f)) (fun x => Real.exp_pos (ScalarPotentialFunctions.realPotentialScalar f x)) |
| 28 | |
| 29 | theorem Data.HolomorphicLineMetricData.withPotential_logFunction (h : Data.HolomorphicLineMetricData u) |
| 30 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) (hf : ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm f = f) (i : M) : |
| 31 | (h.withPotential f).logFunction i = h.logFunction i + |
| 32 | ScalarPotentialFunctions.scalarPotentialOpenFunction f (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) := by |
| 33 | apply ContMDiffMap.ext |
| 34 | intro x |
| 35 | change (Real.log (Real.exp (ScalarPotentialFunctions.realPotentialScalar f x.val) * h.weight i x) : ℂ) = |
| 36 | (Real.log (h.weight i x) : ℂ) + ComplexMultiplication.HodgeComparison.HolomorphicPrimitive.CM.Construction.zeroFormScalar f x.val |
| 37 | rw [Real.log_mul (Real.exp_ne_zero _) (ne_of_gt (h.positive i x)), Real.log_exp, |
| 38 | Complex.ofReal_add, ScalarPotentialFunctions.realPotentialScalar_cast f hf x.val, add_comm] |
| 39 | |
| 40 | theorem Data.HolomorphicLineMetricData.withPotential_localCurvature (h : Data.HolomorphicLineMetricData u) |
| 41 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) (hf : ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm f = f) (i : M) : |
| 42 | (h.withPotential f).localCurvature i = h.localCurvature i + |
| 43 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) (Projective.ScalarPotential.globalScalarCurvature f) := by |
| 44 | unfold Data.HolomorphicLineMetricData.localCurvature |
| 45 | rw [h.withPotential_logFunction f hf i, ScalarOpenConnection.smoothScalarOpenCurvature_add, ScalarPotentialFunctions.scalarPotentialOpenFunction_curvature] |
| 46 | |
| 47 | theorem Data.HolomorphicLineMetricData.withPotential_curvature (h : Data.HolomorphicLineMetricData u) |
| 48 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) (hf : ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm f = f) : |
| 49 | (h.withPotential f).curvature = h.curvature + Projective.ScalarPotential.globalScalarCurvature f := by |
| 50 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 51 | intro x |
| 52 | have he : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u x) (h.withPotential f).curvature = |
| 53 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u x) h.curvature + |
| 54 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u x) (Projective.ScalarPotential.globalScalarCurvature f) := |
| 55 | ((h.withPotential f).curvature_onOpen x).trans ((h.withPotential_localCurvature f hf x).trans |
| 56 | (congrArg (fun a => a + Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u x) |
| 57 | (Projective.ScalarPotential.globalScalarCurvature f)) (h.curvature_onOpen x).symm)) |
| 58 | exact congrArg (fun a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u x) 2 => |
| 59 | a ⟨x, (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x⟩) he |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric |