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.OverScalarRestriction |
| 2 | |
| 3 | /-! # Frame Scalar Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.FrameScalarTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A scalar transition on an open subscheme gives the same transition on the |
| 10 | equivalent over-site, with the original section of the ambient structure sheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.OverScalarRestriction |
| 15 | |
| 16 | private theorem frameUnitCancel {C : Type*} [Category C] {A B P Q : C} |
| 17 | (a : A ⟶ B) (b : B ⟶ Q) (i : P ≅ Q) : |
| 18 | (a ≫ b ≫ i.inv) ≫ i.hom = a ≫ b := by |
| 19 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 20 | |
| 21 | private theorem faithfulFrameScalarTransport {C D : Type*} [Category C] [Category D] |
| 22 | (G : C ⥤ D) [G.Faithful] {P Q : C} {B : D} (i : G.obj Q ≅ B) |
| 23 | (e g : P ⟶ Q) (s : Q ⟶ Q) (t : B ⟶ B) |
| 24 | (h : G.map e ≫ i.hom = (G.map g ≫ i.hom) ≫ t) |
| 25 | (hs : G.map s ≫ i.hom = i.hom ≫ t) : e = g ≫ s := by |
| 26 | apply G.map_injective |
| 27 | apply (cancel_mono i.hom).mp |
| 28 | rw [Functor.map_comp, Category.assoc, hs] |
| 29 | exact h.trans (Category.assoc _ _ _) |
| 30 | |
| 31 | theorem algebraicOverFrame_scalar {X : Scheme.{0}} (M : X.Modules) (U : X.Opens) |
| 32 | (e g : M.restrict U.ι ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) |
| 33 | (r : Γ(X, U)) |
| 34 | (h : e.hom = g.hom ≫ SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection (SheafCohomology.Projective.OpenFrames.Scheme.Modules.openTopSection U r)) : |
| 35 | (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e).hom = |
| 36 | (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U g).hom ≫ |
| 37 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r := by |
| 38 | let G := (Scheme.Modules.overEquiv U).functor |
| 39 | let I := U.sheafOfModulesEquivOverUnit X.ringCatSheaf |
| 40 | have he (f : M.restrict U.ι ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 41 | G.map (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U f).hom ≫ I.hom = |
| 42 | ((Scheme.Modules.overFunctorEquiv U).app M).hom ≫ f.hom := by |
| 43 | simp only [G, I, SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso, |
| 44 | Functor.FullyFaithful.preimageIso_hom, Functor.FullyFaithful.map_preimage] |
| 45 | change (((Scheme.Modules.overFunctorEquiv U).app M).hom ≫ f.hom ≫ I.inv) ≫ I.hom = _ |
| 46 | exact frameUnitCancel _ _ I |
| 47 | apply faithfulFrameScalarTransport G I _ _ _ |
| 48 | (SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection (SheafCohomology.Projective.OpenFrames.Scheme.Modules.openTopSection U r)) |
| 49 | · exact (he e).trans ((congrArg (fun q => ((Scheme.Modules.overFunctorEquiv U).app M).hom ≫ q) h).trans |
| 50 | ((Category.assoc _ _ _).symm.trans (congrArg (fun q => q ≫ |
| 51 | SheafCohomology.Projective.UnitScalar.unitEndomorphismOfTopSection (SheafCohomology.Projective.OpenFrames.Scheme.Modules.openTopSection U r)) (he g).symm))) |
| 52 | · exact SheafCohomology.Projective.OverScalarRestriction.overEquiv_unitScalarEnd U r |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.FrameScalarTransport |