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.Semilattice.CechContraction |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.MeetRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.BaseChange |
| 4 | |
| 5 | /-! # Local Cech Contraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalCechContraction.SemilatticeLocalCechContraction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! If coefficient restriction to intersection with one chart is invertible, |
| 12 | the original Čech cochain complex contracts to its coefficient on that chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u w v z |
| 17 | variable (C : Type u) [SemilatticeInf C] {ι : Type w} (U : ι → C) (i : ι) |
| 18 | {A : Type v} [Category.{z} A] [Preadditive A] [HasProducts.{w} A] [HasZeroObject A] |
| 19 | (P : Cᵒᵖ ⥤ A) |
| 20 | (h : ∀ V : C, IsIso (P.map (homOfLE (inf_le_left : V ⊓ U i ≤ V)).op)) |
| 21 | |
| 22 | def family : ι → Set.Iic (U i) := (MeetRestriction.SemilatticeMeetRestriction.restriction C (U i)).obj ∘ U |
| 23 | |
| 24 | theorem family_self : family C U i i = ⊤ := by |
| 25 | apply Subtype.ext |
| 26 | change U i ⊓ U i = U i |
| 27 | exact inf_idem (U i) |
| 28 | |
| 29 | def coefficients : (Set.Iic (U i))ᵒᵖ ⥤ A := (MeetRestriction.SemilatticeMeetRestriction.inclusion C (U i)).op ⋙ P |
| 30 | |
| 31 | def complexIso : (IntegralComparison.NonemptyCechNerve.complexFunctor U).obj P ≅ |
| 32 | (IntegralComparison.NonemptyCechNerve.complexFunctor (family C U i)).obj (coefficients C U i P) := |
| 33 | (IntegralComparison.NonemptyCechNerve.complexFunctor U).mapIso (MeetRestriction.SemilatticeMeetRestriction.iso C (U i) P h) ≪≫ |
| 34 | NonemptyCech.BaseChange.NonemptyCechBaseChange.complexIso (MeetRestriction.SemilatticeMeetRestriction.restriction C (U i)) U |
| 35 | (coefficients C U i P) |
| 36 | |
| 37 | def homotopyEquiv : HomotopyEquiv ((CochainComplex.single₀ A).obj (P.obj (op (U i)))) |
| 38 | ((IntegralComparison.NonemptyCechNerve.complexFunctor U).obj P) := |
| 39 | (CechContraction.SemilatticeCechContraction.homotopyEquiv (Set.Iic (U i)) (family C U i) i |
| 40 | (family_self C U i) (coefficients C U i P)).trans |
| 41 | (HomotopyEquiv.ofIso (complexIso C U i P h).symm) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalCechContraction.SemilatticeLocalCechContraction |