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.AdditiveCohomologyFormula |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantCoefficientPaste |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantForget |
| 4 | |
| 5 | /-! # Additive Cohomology Generators -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AdditiveCohomologyGenerators.AdditiveSheafCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Normalize the additive cohomology comparison by a fixed coefficient map, independent of the site. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.GeometricComparison.SheafCoefficientCo.SheafCoefficientAdjunction OAI.NumberTheory.PadicHodge.GeometricComparison.IntegerSheaf.IntegerSheafEquivalence OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantCoefficientUnit.ConstantCoefficientExtension |
| 16 | |
| 17 | variable (R : Type 1) [Field R] [CharZero R] |
| 18 | |
| 19 | abbrev forgetFieldCoefficients : ModuleCat.{1} R ⥤ AddCommGrpCat.{1} := |
| 20 | SheafCoefficientCo.SheafCoefficientAdjunction.restrictCoefficients R ⋙ forget₂ (ModuleCat.{1} ℤ) AddCommGrpCat.{1} |
| 21 | |
| 22 | def coefficientUnit : AddCommGrpCat.of (ULift.{1} ℤ) ⟶ |
| 23 | (forgetFieldCoefficients R).obj (ModuleCat.of R R) := |
| 24 | (forget₂ (ModuleCat.{1} ℤ) AddCommGrpCat.{1}).map (ConstantCoefficientPaste.ConstantCoefficientUnit.coefficientUnit R) |
| 25 | |
| 26 | variable {C : Type 1} [Category.{0} C] (J : GrothendieckTopology C) |
| 27 | |
| 28 | omit [CharZero R] in |
| 29 | theorem sourceMap_generator : |
| 30 | toSheafify J ((Functor.const Cᵒᵖ).obj (AddCommGrpCat.of (ULift.{1} ℤ))) ≫ (AdditiveCohomologyFormula.AdditiveSheafCohomology.sourceMap R J).hom = |
| 31 | (Functor.const Cᵒᵖ).map (coefficientUnit R) ≫ |
| 32 | whiskerRight (toSheafify J ((Functor.const Cᵒᵖ).obj (ModuleCat.of R R))) |
| 33 | (forgetFieldCoefficients R) := by |
| 34 | let G := forget₂ (ModuleCat.{1} ℤ) AddCommGrpCat.{1} |
| 35 | let P := (Functor.const Cᵒᵖ).obj (ModuleCat.of ℤ (ULift.{1} ℤ)) |
| 36 | let Q := (Functor.const Cᵒᵖ).obj (AddCommGrpCat.of (ULift.{1} ℤ)) |
| 37 | have h := ConstantForget.ConstantForgetGenerators.inv_generator J G (ModuleCat.of ℤ (ULift.{1} ℤ)) |
| 38 | change 𝟙 _ ≫ toSheafify J Q ≫ (ConstantCoefficientUnit.ConstantCoefficientExtension.forgetConstantIso J).inv.hom = |
| 39 | whiskerRight (toSheafify J P) G at h |
| 40 | rw [Category.id_comp] at h |
| 41 | change toSheafify J Q ≫ (ConstantCoefficientUnit.ConstantCoefficientExtension.forgetConstantIso J).inv.hom ≫ |
| 42 | whiskerRight (ConstantCoefficientPaste.ConstantCoefficientUnit.sheafUnit R J).hom G = _ |
| 43 | erw [← Category.assoc, h] |
| 44 | erw [← whiskerRight_comp, ConstantCoefficientPaste.ConstantCoefficientUnit.generator] |
| 45 | rfl |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.GeometricComparison.AdditiveCohomologyGenerators.AdditiveSheafCohomology |