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.Quotients.FiniteDescent.Ample |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AmplePullbackIs |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineTrivializationOf |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GeometricPointsOf |
| 5 | |
| 6 | /-! # Proper Ample -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperAmple.Construction.ProperAmplePullback |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A proper morphism with an ample pulled-back line bundle is finite. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem isFinite {X Y : Scheme.{u}} (f : X ⟶ Y) [IsProper f] |
| 19 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (hL : (L.pullback f).IsAmple) : IsFinite f := by |
| 20 | have : LocallyQuasiFinite f := by |
| 21 | apply GeometricPointsOf.Construction.GeometricPoints.locallyQuasiFinite_of_finite_geometric_points |
| 22 | intro K hK hclosed a |
| 23 | let P : Over (Spec (.of K)) := Over.mk (pullback.snd f a) |
| 24 | let q : P.left ⟶ X := pullback.fst f a |
| 25 | have : IsProper P.hom := by dsimp [P]; infer_instance |
| 26 | have : IsAffineHom a := LineTrivializationOf.Construction.LineTrivialization.isAffineHom_from_field a |
| 27 | have : IsAffineHom q := MorphismProperty.of_isPullback |
| 28 | (IsPullback.of_hasPullback f a).flip (inferInstance : IsAffineHom a) |
| 29 | obtain ⟨e⟩ := LineTrivializationOf.Construction.LineTrivialization.pullback_trivial_over_field a L |
| 30 | let eP : ((L.pullback f).pullback q).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule P.left := |
| 31 | (Scheme.Modules.pullbackComp q f).app L.sheaf ≪≫ |
| 32 | (Scheme.Modules.pullbackCongr (pullback.condition (f := f) (g := a))).app L.sheaf ≪≫ |
| 33 | (Scheme.Modules.pullbackComp P.hom a).symm.app L.sheaf ≪≫ |
| 34 | (Scheme.Modules.pullback P.hom).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso P.hom |
| 35 | have : IsFinite P.hom := Ample.Construction.AmpleFinite.of_trivial P ((L.pullback f).pullback q) |
| 36 | (AmplePullbackIs.Construction.AmplePullback.isAmple q (L.pullback f) hL) eP |
| 37 | have hf := P.hom.finite_preimage (Set.toFinite (Set.univ : Set (Spec (.of K)))) |
| 38 | have : Finite P.left := Set.finite_univ_iff.mp (by |
| 39 | simpa only [Set.preimage_univ] using hf) |
| 40 | have : Finite {p : Spec (.of K) ⟶ P.left // p ≫ P.hom = 𝟙 _} := |
| 41 | Finite.of_equiv _ (pointEquivClosedPoint P.hom).symm |
| 42 | let ep : (Over.mk a ⟶ Over.mk f) ≃ |
| 43 | {p : Spec (.of K) ⟶ P.left // p ≫ P.hom = 𝟙 _} := |
| 44 | PowerOrbitEq.Construction.PowerOrbit.fieldPointPullbackEquiv (Over.mk f) a |
| 45 | exact Finite.of_equiv _ ep.symm |
| 46 | exact AlgebraicGeometry.IsFinite.of_isProper_of_locallyQuasiFinite f |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperAmple.Construction.ProperAmplePullback |