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.HodgeConjecture.CMReduction.TopTrace |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.Products |
| 3 | |
| 4 | /-! # Projection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Projection.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integration over an arbitrary connected projective factor. The map is |
| 11 | the native Functoriality pushforward, and its nonzero scalar is proved using Kunneth |
| 12 | and Poincare duality. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | open CartesianMonoidalCategory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.Products.CM.SurfaceConstruction |
| 19 | |
| 20 | theorem projectiveProduct_pathConnected (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 21 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] : |
| 22 | PathConnectedSpace (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).analyticSpace := by |
| 23 | let e := AlgebraicTopology.Kunneth.Add.Construction.productPointHomeomorph |
| 24 | (Z := (Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X).presentation) |
| 25 | (fst S.toOver X.toOver) (snd S.toOver X.toOver) (tensorProductIsBinaryProduct _ _) |
| 26 | exact e.symm.surjective.pathConnectedSpace e.symm.continuous |
| 27 | |
| 28 | theorem native_pushforward_cast {W X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 29 | (f : W.toOver ⟶ X.toOver) (a a' b r : ℕ) (ha : a = a') |
| 30 | (hW : a + r = 2 * W.complexDimension) |
| 31 | (hW' : a' + r = 2 * W.complexDimension) |
| 32 | (hX : b + r = 2 * X.complexDimension) (x : W.rationalCohomology a) : |
| 33 | IntersectionTheory.ProjectionFormula.Definitions.pushforward (Poincare.CM.Construction.nativePoincareData W) (Poincare.CM.Construction.nativePoincareData X) |
| 34 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) a' b r hW' hX |
| 35 | (cast (congrArg (fun n => (W.rationalCohomology n : Type)) ha) x) = |
| 36 | IntersectionTheory.ProjectionFormula.Definitions.pushforward (Poincare.CM.Construction.nativePoincareData W) (Poincare.CM.Construction.nativePoincareData X) |
| 37 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) a b r hW hX x := by |
| 38 | subst a' |
| 39 | rfl |
| 40 | |
| 41 | theorem native_projection_top {W X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 42 | (f : W.toOver ⟶ X.toOver) (d p : ℕ) |
| 43 | (hdim : W.complexDimension = X.complexDimension + d) |
| 44 | (hp : p ≤ X.complexDimension) |
| 45 | (a : X.rationalCohomology (p + p)) (b : W.rationalCohomology (d + d)) : |
| 46 | Cycles.Functoriality.UnitCap.cohomologyPushforward f (SurfaceConstructionQ.CM.map_isProper f) (p + d) p (by omega) |
| 47 | (cast (congrArg (fun n => (W.rationalCohomology n : Type)) |
| 48 | (add_add_add_comm p p d d)) |
| 49 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace W.toOver) (p + p) (d + d) |
| 50 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) f a) b)) = |
| 51 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace X.toOver) (p + p) 0 a |
| 52 | (Cycles.Functoriality.UnitCap.cohomologyPushforward f (SurfaceConstructionQ.CM.map_isProper f) d 0 (by omega) b) := by |
| 53 | let : CompactSpace (Betti.Scheme.schemePointSpace W.toOver) := inferInstanceAs (CompactSpace W.analyticSpace) |
| 54 | let : CompactSpace (Betti.Scheme.schemePointSpace X.toOver) := inferInstanceAs (CompactSpace X.analyticSpace) |
| 55 | let : T2Space (Betti.Scheme.schemePointSpace W.toOver) := inferInstanceAs (T2Space W.analyticSpace) |
| 56 | let : T2Space (Betti.Scheme.schemePointSpace X.toOver) := inferInstanceAs (T2Space X.analyticSpace) |
| 57 | have h := IntersectionTheory.ProjectionFormula.Chow.Construction.projection_formula (Poincare.CM.Construction.nativePoincareData W) (Poincare.CM.Construction.nativePoincareData X) |
| 58 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) (p + p) (d + d) 0 (2 * X.complexDimension) |
| 59 | (2 * (X.complexDimension - p)) |
| 60 | (by omega) (by omega) (by omega) (by omega) a b |
| 61 | rw [← native_pushforward_cast f _ ((p + d) + (p + d)) _ _ |
| 62 | (add_add_add_comm p p d d) _ (by omega)] at h |
| 63 | erw [Poincare.CM.Construction.nativePushforward_eq_Functoriality f (p + d) p _ (by omega), |
| 64 | Poincare.CM.Construction.nativePushforward_eq_Functoriality f d 0 _ (by omega)] at h |
| 65 | exact h |
| 66 | |
| 67 | def factorTraceMap (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 68 | S.rationalCohomology (S.complexDimension + S.complexDimension) →ₗ[ℚ] |
| 69 | X.rationalCohomology 0 := |
| 70 | (Cycles.Functoriality.UnitCap.cohomologyPushforward (X := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) |
| 71 | (snd S.toOver X.toOver) |
| 72 | (SurfaceConstructionQ.CM.map_isProper (S := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) (X := X) |
| 73 | (snd S.toOver X.toOver)) S.complexDimension 0 |
| 74 | (by rw [Products.CM.SurfaceConstruction.product_complexDimension]; omega)).comp |
| 75 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) |
| 76 | (S.complexDimension + S.complexDimension) (fst S.toOver X.toOver)).hom |
| 77 | |
| 78 | theorem factorTraceMap_ne_zero (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 79 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 80 | (a : S.rationalCohomology (S.complexDimension + S.complexDimension)) (ha : a ≠ 0) : |
| 81 | factorTraceMap S X a ≠ 0 := by |
| 82 | let W := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X |
| 83 | let : PathConnectedSpace W.analyticSpace := projectiveProduct_pathConnected S X |
| 84 | have hd : W.complexDimension = X.complexDimension + S.complexDimension := by |
| 85 | rw [Products.CM.SurfaceConstruction.product_complexDimension, Nat.add_comm] |
| 86 | obtain ⟨b, hb⟩ := TopTrace.CM.Construction.rationalTop_exists_ne_zero X |
| 87 | have hext := Kunneth.CM.SurfaceConstruction.rational_exteriorCup_ne_zero |
| 88 | (X := X.presentation) (Y := S.presentation) (Z := W.presentation) |
| 89 | (snd S.toOver X.toOver) (fst S.toOver X.toOver) |
| 90 | (BinaryFan.isLimitFlip (tensorProductIsBinaryProduct S.toOver X.toOver)) |
| 91 | (2 * X.complexDimension) (S.complexDimension + S.complexDimension) b a hb ha |
| 92 | have hp := IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing_pushforward |
| 93 | (Poincare.CM.Construction.nativePoincareData W) (Poincare.CM.Construction.nativePoincareData X) |
| 94 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (snd S.toOver X.toOver)) |
| 95 | (a := S.complexDimension + S.complexDimension) (b := 0) (r := 2 * X.complexDimension) |
| 96 | (by omega) (by omega) (by omega) (by omega) b |
| 97 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) _ (fst S.toOver X.toOver) a) |
| 98 | erw [Poincare.CM.Construction.nativePushforward_eq_Functoriality (X := W) (Y := X) |
| 99 | (snd S.toOver X.toOver) S.complexDimension 0 _ (by omega)] at hp |
| 100 | intro hz |
| 101 | change Cycles.Functoriality.UnitCap.cohomologyPushforward (X := W) (snd S.toOver X.toOver) |
| 102 | (SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) (snd S.toOver X.toOver)) S.complexDimension 0 _ |
| 103 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) _ (fst S.toOver X.toOver) a) = 0 at hz |
| 104 | rw [hz] at hp |
| 105 | have hleft : IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing (Poincare.CM.Construction.nativePoincareData X) (by omega) b |
| 106 | (0 : X.rationalCohomology 0) = 0 := by simp [IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing] |
| 107 | have hzpair := hp.symm.trans hleft |
| 108 | apply hext |
| 109 | apply TopTrace.CM.Construction.rationalTopIntegral_injective W |
| 110 | (2 * X.complexDimension + (S.complexDimension + S.complexDimension)) (by omega) |
| 111 | exact hzpair.trans (map_zero _).symm |
| 112 | |
| 113 | theorem factorTraceMap_injective (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 114 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] : |
| 115 | Function.Injective (factorTraceMap S X) := by |
| 116 | apply LinearMap.ker_eq_bot.mp |
| 117 | apply LinearMap.ker_eq_bot'.mpr |
| 118 | intro a ha |
| 119 | by_contra hn |
| 120 | exact factorTraceMap_ne_zero S X a hn ha |
| 121 | |
| 122 | theorem coefficient_factorTrace_scalar (K : Type) [Field K] [Algebra ℚ K] |
| 123 | (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 124 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 125 | (a : K ⊗[ℚ] S.rationalCohomology (S.complexDimension + S.complexDimension)) |
| 126 | (ha : a ≠ 0) : |
| 127 | ∃ r : K, r ≠ 0 ∧ (factorTraceMap S X).baseChange K a = |
| 128 | r • ((1 : K) ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) := by |
| 129 | have hinj : Function.Injective ((factorTraceMap S X).baseChange K) := |
| 130 | TensorProduct.map_injective_of_flat_flat (LinearMap.id : K →ₗ[ℚ] K) |
| 131 | (factorTraceMap S X) Function.injective_id (factorTraceMap_injective S X) |
| 132 | have hunit : ∀ b : K ⊗[ℚ] X.rationalCohomology 0, |
| 133 | ∃ r : K, r • ((1 : K) ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) = b := by |
| 134 | intro b |
| 135 | induction b using TensorProduct.inductionOn with |
| 136 | | add b c hb hc => |
| 137 | obtain ⟨r, rfl⟩ := hb |
| 138 | obtain ⟨s, rfl⟩ := hc |
| 139 | exact ⟨r + s, add_smul _ _ _⟩ |
| 140 | | tmul r b => |
| 141 | obtain ⟨q, rfl⟩ := TopTrace.CM.Construction.rationalH0_smul_unit X b |
| 142 | refine ⟨r * algebraMap ℚ K q, ?_⟩ |
| 143 | simp only [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 144 | rw [TensorProduct.tmul_smul] |
| 145 | exact congrArg (fun c : K => c ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) |
| 146 | (show r * algebraMap ℚ K q = q • r by rw [Algebra.smul_def, mul_comm]) |
| 147 | obtain ⟨r, hr⟩ := hunit ((factorTraceMap S X).baseChange K a) |
| 148 | refine ⟨r, ?_, hr.symm⟩ |
| 149 | intro hz |
| 150 | rw [hz, zero_smul] at hr |
| 151 | exact ha (hinj (hr.symm.trans (map_zero _).symm)) |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Projection.CM.Construction |