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.FrameGeneratorCoordinates |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Dual |
| 3 | |
| 4 | /-! # Frame Generator Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.FrameGeneratorRestriction.RingedModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The generator of a restricted actual line frame is the original module |
| 11 | restriction of its generator. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | variable {C : Type} [SmallCategory C] {J : GrothendieckTopology C} |
| 16 | (S : Sheaf J RingCat.{0}) (M : SheafOfModules.{0} S) |
| 17 | |
| 18 | def overFrameGenerator (U : C) (e : M.over U ≅ SheafOfModules.unit (S.over U)) : |
| 19 | M.val.obj (op U) := e.inv.val.app (op (Over.mk (𝟙 U))) (1 : S.obj.obj (op U)) |
| 20 | |
| 21 | theorem overFrameGenerator_restrict {U V : C} (f : V ⟶ U) |
| 22 | (e : M.over U ≅ SheafOfModules.unit (S.over U)) : |
| 23 | overFrameGenerator S M V |
| 24 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization S M U e (Over.mk f)) = |
| 25 | M.val.map f.op (overFrameGenerator S M U e) := by |
| 26 | let W : Over U := (Over.map f).obj (Over.mk (𝟙 V)) |
| 27 | let q : W ⟶ Over.mk (𝟙 U) := Over.homMk f (by |
| 28 | change f ≫ 𝟙 U = 𝟙 V ≫ f |
| 29 | rw [Category.comp_id, Category.id_comp]) |
| 30 | have h := PresheafOfModules.naturality_apply e.inv.val q.op (1 : S.obj.obj (op U)) |
| 31 | have hone := (S.obj.map f.op).hom.map_one |
| 32 | exact (congrArg (fun r : S.obj.obj (op V) => e.inv.val.app (op W) r) hone).symm.trans h |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.FrameGeneratorRestriction.RingedModules |