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.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 2 | import Mathlib.Algebra.Homology.Additive |
| 3 | |
| 4 | /-! # Module Functor -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ModuleFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual principal-open section functor on module sheaves. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | universe u |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 16 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 17 | |
| 18 | def functor : X.Modules ⥤ ((SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(X, U)) where |
| 19 | obj M := SectionPresheaf.modules U hU M |
| 20 | map f := SectionPresheaf.moduleHom U hU f |
| 21 | map_id M := by |
| 22 | apply NatTrans.ext |
| 23 | funext r |
| 24 | apply ModuleCat.hom_ext |
| 25 | apply LinearMap.ext |
| 26 | intro m |
| 27 | rfl |
| 28 | map_comp f g := by |
| 29 | apply NatTrans.ext |
| 30 | funext r |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro m |
| 34 | rfl |
| 35 | |
| 36 | instance additive : (functor U hU).Additive where |
| 37 | map_add {M N} f g := by |
| 38 | apply NatTrans.ext |
| 39 | funext r |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro m |
| 43 | rfl |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ModuleFunctor |