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.Product.CoverFactorChange |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ComparisonDescent |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.StructureSheafBaseChange |
| 4 | |
| 5 | /-! # Cover Modification Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Product.CoverModificationSections.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Factor modifications preserve the actual infinitesimal sections of finite etale product covers. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {K R : Type u} [Field K] [CommRing R] {A T D : Scheme.{u}} |
| 21 | (p : A ⟶ Spec (CommRingCat.of K)) (q : Spec (CommRingCat.of R) ⟶ Spec (CommRingCat.of K)) |
| 22 | (t : T ⟶ pullback p q) [Etale t] |
| 23 | |
| 24 | /-- The first-factor map stays flat on every actual infinitesimal neighborhood. -/ |
| 25 | theorem productCover_infinitesimalFirstMap_flat (I : Ideal R) (n : ℕ) : |
| 26 | Flat (pullback.fst (t ≫ pullback.snd p q) (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ≫ |
| 27 | t ≫ pullback.fst p q) := by |
| 28 | have : Etale (CoverBaseChange.Construction.productCoverBaseChangeMap p q t (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)) := |
| 29 | CoverBaseChange.Construction.productCoverBaseChangeMap_etale p q t (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) |
| 30 | rw [← CoverBaseChange.Construction.productCoverBaseChangeMap_fst] |
| 31 | infer_instance |
| 32 | |
| 33 | /-- The modified family is flat over the literal coefficient base, even if the factor |
| 34 | modification itself is not flat. -/ |
| 35 | theorem productCover_factorModification_flat (c : D ⟶ A) : |
| 36 | Flat (pullback.snd c (t ≫ pullback.fst p q) ≫ (t ≫ pullback.snd p q)) := by |
| 37 | have : Etale (CoverFactorChange.Construction.productCoverFactorChangeMap p q t c) := CoverFactorChange.Construction.productCoverFactorChangeMap_etale p q t c |
| 38 | rw [← CoverFactorChange.Construction.productCoverFactorChangeMap_snd] |
| 39 | infer_instance |
| 40 | |
| 41 | variable (c : D ⟶ A) [IsProper c] |
| 42 | (hc : ∀ U : A.Opens, IsAffineOpen U → IsIso (c.app U)) |
| 43 | |
| 44 | include hc in |
| 45 | /-- Global sections of the actual modified cover agree with the original cover. -/ |
| 46 | theorem productCover_factorModification_appTop_isIso : |
| 47 | IsIso (pullback.snd c (t ≫ pullback.fst p q)).appTop := |
| 48 | StructureSheafBaseChange.Construction.proper_flat_pullback_app_isIso c (t ≫ pullback.fst p q) hc ⊤ |
| 49 | |
| 50 | include hc in |
| 51 | /-- At every infinitesimal level, the literal modification pullback map is an isomorphism on |
| 52 | actual global sections. -/ |
| 53 | theorem productCover_factorModification_infinitesimal_appTop_isIso (I : Ideal R) (n : ℕ) : |
| 54 | IsIso (ComparisonDescent.Construction.infinitesimalNeighborhoodMap I (t ≫ pullback.snd p q) |
| 55 | (pullback.snd c (t ≫ pullback.fst p q)) n).appTop := by |
| 56 | let f := t ≫ pullback.snd p q |
| 57 | let a := t ≫ pullback.fst p q |
| 58 | let g := pullback.snd c a |
| 59 | let a' := pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ≫ a |
| 60 | have : Flat a' := productCover_infinitesimalFirstMap_flat p q t I n |
| 61 | have H := (ComparisonDescent.Construction.infinitesimalNeighborhoodMap_isPullback I f g n).paste_vert |
| 62 | (IsPullback.of_hasPullback c a).flip |
| 63 | exact StructureSheafBaseChange.Construction.proper_flat_isPullback_appTop_isIso c a' hc H.flip |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Product.CoverModificationSections.Construction |