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.ModuleHomOverlapGluing |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Invertible |
| 3 | |
| 4 | /-! # Line Bundle Iso Gluing -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.LineBundleIsoGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible local isomorphisms of actual module sheaves glue to an |
| 11 | actual global isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHomOverlapGluing |
| 16 | universe u |
| 17 | |
| 18 | theorem moduleMap_isIso_of_over {X : Scheme.{u}} {M N : X.Modules} |
| 19 | (g : M ⟶ N) {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 20 | (h : ∀ i, IsIso (g.over (U i))) : IsIso g := by |
| 21 | apply AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isIso_of_isIso_restrict g U hU |
| 22 | intro i |
| 23 | let F := (Scheme.Modules.overEquiv (U i)).functor |
| 24 | let a := (Scheme.Modules.overFunctorEquiv (U i)).app M |
| 25 | let b := (Scheme.Modules.overFunctorEquiv (U i)).app N |
| 26 | let : IsIso (g.over (U i)) := h i |
| 27 | have he : (Scheme.Modules.restrictFunctor (U i).ι).map g = |
| 28 | a.inv ≫ F.map (g.over (U i)) ≫ b.hom := by |
| 29 | have hn := (Scheme.Modules.overFunctorEquiv (U i)).hom.naturality g |
| 30 | change F.map (g.over (U i)) ≫ b.hom = a.hom ≫ _ at hn |
| 31 | rw [hn] |
| 32 | simp |
| 33 | rw [he] |
| 34 | infer_instance |
| 35 | |
| 36 | theorem exists_moduleIso_of_localIsos {X : Scheme.{u}} (M N : X.Modules) |
| 37 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 38 | (e : ∀ i, M.over (U i) ≅ N.over (U i)) |
| 39 | (he : ∀ i k, |
| 40 | AlgebraicGeometry.SheafCohomology.Projective.LinearHom.linearHomRestrict X.ringCatSheaf M N (homOfLE (show U i ⊓ U k ≤ U i from inf_le_left)).op (e i).hom = |
| 41 | AlgebraicGeometry.SheafCohomology.Projective.LinearHom.linearHomRestrict X.ringCatSheaf M N (homOfLE (show U i ⊓ U k ≤ U k from inf_le_right)).op (e k).hom) : |
| 42 | ∃ g : M ≅ N, ∀ i, g.hom.over (U i) = (e i).hom := by |
| 43 | obtain ⟨g, hg⟩ := AlgebraicGeometry.SheafCohomology.Projective.ModuleHomOverlapGluing.exists_moduleHom_of_overlap_localMaps M N U hU |
| 44 | (fun i k => U i ⊓ U k) (fun _ _ => inf_le_left) (fun _ _ => inf_le_right) |
| 45 | (fun _ _ => le_rfl) (fun i => (e i).hom) he |
| 46 | let : IsIso g := moduleMap_isIso_of_over g U hU (fun i => by rw [hg i]; infer_instance) |
| 47 | exact ⟨asIso g, hg⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.RepresentationTheory.Theta.Geometric.LineBundleIsoGluing |