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.FormalGeometry.Completion.Rigidified.FrameScalar |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackStructureComparison |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackScalarsValue |
| 4 | |
| 5 | /-! # Trivial Section Frame Reflection -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.TrivialSectionFrameReflection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a trivial line bundle, a map on global functions that is an |
| 12 | isomorphism detects whether a section is a frame after pullback. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem trivialSection_isIso_of_pullback {X T : Scheme.{u}} (b : T ⟶ X) [IsIso b.appTop] |
| 20 | {M : X.Modules} (e : M ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (s : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 21 | [IsIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection b s)] : IsIso s := by |
| 22 | let v := s ≫ e.hom |
| 23 | have hp : IsIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection b v) := by |
| 24 | change IsIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection b (s ≫ e.hom)) |
| 25 | rw [AlgebraicGeometry.FormalGeometry.Completion.PullbackStructureComparison.Construction.pullbackSection_targetMap] |
| 26 | infer_instance |
| 27 | have hi : IsIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection b v ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso b).hom) := by |
| 28 | infer_instance |
| 29 | have hu := (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEnd_isIso_iff |
| 30 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection b v ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso b).hom)).mp hi |
| 31 | change IsUnit (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T ((AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso b).inv ≫ |
| 32 | (Scheme.Modules.pullback b).map v ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso b).hom)) at hu |
| 33 | rw [AlgebraicGeometry.Quotients.FiniteDescent.PullbackScalarsValue.Construction.PullbackScalars.value_pullback] at hu |
| 34 | have hc := hu.map (asIso b.appTop).inv.hom |
| 35 | have he : (asIso b.appTop).inv (b.appTop (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X v)) = |
| 36 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X v := (asIso b.appTop).hom_inv_id_apply _ |
| 37 | have hv : IsIso v := (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEnd_isIso_iff v).mpr (he ▸ hc) |
| 38 | exact (isIso_comp_right_iff s e.hom).mp hv |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.RepresentationTheory.Theta.Geometric.TrivialSectionFrameReflection |