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.DivisorClass.Chern.Sheaf.TransitionCocycle |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Sheaf Transition Splitting -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.SheafTransitionSplitting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Splitting the actual transition cocycle of local lifts gives a |
| 11 | global lift in a short exact sequence of abelian sheaves. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle |
| 17 | |
| 18 | variable {X : TopCat.{0}} {S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)} |
| 19 | (hS : S.ShortExact) {t : S.X₃.obj.obj (op (⊤ : Opens X))} |
| 20 | (l : AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.SheafLocalLiftCover S.g t) |
| 21 | |
| 22 | theorem exists_globalLift_of_transition_split {ι : Type} (a : ι → X) |
| 23 | (hcover : (⊤ : Opens X) ≤ ⨆ i, l.domain (a i)) |
| 24 | (r : ∀ i, S.X₁.obj.obj (op (l.domain (a i)))) |
| 25 | (hr : ∀ i j, l.transition hS (a i) (a j) = |
| 26 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₁ inf_le_right (r j) - |
| 27 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₁ inf_le_left (r i)) : |
| 28 | ∃ s : S.X₂.obj.obj (op (⊤ : Opens X)), S.g.hom.app (op ⊤) s = t := by |
| 29 | let U := fun i => l.domain (a i) |
| 30 | let b := fun i => l.section_ (a i) - S.f.hom.app (op (U i)) (r i) |
| 31 | have hb : TopCat.Presheaf.IsCompatible S.X₂.obj U b := by |
| 32 | intro i j |
| 33 | have h := congrArg (S.f.hom.app (op (U i ⊓ U j))) (hr i j) |
| 34 | rw [l.transition_map, map_sub, AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionMap_restrict, |
| 35 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionMap_restrict] at h |
| 36 | change AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_right (l.section_ (a j)) - |
| 37 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_left (l.section_ (a i)) = |
| 38 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_right (S.f.hom.app (op (U j)) (r j)) - |
| 39 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_left (S.f.hom.app (op (U i)) (r i)) at h |
| 40 | change AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_left (b i) = |
| 41 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ inf_le_right (b j) |
| 42 | dsimp only [b] |
| 43 | rw [map_sub, map_sub] |
| 44 | exact (sub_eq_sub_iff_sub_eq_sub.mp h).symm |
| 45 | obtain ⟨s, hs, _⟩ := S.X₂.existsUnique_gluing' U ⊤ (fun _ => homOfLE le_top) hcover b hb |
| 46 | refine ⟨s, ?_⟩ |
| 47 | apply S.X₃.eq_of_locally_eq' U ⊤ (fun _ => homOfLE le_top) hcover |
| 48 | intro i |
| 49 | change AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₃ le_top (S.g.hom.app (op ⊤) s) = |
| 50 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₃ le_top t |
| 51 | rw [← AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionMap_restrict] |
| 52 | have hsi : AlgebraicGeometry.DivisorClass.Chern.Sheaf.TransitionCocycle.sheafSectionRestrict S.X₂ le_top s = b i := hs i |
| 53 | rw [hsi] |
| 54 | dsimp only [b] |
| 55 | rw [map_sub, l.image] |
| 56 | have hz : S.g.hom.app (op (U i)) (S.f.hom.app (op (U i)) (r i)) = 0 := by |
| 57 | change (S.f ≫ S.g).hom.app (op (U i)) (r i) = 0 |
| 58 | rw [S.zero] |
| 59 | rfl |
| 60 | rw [hz, sub_zero] |
| 61 | rfl |
| 62 | |
| 63 | theorem injectiveCokernelBoundary_image_zero (F : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 64 | (s : (AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelSequence F).X₂.obj.obj (op (⊤ : Opens X))) : |
| 65 | AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelBoundary F |
| 66 | ((AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelSequence F).g.hom.app (op ⊤) s) = 0 := by |
| 67 | let S := AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelSequence F |
| 68 | change ((CategoryTheory.Sheaf.H.equiv₀ S.X₃ isTerminalTop).symm |
| 69 | (S.g.hom.app (op (⊤ : Opens X)) s)).comp |
| 70 | (AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelSequence_shortExact F).extClass (rfl : 0 + 1 = 1) = 0 |
| 71 | rw [← CategoryTheory.Sheaf.H.equiv₀_symm_naturality] |
| 72 | change (((CategoryTheory.Sheaf.H.equiv₀ S.X₂ isTerminalTop).symm s).comp |
| 73 | (CategoryTheory.Abelian.Ext.mk₀ S.g) (add_zero 0)).comp |
| 74 | (AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelSequence_shortExact F).extClass (rfl : 0 + 1 = 1) = 0 |
| 75 | rw [CategoryTheory.Abelian.Ext.comp_assoc_of_second_deg_zero, |
| 76 | (AlgebraicGeometry.DivisorClass.Chern.Sheaf.CohomologyLifts.sheafInjectiveCokernelSequence_shortExact F).comp_extClass, |
| 77 | CategoryTheory.Abelian.Ext.comp_zero] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.RepresentationTheory.Theta.Geometric.SheafTransitionSplitting |