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.AbelianModuli.HilbertConstruction.MonoStalkSections |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeFrameClassification |
| 3 | |
| 4 | /-! # Stalk Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.StalkFrames.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual frames over every base local ring glue to a global normalized |
| 11 | frame on a smooth projective connected family. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonoStalkSections |
| 18 | |
| 19 | variable {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] |
| 20 | [IsNoetherianRing Γ(S, ⊤)] |
| 21 | {X : Over S} [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 22 | (P : ProjectivePresentations.ProjectivePresentation X) |
| 23 | (s : S ⟶ X.left) (hs : s ≫ X.hom = 𝟙 S) (L : Line.Bundles.LineBundle X.left) |
| 24 | (r : (Scheme.Modules.pullback s).obj L.sheaf ≅ Line.Bundles.structureModule S) |
| 25 | |
| 26 | include P s hs r in |
| 27 | theorem projective_line_trivial_of_stalk_frames |
| 28 | (hL : ∀ x : S, Nonempty ((L.pullback |
| 29 | (pullback.fst X.hom (S.fromSpecStalk x))).sheaf ≅ |
| 30 | Line.Bundles.structureModule (pullback X.hom (S.fromSpecStalk x)))) : |
| 31 | Nonempty (L.sheaf ≅ Line.Bundles.structureModule X.left) := by |
| 32 | let D := FormalGeometry.Completion.Projective.LineBundleSectionScheme.Construction.projectiveLineBundleSectionModel X P L |
| 33 | let : Mono (D.rigidifiedFrameScheme s hs r).hom := |
| 34 | Picard.ThetaConstruction.RelativeFrameRigidity.Geometric.relativeProjective_rigidifiedFrame_mono P s hs D r |
| 35 | let : IsIso (D.rigidifiedFrameScheme s hs r).hom := |
| 36 | MonoStalkSections.mono_isIso_of_stalk_sections _ (by |
| 37 | intro x |
| 38 | obtain ⟨e⟩ := hL x |
| 39 | obtain ⟨v⟩ := Picard.ThetaConstruction.RelativeFrameClassification.Geometric.relativeProjective_rigidifiedFrame_hasPoint_of_trivialization P s hs D r |
| 40 | (pullback.fst X.hom (S.fromSpecStalk x)) |
| 41 | (pullback.snd X.hom (S.fromSpecStalk x)) (S.fromSpecStalk x) |
| 42 | (IsPullback.of_hasPullback X.hom (S.fromSpecStalk x)) e.symm |
| 43 | exact ⟨v.left, v.w⟩) |
| 44 | let v : Over.mk (𝟙 S) ⟶ D.rigidifiedFrameScheme s hs r := |
| 45 | Over.homMk (inv (D.rigidifiedFrameScheme s hs r).hom) (IsIso.inv_hom_id _) |
| 46 | have hc := (Picard.ThetaConstruction.RelativeFrameClassification.Geometric.relativeProjective_rigidifiedFrame_hasPoint_iff_trivialClass P s hs D r |
| 47 | (𝟙 X.left) X.hom (𝟙 S) IsPullback.of_id_fst).mp ⟨v⟩ |
| 48 | rw [Line.Bundles.LineBundle.pullbackClass_id] at hc |
| 49 | exact Quotient.exact hc |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.StalkFrames.Theta.Geometric |