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.AbelianModuli.HilbertConstruction.Rational.FiberEuler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Poincare.AtIdentity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.TestFamilyPullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorBaseChange |
| 5 | |
| 6 | /-! # Family Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Tensoring with the Poincare family does not change line-bundle Euler characteristic at ground-field points of the connected dual abelian variety. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | universe u |
| 16 | variable {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 17 | |
| 18 | theorem Dual.Data.DualAbelianData.poincareFamily_twist_euler_eq (D : Dual.Data.DualAbelianData A) (L : Line.Bundles.LineBundle A.scheme.left) |
| 19 | (x y : 𝟙_ (Over (Spec (.of K))) ⟶ D.abelian.scheme) : |
| 20 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (pullback.fst (𝟙 (Spec (.of K))) A.scheme.hom) |
| 21 | (((L.pullback (pullback.snd (𝟙 (Spec (.of K))) A.scheme.hom)).tensor (D.poincareAt x)).sheaf) = |
| 22 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (pullback.fst (𝟙 (Spec (.of K))) A.scheme.hom) |
| 23 | (((L.pullback (pullback.snd (𝟙 (Spec (.of K))) A.scheme.hom)).tensor (D.poincareAt y)).sheaf) := by |
| 24 | have : IsLocallyNoetherian D.abelian.scheme.left := |
| 25 | LocallyOfFiniteType.isLocallyNoetherian D.abelian.scheme.hom |
| 26 | have : ConnectedSpace D.abelian.scheme.left := |
| 27 | GeometricallyConnected.connectedSpace_of_subsingleton D.abelian.scheme.hom |
| 28 | have hAproper : IsProper A.scheme.hom := A.proper |
| 29 | have hAflat : Flat A.scheme.hom := inferInstance |
| 30 | have hproper : IsProper (pullback.fst D.abelian.scheme.hom A.scheme.hom) := |
| 31 | MorphismProperty.of_isPullback (P := @IsProper) |
| 32 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hAproper |
| 33 | have hflat : Flat (pullback.fst D.abelian.scheme.hom A.scheme.hom) := |
| 34 | MorphismProperty.of_isPullback (P := @Flat) |
| 35 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hAflat |
| 36 | let M := (L.pullback (pullback.snd D.abelian.scheme.hom A.scheme.hom)).tensor D.poincare |
| 37 | let q := pullback.fst (𝟙 (Spec (.of K))) A.scheme.hom |
| 38 | have e (z : 𝟙_ (Over (Spec (.of K))) ⟶ D.abelian.scheme) : |
| 39 | (M.pullback ((Picard.PicardSheaf.familySchemeFunctor A.scheme).map z)).sheaf ≅ |
| 40 | ((L.pullback (pullback.snd (𝟙 (Spec (.of K))) A.scheme.hom)).tensor (D.poincareAt z)).sheaf := |
| 41 | Line.Bundles.LineBundle.tensorBaseChangeIso ((Picard.PicardSheaf.familySchemeFunctor A.scheme).map z) |
| 42 | (L.pullback (pullback.snd D.abelian.scheme.hom A.scheme.hom)) D.poincare ≪≫ |
| 43 | Tensor.ProductSheaf.tensorModuleCongr (Global.BundlePicardClass.globalBundleFamilyPullbackIso A.scheme L z) (Iso.refl _) |
| 44 | have h := Rational.FiberEuler.connected_rationalFiber_euler_eq |
| 45 | (X := pullback D.abelian.scheme.hom A.scheme.hom) |
| 46 | (P := pullback (𝟙 (Spec (.of K))) A.scheme.hom) |
| 47 | (Q := pullback (𝟙 (Spec (.of K))) A.scheme.hom) |
| 48 | (f := pullback.fst D.abelian.scheme.hom A.scheme.hom) |
| 49 | D.abelian.scheme.hom x.left y.left x.w y.w |
| 50 | (Picard.TestFamilyPullback.familySchemeFunctor_map_isPullback A.scheme x) (Picard.TestFamilyPullback.familySchemeFunctor_map_isPullback A.scheme y) M |
| 51 | exact (Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso q (e x)).symm.trans |
| 52 | (h.trans (Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso q (e y))) |
| 53 | |
| 54 | theorem Dual.Data.DualAbelianData.poincareFamily_twist_euler (D : Dual.Data.DualAbelianData A) (L : Line.Bundles.LineBundle A.scheme.left) |
| 55 | (x : 𝟙_ (Over (Spec (.of K))) ⟶ D.abelian.scheme) : |
| 56 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (pullback.fst (𝟙 (Spec (.of K))) A.scheme.hom) |
| 57 | (((L.pullback (pullback.snd (𝟙 (Spec (.of K))) A.scheme.hom)).tensor (D.poincareAt x)).sheaf) = |
| 58 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (pullback.fst (𝟙 (Spec (.of K))) A.scheme.hom) |
| 59 | (L.pullback (pullback.snd (𝟙 (Spec (.of K))) A.scheme.hom)).sheaf := by |
| 60 | let B := L.pullback (pullback.snd (𝟙 (Spec (.of K))) A.scheme.hom) |
| 61 | have e : (B.tensor (D.poincareAt (1 : 𝟙_ (Over (Spec (.of K))) ⟶ D.abelian.scheme))).sheaf ≅ B.sheaf := |
| 62 | Tensor.ProductSheaf.tensorModuleCongr (Iso.refl B.sheaf) (D.poincareAt_oneIso _) ≪≫ |
| 63 | Tensor.ProductSheaf.tensorModuleCommIso B.sheaf _ ≪≫ Tensor.ProductSheaf.tensorModuleUnitLeftIso B.sheaf |
| 64 | exact (D.poincareFamily_twist_euler_eq L x 1).trans |
| 65 | (Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso _ e) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |