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.Infinitesimal.Neighborhoods |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.QuotientPushout |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | |
| 5 | /-! # Infinitesimal Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.InfinitesimalSections.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual sections on affine charts of the infinitesimal neighborhoods are |
| 12 | the quotients of the original chart rings by the extended ideal powers. -/ |
| 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 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 23 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) |
| 24 | |
| 25 | /-- The literal base-ring map on an open chart. -/ |
| 26 | def baseOpenSectionsMap (U : X.Opens) : R →+* Γ(X, U) := |
| 27 | ((Scheme.ΓSpecIso (.of R)).inv ≫ f.appLE ⊤ U (by simp)).hom |
| 28 | |
| 29 | /-- The base quotient acts on sections of the actual infinitesimal chart. -/ |
| 30 | def infinitesimalOpenBaseSectionsMap (n : ℕ) (U : X.Opens) : |
| 31 | CommRingCat.of (R ⧸ I ^ (n + 1)) ⟶ |
| 32 | Γ(Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood I f n, pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U) := |
| 33 | (Scheme.ΓSpecIso (.of (R ⧸ I ^ (n + 1)))).inv ≫ |
| 34 | (pullback.snd f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)).appLE ⊤ _ (by simp) |
| 35 | |
| 36 | /-- Affine chart base change gives the actual quotient pushout square. -/ |
| 37 | theorem affineInfinitesimalSections_isPushout (n : ℕ) (U : X.Opens) (hU : IsAffineOpen U) : |
| 38 | IsPushout (CommRingCat.ofHom (baseOpenSectionsMap f U)) |
| 39 | (CommRingCat.ofHom (Ideal.Quotient.mk (I ^ (n + 1)))) |
| 40 | ((pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)).app U) |
| 41 | (infinitesimalOpenBaseSectionsMap I f n U) := by |
| 42 | have : IsAffine (Infinitesimal.Neighborhoods.Construction.infinitesimalBase I n) := inferInstanceAs (IsAffine (Spec _)) |
| 43 | have hs := isIso_pushoutSection_of_isAffineOpen |
| 44 | (IsPullback.of_hasPullback f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)) |
| 45 | (US := ⊤) (UT := ⊤) (UX := U) |
| 46 | (UY := pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U) |
| 47 | (by simp) (by simp) (by simp) (isAffineOpen_top _) (isAffineOpen_top _) hU |
| 48 | have hp := (isIso_pushoutSection_iff |
| 49 | (IsPullback.of_hasPullback f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)) |
| 50 | (US := ⊤) (UT := ⊤) (UX := U) |
| 51 | (UY := pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U) |
| 52 | (by simp) (by simp) (by simp)).mp hs |
| 53 | apply hp.of_iso (Scheme.ΓSpecIso (.of R)) (Iso.refl _) |
| 54 | (Scheme.ΓSpecIso (.of (R ⧸ I ^ (n + 1)))) (Iso.refl _) |
| 55 | · simp [baseOpenSectionsMap] |
| 56 | · change (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n).appTop ≫ (Scheme.ΓSpecIso _).hom = |
| 57 | (Scheme.ΓSpecIso _).hom ≫ CommRingCat.ofHom (Ideal.Quotient.mk (I ^ (n + 1))) |
| 58 | exact Scheme.ΓSpecIso_naturality _ |
| 59 | · simp [Scheme.Hom.app_eq_appLE] |
| 60 | · simp [infinitesimalOpenBaseSectionsMap] |
| 61 | |
| 62 | /-- The quotient of the actual chart ring is its actual infinitesimal section ring. -/ |
| 63 | def affineInfinitesimalSectionsIso (n : ℕ) (U : X.Opens) (hU : IsAffineOpen U) : |
| 64 | CommRingCat.of (Γ(X, U) ⧸ (I ^ (n + 1)).map (baseOpenSectionsMap f U)) ≅ |
| 65 | Γ(Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood I f n, pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U) := |
| 66 | QuotientPushout.Construction.quotientPushoutIso (baseOpenSectionsMap f U) (I ^ (n + 1)) |
| 67 | (affineInfinitesimalSections_isPushout I f n U hU) |
| 68 | |
| 69 | theorem affineInfinitesimalSectionsIso_mk (n : ℕ) (U : X.Opens) (hU : IsAffineOpen U) |
| 70 | (s : Γ(X, U)) : |
| 71 | (affineInfinitesimalSectionsIso I f n U hU).hom |
| 72 | (Ideal.Quotient.mk ((I ^ (n + 1)).map (baseOpenSectionsMap f U)) s) = |
| 73 | (pullback.fst f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n)).app U s := |
| 74 | QuotientPushout.Construction.quotientPushoutIso_mk _ _ _ _ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.InfinitesimalSections.Construction |