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.Conormal.AffineSpaceChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SectionChartConormal |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Section.AffineNeighborhoodInside |
| 4 | |
| 5 | /-! # Section Affine Space Charts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Global.SectionAffineSpaceCharts.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: affine-space bundle charts for the actual conormal of any smooth closed section -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | theorem globalSection_exists_affineSpaceChart {X Y : Scheme.{0}} (p : Y ⟶ X) [Smooth p] |
| 16 | (s : X ⟶ Y) [IsClosedImmersion s] (hs : s ≫ p = 𝟙 X) (z : s.ker.subscheme) : |
| 17 | ∃ (B : CommRingCat.{0}) (i : Spec B ⟶ s.ker.subscheme) (ι : Type) (_ : Finite ι) |
| 18 | (j : AffineSpace ι (Spec B) ⟶ Conormal.DiagramGluing.BundleCycles.globalConormalSpectrum s.ker), |
| 19 | IsOpenImmersion i ∧ IsOpenImmersion j ∧ z ∈ Set.range i ∧ |
| 20 | IsPullback (AffineSpace ι (Spec B) ↘ Spec B) j i (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) := by |
| 21 | obtain ⟨x, rfl⟩ := (Scheme.homeoOfIso (asIso s.toImage)).surjective z |
| 22 | obtain ⟨U, V, hU, hV, hx, hVU, hUV⟩ := Section.AffineNeighborhoodInside.BundleCycles.section_exists_affineNeighborhoods p s hs x |
| 23 | let W : Y.AffineZariskiSite := ⟨U, hU⟩ |
| 24 | obtain ⟨hfinite, hprojective⟩ := Affine.SectionChartConormal.BundleCycles.affineSectionChart_conormal_finite_projective p s hs U V hU hV hVU hUV |
| 25 | have hz : s.toImage x ∈ (Support.Projection.BundleCycles.supportCoefficientChart s.ker W).opensRange := by |
| 26 | rw [Support.Projection.BundleCycles.supportCoefficientChart_range] |
| 27 | have he : s.ker.subschemeι (s.toImage x) = s x := congrArg (fun f => f x) s.toImage_imageι |
| 28 | change s.ker.subschemeι (s.toImage x) ∈ U |
| 29 | rw [he] |
| 30 | exact hVU hx |
| 31 | obtain ⟨q, hq⟩ := hz |
| 32 | obtain ⟨B, i, ι, hι, j, hi, hj, hz', hsq⟩ := |
| 33 | @Conormal.AffineSpaceChart.BundleCycles.conormal_exists_affineSpaceChart Y s.ker W hprojective hfinite q |
| 34 | exact ⟨B, i, ι, hι, j, hi, hj, hq ▸ hz', hsq⟩ |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Global.SectionAffineSpaceCharts.BundleCycles |