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.RelativeFrameClassification |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.SpecLocalRings |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FlatMono |
| 4 | |
| 5 | /-! # Field Frame Reflection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldFrameReflection.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A normalized projective line over a field is trivial whenever it |
| 12 | has a frame after a nonempty base change. The actual frame functor is |
| 13 | monomorphic, and its nonempty scheme is faithfully flat over the field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 19 | [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 20 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) (s : Spec (.of K) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 21 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 22 | (r : (Scheme.Modules.pullback s).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Spec (.of K))) |
| 23 | |
| 24 | local instance : IsNoetherianRing Γ(Spec (.of K), ⊤) := RepresentationTheory.Theta.Geometric.SpecLocalRings.specGlobal_isNoetherianRing K |
| 25 | |
| 26 | include P in |
| 27 | theorem field_rigidifiedFrame_isIso_of_nonempty |
| 28 | (D : FormalGeometry.Completion.Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation X.hom L.sheaf) |
| 29 | [Nonempty (D.rigidifiedFrameScheme s hs r).left] : |
| 30 | IsIso (D.rigidifiedFrameScheme s hs r).hom := by |
| 31 | let : Mono (D.rigidifiedFrameScheme s hs r).hom := |
| 32 | RelativeFrameRigidity.Geometric.relativeProjective_rigidifiedFrame_mono P s hs D r |
| 33 | let : Surjective (D.rigidifiedFrameScheme s hs r).hom := by |
| 34 | constructor |
| 35 | intro y |
| 36 | exact ⟨Classical.arbitrary _, Subsingleton.elim _ y⟩ |
| 37 | exact Flat.isIso_of_surjective_of_mono _ |
| 38 | |
| 39 | include P s hs r in |
| 40 | theorem field_line_trivial_of_cartesian_trivial |
| 41 | {Y T : Scheme.{u}} [Nonempty T] (f : Y ⟶ X.left) (ρ : Y ⟶ T) |
| 42 | (b : T ⟶ Spec (.of K)) (hp : IsPullback f ρ X.hom b) |
| 43 | (e : (Scheme.Modules.pullback f).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) : |
| 44 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) := by |
| 45 | let D := FormalGeometry.Completion.Projective.LineBundleSectionScheme.Construction.projectiveLineBundleSectionModel X P L |
| 46 | obtain ⟨q⟩ := RelativeFrameClassification.Geometric.relativeProjective_rigidifiedFrame_hasPoint_of_trivialization P s hs D r |
| 47 | f ρ b hp e.symm |
| 48 | let : Nonempty (D.rigidifiedFrameScheme s hs r).left := |
| 49 | ⟨q.left (Classical.arbitrary T)⟩ |
| 50 | let := field_rigidifiedFrame_isIso_of_nonempty P s hs L r D |
| 51 | let a : Over.mk (𝟙 (Spec (.of K))) ⟶ D.rigidifiedFrameScheme s hs r := |
| 52 | Over.homMk (inv (D.rigidifiedFrameScheme s hs r).hom) (IsIso.inv_hom_id _) |
| 53 | have hc := (RelativeFrameClassification.Geometric.relativeProjective_rigidifiedFrame_hasPoint_iff_trivialClass P s hs D r |
| 54 | (𝟙 X.left) X.hom (𝟙 _) IsPullback.of_id_fst).mp ⟨a⟩ |
| 55 | rw [AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] at hc |
| 56 | exact Quotient.exact hc |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldFrameReflection.Geometric |