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.Coefficient.AlgebraPresheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ScalarBaseChange |
| 3 | |
| 4 | /-! # Algebra Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.AlgebraPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback of functions and restriction of global coefficients as algebra maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X P : Scheme.{u}} {R : Type u} [CommRing R] |
| 17 | |
| 18 | theorem coefficientSectionMap_pullback (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) (U : X.Opens) : |
| 19 | (a.app U).hom.comp (AlgebraPresheaf.coefficientSectionMap f U) = |
| 20 | AlgebraPresheaf.coefficientSectionMap (a.appTop.hom.comp f) (a ⁻¹ᵁ U) := by |
| 21 | ext r |
| 22 | exact (Global.ScalarBaseChange.globalFunction_pullback_restrict a (f r) U).symm |
| 23 | |
| 24 | def coefficientAlgebraPullbackApp (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) (U : X.Opens) : |
| 25 | AlgebraPresheaf.coefficientAlgebraSections f U ⟶ |
| 26 | AlgebraPresheaf.coefficientAlgebraSections (a.appTop.hom.comp f) (a ⁻¹ᵁ U) := by |
| 27 | letI := (AlgebraPresheaf.coefficientSectionMap f U).toAlgebra |
| 28 | letI := (AlgebraPresheaf.coefficientSectionMap (a.appTop.hom.comp f) (a ⁻¹ᵁ U)).toAlgebra |
| 29 | exact CommAlgCat.ofHom { |
| 30 | __ := (a.app U).hom |
| 31 | commutes' := fun r => DFunLike.congr_fun (coefficientSectionMap_pullback a f U) r } |
| 32 | |
| 33 | def coefficientAlgebraPullback (a : P ⟶ X) (f : R →+* Γ(X, ⊤)) : |
| 34 | AlgebraPresheaf.coefficientAlgebraPresheaf f ⟶ |
| 35 | (TopologicalSpace.Opens.map a.base).op ⋙ |
| 36 | AlgebraPresheaf.coefficientAlgebraPresheaf (a.appTop.hom.comp f) where |
| 37 | app U := coefficientAlgebraPullbackApp a f U.unop |
| 38 | naturality U V h := by |
| 39 | ext r |
| 40 | exact congrArg (fun k => k r) (a.naturality h) |
| 41 | |
| 42 | def coefficientAlgebraGlobalRestriction (f : R →+* Γ(P, ⊤)) |
| 43 | (B : CommAlgCat.{u} R) (q : B →+* Γ(P, ⊤)) |
| 44 | (hq : q.comp (algebraMap R B) = f) (U : P.Opens) : |
| 45 | B ⟶ AlgebraPresheaf.coefficientAlgebraSections f U := by |
| 46 | letI := (AlgebraPresheaf.coefficientSectionMap f U).toAlgebra |
| 47 | exact CommAlgCat.ofHom { |
| 48 | __ := (P.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op).hom.comp q |
| 49 | commutes' := fun r => congrArg |
| 50 | (fun s => P.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s) |
| 51 | (DFunLike.congr_fun hq r) } |
| 52 | |
| 53 | theorem coefficientAlgebraGlobalRestriction_naturality (f : R →+* Γ(P, ⊤)) |
| 54 | (B : CommAlgCat.{u} R) (q : B →+* Γ(P, ⊤)) |
| 55 | (hq : q.comp (algebraMap R B) = f) {U V : P.Opens} (h : V ≤ U) : |
| 56 | coefficientAlgebraGlobalRestriction f B q hq U ≫ AlgebraPresheaf.coefficientAlgebraRestriction f h = |
| 57 | coefficientAlgebraGlobalRestriction f B q hq V := by |
| 58 | ext r |
| 59 | exact congrArg (fun k => k (q r)) (P.presheaf.map_comp |
| 60 | (homOfLE (show U ≤ ⊤ from le_top)).op (homOfLE h).op).symm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.AlgebraPullback |