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.RepresentationTheory.Theta.Geometric.Pullback.UnitComposition |
| 2 | |
| 3 | /-! # Frame Composition -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Pullback.FrameComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native frames respect the canonical composition of module pullbacks. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | local instance (X : Scheme.{u}) : MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 16 | local instance {X Y : Scheme.{u}} (f : X ⟶ Y) : (Scheme.Modules.pullback f).Monoidal := |
| 17 | AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorGeneral.Scheme.Modules.pullbackMonoidal f |
| 18 | |
| 19 | theorem pullbackUnitIso_comp {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 20 | (Scheme.Modules.pullbackComp f g).app (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Z) ≪≫ |
| 21 | AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso (f ≫ g) = |
| 22 | (Scheme.Modules.pullback f).mapIso (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso g) ≪≫ |
| 23 | AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso f := by |
| 24 | let : (Scheme.Modules.pullbackComp f g).hom.IsMonoidal := |
| 25 | AlgebraicGeometry.SheafCohomology.Projective.PullbackCompMonoidal.Scheme.Modules.pullbackComp_hom_isMonoidal f g |
| 26 | apply Iso.ext |
| 27 | exact UnitComposition.pullbackUnitIso_comparison g f (f ≫ g) (Scheme.Modules.pullbackComp f g) |
| 28 | |
| 29 | def pullbackGlobalFrame {X Y : Scheme.{u}} (f : X ⟶ Y) {M : Y.Modules} |
| 30 | (e : M ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) : |
| 31 | (Scheme.Modules.pullback f).obj M ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X := |
| 32 | (Scheme.Modules.pullback f).mapIso e ≪≫ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso f |
| 33 | |
| 34 | theorem pullbackGlobalFrame_comp {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 35 | {M : Z.Modules} (e : M ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Z) : |
| 36 | (Scheme.Modules.pullbackComp f g).app M ≪≫ pullbackGlobalFrame (f ≫ g) e = |
| 37 | pullbackGlobalFrame f (pullbackGlobalFrame g e) := by |
| 38 | apply Iso.ext |
| 39 | have hn := (Scheme.Modules.pullbackComp f g).hom.naturality e.hom |
| 40 | change (Scheme.Modules.pullback f).map ((Scheme.Modules.pullback g).map e.hom) ≫ |
| 41 | ((Scheme.Modules.pullbackComp f g).app (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Z)).hom = |
| 42 | ((Scheme.Modules.pullbackComp f g).app M).hom ≫ (Scheme.Modules.pullback (f ≫ g)).map e.hom at hn |
| 43 | have hu := congrArg Iso.hom (pullbackUnitIso_comp f g) |
| 44 | simp only [Iso.trans_hom, Functor.mapIso_hom] at hu |
| 45 | simp only [pullbackGlobalFrame, Iso.trans_hom, Functor.mapIso_hom, Functor.map_comp, Category.assoc] |
| 46 | rw [← Category.assoc, ← hn, Category.assoc, hu] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.RepresentationTheory.Theta.Geometric.Pullback.FrameComposition |