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.ThetaConstruction.FiberSectionSpecialization |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReducedLocalFiberTriviality |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionPair |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothGeometricIntegrality |
| 5 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.SchemeGroup |
| 6 | |
| 7 | /-! # Generic Fiber Line Triviality -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.GenericFiberLineTriviality.Geometric |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Triviality of a line on a smooth proper geometrically connected |
| 14 | fiber persists under specialization: both it and its inverse retain |
| 15 | nonzero sections. A normalized generically trivial line over an |
| 16 | integral local base is consequently trivial on the whole family. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.SchemeGroup.Construction OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionPair.Construction.SectionPairTriviality |
| 21 | |
| 22 | universe u |
| 23 | variable {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 24 | (f : X ⟶ S) [IsProper f] [Smooth f] [GeometricallyConnected f] |
| 25 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 26 | |
| 27 | theorem fiberLine_trivial_specializes {x y : S} (hxy : x ⤳ y) |
| 28 | (hx : Nonempty ((L.pullback (f.fiberι x)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (f.fiber x))) : |
| 29 | Nonempty ((L.pullback (f.fiberι y)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (f.fiber y)) := by |
| 30 | let M := Homomorphisms.LineBundleDual.Construction.lineBundleDual L |
| 31 | have hpair (z : S) : Nonempty |
| 32 | (((L.pullback (f.fiberι z)).tensor (M.pullback (f.fiberι z))).sheaf ≅ |
| 33 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (f.fiber z)) := by |
| 34 | exact ⟨(AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso (f.fiberι z) L M).symm ≪≫ |
| 35 | (Scheme.Modules.pullback (f.fiberι z)).mapIso |
| 36 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso L.sheaf M.sheaf ≪≫ Homomorphisms.LineBundleEvaluation.Construction.lineBundleEvaluationIso L) ≪≫ |
| 37 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (f.fiberι z)⟩ |
| 38 | let (z : S) : IsProper (f.fiberToSpecResidueField z) := |
| 39 | inferInstanceAs (IsProper (CategoryTheory.Limits.pullback.snd f (S.fromSpecResidueField z))) |
| 40 | let (z : S) : Smooth (f.fiberToSpecResidueField z) := |
| 41 | inferInstanceAs (Smooth (CategoryTheory.Limits.pullback.snd f (S.fromSpecResidueField z))) |
| 42 | let (z : S) : GeometricallyConnected (f.fiberToSpecResidueField z) := |
| 43 | inferInstanceAs (GeometricallyConnected (CategoryTheory.Limits.pullback.snd f (S.fromSpecResidueField z))) |
| 44 | let hproperX : IsProper (Over.mk (f.fiberToSpecResidueField x)).hom := |
| 45 | inferInstanceAs (IsProper (CategoryTheory.Limits.pullback.snd f (S.fromSpecResidueField x))) |
| 46 | let hproperY : IsProper (Over.mk (f.fiberToSpecResidueField y)).hom := |
| 47 | inferInstanceAs (IsProper (CategoryTheory.Limits.pullback.snd f (S.fromSpecResidueField y))) |
| 48 | have (z : S) : GeometricallyIntegral (f.fiberToSpecResidueField z) := |
| 49 | FormalGeometry.Completion.SmoothGeometricIntegrality.Construction.proper_smooth_geometricallyIntegral_of_geometricallyConnected _ |
| 50 | have hIntegral (z : S) : IsIntegral (f.fiber z) := |
| 51 | GeometricallyIntegral.isIntegral_of_subsingleton (f.fiberToSpecResidueField z) |
| 52 | have hp := (@Quotients.FiniteDescent.SectionPair.Construction.SectionPairTriviality.pair_iff (S.residueField x) _ (Over.mk (f.fiberToSpecResidueField x)) |
| 53 | hproperX (hIntegral x) |
| 54 | (L.pullback (f.fiberι x)) (M.pullback (f.fiberι x)) (Classical.choice (hpair x))).mp hx |
| 55 | have hsectionsL := FiberSectionSpecialization.Geometric.fiberSections_nontrivial_specializes f L hxy hp.1 |
| 56 | have hsectionsM := FiberSectionSpecialization.Geometric.fiberSections_nontrivial_specializes f M hxy hp.2 |
| 57 | exact @Quotients.FiniteDescent.SectionPair.Construction.SectionPairTriviality.trivial_of_sections (S.residueField y) _ (Over.mk (f.fiberToSpecResidueField y)) |
| 58 | hproperY (hIntegral y) (L.pullback (f.fiberι y)) (M.pullback (f.fiberι y)) |
| 59 | (Classical.choice (hpair y)) hsectionsL hsectionsM |
| 60 | |
| 61 | theorem genericFiber_line_trivial [IsLocalRing Γ(S, ⊤)] [IsLocallyNoetherian S] |
| 62 | [IsReduced S] [IrreducibleSpace S] |
| 63 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk f)) (s : S ⟶ X) (hs : s ≫ f = 𝟙 S) |
| 64 | (r : (Scheme.Modules.pullback s).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule S) |
| 65 | (hη : Nonempty ((L.pullback (f.fiberι (genericPoint S))).sheaf ≅ |
| 66 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (f.fiber (genericPoint S)))) : |
| 67 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := by |
| 68 | let : IsProper (Over.mk f).hom := inferInstanceAs (IsProper f) |
| 69 | let : Smooth (Over.mk f).hom := inferInstanceAs (Smooth f) |
| 70 | let : GeometricallyConnected (Over.mk f).hom := inferInstanceAs (GeometricallyConnected f) |
| 71 | apply ReducedLocalFiberTriviality.Geometric.reducedLocal_line_trivial P s hs L r |
| 72 | intro y |
| 73 | exact fiberLine_trivial_specializes f L (genericPoint_specializes y) hη |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.GenericFiberLineTriviality.Geometric |