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.PullbackRefinement |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorSectionValues |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.UnitCompositionValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ScalarBaseChange |
| 5 | |
| 6 | /-! # Tensor Refinement Values -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorRefinementValues |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Refining the target of a section tensor comparison agrees with the tensor comparison for the composite pullback and pulled-back coefficient functions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem moduleSectionTensorComparisonApp_refine |
| 19 | {X Y Z : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 20 | (a : X ⟶ Y) (g : Y ⟶ Z) (f : R →+* Γ(Z, ⊤)) (M : Z.Modules) (q : B →+* Γ(Y, ⊤)) |
| 21 | (hq : q.comp (algebraMap R B) = g.appTop.hom.comp f) |
| 22 | (U : Z.Opens) (b : B) (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf f M).obj (.op U)) : |
| 23 | (Coefficient.PullbackRefinement.coefficientPullbackRefinementMap a g f M).app (.op U) |
| 24 | (SectionTensorComparison.moduleSectionTensorComparisonApp g f M q hq U (b ⊗ₜ[R] x)) = |
| 25 | SectionTensorComparison.moduleSectionTensorComparisonApp (a ≫ g) f M (a.appTop.hom.comp q) |
| 26 | (Coefficient.PullbackRefinement.pullbackCoefficient_compatible_comp a g f q hq) U (b ⊗ₜ[R] x) := by |
| 27 | let V := g ⁻¹ᵁ U |
| 28 | let W := (a ≫ g) ⁻¹ᵁ U |
| 29 | let m : Γ((Scheme.Modules.pullback g).obj M, V) := |
| 30 | ((Scheme.Modules.pullbackPushforwardAdjunction g).unit.app M).app U x |
| 31 | let n : Γ((Scheme.Modules.pullback a).obj ((Scheme.Modules.pullback g).obj M), W) := |
| 32 | ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app ((Scheme.Modules.pullback g).obj M)).app V m |
| 33 | let c : Γ(Y, V) := Y.presheaf.map V.leTop.op (q b) |
| 34 | let d : Γ(X, W) := X.presheaf.map W.leTop.op (a.appTop (q b)) |
| 35 | have hc : a.app V c = d := (Global.ScalarBaseChange.globalFunction_pullback_restrict a (q b) V).symm |
| 36 | have hl : ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app ((Scheme.Modules.pullback g).obj M)).app |
| 37 | V (c • m) = (show Γ(X, W) from a.app V c) • n := |
| 38 | ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app ((Scheme.Modules.pullback g).obj M)).app_smul c m |
| 39 | have hu : ((Scheme.Modules.pullbackComp a g).hom.app M).app W n = |
| 40 | ((Scheme.Modules.pullbackPushforwardAdjunction (a ≫ g)).unit.app M).app U x := |
| 41 | Pullback.UnitCompositionValues.pullbackUnit_comp_value a g M U x |
| 42 | change ((Scheme.Modules.pullbackComp a g).hom.app M).app W |
| 43 | (((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app ((Scheme.Modules.pullback g).obj M)).app V (c • m)) = |
| 44 | d • (show Γ((Scheme.Modules.pullback (a ≫ g)).obj M, W) from |
| 45 | ((Scheme.Modules.pullbackPushforwardAdjunction (a ≫ g)).unit.app M).app U x) |
| 46 | exact (congrArg (((Scheme.Modules.pullbackComp a g).hom.app M).app W) hl).trans |
| 47 | ((congrArg (fun r : Γ(X, W) => ((Scheme.Modules.pullbackComp a g).hom.app M).app W (r • n)) hc).trans |
| 48 | ((((Scheme.Modules.pullbackComp a g).hom.app M).app_smul d n).trans |
| 49 | (congrArg (fun z : Γ((Scheme.Modules.pullback (a ≫ g)).obj M, W) => d • z) hu))) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorRefinementValues |