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.AbelianScheme.IsogenyQuotient.RelativePicard.SourceCartierIso |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RelativePicard.ImageSheafIso |
| 3 | |
| 4 | /-! # Image From Geometric -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RelativePicard.ImageFromGeometric.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometric Picard-image surjectivity, the actual finite-flat source |
| 11 | map, and the relative Cartier kernel theorem imply full relative |
| 12 | Picard representability on every parameter scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} {A B Q : Over S} [GrpObj A] [GrpObj B] [GrpObj Q] [IsCommMonObj Q] |
| 19 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 20 | [IsProper B.hom] [Smooth B.hom] [GeometricallyConnected B.hom] |
| 21 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) (f : A ⟶ B) [IsMonHom f] |
| 22 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 23 | (C : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 24 | (i : uliftYoneda.{u + 1}.obj Q ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj) [Mono i] |
| 25 | (F : ∀ T : Over S, (T ⟶ Q) →* (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj.obj (op T)) |
| 26 | (hF : ∀ (T : Over S) (x : T ⟶ Q), F T x = i.app (op T) (ULift.up x)) |
| 27 | [IsFinite (PicardImage.SourceMap.Construction.picardImageSourceMap D f i).left] [Flat (PicardImage.SourceMap.Construction.picardImageSourceMap D f i).left] |
| 28 | [Surjective (PicardImage.SourceMap.Construction.picardImageSourceMap D f i).left] |
| 29 | [LocallyOfFinitePresentation (PicardImage.SourceMap.Construction.picardImageSourceMap D f i).left] |
| 30 | (hgeo : ∀ (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S), |
| 31 | Function.Surjective (i.app (op (Over.mk s)))) |
| 32 | |
| 33 | include D C F hF hgeo in |
| 34 | theorem relativePicardImage_isIso_of_geometric_sections |
| 35 | {k : Type u} [Field k] [CharZero k] (p : S ⟶ Spec (.of k)) |
| 36 | (n : ℕ) (hn : 0 < n) (hk : ∀ (U : Over S) (x : U ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), x ^ n = 1) : IsIso i := by |
| 37 | obtain ⟨c, hc, hv⟩ := SourceCartierIso.Construction.relativePicardImageSourceKernel_cartier_iso D f C i hgeo p n hn hk |
| 38 | have : IsIso c := hc |
| 39 | exact ImageSheafIso.Construction.relativePicardImage_isIso_of_character_iso D f C i F hF |
| 40 | (Picard.Homomorphisms.Kernel.Construction.kernelInclusion (PicardImage.SourceMap.Construction.picardImageSourceMap D f i)) c hv p n hn hk |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RelativePicard.ImageFromGeometric.Construction |