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.SheafCoefficients |
| 2 | |
| 3 | /-! # Sheaf Coefficient Equivalence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafCoefficientEquivalence.SheafCoefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The explicit sheaf coefficient equivalence, retaining the inverse restriction functor. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C : Type} [Category.{0} C] (J : GrothendieckTopology C) |
| 14 | {R S : Type} [CommRing R] [CommRing S] (σ : R ≃+* S) |
| 15 | |
| 16 | def equivalence : Sheaf J (ModuleCat.{0} S) ≌ Sheaf J (ModuleCat.{0} R) where |
| 17 | functor := sheafCompose J (ModuleCat.restrictScalars σ.toRingHom) |
| 18 | inverse := sheafCompose J (ModuleCat.restrictScalars σ.symm.toRingHom) |
| 19 | unitIso := NatIso.ofComponents (fun P => ObjectProperty.isoMk _ |
| 20 | (((ModuleCat.restrictScalarsEquivalenceOfRingEquiv σ).congrRight).unitIso.app P.obj)) |
| 21 | counitIso := NatIso.ofComponents (fun P => ObjectProperty.isoMk _ |
| 22 | (((ModuleCat.restrictScalarsEquivalenceOfRingEquiv σ).congrRight).counitIso.app P.obj)) |
| 23 | functor_unitIso_comp P := by |
| 24 | apply ObjectProperty.hom_ext |
| 25 | exact ((ModuleCat.restrictScalarsEquivalenceOfRingEquiv σ).congrRight).functor_unitIso_comp P.obj |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafCoefficientEquivalence.SheafCoefficients |