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.AffineOpen.LinearHom |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation |
| 3 | |
| 4 | /-! # Hom Evaluation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The affine Hom comparison evaluates the original local sheaf map. |
| 11 | Its compatibility with restriction is the naturality of that map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X : Scheme.{u}} (M N : X.Modules) (U : X.Opens) |
| 21 | |
| 22 | abbrev evaluation := ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N U |
| 23 | |
| 24 | theorem restriction {V : X.Opens} (i : V ⟶ U) |
| 25 | (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) (m : Γ(M, U)) : |
| 26 | evaluation M N V ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N).presheaf.map i.op q) |
| 27 | (M.presheaf.map i.op m) = |
| 28 | N.presheaf.map i.op (evaluation M N U q m) := by |
| 29 | let j : Over.mk i ⟶ Over.mk (𝟙 U) := Over.homMk i |
| 30 | exact congrArg (fun a => a m) (q.val.naturality j.op) |
| 31 | |
| 32 | abbrev chartEvaluation (hU : IsAffineOpen U) |
| 33 | (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) : |
| 34 | (AffineOpen.InternalHom.sections U hU).obj M ⟶ |
| 35 | (AffineOpen.InternalHom.sections U hU).obj N := |
| 36 | (AffineOpen.LinearHom.comparison U hU N).app (op M) q |
| 37 | |
| 38 | abbrev chartImage (hU : IsAffineOpen U) : X.Opens := |
| 39 | U.ι ''ᵁ (hU.isoSpec.inv ''ᵁ ⊤) |
| 40 | |
| 41 | theorem chartImage_eq (hU : IsAffineOpen U) : chartImage U hU = U := by |
| 42 | rw [chartImage, ← Scheme.Hom.comp_image] |
| 43 | exact ChartSections.image_top U hU |
| 44 | |
| 45 | theorem chartIso_apply (hU : IsAffineOpen U) (m : Γ(M, U)) : |
| 46 | (ChartSections.iso U hU M).hom m = |
| 47 | M.presheaf.map (eqToHom (chartImage_eq U hU)).op m := by |
| 48 | let a := (eqToHom (ChartSections.image_top U hU)).op |
| 49 | let b : op (hU.fromSpec ''ᵁ ⊤) ⟶ op (chartImage U hU) := |
| 50 | (eqToHom (Scheme.Hom.comp_image hU.isoSpec.inv U.ι ⊤).symm).op |
| 51 | change M.presheaf.map b (M.presheaf.map a m) = _ |
| 52 | have he : a ≫ b = (eqToHom (chartImage_eq U hU)).op := Subsingleton.elim _ _ |
| 53 | exact (ConcreteCategory.congr_hom (M.presheaf.map_comp a b) m).symm.trans |
| 54 | (congrArg (fun t => M.presheaf.map t m) he) |
| 55 | |
| 56 | theorem chart_comparison_apply (hU : IsAffineOpen U) |
| 57 | (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) (m : Γ(M, U)) : |
| 58 | chartEvaluation M N U hU q |
| 59 | ((ChartSections.iso U hU M).hom m) = |
| 60 | (ChartSections.iso U hU N).hom (evaluation M N U q m) := by |
| 61 | change q.val.app (op (Over.mk (eqToHom (chartImage_eq U hU)))) |
| 62 | ((ChartSections.iso U hU M).hom m) = _ |
| 63 | rw [chartIso_apply, chartIso_apply] |
| 64 | let i := eqToHom (chartImage_eq U hU) |
| 65 | let j : Over.mk i ⟶ Over.mk (𝟙 U) := Over.homMk i |
| 66 | exact congrArg (fun a => a m) (q.val.naturality j.op) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomEvaluation |