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.OpenFrame.GlobalSections |
| 2 | |
| 3 | /-! # Coefficient Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.CoefficientSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Over a chosen coefficient ring, actual global frame-sheaf sections inject into chart functions, with image exactly the transition-compatible tuples. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {ι : Type u} {R : Type u} [CommRing R] |
| 16 | variable (U : ι → X.Opens) (f : R →+* Γ(X, ⊤)) |
| 17 | |
| 18 | def openFrameCoefficientTupleEquiv : |
| 19 | (ModuleCat.restrictScalars f).obj (ModuleCat.of Γ(X, ⊤) (GlobalTuples.OpenFrameGlobalTuple U)) ≃ₗ[R] |
| 20 | ((i : ι) → Coefficient.AlgebraPresheaf.coefficientAlgebraSections f (U i)) where |
| 21 | toFun := id |
| 22 | invFun := id |
| 23 | left_inv _ := rfl |
| 24 | right_inv _ := rfl |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' _ _ := rfl |
| 27 | |
| 28 | variable {U} (D : Transitions.OpenFrameTransitions U) |
| 29 | |
| 30 | def openFrameGlobalTupleMap : |
| 31 | (Global.RingModulePresheaf.globalRingModulePresheaf (ModuleSheaf.openFrameModuleSheaf D)).obj (.op ⊤) →ₗ[Γ(X, ⊤)] GlobalTuples.OpenFrameGlobalTuple U := |
| 32 | (GlobalCompatibility.openFrameGlobalCompatibleModule D).subtype.comp (GlobalSections.openFrameGlobalSectionsEquiv D).toLinearMap |
| 33 | |
| 34 | def openFrameCoefficientGlobalTupleMap : |
| 35 | (Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f).obj (ModuleSheaf.openFrameModuleSheaf D) →ₗ[R] |
| 36 | ((i : ι) → Coefficient.AlgebraPresheaf.coefficientAlgebraSections f (U i)) := |
| 37 | (openFrameCoefficientTupleEquiv U f).toLinearMap.comp |
| 38 | ((ModuleCat.restrictScalars f).map (ModuleCat.ofHom (openFrameGlobalTupleMap D))).hom |
| 39 | |
| 40 | theorem openFrameCoefficientGlobalTupleMap_injective : |
| 41 | Function.Injective (openFrameCoefficientGlobalTupleMap f D) := |
| 42 | Subtype.val_injective.comp (GlobalSections.openFrameGlobalSectionsEquiv D).injective |
| 43 | |
| 44 | theorem openFrameCoefficientGlobalTupleMap_range |
| 45 | (x : (i : ι) → Coefficient.AlgebraPresheaf.coefficientAlgebraSections f (U i)) : |
| 46 | (∃ s, openFrameCoefficientGlobalTupleMap f D s = x) ↔ Frame.TransitionEquations.FrameCompatible D x := by |
| 47 | constructor |
| 48 | · rintro ⟨s, rfl⟩ |
| 49 | exact (GlobalCompatibility.openFrameGlobalCompatibleModule_mem D _).mp (GlobalSections.openFrameGlobalSectionsEquiv D s).property |
| 50 | · intro hx |
| 51 | let y : GlobalCompatibility.openFrameGlobalCompatibleModule D := ⟨x, (GlobalCompatibility.openFrameGlobalCompatibleModule_mem D x).mpr hx⟩ |
| 52 | refine ⟨(GlobalSections.openFrameGlobalSectionsEquiv D).symm y, ?_⟩ |
| 53 | exact congrArg Subtype.val ((GlobalSections.openFrameGlobalSectionsEquiv D).apply_symm_apply y) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.CoefficientSections |