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.Divisors.LineBundles.Affine.SectionChartCone |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Section.QuotientProjective |
| 3 | |
| 4 | /-! # Section Chart Conormal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SectionChartConormal.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: finite projective conormals on actual affine smooth-section charts -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | theorem AffineSchemeSection.conormal_finite_projective {X Y : Scheme.{0}} |
| 15 | [IsAffine X] [IsAffine Y] (p : Y ⟶ X) [Smooth p] |
| 16 | (s : X ⟶ Y) (hs : s ≫ p = 𝟙 X) : |
| 17 | Module.Finite (Γ(Y, ⊤) ⧸ RingHom.ker s.appTop.hom) (RingHom.ker s.appTop.hom).Cotangent ∧ |
| 18 | Module.Projective (Γ(Y, ⊤) ⧸ RingHom.ker s.appTop.hom) (RingHom.ker s.appTop.hom).Cotangent := by |
| 19 | let := SchemeSection.BundleCycles.AffineSchemeSection.baseAlgebra p |
| 20 | let := SchemeSection.BundleCycles.AffineSchemeSection.quotientAlgebra s |
| 21 | let := SchemeSection.BundleCycles.AffineSchemeSection.scalarTower p s hs |
| 22 | let := SchemeSection.BundleCycles.AffineSchemeSection.sectionRing_smooth p |
| 23 | exact ⟨Section.QuotientProjective.BundleCycles.sectionQuotientConormal_finite Γ(X, ⊤) Γ(Y, ⊤), |
| 24 | Section.QuotientProjective.BundleCycles.sectionQuotientConormal_projective Γ(X, ⊤) Γ(Y, ⊤)⟩ |
| 25 | |
| 26 | theorem affineSectionChart_conormal_finite_projective {X Y : Scheme.{0}} (p : Y ⟶ X) [Smooth p] |
| 27 | (s : X ⟶ Y) [IsClosedImmersion s] (hs : s ≫ p = 𝟙 X) |
| 28 | (U : Y.Opens) (V : X.Opens) (hUaff : IsAffineOpen U) (hVaff : IsAffineOpen V) |
| 29 | (hV : V ≤ s ⁻¹ᵁ U) (hU : U ≤ p ⁻¹ᵁ V) : |
| 30 | Module.Finite (Γ(Y, U) ⧸ s.ker.ideal ⟨U, hUaff⟩) (s.ker.ideal ⟨U, hUaff⟩).Cotangent ∧ |
| 31 | Module.Projective (Γ(Y, U) ⧸ s.ker.ideal ⟨U, hUaff⟩) (s.ker.ideal ⟨U, hUaff⟩).Cotangent := by |
| 32 | have : IsAffine U.toScheme := hUaff |
| 33 | have : IsAffine V.toScheme := hVaff |
| 34 | let q := Section.OpenRestriction.BundleCycles.sectionOpenProjection p U V hU |
| 35 | let t := Section.OpenRestriction.BundleCycles.sectionOpenMap s U V hV |
| 36 | have ht : t ≫ q = 𝟙 V.toScheme := Section.OpenRestriction.BundleCycles.sectionOpen_retraction p s hs U V hV hU |
| 37 | have h := AffineSchemeSection.conormal_finite_projective q t ht |
| 38 | have he : s ⁻¹ᵁ U = V := Section.OpenRestriction.BundleCycles.sectionOpen_preimage p s hs U V hV hU |
| 39 | have : IsIso (X.homOfLE hV) := by |
| 40 | change IsIso (X.isoOfEq he.symm).hom |
| 41 | infer_instance |
| 42 | let W : U.toScheme.affineOpens := ⟨⊤, isAffineOpen_top U.toScheme⟩ |
| 43 | let W' : Y.affineOpens := ⟨U.ι ''ᵁ W.1, W.2.image_of_isOpenImmersion U.ι⟩ |
| 44 | have hker : RingHom.ker t.appTop.hom = s.ker.ideal W' := by |
| 45 | have h₁ : RingHom.ker t.appTop.hom = t.ker.ideal W := (Scheme.Hom.ker_apply t W).symm |
| 46 | have h₂ : t.ker.ideal W = (morphismRestrict s U).ker.ideal W := |
| 47 | congrArg (fun K : U.toScheme.IdealSheafData => K.ideal W) |
| 48 | (Scheme.Hom.ker_comp_of_isIso (X.homOfLE hV) (morphismRestrict s U)) |
| 49 | have h₃ : (morphismRestrict s U).ker.ideal W = s.ker.ideal W' := Scheme.ker_morphismRestrict_ideal s U W |
| 50 | exact h₁.trans (h₂.trans h₃) |
| 51 | have hW : Module.Finite (Γ(Y, W'.1) ⧸ s.ker.ideal W') (s.ker.ideal W').Cotangent ∧ |
| 52 | Module.Projective (Γ(Y, W'.1) ⧸ s.ker.ideal W') (s.ker.ideal W').Cotangent := hker ▸ h |
| 53 | have hW' : W' = ⟨U, hUaff⟩ := Subtype.ext U.ι_image_top |
| 54 | exact (congrArg (fun Z : Y.affineOpens => |
| 55 | Module.Finite (Γ(Y, Z.1) ⧸ s.ker.ideal Z) (s.ker.ideal Z).Cotangent ∧ |
| 56 | Module.Projective (Γ(Y, Z.1) ⧸ s.ker.ideal Z) (s.ker.ideal Z).Cotangent) hW') ▸ hW |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SectionChartConormal.BundleCycles |