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.LiteralHomEquiv |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ModuleFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientFunctor |
| 4 | |
| 5 | /-! # Internal Hom -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InternalHom |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Original internal-Hom sections on all principal opens identify |
| 12 | naturally with Hom from the fixed ambient affine section module. |
| 13 | Both restriction and source differentials are the literal native maps. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 20 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 21 | (M N : X.Modules) [M.IsQuasicoherent] |
| 22 | |
| 23 | def iso : SectionPresheaf.modules U hU (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N) ≅ |
| 24 | HomCoefficientFunctor.homPresheaf Γ(X, U) (SectionPresheaf.modules U hU N) |
| 25 | (ModuleCat.of Γ(X, U) Γ(M, U)) := |
| 26 | NatIso.ofComponents |
| 27 | (fun r => (LiteralHomEquiv.equiv U hU r.unop.val M N).toModuleIso) |
| 28 | (by |
| 29 | intro r s a |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro q |
| 33 | apply LinearMap.ext |
| 34 | intro m |
| 35 | change LiteralHomEquiv.equiv U hU s.unop.val M N |
| 36 | ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N).presheaf.map (SectionPresheaf.arrow U hU a.unop).op q) m = |
| 37 | N.presheaf.map (SectionPresheaf.arrow U hU a.unop).op |
| 38 | (LiteralHomEquiv.equiv U hU r.unop.val M N q m) |
| 39 | rw [LiteralHomEquiv.equiv_apply, |
| 40 | LiteralHomEquiv.equiv_apply] |
| 41 | have hres : M.presheaf.map (SectionPresheaf.inclusion U s.unop).op m = |
| 42 | M.presheaf.map (SectionPresheaf.arrow U hU a.unop).op |
| 43 | (M.presheaf.map (SectionPresheaf.inclusion U r.unop).op m) := by |
| 44 | rw [← ConcreteCategory.comp_apply, ← M.presheaf.map_comp] |
| 45 | rfl |
| 46 | rw [hres] |
| 47 | exact Affine.HomEvaluation.restriction M N (SectionPresheaf.openSubset U r.unop) |
| 48 | (SectionPresheaf.arrow U hU a.unop) q (M.presheaf.map (SectionPresheaf.inclusion U r.unop).op m)) |
| 49 | |
| 50 | theorem hom_apply (r : (SectionPresheaf.Index U)ᵒᵖ) |
| 51 | (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, SectionPresheaf.openSubset U r.unop)) (m : Γ(M, U)) : |
| 52 | (show Γ(M, U) →ₗ[Γ(X, U)] Γ(N, SectionPresheaf.openSubset U r.unop) from |
| 53 | (iso U hU M N).hom.app r q) m = |
| 54 | Affine.HomEvaluation.evaluation M N (SectionPresheaf.openSubset U r.unop) q |
| 55 | (M.presheaf.map (SectionPresheaf.inclusion U r.unop).op m) := |
| 56 | LiteralHomEquiv.equiv_apply U hU r.unop.val M N q m |
| 57 | |
| 58 | theorem precomp {M' : X.Modules} [M'.IsQuasicoherent] (f : M ⟶ M') : |
| 59 | SectionPresheaf.moduleHom U hU (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomFunctoriality.Construction.sheafHomMap f (𝟙 N)) ≫ (iso U hU M N).hom = |
| 60 | (iso U hU M' N).hom ≫ HomCoefficientFunctor.precomp Γ(X, U) |
| 61 | (SectionPresheaf.modules U hU N) (f.val.app (op U)) := by |
| 62 | apply NatTrans.ext |
| 63 | funext r |
| 64 | apply ModuleCat.hom_ext |
| 65 | apply LinearMap.ext |
| 66 | intro q |
| 67 | apply LinearMap.ext |
| 68 | intro m |
| 69 | exact LiteralHomEquiv.precomp U hU r.unop.val M N f q m |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InternalHom |