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.NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheaves |
| 2 | |
| 3 | /-! # Small Integer -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.SmallInteger.SmallIntegerSheafCoefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Integer-module and abelian sheaves in the original small coefficient universe -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | abbrev Integers : Type u := ULift.{u} ℤ |
| 16 | |
| 17 | variable {C : Type u} [Category.{u} C] (J : GrothendieckTopology C) |
| 18 | |
| 19 | abbrev forget : Sheaf J (ModuleCat.{u} Integers) ⥤ Sheaf J AddCommGrpCat.{u} := |
| 20 | sheafCompose J NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheaves.coefficientForget |
| 21 | |
| 22 | instance essSurj : (forget.{u} J).EssSurj where |
| 23 | mem_essImage F := by |
| 24 | let e := NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheaves.coefficientForget.{u}.asEquivalence |
| 25 | let G := (sheafCompose J e.inverse).obj F |
| 26 | refine ⟨G, ⟨(fullyFaithfulSheafToPresheaf J AddCommGrpCat.{u}).preimageIso ?_⟩⟩ |
| 27 | exact Functor.associator F.obj e.inverse e.functor ≪≫ |
| 28 | Functor.isoWhiskerLeft F.obj e.counitIso ≪≫ Functor.rightUnitor F.obj |
| 29 | |
| 30 | instance isEquivalence : (forget.{u} J).IsEquivalence where |
| 31 | |
| 32 | instance additive : (forget.{u} J).Additive where |
| 33 | map_add := by |
| 34 | intro M N a b |
| 35 | apply Sheaf.hom_ext |
| 36 | ext U x |
| 37 | rfl |
| 38 | |
| 39 | instance leftAdjoint : (forget.{u} J).IsLeftAdjoint := |
| 40 | (forget.{u} J).asEquivalence.isLeftAdjoint_functor |
| 41 | |
| 42 | instance rightAdjoint : (forget.{u} J).IsRightAdjoint := |
| 43 | (forget.{u} J).asEquivalence.symm.isRightAdjoint_inverse |
| 44 | |
| 45 | variable [HasSheafify J (ModuleCat.{u} Integers)] [HasSheafify J AddCommGrpCat.{u}] |
| 46 | |
| 47 | def constantIso : |
| 48 | (forget.{u} J).obj ((constantSheaf J (ModuleCat.{u} Integers)).obj |
| 49 | (ModuleCat.of Integers Integers)) ≅ |
| 50 | (constantSheaf J AddCommGrpCat.{u}).obj (AddCommGrpCat.of (ULift.{u} ℤ)) := |
| 51 | (constantCommuteCompose J NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheaves.coefficientForget).app |
| 52 | (ModuleCat.of Integers Integers) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.SmallInteger.SmallIntegerSheafCoefficients |