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.HolomorphicLine.FormMetric |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.InnerProduct |
| 3 | |
| 4 | /-! # Form Integral Pair -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FormIntegralPair |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual projective metric integral defines a positive inner product on line-bundle-valued forms in every degree. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace _root_.MeasureTheory |
| 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] NormedSpace.complexToReal |
| 20 | |
| 21 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (u : Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace) (n : ℕ) |
| 22 | |
| 23 | def holomorphicLineGlobalFormPair (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : V.analyticSpace → ℂ := |
| 24 | Analysis.DifferentialForms.Manifold.LocallyConstant.manifoldOpenScalarExtension ⊤ (HolomorphicLine.FormMetric.holomorphicLineSmoothFormMetricFunction V u n a b) |
| 25 | |
| 26 | theorem holomorphicLineGlobalFormPair_apply (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) (x : V.analyticSpace) : |
| 27 | holomorphicLineGlobalFormPair V u n a b x = HolomorphicLine.FormPair.holomorphicLineSmoothFormPair V u n a b ⟨x, trivial⟩ := |
| 28 | Analysis.DifferentialForms.Manifold.LocallyConstant.manifoldOpenScalarExtension_apply ⊤ (HolomorphicLine.FormMetric.holomorphicLineSmoothFormMetricFunction V u n a b) ⟨x, trivial⟩ |
| 29 | |
| 30 | theorem holomorphicLineGlobalFormPair_contMDiff (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 31 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ (holomorphicLineGlobalFormPair V u n a b) := by |
| 32 | have h := SmoothScalarForm.smoothOpenScalarExtension_contMDiffOn (HolomorphicLine.FormMetric.holomorphicLineSmoothFormMetricFunction V u n a b) |
| 33 | simpa only [holomorphicLineGlobalFormPair, Opens.coe_top, contMDiffOn_univ] using h |
| 34 | |
| 35 | theorem holomorphicLineGlobalFormPair_integrable (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 36 | Integrable (holomorphicLineGlobalFormPair V u n a b) (ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 37 | apply integrableOn_univ.mp |
| 38 | exact (holomorphicLineGlobalFormPair_contMDiff V u n a b).continuous.continuousOn.integrableOn_compact |
| 39 | isCompact_univ |
| 40 | |
| 41 | def holomorphicLineFormIntegralPair (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : ℂ := |
| 42 | ∫ x, holomorphicLineGlobalFormPair V u n a b x ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) |
| 43 | |
| 44 | theorem holomorphicLineFormIntegralPair_re (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 45 | (holomorphicLineFormIntegralPair V u n a b).re = |
| 46 | ∫ x, (holomorphicLineGlobalFormPair V u n a b x).re ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 47 | (integral_re (holomorphicLineGlobalFormPair_integrable V u n a b)).symm |
| 48 | |
| 49 | theorem holomorphicLineFormIntegralPair_conj (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 50 | conj (holomorphicLineFormIntegralPair V u n b a) = holomorphicLineFormIntegralPair V u n a b := by |
| 51 | unfold holomorphicLineFormIntegralPair |
| 52 | rw [← integral_conj] |
| 53 | apply integral_congr_ae |
| 54 | apply Filter.Eventually.of_forall |
| 55 | intro x |
| 56 | simp only [holomorphicLineGlobalFormPair_apply, HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_conj] |
| 57 | |
| 58 | theorem holomorphicLineFormIntegralPair_add_left (a b c : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 59 | holomorphicLineFormIntegralPair V u n (a + b) c = |
| 60 | holomorphicLineFormIntegralPair V u n a c + holomorphicLineFormIntegralPair V u n b c := by |
| 61 | calc |
| 62 | _ = ∫ x, (holomorphicLineGlobalFormPair V u n a c x + holomorphicLineGlobalFormPair V u n b c x) |
| 63 | ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 64 | apply integral_congr_ae |
| 65 | apply Filter.Eventually.of_forall |
| 66 | intro x |
| 67 | simp only [holomorphicLineGlobalFormPair_apply, HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_add_left] |
| 68 | _ = _ := integral_add (holomorphicLineGlobalFormPair_integrable V u n a c) |
| 69 | (holomorphicLineGlobalFormPair_integrable V u n b c) |
| 70 | |
| 71 | theorem holomorphicLineFormIntegralPair_smul_left (a b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) (z : ℂ) : |
| 72 | holomorphicLineFormIntegralPair V u n (z • a) b = conj z * holomorphicLineFormIntegralPair V u n a b := by |
| 73 | calc |
| 74 | _ = ∫ x, conj z * holomorphicLineGlobalFormPair V u n a b x ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 75 | apply integral_congr_ae |
| 76 | apply Filter.Eventually.of_forall |
| 77 | intro x |
| 78 | simp only [holomorphicLineGlobalFormPair_apply, HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_smul_left] |
| 79 | _ = _ := integral_const_mul (conj z) _ |
| 80 | |
| 81 | theorem holomorphicLineFormIntegralPair_nonneg (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 82 | 0 ≤ (holomorphicLineFormIntegralPair V u n a a).re := by |
| 83 | rw [holomorphicLineFormIntegralPair_re] |
| 84 | apply integral_nonneg |
| 85 | intro x |
| 86 | change 0 ≤ (holomorphicLineGlobalFormPair V u n a a x).re |
| 87 | rw [holomorphicLineGlobalFormPair_apply] |
| 88 | exact HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_nonneg V u n a ⟨x, trivial⟩ |
| 89 | |
| 90 | theorem holomorphicLineFormIntegralPair_definite (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) |
| 91 | (ha : (holomorphicLineFormIntegralPair V u n a a).re = 0) : a = 0 := by |
| 92 | have hn : 0 ≤ fun x => (holomorphicLineGlobalFormPair V u n a a x).re := by |
| 93 | intro x |
| 94 | change 0 ≤ (holomorphicLineGlobalFormPair V u n a a x).re |
| 95 | rw [holomorphicLineGlobalFormPair_apply] |
| 96 | exact HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_nonneg V u n a ⟨x, trivial⟩ |
| 97 | rw [holomorphicLineFormIntegralPair_re] at ha |
| 98 | have hae := (integral_eq_zero_iff_of_nonneg hn |
| 99 | (holomorphicLineGlobalFormPair_integrable V u n a a).re).mp ha |
| 100 | have hc : Continuous (fun x => (holomorphicLineGlobalFormPair V u n a a x).re) := |
| 101 | Complex.continuous_re.comp (holomorphicLineGlobalFormPair_contMDiff V u n a a).continuous |
| 102 | have hz := Measure.eq_of_ae_eq hae hc continuous_const |
| 103 | apply HolomorphicLine.FormPair.holomorphicLineSmoothFormPair_definite V u n a |
| 104 | intro x |
| 105 | have hx := congrFun hz x.val |
| 106 | rw [holomorphicLineGlobalFormPair_apply] at hx |
| 107 | exact hx |
| 108 | |
| 109 | @[instance_reducible] |
| 110 | def holomorphicLineFormInnerProductCore : InnerProductSpace.Core ℂ (HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) where |
| 111 | inner := holomorphicLineFormIntegralPair V u n |
| 112 | conj_inner_symm := holomorphicLineFormIntegralPair_conj V u n |
| 113 | re_inner_nonneg := holomorphicLineFormIntegralPair_nonneg V u n |
| 114 | add_left := holomorphicLineFormIntegralPair_add_left V u n |
| 115 | smul_left := holomorphicLineFormIntegralPair_smul_left V u n |
| 116 | definite a ha := holomorphicLineFormIntegralPair_definite V u n a (congrArg Complex.re ha) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FormIntegralPair |