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.AtOne |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomEvaluation |
| 3 | |
| 4 | /-! # Hom Evaluation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.HomEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every actual section of the coefficient sheaf evaluates internal |
| 11 | Hom on the entire principal-open diagram, by literal restriction. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 18 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 19 | (M N : X.Modules) (x : Γ(M,U)) |
| 20 | |
| 21 | def component (r : SectionPresheaf.Index U) : |
| 22 | (SectionPresheaf.modules U hU (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N)).obj (op r) →ₗ[Γ(X,U)] |
| 23 | (SectionPresheaf.modules U hU N).obj (op r) where |
| 24 | toFun q := ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N (SectionPresheaf.openSubset U r) q |
| 25 | (M.presheaf.map (SectionPresheaf.inclusion U r).op x) |
| 26 | map_add' q q' := by |
| 27 | rw [map_add, LinearMap.add_apply] |
| 28 | map_smul' a q := by |
| 29 | change Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N,SectionPresheaf.openSubset U r) at q |
| 30 | change ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N (SectionPresheaf.openSubset U r) |
| 31 | ((algebraMap Γ(X,U) Γ(X,SectionPresheaf.openSubset U r) a) • q) _ = |
| 32 | (algebraMap Γ(X,U) Γ(X,SectionPresheaf.openSubset U r) a) • _ |
| 33 | rw [map_smul, LinearMap.smul_apply] |
| 34 | |
| 35 | def map : SectionPresheaf.modules U hU (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N) ⟶ SectionPresheaf.modules U hU N where |
| 36 | app r := ModuleCat.ofHom (component U hU M N x r.unop) |
| 37 | naturality r s a := by |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply LinearMap.ext |
| 40 | intro q |
| 41 | have hx : M.presheaf.map (SectionPresheaf.arrow U hU a.unop).op |
| 42 | (M.presheaf.map (SectionPresheaf.inclusion U r.unop).op x) = |
| 43 | M.presheaf.map (SectionPresheaf.inclusion U s.unop).op x := by |
| 44 | rw [← ConcreteCategory.comp_apply, ← M.presheaf.map_comp] |
| 45 | rfl |
| 46 | have he := Affine.HomEvaluation.restriction M N (SectionPresheaf.openSubset U r.unop) |
| 47 | (SectionPresheaf.arrow U hU a.unop) q (M.presheaf.map (SectionPresheaf.inclusion U r.unop).op x) |
| 48 | rw [hx] at he |
| 49 | exact he |
| 50 | |
| 51 | theorem atOne (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N,U)) : |
| 52 | (HomEvaluation.map U hU M N x).app (op (AtOne.object U)) |
| 53 | (AtOne.equiv U (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N) q) = |
| 54 | AtOne.equiv U N (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N U q x) := |
| 55 | Affine.HomEvaluation.restriction M N U (SectionPresheaf.inclusion U (AtOne.object U)) q x |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.HomEvaluation |