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.Kernel.Scheme |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Splitting |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.EffectiveOverQuotient |
| 4 | |
| 5 | /-! # Preimage Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.PreimageQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting an actual quotient to the inverse image of a kernel is again that quotient's base change. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | |
| 21 | attribute [local instance] Kernel.Scheme.kernelGroup |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A B D : Over S} [GrpObj A] [GrpObj B] [GrpObj D] |
| 24 | (f : A ⟶ B) (m : B ⟶ D) [IsMonHom f] [IsMonHom m] |
| 25 | |
| 26 | /-- The quotient restricts to the genuine scheme-theoretic inverse image of the target kernel. -/ |
| 27 | def map : Kernel.Scheme.kernelObject (f ≫ m) ⟶ Kernel.Scheme.kernelObject m := |
| 28 | (Kernel.Scheme.kernelPointsEquiv m _).symm ⟨Kernel.Scheme.kernelInclusion (f ≫ m) ≫ f, by |
| 29 | change (Kernel.Scheme.kernelInclusion (f ≫ m) ≫ f) ≫ m = 1 |
| 30 | rw [Category.assoc, Kernel.Scheme.kernelInclusion_comp]⟩ |
| 31 | |
| 32 | /-- The restricted map retains the original included scheme point. -/ |
| 33 | theorem map_inclusion : map f m ≫ Kernel.Scheme.kernelInclusion m = Kernel.Scheme.kernelInclusion (f ≫ m) ≫ f := |
| 34 | pullback.lift_fst _ _ _ |
| 35 | |
| 36 | instance map_isMonHom : IsMonHom (map f m) := by |
| 37 | have : IsMonHom (map f m ≫ Kernel.Scheme.kernelInclusion m) := by rw [map_inclusion]; infer_instance |
| 38 | exact Splitting.isMonHom_of_mono_postcomp _ (Kernel.Scheme.kernelInclusion m) |
| 39 | |
| 40 | /-- Its defining square is an actual pullback in the category of schemes over the base. -/ |
| 41 | theorem isPullback : IsPullback (Kernel.Scheme.kernelInclusion (f ≫ m)) (map f m) f (Kernel.Scheme.kernelInclusion m) := by |
| 42 | have ht : map f m ≫ pullback.snd m η[D] = pullback.snd (f ≫ m) η[D] := Subsingleton.elim _ _ |
| 43 | have ho : IsPullback (Kernel.Scheme.kernelInclusion (f ≫ m)) (map f m ≫ pullback.snd m η[D]) (f ≫ m) η[D] := by |
| 44 | rw [ht] |
| 45 | exact IsPullback.of_hasPullback (f ≫ m) η[D] |
| 46 | exact ho.of_bot (map_inclusion f m).symm (IsPullback.of_hasPullback m η[D]) |
| 47 | |
| 48 | /-- Forgetting to schemes preserves the quotient's kernel pullback square. -/ |
| 49 | theorem underlying_isPullback : |
| 50 | IsPullback (Kernel.Scheme.kernelInclusion (f ≫ m)).left (map f m).left f.left (Kernel.Scheme.kernelInclusion m).left := |
| 51 | (Over.forget S).map_isPullback (isPullback f m) |
| 52 | |
| 53 | /-- Finite flat surjectivity of the quotient is retained on the full inverse-image kernel. -/ |
| 54 | theorem finite_flat_surjective [IsFinite f.left] [Flat f.left] [Surjective f.left] : |
| 55 | IsFinite (map f m).left ∧ Flat (map f m).left ∧ Surjective (map f m).left := |
| 56 | ⟨MorphismProperty.of_isPullback (P := @IsFinite) (underlying_isPullback f m) inferInstance, |
| 57 | MorphismProperty.of_isPullback (P := @Flat) (underlying_isPullback f m) inferInstance, |
| 58 | MorphismProperty.of_isPullback (P := @Surjective) (underlying_isPullback f m) inferInstance⟩ |
| 59 | |
| 60 | /-- The restricted kernel morphism is an effective epimorphism, including for nonreduced kernels. -/ |
| 61 | theorem effectiveEpi [IsFinite f.left] [Flat f.left] [Surjective f.left] : EffectiveEpi (map f m) := by |
| 62 | obtain ⟨hf, hflat, hs⟩ := finite_flat_surjective f m |
| 63 | exact EffectiveOverQuotient.affine_effective (map f m) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.PreimageQuotient |