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.HolomorphicSection.IntegralPair |
| 2 | import Mathlib.Analysis.InnerProductSpace.Defs |
| 3 | |
| 4 | /-! # Inner Product -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.InnerProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual metric integral supplies an inner-product core on smooth sections of the constructed holomorphic line bundle. -/ |
| 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 | instance holomorphicLineSmoothForm_addCommGroup {E : Type} [NormedAddCommGroup E] |
| 22 | [NormedSpace ℝ E] [NormedSpace ℂ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) (U : Opens M) (n : ℕ) : |
| 24 | AddCommGroup (HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n) := Module.addCommMonoidToAddCommGroup ℂ |
| 25 | |
| 26 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace) |
| 27 | |
| 28 | theorem holomorphicLineSectionIntegralPair_conj (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 29 | conj (IntegralPair.holomorphicLineSectionIntegralPair V u s t) = IntegralPair.holomorphicLineSectionIntegralPair V u t s := by |
| 30 | unfold IntegralPair.holomorphicLineSectionIntegralPair |
| 31 | rw [← integral_conj] |
| 32 | apply integral_congr_ae |
| 33 | apply Filter.Eventually.of_forall |
| 34 | intro x |
| 35 | simp only [IntegralPair.holomorphicLineGlobalSectionPair_apply, HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair_conj] |
| 36 | |
| 37 | theorem holomorphicLineSectionIntegralPair_add_right (s t r : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 38 | IntegralPair.holomorphicLineSectionIntegralPair V u s (t + r) = |
| 39 | IntegralPair.holomorphicLineSectionIntegralPair V u s t + IntegralPair.holomorphicLineSectionIntegralPair V u s r := by |
| 40 | calc |
| 41 | _ = ∫ x, (IntegralPair.holomorphicLineGlobalSectionPair V u s t x + IntegralPair.holomorphicLineGlobalSectionPair V u s r x) |
| 42 | ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 43 | apply integral_congr_ae |
| 44 | apply Filter.Eventually.of_forall |
| 45 | intro x |
| 46 | simp only [IntegralPair.holomorphicLineGlobalSectionPair_apply, HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair_add_right] |
| 47 | _ = _ := integral_add (IntegralPair.holomorphicLineGlobalSectionPair_integrable V u s t) |
| 48 | (IntegralPair.holomorphicLineGlobalSectionPair_integrable V u s r) |
| 49 | |
| 50 | theorem holomorphicLineSectionIntegralPair_smul_right (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) (z : ℂ) : |
| 51 | IntegralPair.holomorphicLineSectionIntegralPair V u s (z • t) = z * IntegralPair.holomorphicLineSectionIntegralPair V u s t := by |
| 52 | calc |
| 53 | _ = ∫ x, z * IntegralPair.holomorphicLineGlobalSectionPair V u s t x ∂(ComplexMultiplication.HodgeComparison.GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 54 | apply integral_congr_ae |
| 55 | apply Filter.Eventually.of_forall |
| 56 | intro x |
| 57 | simp only [IntegralPair.holomorphicLineGlobalSectionPair_apply, HolomorphicSmooth.SectionPair.holomorphicLineSmoothSectionPair_smul_right] |
| 58 | _ = _ := integral_const_mul z _ |
| 59 | |
| 60 | theorem holomorphicLineSectionIntegralPair_add_left (s t r : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 61 | IntegralPair.holomorphicLineSectionIntegralPair V u (s + t) r = |
| 62 | IntegralPair.holomorphicLineSectionIntegralPair V u s r + IntegralPair.holomorphicLineSectionIntegralPair V u t r := by |
| 63 | calc |
| 64 | _ = conj (IntegralPair.holomorphicLineSectionIntegralPair V u r (s + t)) := |
| 65 | (holomorphicLineSectionIntegralPair_conj V u r (s + t)).symm |
| 66 | _ = conj (IntegralPair.holomorphicLineSectionIntegralPair V u r s + IntegralPair.holomorphicLineSectionIntegralPair V u r t) := by |
| 67 | rw [holomorphicLineSectionIntegralPair_add_right] |
| 68 | _ = _ := by rw [map_add, holomorphicLineSectionIntegralPair_conj, holomorphicLineSectionIntegralPair_conj] |
| 69 | |
| 70 | theorem holomorphicLineSectionIntegralPair_smul_left (s t : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) (z : ℂ) : |
| 71 | IntegralPair.holomorphicLineSectionIntegralPair V u (z • s) t = |
| 72 | conj z * IntegralPair.holomorphicLineSectionIntegralPair V u s t := by |
| 73 | calc |
| 74 | _ = conj (IntegralPair.holomorphicLineSectionIntegralPair V u t (z • s)) := |
| 75 | (holomorphicLineSectionIntegralPair_conj V u t (z • s)).symm |
| 76 | _ = conj (z * IntegralPair.holomorphicLineSectionIntegralPair V u t s) := by |
| 77 | rw [holomorphicLineSectionIntegralPair_smul_right] |
| 78 | _ = _ := by rw [map_mul, holomorphicLineSectionIntegralPair_conj] |
| 79 | |
| 80 | @[instance_reducible] |
| 81 | def holomorphicLineSectionInnerProductCore : InnerProductSpace.Core ℂ (HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) where |
| 82 | inner := IntegralPair.holomorphicLineSectionIntegralPair V u |
| 83 | conj_inner_symm s t := holomorphicLineSectionIntegralPair_conj V u t s |
| 84 | re_inner_nonneg := IntegralPair.holomorphicLineSectionIntegralPair_nonneg V u |
| 85 | add_left := holomorphicLineSectionIntegralPair_add_left V u |
| 86 | smul_left s t z := holomorphicLineSectionIntegralPair_smul_left V u s t z |
| 87 | definite s hs := IntegralPair.holomorphicLineSectionIntegralPair_definite V u s (congrArg Complex.re hs) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.InnerProduct |