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.PeriodInvariants.ConstantSheafCoherence |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.Linear |
| 3 | |
| 4 | /-! # Degree Zero Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.DegreeZeroSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Actual degree-zero Ext from a constant rank-one sheaf |
| 12 | |
| 13 | The degree-zero Ext equivalence, the constant-sheaf adjunction, and |
| 14 | evaluation at one identify degree-zero cohomology with sections over |
| 15 | the terminal object. All identifications preserve the coefficient action. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 19 | |
| 20 | universe u v w t |
| 21 | |
| 22 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 23 | variable (R : Type w) [CommRing R] [HasSheafify J (ModuleCat.{w} R)] |
| 24 | variable {T : C} (hT : IsTerminal T) |
| 25 | |
| 26 | def homSectionsEquiv (F : Sheaf J (ModuleCat.{w} R)) : |
| 27 | ((constantSheaf J (ModuleCat.{w} R)).obj (ModuleCat.of R R) ⟶ F) ≃ F.obj.obj (op T) := |
| 28 | ((constantSheafAdj J (ModuleCat.{w} R) hT).homEquiv (ModuleCat.of R R) F).trans |
| 29 | ((ModuleCat.homLinearEquiv (R := R) (S := R)).toEquiv.trans |
| 30 | (LinearMap.ringLmapEquivSelf R R _).toEquiv) |
| 31 | |
| 32 | theorem homSectionsEquiv_apply (F : Sheaf J (ModuleCat.{w} R)) |
| 33 | (f : (constantSheaf J (ModuleCat.{w} R)).obj (ModuleCat.of R R) ⟶ F) : |
| 34 | homSectionsEquiv J R hT F f = |
| 35 | ((constantSheafAdj J (ModuleCat.{w} R) hT).homEquiv (ModuleCat.of R R) F f) 1 := rfl |
| 36 | |
| 37 | def homSectionsLinearEquiv (F : Sheaf J (ModuleCat.{w} R)) : |
| 38 | ((constantSheaf J (ModuleCat.{w} R)).obj (ModuleCat.of R R) ⟶ F) ≃ₗ[R] F.obj.obj (op T) where |
| 39 | toEquiv := homSectionsEquiv J R hT F |
| 40 | map_add' f g := by |
| 41 | change homSectionsEquiv J R hT F (f + g) = homSectionsEquiv J R hT F f + homSectionsEquiv J R hT F g |
| 42 | simp only [homSectionsEquiv_apply, Adjunction.homEquiv_unit] |
| 43 | rfl |
| 44 | map_smul' c f := by |
| 45 | change homSectionsEquiv J R hT F (c • f) = c • homSectionsEquiv J R hT F f |
| 46 | simp only [homSectionsEquiv_apply, Adjunction.homEquiv_unit] |
| 47 | rfl |
| 48 | |
| 49 | variable [HasExt.{t} (Sheaf J (ModuleCat.{w} R))] |
| 50 | |
| 51 | def degreeZeroEquiv (F : Sheaf J (ModuleCat.{w} R)) : |
| 52 | Abelian.Ext.{t} ((constantSheaf J (ModuleCat.{w} R)).obj (ModuleCat.of R R)) F 0 ≃ₗ[R] |
| 53 | F.obj.obj (op T) := |
| 54 | (Abelian.Ext.linearEquiv₀ (R := R)).trans (homSectionsLinearEquiv J R hT F) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.DegreeZeroSections |