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.RelativeProjectiveEquations |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeFrameClassification |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Reduced Local Fiber Triviality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReducedLocalFiberTriviality.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a reduced local base, an actual normalized line on a smooth |
| 12 | projective connected family is trivial if its residue-field fibers are |
| 13 | trivial. The proved frame-equation factory makes the frame projection |
| 14 | a closed immersion; fiber frames make it surjective. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] [IsNoetherianRing Γ(S, ⊤)] |
| 20 | [IsLocallyNoetherian S] [IsReduced S] |
| 21 | {X : Over S} [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 22 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) (s : S ⟶ X.left) (hs : s ≫ X.hom = 𝟙 S) |
| 23 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 24 | (r : (Scheme.Modules.pullback s).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule S) |
| 25 | (hL : ∀ y : S, Nonempty ((Scheme.Modules.pullback (X.hom.fiberι y)).obj L.sheaf ≅ |
| 26 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (X.hom.fiber y))) |
| 27 | |
| 28 | include P hL s hs r in |
| 29 | theorem reducedLocal_rigidifiedFrame_isIso |
| 30 | (D : FormalGeometry.Completion.Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation X.hom L.sheaf) : |
| 31 | IsIso (D.rigidifiedFrameScheme s hs r).hom := by |
| 32 | obtain ⟨e₀⟩ := hL (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint S) |
| 33 | obtain ⟨n, v, _hn, _hv, ⟨e⟩⟩ := |
| 34 | RelativeProjectiveEquations.Geometric.exists_relativeProjective_frame_equations X.hom P s hs L r e₀ D |
| 35 | let : IsIso e.hom.left := (Over.forget _).map_isIso e.hom |
| 36 | let : IsClosedImmersion (D.rigidifiedFrameScheme s hs r).hom := by |
| 37 | rw [← e.hom.w] |
| 38 | infer_instance |
| 39 | let : Surjective (D.rigidifiedFrameScheme s hs r).hom := by |
| 40 | constructor |
| 41 | intro y |
| 42 | obtain ⟨ey⟩ := hL y |
| 43 | obtain ⟨q⟩ := RelativeFrameClassification.Geometric.relativeProjective_rigidifiedFrame_hasPoint_of_trivialization P s hs D r |
| 44 | (X.hom.fiberι y) (X.hom.fiberToSpecResidueField y) (S.fromSpecResidueField y) |
| 45 | (IsPullback.of_hasPullback X.hom (S.fromSpecResidueField y)) ey.symm |
| 46 | refine ⟨q.left (default : Spec (S.residueField y)), ?_⟩ |
| 47 | have hw := congrArg (fun f : Spec (S.residueField y) ⟶ S => f default) q.w |
| 48 | exact hw.trans (Scheme.fromSpecResidueField_apply y default) |
| 49 | exact isIso_of_isClosedImmersion_of_surjective _ |
| 50 | |
| 51 | include P hL s hs r in |
| 52 | theorem reducedLocal_line_trivial : Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) := by |
| 53 | let D := FormalGeometry.Completion.Projective.LineBundleSectionScheme.Construction.projectiveLineBundleSectionModel X P L |
| 54 | let := reducedLocal_rigidifiedFrame_isIso P s hs L r hL D |
| 55 | let q : Over.mk (𝟙 S) ⟶ D.rigidifiedFrameScheme s hs r := |
| 56 | Over.homMk (inv (D.rigidifiedFrameScheme s hs r).hom) (IsIso.inv_hom_id _) |
| 57 | have hp : IsPullback (𝟙 X.left) X.hom X.hom (𝟙 S) := IsPullback.of_id_fst |
| 58 | have hc := (RelativeFrameClassification.Geometric.relativeProjective_rigidifiedFrame_hasPoint_iff_trivialClass P s hs D r |
| 59 | (𝟙 X.left) X.hom (𝟙 S) hp).mp ⟨q⟩ |
| 60 | rw [AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] at hc |
| 61 | exact Quotient.exact hc |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReducedLocalFiberTriviality.Geometric |