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.AdditiveSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ExtFunctoriality |
| 3 | |
| 4 | /-! # Additive Cohomology Formula -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AdditiveCohomologyFormula.AdditiveSheafCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A single exact-functor formula for the constructed field-to-additive cohomology comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.GeometricComparison.SheafCoefficientCo.SheafCoefficientAdjunction OAI.NumberTheory.PadicHodge.GeometricComparison.IntegerSheaf.IntegerSheafEquivalence OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantCoefficientUnit.ConstantCoefficientExtension |
| 15 | |
| 16 | variable (R : Type 1) [Field R] [CharZero R] |
| 17 | {C : Type 1} [Category.{0} C] (J : GrothendieckTopology C) |
| 18 | [HasExt.{1} (Sheaf J (ModuleCat.{1} R))] |
| 19 | [HasExt.{1} (Sheaf J (ModuleCat.{1} ℤ))] |
| 20 | [HasExt.{1} (Sheaf J AddCommGrpCat.{1})] |
| 21 | |
| 22 | abbrev forgetField : Sheaf J (ModuleCat.{1} R) ⥤ Sheaf J AddCommGrpCat.{1} := |
| 23 | SheafCoefficientCo.SheafCoefficientAdjunction.restrictSheaf R J ⋙ IntegerSheaf.IntegerSheafEquivalence.forgetSheaf J |
| 24 | |
| 25 | def sourceMap : AdditiveSheaf.AdditiveSheafCohomology.additiveConstant J ⟶ (forgetField R J).obj (AdditiveSheaf.AdditiveSheafCohomology.fieldConstant R J) := |
| 26 | (ConstantCoefficientUnit.ConstantCoefficientExtension.forgetConstantIso J).inv ≫ (IntegerSheaf.IntegerSheafEquivalence.forgetSheaf J).map |
| 27 | ((SheafCoefficientCo.SheafCoefficientAdjunction.adjunction R J).unit.app (AdditiveSheaf.AdditiveSheafCohomology.integerConstant J) ≫ (SheafCoefficientCo.SheafCoefficientAdjunction.restrictSheaf R J).map (ConstantCoefficientUnit.ConstantCoefficientExtension.constantIso R J).hom) |
| 28 | |
| 29 | theorem equiv_apply (N : Sheaf J (ModuleCat.{1} R)) (n : ℕ) |
| 30 | (x : Ext (AdditiveSheaf.AdditiveSheafCohomology.fieldConstant R J) N n) : |
| 31 | AdditiveSheaf.AdditiveSheafCohomology.equiv R J N n x = |
| 32 | (Ext.mk₀ (sourceMap R J)).comp (x.mapExactFunctor (forgetField R J)) (zero_add n) := by |
| 33 | let F := SheafCoefficientCo.SheafCoefficientAdjunction.restrictSheaf R J |
| 34 | let G := IntegerSheaf.IntegerSheafEquivalence.forgetSheaf J |
| 35 | change (Ext.mk₀ (ConstantCoefficientUnit.ConstantCoefficientExtension.forgetConstantIso J).inv).comp |
| 36 | (((Ext.mk₀ ((SheafCoefficientCo.SheafCoefficientAdjunction.adjunction R J).unit.app (AdditiveSheaf.AdditiveSheafCohomology.integerConstant J))).comp |
| 37 | (((Ext.mk₀ (ConstantCoefficientUnit.ConstantCoefficientExtension.constantIso R J).hom).comp x (zero_add n)).mapExactFunctor F) |
| 38 | (zero_add n)).mapExactFunctor G) (zero_add n) = _ |
| 39 | rw [PeriodInvariants.ExtFunctoriality.mapExactFunctor_compFunctor F G] |
| 40 | simp only [Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀, |
| 41 | ← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, sourceMap, Functor.map_comp] |
| 42 | rfl |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.AdditiveCohomologyFormula.AdditiveSheafCohomology |