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.FormalGeometry.Completion.ChowModificationFunctions |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Product.CoverModificationSections |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.Functions |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ComparisonProperty |
| 5 | |
| 6 | /-! # Product Cover Functions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductCoverFunctions.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual formal functions for a finite etale cover of a proper normal factor times an affine base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {K R : Type u} [Field K] [CommRing R] [IsNoetherianRing R] |
| 22 | {A T : Scheme.{u}} [IsIntegral A] |
| 23 | (p : A ⟶ Spec (CommRingCat.of K)) [IsProper p] |
| 24 | (q : Spec (CommRingCat.of R) ⟶ Spec (CommRingCat.of K)) |
| 25 | (t : T ⟶ pullback p q) [IsFinite t] [Etale t] |
| 26 | |
| 27 | /-- The original actual formal-functions map is surjective. Its projective cover and all |
| 28 | infinitesimal section isomorphisms are constructed from the proper normal factor. -/ |
| 29 | theorem properProductCover_formalFunctionsComparison_surjective |
| 30 | (hA : ∀ x : A, IsIntegrallyClosed (A.presheaf.stalk x)) |
| 31 | [IsIso (t ≫ pullback.snd p q).appTop] (I : Ideal R) : |
| 32 | Function.Surjective (FunctionsComparison.Construction.formalFunctionsComparison I (t ≫ pullback.snd p q)) := by |
| 33 | let D := Quotients.FiniteDescent.ChowModificationModel.Construction.ChowModification.build p |
| 34 | let c := D.projection |
| 35 | have : IsProper c := D.proper |
| 36 | let a := t ≫ pullback.fst p q |
| 37 | let f := t ≫ pullback.snd p q |
| 38 | have : IsIso f.appTop := inferInstanceAs (IsIso (t ≫ pullback.snd p q).appTop) |
| 39 | let g := pullback.snd c a |
| 40 | have hc (U : A.Opens) (_hU : IsAffineOpen U) : IsIso (c.app U) := |
| 41 | ChowModificationFunctions.Construction.chowModification_app_isIso p hA U |
| 42 | have : IsProper f := inferInstanceAs (IsProper (t ≫ pullback.snd p q)) |
| 43 | have : IsProper g := inferInstanceAs (IsProper (pullback.snd c a)) |
| 44 | have : Flat (g ≫ f) := Product.CoverModificationSections.Construction.productCover_factorModification_flat p q t c |
| 45 | have : IsIso g.appTop := Product.CoverModificationSections.Construction.productCover_factorModification_appTop_isIso p q t c hc |
| 46 | have : IsIso (g ≫ f).appTop := by |
| 47 | rw [Scheme.Hom.comp_appTop] |
| 48 | infer_instance |
| 49 | have : (pullback c a : Scheme.{u}).IsSeparated := by |
| 50 | constructor |
| 51 | rw [← terminal.comp_from (g ≫ f)] |
| 52 | infer_instance |
| 53 | have : IsAffineHom (pullback.fst p q) := MorphismProperty.pullback_fst _ _ inferInstance |
| 54 | have : IsAffineHom a := inferInstanceAs (IsAffineHom (t ≫ pullback.fst p q)) |
| 55 | have : IsAffineHom (pullback.fst c a) := MorphismProperty.pullback_fst _ _ inferInstance |
| 56 | let P := (D.sectionCover.pullback (pullback.fst c a)).projectivePresentation (g ≫ f) |
| 57 | apply ComparisonDescent.Construction.formalFunctionsComparison_surjective_of_detecting_pullback I f g |
| 58 | · intro n |
| 59 | have hi := Product.CoverModificationSections.Construction.productCover_factorModification_infinitesimal_appTop_isIso p q t c hc I n |
| 60 | exact (ConcreteCategory.isIso_iff_bijective |
| 61 | (ComparisonDescent.Construction.infinitesimalNeighborhoodMap I f g n).appTop).mp hi |>.injective |
| 62 | · exact Projective.Functions.Construction.projective_formalFunctionsComparison_surjective (g ≫ f) P I |
| 63 | |
| 64 | theorem properProductCover_formalFunctionsComparisonSurjective |
| 65 | (hA : ∀ x : A, IsIntegrallyClosed (A.presheaf.stalk x)) |
| 66 | [IsIso (t ≫ pullback.snd p q).appTop] (I : Ideal R) : |
| 67 | ComparisonProperty.Construction.FormalFunctionsComparisonSurjective I (t ≫ pullback.snd p q) := |
| 68 | properProductCover_formalFunctionsComparison_surjective p q t hA I |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductCoverFunctions.Construction |