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.Comparison.Betti.Module.StalkExactFunctor |
| 2 | import Mathlib.Topology.Sheaves.Abelian |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 4 | |
| 5 | /-! # Exact Local Lift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.ExactLocalLift.Godement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exactness of the actual sheaf sequence gives local lifts of its |
| 12 | closed sections, by representing and comparing their genuine stalk elements. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.TopCat.Presheaf |
| 15 | |
| 16 | variable {X : TopCat.{0}} (S : ShortComplex (TopCat.Sheaf (ModuleCat.{0} ℂ) X)) |
| 17 | |
| 18 | theorem local_section_lift_of_exact (hS : S.Exact) (U : Opens X) |
| 19 | (s : S.X₂.obj.obj (op U)) (hs : S.g.hom.app (op U) s = 0) (x : U) : |
| 20 | ∃ (V : Opens X) (hVU : V ≤ U), x.val ∈ V ∧ |
| 21 | ∃ t : S.X₁.obj.obj (op V), |
| 22 | S.f.hom.app (op V) t = S.X₂.obj.map (homOfLE hVU).op s := by |
| 23 | have hex := (TopCat.Sheaf.exact_iff_stalkFunctor_map_exact S).mp hS x.val |
| 24 | rw [ShortComplex.moduleCat_exact_iff] at hex |
| 25 | have hz : (stalkFunctor (ModuleCat.{0} ℂ) x.val).map S.g.hom |
| 26 | (germ S.X₂.obj U x.val x.property s) = 0 := by |
| 27 | rw [stalkFunctor_map_germ_apply, hs, map_zero] |
| 28 | rfl |
| 29 | obtain ⟨t, ht⟩ := hex (germ S.X₂.obj U x.val x.property s) hz |
| 30 | obtain ⟨W, hxW, a, rfl⟩ := exists_germ_eq S.X₁.obj t |
| 31 | change (stalkFunctor (ModuleCat.{0} ℂ) x.val).map S.f.hom (germ S.X₁.obj W x.val hxW a) = _ at ht |
| 32 | rw [stalkFunctor_map_germ_apply] at ht |
| 33 | obtain ⟨V, hxV, iVW, iVU, hEq⟩ := germ_eq S.X₂.obj x.val hxW x.property |
| 34 | (S.f.hom.app (op W) a) s ht |
| 35 | refine ⟨V, leOfHom iVU, hxV, S.X₁.obj.map iVW.op a, ?_⟩ |
| 36 | have hnat := ConcreteCategory.congr_hom (S.f.hom.naturality iVW.op) a |
| 37 | exact hnat.trans hEq |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.ExactLocalLift.Godement |