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.TopTrace |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.Connected |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.Projection |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CanonicalCoefficients |
| 5 | |
| 6 | /-! # Surface Scalar -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.SurfaceScalar.CM.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Integration along the surface factor is nonzero in the exact native |
| 13 | pushforward used by the correspondence. Connectedness and Kunneth prove |
| 14 | this without imposing a tensor-contraction formula as a hypothesis. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open MonoidalCategory CartesianMonoidalCategory |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | def surfaceTraceMap (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (hS : S.complexDimension = 2) : |
| 21 | S.rationalCohomology 4 →ₗ[ℚ] X.rationalCohomology 0 := |
| 22 | (Cycles.Functoriality.UnitCap.cohomologyPushforward (X := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) |
| 23 | (snd S.toOver X.toOver) |
| 24 | (SurfaceConstructionQ.CM.map_isProper (S := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) (X := X) |
| 25 | (snd S.toOver X.toOver)) 2 0 (by rw [Products.CM.SurfaceConstruction.product_complexDimension, hS]; omega)).comp |
| 26 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 4 (fst S.toOver X.toOver)).hom |
| 27 | |
| 28 | theorem surfaceTraceMap_ne_zero (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 29 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 30 | (hS : S.complexDimension = 2) (a : S.rationalCohomology 4) (ha : a ≠ 0) : |
| 31 | surfaceTraceMap S X hS a ≠ 0 := by |
| 32 | let W := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X |
| 33 | let : PathConnectedSpace W.analyticSpace := Connected.CM.SurfaceConstruction.projectiveProduct_pathConnected S X |
| 34 | have hd : W.complexDimension = X.complexDimension + 2 := by |
| 35 | rw [Products.CM.SurfaceConstruction.product_complexDimension, hS, Nat.add_comm] |
| 36 | obtain ⟨b, hb⟩ := TopTrace.CM.SurfaceConstruction.rationalTop_exists_ne_zero X |
| 37 | have hext := Kunneth.CM.SurfaceConstruction.rational_exteriorCup_ne_zero |
| 38 | (X := X.presentation) (Y := S.presentation) (Z := W.presentation) |
| 39 | (snd S.toOver X.toOver) (fst S.toOver X.toOver) |
| 40 | (BinaryFan.isLimitFlip (tensorProductIsBinaryProduct S.toOver X.toOver)) |
| 41 | (2 * X.complexDimension) 4 b a hb ha |
| 42 | have hp := IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing_pushforward |
| 43 | (Poincare.CM.SurfaceConstruction.nativePoincareData W) (Poincare.CM.SurfaceConstruction.nativePoincareData X) |
| 44 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (snd S.toOver X.toOver)) |
| 45 | (a := 4) (b := 0) (r := 2 * X.complexDimension) |
| 46 | (by omega) (by omega) (by omega) (by omega) b |
| 47 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 4 (fst S.toOver X.toOver) a) |
| 48 | erw [Poincare.CM.SurfaceConstruction.nativePushforward_eq_Functoriality (X := W) (Y := X) |
| 49 | (snd S.toOver X.toOver) 2 0 _ (by omega)] at hp |
| 50 | intro hz |
| 51 | change Cycles.Functoriality.UnitCap.cohomologyPushforward (X := W) (snd S.toOver X.toOver) |
| 52 | (SurfaceConstructionQ.CM.map_isProper (S := W) (X := X) (snd S.toOver X.toOver)) 2 0 _ |
| 53 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 4 (fst S.toOver X.toOver) a) = 0 at hz |
| 54 | rw [hz] at hp |
| 55 | have hleft : IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing (Poincare.CM.SurfaceConstruction.nativePoincareData X) (by omega) b |
| 56 | (0 : X.rationalCohomology 0) = 0 := by |
| 57 | simp [IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing] |
| 58 | have hzpair := hp.symm.trans hleft |
| 59 | apply hext |
| 60 | apply TopTrace.CM.SurfaceConstruction.rationalTopIntegral_injective W (2 * X.complexDimension + 4) (by omega) |
| 61 | exact hzpair.trans (map_zero _).symm |
| 62 | |
| 63 | theorem surfaceTraceMap_injective (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 64 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 65 | (hS : S.complexDimension = 2) : Function.Injective (surfaceTraceMap S X hS) := by |
| 66 | apply (LinearMap.ker_eq_bot).mp |
| 67 | apply LinearMap.ker_eq_bot'.mpr |
| 68 | intro a ha |
| 69 | by_contra hn |
| 70 | exact surfaceTraceMap_ne_zero S X hS a hn ha |
| 71 | |
| 72 | theorem coefficientH0_smul_unit (E : IntermediateField ℚ ℂ) |
| 73 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) [PathConnectedSpace X.analyticSpace] |
| 74 | (a : E ⊗[ℚ] X.rationalCohomology 0) : |
| 75 | ∃ r : E, r • ((1 : E) ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) = a := by |
| 76 | induction a using TensorProduct.inductionOn with |
| 77 | | add a b ha hb => |
| 78 | obtain ⟨r, rfl⟩ := ha |
| 79 | obtain ⟨s, rfl⟩ := hb |
| 80 | exact ⟨r + s, add_smul _ _ _⟩ |
| 81 | | tmul r a => |
| 82 | obtain ⟨q, rfl⟩ := TopTrace.CM.SurfaceConstruction.rationalH0_smul_unit X a |
| 83 | refine ⟨r * algebraMap ℚ E q, ?_⟩ |
| 84 | simp only [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 85 | rw [TensorProduct.tmul_smul] |
| 86 | exact congrArg (fun c : E => c ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) |
| 87 | (show r * algebraMap ℚ E q = q • r by rw [Algebra.smul_def, mul_comm]) |
| 88 | |
| 89 | theorem coefficientSurfaceTrace_scalar (E : IntermediateField ℚ ℂ) |
| 90 | (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 91 | [PathConnectedSpace S.analyticSpace] [PathConnectedSpace X.analyticSpace] |
| 92 | (hS : S.complexDimension = 2) |
| 93 | (a : E ⊗[ℚ] S.rationalCohomology 4) (ha : a ≠ 0) : |
| 94 | ∃ r : E, r ≠ 0 ∧ |
| 95 | (surfaceTraceMap S X hS).baseChange E a = |
| 96 | r • ((1 : E) ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) := by |
| 97 | have hinj : Function.Injective ((surfaceTraceMap S X hS).baseChange E) := |
| 98 | TensorProduct.map_injective_of_flat_flat (LinearMap.id : E →ₗ[ℚ] E) |
| 99 | (surfaceTraceMap S X hS) Function.injective_id (surfaceTraceMap_injective S X hS) |
| 100 | obtain ⟨r, hr⟩ := coefficientH0_smul_unit E X ((surfaceTraceMap S X hS).baseChange E a) |
| 101 | refine ⟨r, ?_, hr.symm⟩ |
| 102 | intro hz |
| 103 | rw [hz, zero_smul] at hr |
| 104 | exact ha (hinj (hr.symm.trans (map_zero _).symm)) |
| 105 | |
| 106 | theorem coefficientSurfaceTrace_eq (E : IntermediateField ℚ ℂ) |
| 107 | (S X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (hS : S.complexDimension = 2) |
| 108 | (a : E ⊗[ℚ] S.rationalCohomology 4) : |
| 109 | (surfaceTraceMap S X hS).baseChange E a = |
| 110 | (Cycles.Functoriality.UnitCap.cohomologyPushforward (X := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) |
| 111 | (snd S.toOver X.toOver) |
| 112 | (SurfaceConstructionQ.CM.map_isProper (S := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) (X := X) |
| 113 | (snd S.toOver X.toOver)) 2 0 (by rw [Products.CM.SurfaceConstruction.product_complexDimension, hS]; omega)).baseChange E |
| 114 | (Projection.CM.SurfaceConstruction.coefficientPullback E (W := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety S X) |
| 115 | (fst S.toOver X.toOver) 4 a) := by |
| 116 | unfold surfaceTraceMap |
| 117 | erw [LinearMap.baseChange_comp] |
| 118 | rfl |
| 119 | |
| 120 | theorem coefficientCup_unit_right (E : IntermediateField ℚ ℂ) |
| 121 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (n : ℕ) (a : E ⊗[ℚ] X.rationalCohomology n) : |
| 122 | CoefficientCups.CM.SurfaceConstruction.coefficientCup E X n 0 a ((1 : E) ⊗ₜ[ℚ] Cycles.Functoriality.UnitCap.cohomologyUnit X) = a := by |
| 123 | induction a using TensorProduct.inductionOn with |
| 124 | | add a b ha hb => simp [ha, hb] |
| 125 | | tmul r a => |
| 126 | simp only [CoefficientCups.CM.SurfaceConstruction.coefficientCup, Intersections.CM.SurfaceConstruction.extendBilinear_tmul, mul_one] |
| 127 | exact congrArg (fun z => r ⊗ₜ[ℚ] z) |
| 128 | (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCup_cupUnit (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace X.toOver)) a) |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.HodgeConjecture.SurfaceScalar.CM.Construction |