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.ConstantScheme.Translations |
| 2 | import Mathlib.AlgebraicGeometry.GammaSpecAdjunction |
| 3 | import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Products |
| 4 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 5 | import Mathlib.Algebra.Category.Ring.Constructions |
| 6 | |
| 7 | /-! # Global Functions -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.GlobalFunctions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Global regular functions on a constant scheme are exactly label-indexed functions with values in the base ring of global functions. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | variable (S : Scheme.{u}) (I : Type u) |
| 17 | |
| 18 | def constantSchemeGlobalRingIso : |
| 19 | Γ((Iff.constantScheme S I).left, ⊤) ≅ CommRingCat.of (I → Γ(S, ⊤)) := |
| 20 | Scheme.Γ.mapIso (opCoproductIsoProduct (fun _ : I => S)) ≪≫ |
| 21 | PreservesProduct.iso Scheme.Γ (fun _ : I => Opposite.op S) ≪≫ |
| 22 | CommRingCat.piIsoPi (fun _ : I => Γ(S, ⊤)) |
| 23 | |
| 24 | theorem constantSchemeGlobalRingIso_projection (i : I) : |
| 25 | (constantSchemeGlobalRingIso S I).hom ≫ CommRingCat.ofHom (Pi.evalRingHom (fun _ : I => Γ(S, ⊤)) i) = |
| 26 | (Sigma.ι (fun _ : I => S) i).appTop := by |
| 27 | have hp : (CommRingCat.piIsoPi (fun _ : I => Γ(S, ⊤))).hom ≫ |
| 28 | CommRingCat.ofHom (Pi.evalRingHom (fun _ : I => Γ(S, ⊤)) i) = |
| 29 | Pi.π (fun _ : I => Γ(S, ⊤)) i := |
| 30 | limit.isoLimitCone_hom_π ⟨_, CommRingCat.piFanIsLimit (fun _ : I => Γ(S, ⊤))⟩ ⟨i⟩ |
| 31 | have h₂ : ((PreservesProduct.iso Scheme.Γ (fun _ : I => Opposite.op S)).hom ≫ |
| 32 | (CommRingCat.piIsoPi (fun _ : I => Γ(S, ⊤))).hom) ≫ |
| 33 | CommRingCat.ofHom (Pi.evalRingHom (fun _ : I => Γ(S, ⊤)) i) = |
| 34 | Scheme.Γ.map (Pi.π (fun _ : I => Opposite.op S) i) := |
| 35 | (Category.assoc _ _ _).trans |
| 36 | ((congrArg (fun k => (PreservesProduct.iso Scheme.Γ (fun _ : I => Opposite.op S)).hom ≫ k) hp).trans |
| 37 | (piComparison_comp_π Scheme.Γ (fun _ : I => Opposite.op S) i)) |
| 38 | have h₁ : Scheme.Γ.map (opCoproductIsoProduct (fun _ : I => S)).hom ≫ |
| 39 | Scheme.Γ.map (Pi.π (fun _ : I => Opposite.op S) i) = |
| 40 | (Sigma.ι (fun _ : I => S) i).appTop := |
| 41 | (Scheme.Γ.map_comp _ _).symm.trans |
| 42 | (congrArg Scheme.Γ.map (opCoproductIsoProduct_hom_comp_π (Z := fun _ : I => S) i)) |
| 43 | exact (Category.assoc _ _ _).trans |
| 44 | ((congrArg (fun k => Scheme.Γ.map (opCoproductIsoProduct (fun _ : I => S)).hom ≫ k) h₂).trans h₁) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.GlobalFunctions |