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.Homomorphisms.FunctionDescent |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitPullbackScalars |
| 3 | |
| 4 | /-! # Unit End Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitEndDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Descent of scalar module endomorphisms along actual faithfully flat |
| 11 | scheme morphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 22 | |
| 23 | theorem unitEndPullback_injective [Epi f] : Function.Injective (UnitPullbackScalars.Construction.unitEndPullback f) := by |
| 24 | intro a b hab |
| 25 | apply AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndValue_injective Y |
| 26 | apply FunctionDescent.Construction.appTop_injective_of_epi f |
| 27 | exact (UnitPullbackScalars.Construction.unitEndPullback_scalar f a).symm.trans |
| 28 | ((congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X) hab).trans (UnitPullbackScalars.Construction.unitEndPullback_scalar f b)) |
| 29 | |
| 30 | theorem existsUnique_unitEnd_descent [EffectiveEpi f] |
| 31 | (a : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) |
| 32 | (ha : ∀ {T : Scheme.{u}} (x y : T ⟶ X), x ≫ f = y ≫ f → |
| 33 | UnitPullbackScalars.Construction.unitEndPullback x a = UnitPullbackScalars.Construction.unitEndPullback y a) : |
| 34 | ∃! b : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y), UnitPullbackScalars.Construction.unitEndPullback f b = a := by |
| 35 | obtain ⟨r, hr, _⟩ := FunctionDescent.Construction.existsUnique_function_descent f (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X a) (by |
| 36 | intro T x y hxy |
| 37 | exact (UnitPullbackScalars.Construction.unitEndPullback_scalar x a).symm.trans |
| 38 | ((congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) (ha x y hxy)).trans (UnitPullbackScalars.Construction.unitEndPullback_scalar y a))) |
| 39 | let b := (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv Y).symm r |
| 40 | have hb : AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue Y b = r := (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv Y).apply_symm_apply r |
| 41 | have hfb : UnitPullbackScalars.Construction.unitEndPullback f b = a := by |
| 42 | apply AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndValue_injective X |
| 43 | exact (UnitPullbackScalars.Construction.unitEndPullback_scalar f b).trans ((congrArg f.appTop hb).trans hr) |
| 44 | exact ⟨b, hfb, fun b' hb' => unitEndPullback_injective f (hb'.trans hfb.symm)⟩ |
| 45 | |
| 46 | end Construction |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitEndDescent |