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.AlgebraicTopology.DeRham.Comparison.ProjectiveIntegration |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.Manifold |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.SmoothSimplexClass |
| 4 | import OAI.AlgebraicTopology.Cohomology.Singular.GlobalSmoothComparison |
| 5 | import OAI.AlgebraicGeometry.Betti.CohomologySpan |
| 6 | |
| 7 | /-! # Projective -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicTopology.DeRham.Comparison.Projective.IntegralProjectiveVariety |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # The canonical de Rham comparison for a genuine projective variety |
| 15 | |
| 16 | The comparison is the span formed by actual integration over smooth singular |
| 17 | simplices and actual restriction of ordinary singular cochains. Both legs |
| 18 | are proved quasi-isomorphisms. In particular the comparison is not chosen |
| 19 | as an arbitrary isomorphism between two vector spaces. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory |
| 23 | |
| 24 | /-- Actual integration is a quasi-isomorphism on the compact smooth manifold |
| 25 | derived from the projective variety. -/ |
| 26 | instance _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamIntegrationCochain_quasiIso (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 27 | QuasiIso V.deRhamIntegrationCochain := |
| 28 | Manifold.smoothSimplexIntegrationCochainMap_quasiIso_compact |
| 29 | V.analyticModel V.analyticSpace |
| 30 | |
| 31 | /-- The genuine smooth singular subcomplex computes ordinary singular |
| 32 | cohomology on the derived smooth manifold. -/ |
| 33 | instance _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.bettiRestrictionCochain_quasiIso (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 34 | QuasiIso V.bettiRestrictionCochain := |
| 35 | Cohomology.Singular.GlobalSmoothComparison.quasiIso_manifoldSmoothCochainRestriction V.analyticModel V.analyticSpace |
| 36 | |
| 37 | /-- The canonical complex de Rham comparison, normalized by actual simplex |
| 38 | integration and the ordinary singular restriction. -/ |
| 39 | def _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamBettiIso (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) : |
| 40 | V.deRhamCohomology n ≅ V.complexCohomology n := |
| 41 | AlgebraicGeometry.Betti.CohomologySpan.Realization.cohomologySpanIso V.deRhamIntegrationCochain V.bettiRestrictionCochain n |
| 42 | |
| 43 | /-- The defining square says that a form and its Betti class induce the same |
| 44 | class on every genuine smooth singular simplex. -/ |
| 45 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamBettiIso_hom_comp (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) : |
| 46 | (V.deRhamBettiIso n).hom ≫ V.bettiToSmoothSingular n = |
| 47 | V.deRhamToSmoothSingular n := |
| 48 | AlgebraicGeometry.Betti.CohomologySpan.Realization.cohomologySpanIso_hom_comp V.deRhamIntegrationCochain |
| 49 | V.bettiRestrictionCochain n |
| 50 | |
| 51 | /-- That square characterizes the comparison uniquely. -/ |
| 52 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamBettiIso_hom_unique (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) |
| 53 | (f : V.deRhamCohomology n ⟶ V.complexCohomology n) |
| 54 | (hf : f ≫ V.bettiToSmoothSingular n = V.deRhamToSmoothSingular n) : |
| 55 | f = (V.deRhamBettiIso n).hom := |
| 56 | AlgebraicGeometry.Betti.CohomologySpan.Realization.cohomologySpanIso_hom_unique V.deRhamIntegrationCochain |
| 57 | V.bettiRestrictionCochain n f hf |
| 58 | |
| 59 | /-- The comparison uses the literal integration cocycle of each closed |
| 60 | form, with the already proved simplex orientation and normalization. -/ |
| 61 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamToSmoothSingular_formClass (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) |
| 62 | (form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace n) : |
| 63 | V.deRhamToSmoothSingular n (V.deRhamClass n form) = |
| 64 | Cohomology.Singular.Representatives.cochainClass V.smoothSingularComplex n |
| 65 | (SmoothSimplexClass.smoothSimplexIntegrationCocycle |
| 66 | V.analyticModel V.analyticSpace n form) := |
| 67 | SmoothSimplexClass.smoothSimplexIntegrationCohomologyMap_formClass |
| 68 | V.analyticModel V.analyticSpace n form |
| 69 | |
| 70 | /-- Restricting the Betti class of a differential form gives its actual |
| 71 | smooth-singular integration class. -/ |
| 72 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamBettiIso_formClass (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) |
| 73 | (form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace n) : |
| 74 | V.bettiToSmoothSingular n ((V.deRhamBettiIso n).hom (V.deRhamClass n form)) = |
| 75 | Cohomology.Singular.Representatives.cochainClass V.smoothSingularComplex n |
| 76 | (SmoothSimplexClass.smoothSimplexIntegrationCocycle |
| 77 | V.analyticModel V.analyticSpace n form) := |
| 78 | (ConcreteCategory.congr_hom (V.deRhamBettiIso_hom_comp n) |
| 79 | (V.deRhamClass n form)).trans (V.deRhamToSmoothSingular_formClass n form) |
| 80 | |
| 81 | /-- Equality under comparison is precisely equality of the two actual |
| 82 | smooth-singular classes. -/ |
| 83 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.deRhamBettiIso_apply_eq_iff (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) |
| 84 | (a : V.deRhamCohomology n) (b : V.complexCohomology n) : |
| 85 | (V.deRhamBettiIso n).hom a = b ↔ |
| 86 | V.deRhamToSmoothSingular n a = V.bettiToSmoothSingular n b := by |
| 87 | have hcomp := ConcreteCategory.congr_hom (V.deRhamBettiIso_hom_comp n) a |
| 88 | have : IsIso (V.bettiToSmoothSingular n) := by |
| 89 | change IsIso (HomologicalComplex.homologyMap V.bettiRestrictionCochain n) |
| 90 | infer_instance |
| 91 | have hinj : Function.Injective (V.bettiToSmoothSingular n) := |
| 92 | (asIso (V.bettiToSmoothSingular n)).toLinearEquiv.injective |
| 93 | constructor |
| 94 | · intro h |
| 95 | exact hcomp.symm.trans (congrArg (V.bettiToSmoothSingular n) h) |
| 96 | · intro h |
| 97 | apply hinj |
| 98 | exact hcomp.trans h |
| 99 | |
| 100 | /-- The Betti subspace represented by closed forms of the prescribed pure |
| 101 | type, transported through the proved canonical comparison. -/ |
| 102 | def _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.pureBettiSubspace (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) : |
| 103 | Submodule ℂ (V.complexCohomology (p + q)) := |
| 104 | (V.pureDeRhamSubspace p q).map (V.deRhamBettiIso (p + q)).hom.hom |
| 105 | |
| 106 | /-- Membership in the pure Betti subspace has the literal closed-form |
| 107 | interpretation with the official inverse-character tangent action. -/ |
| 108 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.mem_pureBettiSubspace_iff (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 109 | (a : V.complexCohomology (p + q)) : |
| 110 | a ∈ V.pureBettiSubspace p q ↔ |
| 111 | ∃ form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace (p + q), |
| 112 | Analysis.DifferentialForms.Manifold.CovectorAction.HasTangentBidegree V.analyticModel V.analyticSpace p q |
| 113 | (form.val : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace (p + q)) ∧ |
| 114 | (V.deRhamBettiIso (p + q)).hom (V.deRhamClass (p + q) form) = a := by |
| 115 | change (∃ b, b ∈ V.pureDeRhamSubspace p q ∧ |
| 116 | (V.deRhamBettiIso (p + q)).hom b = a) ↔ _ |
| 117 | constructor |
| 118 | · rintro ⟨b, hb, heq⟩ |
| 119 | obtain ⟨form, htype, rfl⟩ := (V.mem_pureDeRhamSubspace_iff p q b).mp hb |
| 120 | exact ⟨form, htype, heq⟩ |
| 121 | · rintro ⟨form, htype, heq⟩ |
| 122 | exact ⟨V.deRhamClass (p + q) form, |
| 123 | (V.mem_pureDeRhamSubspace_iff p q _).mpr ⟨form, htype, rfl⟩, heq⟩ |
| 124 | |
| 125 | /-- A rational class is of Hodge type `(p,p)` when its actual complex |
| 126 | coefficient image is represented by a closed pure `(p,p)` form. -/ |
| 127 | def _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.IsRationalHodgeClass (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 128 | (a : V.rationalCohomology (p + p)) : Prop := |
| 129 | V.rationalCohomologyInclusion (p + p) a ∈ V.pureBettiSubspace p p |
| 130 | |
| 131 | /-- The rational Hodge condition is explicitly a statement about the real |
| 132 | exterior-derivative kernel, actual complex tangent type, and canonical |
| 133 | singular/de Rham comparison. -/ |
| 134 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.isRationalHodgeClass_iff (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 135 | (a : V.rationalCohomology (p + p)) : |
| 136 | V.IsRationalHodgeClass p a ↔ |
| 137 | ∃ form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace (p + p), |
| 138 | Analysis.DifferentialForms.Manifold.CovectorAction.HasTangentBidegree V.analyticModel V.analyticSpace p p |
| 139 | (form.val : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace (p + p)) ∧ |
| 140 | (V.deRhamBettiIso (p + p)).hom (V.deRhamClass (p + p) form) = |
| 141 | V.rationalCohomologyInclusion (p + p) a := |
| 142 | V.mem_pureBettiSubspace_iff p p (V.rationalCohomologyInclusion (p + p) a) |
| 143 | |
| 144 | /-- Equivalently, the rational class agrees on smooth singular cohomology |
| 145 | with the actual integration cocycle of a closed pure form. This records |
| 146 | the normalization without an arbitrary comparison isomorphism. -/ |
| 147 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.isRationalHodgeClass_iff_integration (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 148 | (a : V.rationalCohomology (p + p)) : |
| 149 | V.IsRationalHodgeClass p a ↔ |
| 150 | ∃ form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace (p + p), |
| 151 | Analysis.DifferentialForms.Manifold.CovectorAction.HasTangentBidegree V.analyticModel V.analyticSpace p p |
| 152 | (form.val : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace (p + p)) ∧ |
| 153 | Cohomology.Singular.Representatives.cochainClass V.smoothSingularComplex (p + p) |
| 154 | (SmoothSimplexClass.smoothSimplexIntegrationCocycle |
| 155 | V.analyticModel V.analyticSpace (p + p) form) = |
| 156 | V.rationalToSmoothSingular (p + p) a := by |
| 157 | rw [V.isRationalHodgeClass_iff] |
| 158 | apply exists_congr |
| 159 | intro form |
| 160 | apply and_congr_right |
| 161 | intro _ |
| 162 | refine (V.deRhamBettiIso_apply_eq_iff (p + p) (V.deRhamClass (p + p) form) |
| 163 | (V.rationalCohomologyInclusion (p + p) a)).trans ?_ |
| 164 | rw [V.deRhamToSmoothSingular_formClass (p + p) form] |
| 165 | rfl |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI.AlgebraicTopology.DeRham.Comparison.Projective.IntegralProjectiveVariety |