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.ComplexMultiplication.HodgeComparison.ProjectiveCurvatureIntegration |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ConstantFormUnit |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.RationalCupUnit |
| 4 | import OAI.AlgebraicTopology.Kunneth.ProjectiveCupPurity |
| 5 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.AdjointConjugation |
| 6 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PureOneCovector |
| 7 | |
| 8 | /-! # Powers -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Powers.CM.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! Actual closed powers of the projective Kähler form, their pure |
| 17 | bidegrees, and their canonical rational cup-product classes. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open OAI.AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions |
| 21 | open scoped _root_.Manifold ContDiff |
| 22 | |
| 23 | def fubiniStudyPower (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 24 | (k : ℕ) → Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace (k + k) |
| 25 | | 0 => ConstantFormUnit.CM.Construction.constantClosedZeroForm V.analyticModel V.analyticSpace 1 |
| 26 | | k + 1 => AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldDegreeCast (by omega) |
| 27 | (AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldWedge (fubiniStudyPower V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V)) |
| 28 | |
| 29 | def fubiniStudyPowerQ (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : (k : ℕ) → V.rationalCohomology (k + k) |
| 30 | | 0 => AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCupUnit (R := ℚ) (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace V.toOver)) |
| 31 | | k + 1 => cast (congrArg (fun n => (V.rationalCohomology n : Type)) (by omega : (k + k) + 2 = (k + 1) + (k + 1))) |
| 32 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (Betti.Scheme.schemePointSpace V.toOver) (k + k) 2 |
| 33 | (fubiniStudyPowerQ V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClassQ V)) |
| 34 | |
| 35 | theorem fubiniStudyPower_hasBidegree (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (k : ℕ) : |
| 36 | Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace k k (Construction.fubiniStudyPower V k).val.val := by |
| 37 | induction k with |
| 38 | | zero => intro e he y hy; exact Analysis.DifferentialForms.Manifold.Bidegree.hasBidegree_zero (E := V.analyticModel) _ |
| 39 | | succ k hk => |
| 40 | exact AlgebraicTopology.Kunneth.ManifoldWedge.Constructions.hasManifoldBidegree_wedge hk (IntrinsicProjectiveCharts.CM.Construction.varietyFubiniStudyForm_hasBidegree V) |
| 41 | |
| 42 | theorem fubiniStudyPower_comparison (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (k : ℕ) : |
| 43 | (V.deRhamBettiIso (k + k)).hom (V.deRhamClass (k + k) (Construction.fubiniStudyPower V k)) = |
| 44 | V.rationalCohomologyInclusion (k + k) (Construction.fubiniStudyPowerQ V k) := by |
| 45 | induction k with |
| 46 | | zero => |
| 47 | exact (ConstantFormUnit.CM.Construction.constantOneForm_bettiClass V).trans |
| 48 | (RationalCupUnit.CM.Construction.rationalToComplexCohomology_unit (Betti.Scheme.schemePointSpace V.toOver)).symm |
| 49 | | succ k hk => |
| 50 | have hform := AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions.projectiveFormBettiClass_cast V |
| 51 | (by omega : (k + k) + 2 = (k + 1) + (k + 1)) |
| 52 | (AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldWedge (Construction.fubiniStudyPower V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V)) |
| 53 | have hw := AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions.projectiveFormBettiClass_wedge V (Construction.fubiniStudyPower V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V) |
| 54 | have hq := RationalCupUnit.CM.Construction.rationalToComplexCohomology_cast (Betti.Scheme.schemePointSpace V.toOver) |
| 55 | (by omega : (k + k) + 2 = (k + 1) + (k + 1)) |
| 56 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (Betti.Scheme.schemePointSpace V.toOver) (k + k) 2 |
| 57 | (Construction.fubiniStudyPowerQ V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClassQ V)) |
| 58 | have hcup := RationalCup.CM.Construction.rationalToComplexCohomology_cup (Betti.Scheme.schemePointSpace V.toOver) (k + k) 2 |
| 59 | (Construction.fubiniStudyPowerQ V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClassQ V) |
| 60 | have hbase : AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions.projectiveFormBettiClass V 2 (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V) = |
| 61 | V.rationalCohomologyInclusion 2 (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClassQ V) := ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClassQ_comparison V |
| 62 | change AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions.projectiveFormBettiClass V (k + k) (Construction.fubiniStudyPower V k) = _ at hk |
| 63 | rw [hbase, hk] at hw |
| 64 | let transport := cast (congrArg (fun n => (V.complexCohomology n : Type)) |
| 65 | (by omega : (k + k) + 2 = (k + 1) + (k + 1))) |
| 66 | exact hform.trans ((congrArg transport (hw.trans hcup.symm)).trans hq.symm) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | section |
| 71 | |
| 72 | /-! Exterior multiplication and the actual Kähler powers commute with |
| 73 | pointwise complex conjugation. -/ |
| 74 | |
| 75 | open OAI.AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions |
| 76 | open scoped _root_.Manifold ContDiff |
| 77 | |
| 78 | theorem covectorWedge_conjugate {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 79 | {p q : ℕ} (a : Analysis.DifferentialForms.Manifold.Basic.FormValue E p) (b : Analysis.DifferentialForms.Manifold.Basic.FormValue E q) : |
| 80 | Complex.conjCLE.toContinuousLinearMap.compContinuousAlternatingMap (AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge a b) = |
| 81 | AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge (Complex.conjCLE.toContinuousLinearMap.compContinuousAlternatingMap a) |
| 82 | (Complex.conjCLE.toContinuousLinearMap.compContinuousAlternatingMap b) := by |
| 83 | ext v |
| 84 | change star (AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge a b v) = _ |
| 85 | rw [AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge_apply, AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge_apply] |
| 86 | change star ((((p.factorial : ℝ) * (q.factorial : ℝ))⁻¹) • |
| 87 | ∑ σ : Equiv.Perm (Fin (p + q)), Equiv.Perm.sign σ • |
| 88 | (a (fun i => v (σ (Fin.castAdd q i))) * b (fun i => v (σ (Fin.natAdd p i))))) = |
| 89 | (((p.factorial : ℝ) * (q.factorial : ℝ))⁻¹) • |
| 90 | ∑ σ : Equiv.Perm (Fin (p + q)), Equiv.Perm.sign σ • |
| 91 | (star (a (fun i => v (σ (Fin.castAdd q i)))) * star (b (fun i => v (σ (Fin.natAdd p i))))) |
| 92 | simp only [Units.smul_def, star_smul, star_trivial, star_sum, star_mul] |
| 93 | congr 1 |
| 94 | apply Finset.sum_congr rfl |
| 95 | intro σ _ |
| 96 | exact congrArg (fun z : ℂ => (Equiv.Perm.sign σ : ℤ) • z) (mul_comm _ _) |
| 97 | |
| 98 | theorem conjugateClosedForm_wedge |
| 99 | {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 100 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 101 | {p q : ℕ} (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M p) (b : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M q) : |
| 102 | Conjugation.CM.Construction.conjugateClosedForm (AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldWedge a b) = |
| 103 | AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldWedge (Conjugation.CM.Construction.conjugateClosedForm a) (Conjugation.CM.Construction.conjugateClosedForm b) := by |
| 104 | apply Subtype.ext |
| 105 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 106 | intro x |
| 107 | let : NormedAddCommGroup (TangentSpace 𝓘(ℝ, E) x) := inferInstanceAs (NormedAddCommGroup E) |
| 108 | let : NormedSpace ℝ (TangentSpace 𝓘(ℝ, E) x) := inferInstanceAs (NormedSpace ℝ E) |
| 109 | exact covectorWedge_conjugate (a.val x) (b.val x) |
| 110 | |
| 111 | theorem conjugateClosedForm_degreeCast |
| 112 | {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 113 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 114 | {n m : ℕ} (h : n = m) (a : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E M n) : |
| 115 | Conjugation.CM.Construction.conjugateClosedForm (AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldDegreeCast h a) = |
| 116 | AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldDegreeCast h (Conjugation.CM.Construction.conjugateClosedForm a) := by |
| 117 | subst m |
| 118 | rfl |
| 119 | |
| 120 | theorem fubiniStudyClosedForm_conjugate (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 121 | Conjugation.CM.Construction.conjugateClosedForm (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V) = ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V := by |
| 122 | apply Subtype.ext |
| 123 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 124 | intro x |
| 125 | ext v |
| 126 | change star (IntrinsicProjectiveCharts.CM.Construction.varietyFubiniStudyForm V x v) = IntrinsicProjectiveCharts.CM.Construction.varietyFubiniStudyForm V x v |
| 127 | apply Complex.ext |
| 128 | · rfl |
| 129 | · simp only [Complex.star_def, Complex.conj_im, VarietyMetric.CM.Construction.varietyFubiniStudyForm_real, neg_zero] |
| 130 | |
| 131 | theorem fubiniStudyPower_conjugate (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (k : ℕ) : |
| 132 | Conjugation.CM.Construction.conjugateClosedForm (Construction.fubiniStudyPower V k) = Construction.fubiniStudyPower V k := by |
| 133 | induction k with |
| 134 | | zero => |
| 135 | apply Subtype.ext |
| 136 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 137 | intro x |
| 138 | ext v |
| 139 | have hv : v = 0 := by ext i; exact Fin.elim0 i |
| 140 | rw [hv] |
| 141 | change star (HolomorphicPrimitive.CM.Construction.zeroFormScalar (NormalizedPrimitives.CM.Construction.constantZeroForm V.analyticModel V.analyticSpace 1) x) = |
| 142 | HolomorphicPrimitive.CM.Construction.zeroFormScalar (NormalizedPrimitives.CM.Construction.constantZeroForm V.analyticModel V.analyticSpace 1) x |
| 143 | rw [NormalizedPrimitives.CM.Construction.constantZeroForm_scalar, star_one] |
| 144 | | succ k hk => |
| 145 | change Conjugation.CM.Construction.conjugateClosedForm (AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldDegreeCast _ |
| 146 | (AlgebraicTopology.Kunneth.ClosedManifoldWedge.Constructions.closedManifoldWedge (Construction.fubiniStudyPower V k) (ProjectiveCurvatureIntegration.CM.Construction.fubiniStudyClosedForm V))) = _ |
| 147 | rw [conjugateClosedForm_degreeCast, conjugateClosedForm_wedge, hk, fubiniStudyClosedForm_conjugate] |
| 148 | rfl |
| 149 | |
| 150 | end |
| 151 | |
| 152 | /-! The actual real two-form i α ∧ conjugate(α) is positive on each |
| 153 | complex line where the holomorphic covector α is nonzero. -/ |
| 154 | |
| 155 | open OAI.AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions |
| 156 | |
| 157 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 158 | |
| 159 | theorem covectorWedge_one_one (a b : Analysis.DifferentialForms.Manifold.Basic.FormValue E 1) (v : Fin 2 → E) : |
| 160 | AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge a b v = a (fun _ => v 0) * b (fun _ => v 1) - |
| 161 | a (fun _ => v 1) * b (fun _ => v 0) := by |
| 162 | have hperm : (Finset.univ : Finset (Equiv.Perm (Fin 2))) = {1, Equiv.swap 0 1} := by decide |
| 163 | rw [AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge_apply] |
| 164 | simp only [Nat.factorial_one, Nat.cast_one, one_mul, inv_one, one_smul, hperm] |
| 165 | rw [Finset.sum_pair (by decide : (1 : Equiv.Perm (Fin 2)) ≠ Equiv.swap 0 1)] |
| 166 | simp [Fin.fin_one_eq_zero, sub_eq_add_neg] |
| 167 | |
| 168 | variable [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 169 | |
| 170 | def holomorphicRankOneForm (a : E →L[ℂ] ℂ) : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2 := |
| 171 | Complex.I • AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge (Analysis.DifferentialForms.Manifold.Bidegree.complexLinearCovector E a) |
| 172 | (Complex.conjCLE.toContinuousLinearMap.compContinuousAlternatingMap (Analysis.DifferentialForms.Manifold.Bidegree.complexLinearCovector E a)) |
| 173 | |
| 174 | theorem holomorphicRankOneForm_complex_line (a : E →L[ℂ] ℂ) (u : E) : |
| 175 | holomorphicRankOneForm a ![u, Complex.I • u] = (2 * Complex.normSq (a u) : ℝ) := by |
| 176 | change Complex.I * AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge (Analysis.DifferentialForms.Manifold.Bidegree.complexLinearCovector E a) |
| 177 | (Complex.conjCLE.toContinuousLinearMap.compContinuousAlternatingMap (Analysis.DifferentialForms.Manifold.Bidegree.complexLinearCovector E a)) |
| 178 | ![u, Complex.I • u] = _ |
| 179 | rw [covectorWedge_one_one] |
| 180 | change Complex.I * (a u * star (a (Complex.I • u)) - a (Complex.I • u) * star (a u)) = _ |
| 181 | rw [map_smul] |
| 182 | simp only [smul_eq_mul, star_mul, Complex.star_def, Complex.conj_I] |
| 183 | calc |
| 184 | _ = 2 * (a u * star (a u)) := by |
| 185 | change _ = 2 * (a u * (starRingEnd ℂ) (a u)) |
| 186 | ring_nf |
| 187 | simp only [Complex.I_sq] |
| 188 | ring |
| 189 | _ = _ := by |
| 190 | rw [Complex.star_def, Complex.mul_conj] |
| 191 | push_cast |
| 192 | rfl |
| 193 | |
| 194 | theorem holomorphicRankOneForm_positive (a : E →L[ℂ] ℂ) (u : E) (hu : a u ≠ 0) : |
| 195 | 0 < (holomorphicRankOneForm a ![u, Complex.I • u]).re := by |
| 196 | rw [holomorphicRankOneForm_complex_line, Complex.ofReal_re] |
| 197 | exact mul_pos (by norm_num) (Complex.normSq_pos.mpr hu) |
| 198 | |
| 199 | theorem holomorphicRankOneForm_nonnegative (a : E →L[ℂ] ℂ) (u : E) : |
| 200 | 0 ≤ (holomorphicRankOneForm a ![u, Complex.I • u]).re := by |
| 201 | rw [holomorphicRankOneForm_complex_line, Complex.ofReal_re] |
| 202 | exact mul_nonneg (by norm_num) (Complex.normSq_nonneg _) |
| 203 | |
| 204 | end |
| 205 | |
| 206 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Powers.CM.Construction |