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.HolomorphicSmooth.SectionMetric |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartMeasure |
| 3 | import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap |
| 4 | |
| 5 | /-! # Integral Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.IntegralPair |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual Hermitian section pairing is integrable for the projective metric measure and has a positive definite integral. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace _root_.MeasureTheory |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartMeasure.CM.Construction |
| 21 | |
| 22 | attribute [local instance] NormedSpace.complexToReal |
| 23 | |
| 24 | local instance integralPair_realDimension (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : FiniteDimensional ℝ V.analyticModel := |
| 25 | FiniteDimensional.trans ℝ ℂ V.analyticModel |
| 26 | |
| 27 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace) |
| 28 | |
| 29 | def holomorphicLineGlobalSectionPair (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : V.analyticSpace → ℂ := |
| 30 | Analysis.DifferentialForms.Manifold.LocallyConstant.manifoldOpenScalarExtension ⊤ (HolomorphicSmooth.SectionMetric.holomorphicLineSmoothSectionMetricFunction u s t) |
| 31 | |
| 32 | theorem holomorphicLineGlobalSectionPair_apply (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) |
| 33 | (x : V.analyticSpace) : |
| 34 | holomorphicLineGlobalSectionPair V u s t x = HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair u s t ⟨x, trivial⟩ := |
| 35 | Analysis.DifferentialForms.Manifold.LocallyConstant.manifoldOpenScalarExtension_apply ⊤ (HolomorphicSmooth.SectionMetric.holomorphicLineSmoothSectionMetricFunction u s t) ⟨x, trivial⟩ |
| 36 | |
| 37 | theorem holomorphicLineGlobalSectionPair_contMDiff (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 38 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ (holomorphicLineGlobalSectionPair V u s t) := by |
| 39 | have h := SmoothScalarForm.smoothOpenScalarExtension_contMDiffOn (HolomorphicSmooth.SectionMetric.holomorphicLineSmoothSectionMetricFunction u s t) |
| 40 | simpa only [holomorphicLineGlobalSectionPair, Opens.coe_top, contMDiffOn_univ] using h |
| 41 | |
| 42 | theorem holomorphicLineGlobalSectionPair_integrable (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 43 | Integrable (holomorphicLineGlobalSectionPair V u s t) (ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 44 | apply integrableOn_univ.mp |
| 45 | exact (holomorphicLineGlobalSectionPair_contMDiff V u s t).continuous.continuousOn.integrableOn_compact |
| 46 | isCompact_univ |
| 47 | |
| 48 | def holomorphicLineSectionIntegralPair (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : ℂ := |
| 49 | ∫ x, holomorphicLineGlobalSectionPair V u s t x ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) |
| 50 | |
| 51 | theorem holomorphicLineSectionIntegralPair_re (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 52 | (holomorphicLineSectionIntegralPair V u s t).re = |
| 53 | ∫ x, (holomorphicLineGlobalSectionPair V u s t x).re ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 54 | (integral_re (holomorphicLineGlobalSectionPair_integrable V u s t)).symm |
| 55 | |
| 56 | theorem holomorphicLineSectionIntegralPair_nonneg (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 57 | 0 ≤ (holomorphicLineSectionIntegralPair V u s s).re := by |
| 58 | rw [holomorphicLineSectionIntegralPair_re] |
| 59 | apply integral_nonneg |
| 60 | intro x |
| 61 | change 0 ≤ (holomorphicLineGlobalSectionPair V u s s x).re |
| 62 | rw [holomorphicLineGlobalSectionPair_apply] |
| 63 | exact HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair_nonneg u s ⟨x, trivial⟩ |
| 64 | |
| 65 | theorem holomorphicLineSectionIntegralPair_definite (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) |
| 66 | (hs : (holomorphicLineSectionIntegralPair V u s s).re = 0) : s = 0 := by |
| 67 | have hn : 0 ≤ fun x => (holomorphicLineGlobalSectionPair V u s s x).re := by |
| 68 | intro x |
| 69 | change 0 ≤ (holomorphicLineGlobalSectionPair V u s s x).re |
| 70 | rw [holomorphicLineGlobalSectionPair_apply] |
| 71 | exact HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair_nonneg u s ⟨x, trivial⟩ |
| 72 | rw [holomorphicLineSectionIntegralPair_re] at hs |
| 73 | have hae := (integral_eq_zero_iff_of_nonneg hn |
| 74 | (holomorphicLineGlobalSectionPair_integrable V u s s).re).mp hs |
| 75 | have hcont : Continuous (fun x => (holomorphicLineGlobalSectionPair V u s s x).re) := |
| 76 | Complex.continuous_re.comp (holomorphicLineGlobalSectionPair_contMDiff V u s s).continuous |
| 77 | have hz := Measure.eq_of_ae_eq hae hcont continuous_const |
| 78 | apply HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair_definite u s |
| 79 | intro x |
| 80 | have hx := congrFun hz x.val |
| 81 | rw [holomorphicLineGlobalSectionPair_apply] at hx |
| 82 | exact hx |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.IntegralPair |