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.GeometricComparison.AdditiveCohomologyGenerators |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantSheafCoherence |
| 3 | |
| 4 | /-! # Additive Iso Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology.AdditiveIsoNaturality.AdditiveSheafCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The integer source map used in the rational-to-additive comparison is natural under actual scheme isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtale OAI.NumberTheory.PadicHodge.PeriodInvariants.ConstantSheafCoherence |
| 17 | |
| 18 | variable (R : Type 1) [Field R] [CharZero R] {X Y : Scheme.{0}} (e : X ≅ Y) |
| 19 | |
| 20 | omit [CharZero R] in |
| 21 | theorem sourceMap_iso : |
| 22 | (IntegralComparison.ProEtale.proEtaleSheafCongr Ab.{1} e).functor.map (AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology X)) ≫ |
| 23 | (AdditiveCohomologyFormula.AdditiveSheafCohomology.forgetField R (Scheme.ProEt.topology Y)).map |
| 24 | ((IntegralComparison.ProEtale.proEtaleSheafCongr_constant (ModuleCat.{1} R) e).hom.app (ModuleCat.of R R)) = |
| 25 | (IntegralComparison.ProEtale.proEtaleSheafCongr_constant Ab.{1} e).hom.app (AddCommGrpCat.of (ULift.{1} ℤ)) ≫ |
| 26 | AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology Y) := by |
| 27 | apply PeriodInvariants.ConstantSheafCoherence.transportedConstant_hom_ext Ab.{1} e |
| 28 | apply NatTrans.ext |
| 29 | funext U |
| 30 | let V := (IntegralComparison.ProEtale.proEtaleCongr e).inverse.op.obj U |
| 31 | let Z := AddCommGrpCat.of (ULift.{1} ℤ) |
| 32 | let M := ModuleCat.of R R |
| 33 | let F := AdditiveCohomologyGenerators.AdditiveSheafCohomology.forgetFieldCoefficients R |
| 34 | have hx := congr_app (AdditiveCohomologyGenerators.AdditiveSheafCohomology.sourceMap_generator R (Scheme.ProEt.topology X)) V |
| 35 | have hy := congr_app (AdditiveCohomologyGenerators.AdditiveSheafCohomology.sourceMap_generator R (Scheme.ProEt.topology Y)) U |
| 36 | have hz := congr_app (PeriodInvariants.ConstantSheafCoherence.constantTransport_generators Ab.{1} e Z) U |
| 37 | have hr := congr_app (PeriodInvariants.ConstantSheafCoherence.constantTransport_generators (ModuleCat.{1} R) e M) U |
| 38 | change (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) Z).app V ≫ |
| 39 | (AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology X)).hom.app V = |
| 40 | AdditiveCohomologyGenerators.AdditiveSheafCohomology.coefficientUnit R ≫ F.map ((PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) M).app V) at hx |
| 41 | change (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology Y) Z).app U ≫ |
| 42 | (AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology Y)).hom.app U = |
| 43 | AdditiveCohomologyGenerators.AdditiveSheafCohomology.coefficientUnit R ≫ F.map ((PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology Y) M).app U) at hy |
| 44 | change (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) Z).app V ≫ |
| 45 | (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant Ab.{1} e).hom.app Z).hom.app U) = |
| 46 | (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology Y) Z).app U at hz |
| 47 | change (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) M).app V ≫ |
| 48 | (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant (ModuleCat.{1} R) e).hom.app M).hom.app U) = |
| 49 | (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology Y) M).app U at hr |
| 50 | change (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) Z).app V ≫ |
| 51 | (AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology X)).hom.app V ≫ |
| 52 | F.map (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant (ModuleCat.{1} R) e).hom.app M).hom.app U) = |
| 53 | (PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) Z).app V ≫ |
| 54 | (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant Ab.{1} e).hom.app Z).hom.app U) ≫ |
| 55 | (AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology Y)).hom.app U |
| 56 | erw [← Category.assoc, hx] |
| 57 | erw [← Category.assoc ((PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) Z).app V) |
| 58 | (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant Ab.{1} e).hom.app Z).hom.app U), hz] |
| 59 | change AdditiveCohomologyGenerators.AdditiveSheafCohomology.coefficientUnit R ≫ F.map ((PeriodInvariants.ConstantSheafCoherence.constantGenerator (Scheme.ProEt.topology X) M).app V) ≫ |
| 60 | F.map (((IntegralComparison.ProEtale.proEtaleSheafCongr_constant (ModuleCat.{1} R) e).hom.app M).hom.app U) = _ |
| 61 | erw [← F.map_comp] |
| 62 | erw [hr] |
| 63 | exact hy.symm |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! The actual field-to-additive Ext comparison commutes with transport by scheme isomorphisms. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry |
| 70 | |
| 71 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProEtale |
| 72 | |
| 73 | variable (R : Type 1) [Field R] [CharZero R] {X Y : Scheme.{0}} (e : X ≅ Y) |
| 74 | [HasExt.{1} (Sheaf (Scheme.ProEt.topology X) (ModuleCat.{1} ℤ))] |
| 75 | [HasExt.{1} (Sheaf (Scheme.ProEt.topology Y) (ModuleCat.{1} ℤ))] |
| 76 | |
| 77 | theorem equiv_iso (N : Sheaf (Scheme.ProEt.topology X) (ModuleCat.{1} R)) (n : ℕ) |
| 78 | (x : Ext (AdditiveSheaf.AdditiveSheafCohomology.fieldConstant R (Scheme.ProEt.topology X)) N n) : |
| 79 | AdditiveSheaf.AdditiveSheafCohomology.equiv R (Scheme.ProEt.topology Y) ((IntegralComparison.ProEtale.proEtaleSheafCongr (ModuleCat.{1} R) e).functor.obj N) n |
| 80 | ((Ext.mk₀ ((IntegralComparison.ProEtale.proEtaleSheafCongr_constant (ModuleCat.{1} R) e).inv.app (ModuleCat.of R R))).comp |
| 81 | (x.mapExactFunctor (IntegralComparison.ProEtale.proEtaleSheafCongr (ModuleCat.{1} R) e).functor) (zero_add n)) = |
| 82 | (Ext.mk₀ ((IntegralComparison.ProEtale.proEtaleSheafCongr_constant Ab.{1} e).inv.app |
| 83 | (AddCommGrpCat.of (ULift.{1} ℤ)))).comp |
| 84 | ((AdditiveSheaf.AdditiveSheafCohomology.equiv R (Scheme.ProEt.topology X) N n x).mapExactFunctor |
| 85 | (IntegralComparison.ProEtale.proEtaleSheafCongr Ab.{1} e).functor) (zero_add n) := by |
| 86 | let FX := AdditiveCohomologyFormula.AdditiveSheafCohomology.forgetField R (Scheme.ProEt.topology X) |
| 87 | let FY := AdditiveCohomologyFormula.AdditiveSheafCohomology.forgetField R (Scheme.ProEt.topology Y) |
| 88 | let ER := (IntegralComparison.ProEtale.proEtaleSheafCongr (ModuleCat.{1} R) e).functor |
| 89 | let EA := (IntegralComparison.ProEtale.proEtaleSheafCongr Ab.{1} e).functor |
| 90 | let r := (IntegralComparison.ProEtale.proEtaleSheafCongr_constant (ModuleCat.{1} R) e).app (ModuleCat.of R R) |
| 91 | let z := (IntegralComparison.ProEtale.proEtaleSheafCongr_constant Ab.{1} e).app (AddCommGrpCat.of (ULift.{1} ℤ)) |
| 92 | let aX := AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology X) |
| 93 | let aY := AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R (Scheme.ProEt.topology Y) |
| 94 | have hs : aY ≫ FY.map r.inv = z.inv ≫ EA.map aX := by |
| 95 | apply (cancel_mono (FY.map r.hom)).mp |
| 96 | erw [Category.assoc, ← FY.map_comp, r.inv_hom_id, FY.map_id, Category.comp_id, |
| 97 | Category.assoc, sourceMap_iso, ← Category.assoc, z.inv_hom_id, Category.id_comp] |
| 98 | have he : (x.mapExactFunctor ER).mapExactFunctor FY = |
| 99 | (x.mapExactFunctor FX).mapExactFunctor EA := by |
| 100 | rw [← PeriodInvariants.ExtFunctoriality.mapExactFunctor_compFunctor ER FY, |
| 101 | ← PeriodInvariants.ExtFunctoriality.mapExactFunctor_compFunctor FX EA] |
| 102 | rfl |
| 103 | rw [AdditiveCohomologyFormula.AdditiveSheafCohomology.equiv_apply, AdditiveCohomologyFormula.AdditiveSheafCohomology.equiv_apply] |
| 104 | change (Ext.mk₀ aY).comp |
| 105 | (((Ext.mk₀ r.inv).comp (x.mapExactFunctor ER) (zero_add n)).mapExactFunctor FY) (zero_add n) = |
| 106 | (Ext.mk₀ z.inv).comp |
| 107 | (((Ext.mk₀ aX).comp (x.mapExactFunctor FX) (zero_add n)).mapExactFunctor EA) (zero_add n) |
| 108 | rw [Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀, |
| 109 | Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀] |
| 110 | rw [← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, |
| 111 | ← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, hs, he] |
| 112 | rfl |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology.AdditiveIsoNaturality.AdditiveSheafCohomology |