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.NumberTheory.PadicHodge.IntegralComparison.AlgebraicSmoothPresheafProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PairingNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BicomplexPairingNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.TotalCup |
| 5 | |
| 6 | /-! # Algebraic Smooth Cech Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraicSmoothCechProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original algebraic-to-smooth comparison preserves the |
| 13 | signed products on the actual Čech total complexes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped Simplicial |
| 17 | |
| 18 | variable (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 19 | (N : SimplicialObject (FormalCoproduct.{0} X.left.Opens)) |
| 20 | |
| 21 | def smoothCochains (p : ℕ) : CosimplicialObject (ModuleCat.{0} ℂ) := |
| 22 | Cech.BilinearPairing.cosimplicial N ((AlgebraicGeometry.Comparison.Betti.Smooth.SheafMap.zariskiSmoothPresheafComplex X).X p) |
| 23 | |
| 24 | def pairing (p q : ℕ) (n : SimplexCategory) : |
| 25 | (smoothCochains X N p).obj n →ₗ[ℂ] (smoothCochains X N q).obj n →ₗ[ℂ] |
| 26 | (smoothCochains X N (p + q)).obj n := |
| 27 | Cech.BilinearPairing.pairing N _ _ _ (AlgebraicSmoothPresheafProduct.pairing X p q) n |
| 28 | |
| 29 | def cup (p q a b : ℕ) : |
| 30 | (smoothCochains X N p).obj ⦋a⦌ →ₗ[ℂ] (smoothCochains X N q).obj ⦋b⦌ →ₗ[ℂ] |
| 31 | (smoothCochains X N (p + q)).obj ⦋a + b⦌ := |
| 32 | Cosimplicial.BilinearCup.cup _ _ _ (pairing X N p q) a b |
| 33 | |
| 34 | def smoothBicomplex : HomologicalComplex₂ (ModuleCat.{0} ℂ) (.up ℕ) (.up ℕ) := |
| 35 | CechCoefficient.Total.bicomplex N (AlgebraicGeometry.Comparison.Betti.Smooth.SheafMap.zariskiSmoothPresheafComplex X) |
| 36 | |
| 37 | def signedPairing (p a q b : ℕ) : |
| 38 | ((smoothBicomplex X N).X p).X a →ₗ[ℂ] ((smoothBicomplex X N).X q).X b →ₗ[ℂ] |
| 39 | ((smoothBicomplex X N).X (p + q)).X (a + b) := |
| 40 | (-1 : ℤ) ^ (a * q) • cup X N p q a b |
| 41 | |
| 42 | def smoothTotal : CochainComplex (ModuleCat.{0} ℂ) ℕ := (smoothBicomplex X N).total (.up ℕ) |
| 43 | |
| 44 | def totalPairing (n m : ℕ) : (smoothTotal X N).X n →ₗ[ℂ] (smoothTotal X N).X m →ₗ[ℂ] |
| 45 | (smoothTotal X N).X (n + m) := |
| 46 | BicomplexPairing.totalPairing _ _ _ (signedPairing X N) n m |
| 47 | |
| 48 | def bicomplexMap : RationalDeRham.TotalCup.Cech.bicomplex ℂ X N ⟶ smoothBicomplex X N := |
| 49 | ((FormalCoproduct.cochainComplexFunctor N).mapHomologicalComplex (.up ℕ)).map |
| 50 | (AlgebraicSmoothPresheafProduct.nativeMap X) |
| 51 | |
| 52 | def totalMap : RationalDeRham.TotalCup.Cech.total ℂ X N ⟶ smoothTotal X N := |
| 53 | HomologicalComplex₂.total.map (bicomplexMap X N) (.up ℕ) |
| 54 | |
| 55 | theorem bicomplexMap_pairing (p a q b : ℕ) |
| 56 | (x : ((RationalDeRham.TotalCup.Cech.bicomplex ℂ X N).X p).X a) |
| 57 | (y : ((RationalDeRham.TotalCup.Cech.bicomplex ℂ X N).X q).X b) : |
| 58 | ((bicomplexMap X N).f (p + q)).f (a + b) |
| 59 | (RationalDeRham.TotalCup.Cech.signedPairing ℂ X N p a q b x y) = |
| 60 | signedPairing X N p a q b (((bicomplexMap X N).f p).f a x) (((bicomplexMap X N).f q).f b y) := by |
| 61 | have h := Cech.PairingNaturality.Bilinear.cup_coefficient_natural N |
| 62 | (RationalDeRham.CechCup.sectionPairing ℂ X p q) |
| 63 | (AlgebraicSmoothPresheafProduct.pairing X p q) |
| 64 | ((AlgebraicSmoothPresheafProduct.nativeMap X).f p) |
| 65 | ((AlgebraicSmoothPresheafProduct.nativeMap X).f q) |
| 66 | ((AlgebraicSmoothPresheafProduct.nativeMap X).f (p + q)) |
| 67 | (AlgebraicSmoothPresheafProduct.nativeMap_pairing X p q) a b x y |
| 68 | change ((bicomplexMap X N).f (p + q)).f (a + b) |
| 69 | ((-1 : ℤ) ^ (a * q) • RationalDeRham.CechCup.cup ℂ X N p q a b x y) = |
| 70 | (-1 : ℤ) ^ (a * q) • cup X N p q a b |
| 71 | (((bicomplexMap X N).f p).f a x) (((bicomplexMap X N).f q).f b y) |
| 72 | exact (map_zsmul (((bicomplexMap X N).f (p + q)).f (a + b)).hom ((-1 : ℤ) ^ (a * q)) |
| 73 | (RationalDeRham.CechCup.cup ℂ X N p q a b x y)).trans |
| 74 | (congrArg ((-1 : ℤ) ^ (a * q) • ·) h) |
| 75 | |
| 76 | theorem totalMap_pairing (n m : ℕ) |
| 77 | (x : (RationalDeRham.TotalCup.Cech.total ℂ X N).X n) |
| 78 | (y : (RationalDeRham.TotalCup.Cech.total ℂ X N).X m) : |
| 79 | (totalMap X N).f (n + m) (RationalDeRham.TotalCup.Cech.totalCup ℂ X N n m x y) = |
| 80 | totalPairing X N n m ((totalMap X N).f n x) ((totalMap X N).f m y) := |
| 81 | BicomplexPairingNaturality.totalPairing_natural |
| 82 | (RationalDeRham.TotalCup.Cech.signedPairing ℂ X N) (signedPairing X N) |
| 83 | (bicomplexMap X N) (bicomplexMap X N) (bicomplexMap X N) (bicomplexMap_pairing X N) n m x y |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraicSmoothCechProduct |