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.SheafCohomology.Projective.FramedLocalHom |
| 2 | |
| 3 | /-! # Module Hom Overlap Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHomOverlapGluing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Gluing module maps checked on specified pairwise intersection opens. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 13 | universe u v |
| 14 | |
| 15 | theorem exists_moduleHom_of_overlap_localMaps {X : Scheme.{u}} |
| 16 | (L M : X.Modules) {ι : Type v} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 17 | (W : ι → ι → X.Opens) (hleft : ∀ i k, W i k ≤ U i) |
| 18 | (hright : ∀ i k, W i k ≤ U k) (hW : ∀ i k, U i ⊓ U k ≤ W i k) |
| 19 | (f : ∀ i, L.over (U i) ⟶ M.over (U i)) |
| 20 | (hf : ∀ i k, |
| 21 | LinearHom.linearHomRestrict X.ringCatSheaf L M (homOfLE (hleft i k)).op (f i) = |
| 22 | LinearHom.linearHomRestrict X.ringCatSheaf L M (homOfLE (hright i k)).op (f k)) : |
| 23 | ∃ g : L ⟶ M, ∀ i, g.over (U i) = f i := by |
| 24 | apply ModuleHomGluing.exists_moduleHom_of_compatible_localMaps L M U hU f |
| 25 | intro i k |
| 26 | let F := (LinearHom.linearHomSheaf X.ringCatSheaf L M).obj |
| 27 | let si := ModuleHomGluing.linearHomLocalSection L M (U i) (f i) |
| 28 | let sk := ModuleHomGluing.linearHomLocalSection L M (U k) (f k) |
| 29 | have ho : F.map (homOfLE (hleft i k)).op si = |
| 30 | F.map (homOfLE (hright i k)).op sk := by |
| 31 | apply Subtype.ext |
| 32 | change (LinearHom.ambientLinearHom X.ringCatSheaf L M).obj.map |
| 33 | (homOfLE (hleft i k)).op (LinearHom.linearHomToAmbient X.ringCatSheaf L M (U i) (f i)) = |
| 34 | (LinearHom.ambientLinearHom X.ringCatSheaf L M).obj.map |
| 35 | (homOfLE (hright i k)).op (LinearHom.linearHomToAmbient X.ringCatSheaf L M (U k) (f k)) |
| 36 | rw [LinearHom.ambientLinearHom_map_linearHomToAmbient, |
| 37 | LinearHom.ambientLinearHom_map_linearHomToAmbient, hf i k] |
| 38 | have hi := congrArg (F.map (homOfLE (hW i k)).op) ho |
| 39 | rw [← F.map_comp_apply, ← F.map_comp_apply] at hi |
| 40 | exact hi |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHomOverlapGluing |