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.AffinePrincipal.Diagram |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover |
| 3 | |
| 4 | /-! # Support Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.SupportCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equations for an actual section ideal give the punctured cover |
| 11 | on the principal coefficient category, also after pullback. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u v |
| 16 | variable (X : Scheme.{u}) (U : X.Opens) (hU : IsAffineOpen U) |
| 17 | |
| 18 | include hU in |
| 19 | theorem terminal : |
| 20 | X.basicOpen ((⊤_ (AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X, U))).val) = U := by |
| 21 | apply le_antisymm (X.basicOpen_le _) |
| 22 | have h := Diagram.monotone X U hU |
| 23 | (leOfHom (Limits.terminal.from (show AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X, U) from ⟨1⟩))) |
| 24 | change X.basicOpen (1 : Γ(X, U)) ≤ |
| 25 | X.basicOpen ((⊤_ (AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X, U))).val) at h |
| 26 | simpa only [Scheme.basicOpen_one] using h |
| 27 | |
| 28 | variable (Y : Scheme.{u}) (f : Y ⟶ X) |
| 29 | |
| 30 | def opens : AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X, U) ⥤ Y.Opens where |
| 31 | obj r := f ⁻¹ᵁ (X.basicOpen r.val) |
| 32 | map h := homOfLE (fun _ hx => Diagram.monotone X U hU (leOfHom h) hx) |
| 33 | |
| 34 | theorem opens_terminal : (opens X U hU Y f).obj (⊤_ _) = f ⁻¹ᵁ U := by |
| 35 | change f ⁻¹ᵁ (X.basicOpen ((⊤_ (AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X, U))).val)) = _ |
| 36 | rw [SupportCover.terminal X U hU] |
| 37 | |
| 38 | variable (I : X.IdealSheafData) {ι : Type v} |
| 39 | (a : ι → Γ(X, U)) (ha : Ideal.span (Set.range a) = I.ideal ⟨U, hU⟩) |
| 40 | |
| 41 | def family : ULift ι → AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Γ(X, U) := fun i => ⟨a i.down⟩ |
| 42 | |
| 43 | def outside : Y.Opens := f ⁻¹ᵁ (SectionIdealPuncturedCover.outside I) |
| 44 | |
| 45 | include ha in |
| 46 | theorem below (i : ULift ι) : (opens X U hU Y f).obj (family X U a i) ≤ outside X Y f I := by |
| 47 | intro y hy |
| 48 | exact SectionIdealPuncturedCover.basicOpen_le I U hU a ha i.down hy |
| 49 | |
| 50 | include ha in |
| 51 | theorem cover : (opens X U hU Y f).obj (⊤_ _) ⊓ outside X Y f I ≤ |
| 52 | ⨆ i, (opens X U hU Y f).obj (family X U a i) := by |
| 53 | rw [opens_terminal] |
| 54 | intro y hy |
| 55 | have h : f y ∈ U ⊓ SectionIdealPuncturedCover.outside I := hy |
| 56 | rw [SectionIdealPuncturedCover.cover I U hU a ha] at h |
| 57 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp h |
| 58 | exact Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 59 | |
| 60 | theorem global (h : U ⊔ SectionIdealPuncturedCover.outside I = ⊤) : |
| 61 | (opens X U hU Y f).obj (⊤_ _) ⊔ outside X Y f I = ⊤ := by |
| 62 | rw [opens_terminal] |
| 63 | apply top_unique |
| 64 | intro y _ |
| 65 | have hy : f y ∈ U ⊔ SectionIdealPuncturedCover.outside I := by |
| 66 | rw [h] |
| 67 | trivial |
| 68 | exact hy |
| 69 | |
| 70 | variable {T : Scheme.{u}} (s : T ⟶ X) [IsClosedImmersion s] |
| 71 | |
| 72 | theorem section_global (hs : ⊤ ≤ s ⁻¹ᵁ U) : |
| 73 | (opens X U hU Y f).obj (⊤_ _) ⊔ outside X Y f s.ker = ⊤ := |
| 74 | global X U hU Y f s.ker (SectionIdealPuncturedCover.section_global U s hs) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.SupportCover |