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.PullbackTensorMonoidal |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.EquivalenceRightAdjointMate |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleTensorEquivalence |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 5 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SheafTensor |
| 6 | |
| 7 | /-! # Line Bundle Projection Formula -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleProjectionFormula.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The pushforward projection formula for an actual line bundle. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | def tensorRightEquivalenceOfInverse |
| 20 | {C : Type u} [Category.{v} C] [MonoidalCategory C] |
| 21 | (M N : C) (e : M ⊗ N ≅ 𝟙_ C) (f : N ⊗ M ≅ 𝟙_ C) : C ≌ C := |
| 22 | CategoryTheory.Equivalence.mk (tensorRight M) (tensorRight N) |
| 23 | ((tensorRightTensor M N).symm ≪≫ (tensoringRight C).mapIso e ≪≫ |
| 24 | rightUnitorNatIso C).symm |
| 25 | ((tensorRightTensor N M).symm ≪≫ (tensoringRight C).mapIso f ≪≫ |
| 26 | rightUnitorNatIso C) |
| 27 | |
| 28 | def lineBundleProjectionFormula {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 29 | (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (M : X.Modules) : |
| 30 | SheafTensor.Construction.sheafTensor ((Scheme.Modules.pushforward f).obj M) L.sheaf ≅ |
| 31 | (Scheme.Modules.pushforward f).obj |
| 32 | (SheafTensor.Construction.sheafTensor M ((Scheme.Modules.pullback f).obj L.sheaf)) := by |
| 33 | letI := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 34 | letI := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory Y |
| 35 | letI := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.symmetricCategory X |
| 36 | letI := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.symmetricCategory Y |
| 37 | letI := AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorGeneral.Scheme.Modules.pullbackMonoidal f |
| 38 | let P := L.sheaf |
| 39 | let N := AlgebraicGeometry.SheafCohomology.Projective.Dual.Scheme.Modules.dualObj P |
| 40 | let ePN : P ⊗ N ≅ 𝟙_ Y.Modules := |
| 41 | AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalTensorObjIso P N ≪≫ |
| 42 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleEvaluation.Scheme.Modules.invertibleEvaluationIso (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) ≪≫ |
| 43 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso Y).symm |
| 44 | let eNP : N ⊗ P ≅ 𝟙_ Y.Modules := (β_ _ _) ≪≫ ePN |
| 45 | let E := tensorRightEquivalenceOfInverse P N ePN eNP |
| 46 | let P' := (Scheme.Modules.pullback f).obj P |
| 47 | let N' := (Scheme.Modules.pullback f).obj N |
| 48 | let ep : P' ⊗ N' ≅ 𝟙_ X.Modules := |
| 49 | Functor.Monoidal.μIso (Scheme.Modules.pullback f) P N ≪≫ |
| 50 | (Scheme.Modules.pullback f).mapIso ePN ≪≫ |
| 51 | (Functor.Monoidal.εIso (Scheme.Modules.pullback f)).symm |
| 52 | let en : N' ⊗ P' ≅ 𝟙_ X.Modules := (β_ _ _) ≪≫ ep |
| 53 | let E' := tensorRightEquivalenceOfInverse P' N' ep en |
| 54 | let h : E.inverse ⋙ Scheme.Modules.pullback f ≅ Scheme.Modules.pullback f ⋙ E'.inverse := |
| 55 | (Functor.Monoidal.commTensorRight N (F := Scheme.Modules.pullback f)).symm |
| 56 | let e := AlgebraicGeometry.SheafCohomology.Projective.EquivalenceRightAdjointMate.inverseEquivalenceCommutesWithRightAdjoint E.symm E'.symm |
| 57 | (Scheme.Modules.pullback f) (Scheme.Modules.pushforward f) |
| 58 | (Scheme.Modules.pullbackPushforwardAdjunction f) h |
| 59 | exact (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalTensorObjIso ((Scheme.Modules.pushforward f).obj M) P).symm ≪≫ |
| 60 | e.app M ≪≫ (Scheme.Modules.pushforward f).mapIso (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalTensorObjIso M P') |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleProjectionFormula.Construction |