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.Picard.PoincareBundle.Affine.Classification |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Comparison |
| 3 | import Mathlib.RingTheory.PicardGroup |
| 4 | |
| 5 | /-! # Line Bundle Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.LineBundleFrames |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Line bundles on an affine scheme with trivial ring Picard group |
| 12 | have actual global frames. In particular this applies to polynomial charts |
| 13 | over a field, since their coordinate rings are unique factorization domains. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {R : CommRingCat.{u}} [Subsingleton (CommRing.Pic R)] |
| 19 | |
| 20 | def affineLineBundleFrame (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (Spec R)) : |
| 21 | L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Spec R) := by |
| 22 | let L' := Picard.PoincareBundle.Line.Comparison.Bundle.fromShared L |
| 23 | let M := (moduleSpecΓFunctor (R := R)).obj L'.sheaf |
| 24 | let : Module.Invertible R M := Picard.PoincareBundle.Affine.Classification.globalSections_invertible L' |
| 25 | let : Module.Free R M := inferInstance |
| 26 | let e : M ≃ₗ[R] R := (Module.Invertible.free_iff_linearEquiv.mp inferInstance).some |
| 27 | exact (Picard.PoincareBundle.QuasiCoherent.affineTildeIso L').symm ≪≫ |
| 28 | (tilde.functor R).mapIso e.toModuleIso ≪≫ tildeSelf |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.LineBundleFrames |