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.IntegralComparison.Relative.ComplexRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComplexMap |
| 3 | |
| 4 | /-! # Relative Complex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeComplex.RelativeComplexRestrictionNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restricting the original relative crystalline complex is natural in |
| 11 | maps of its actual diagrams over the fixed base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | universe u v w v' w' |
| 17 | variable {C : Type v} [Category.{w} C] {D : Type v'} [Category.{w'} D] |
| 18 | {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 19 | {f : X ⟶ Spec (CommRingCat.of B)} (t : D ⥤ C) |
| 20 | (H K Q : C ⥤ IntegralComparison.BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) (ρ : K ⟶ Q) |
| 21 | (θ : H ⟶ K) (hθ : θ ≫ ρ = π) |
| 22 | |
| 23 | include hθ in |
| 24 | theorem projection : Functor.whiskerLeft t θ ≫ Functor.whiskerLeft t ρ = Functor.whiskerLeft t π := |
| 25 | (Functor.whiskerLeft_comp t θ ρ).symm.trans (congrArg (Functor.whiskerLeft t) hθ) |
| 26 | |
| 27 | theorem natural : |
| 28 | ((IntegralComparison.Relative.ComplexRestriction.restriction (B := B) t).mapHomologicalComplex (.up ℕ)).map |
| 29 | (IntegralComparison.Relative.DiagramComplexMap.map H K Q π ρ θ hθ) ≫ |
| 30 | (IntegralComparison.Relative.ComplexRestriction.complexIso t H Q π).hom = |
| 31 | (IntegralComparison.Relative.ComplexRestriction.complexIso t K Q ρ).hom ≫ |
| 32 | IntegralComparison.Relative.DiagramComplexMap.map (t ⋙ H) (t ⋙ K) (t ⋙ Q) |
| 33 | (Functor.whiskerLeft t π) (Functor.whiskerLeft t ρ) (Functor.whiskerLeft t θ) |
| 34 | (projection t H K Q π ρ θ hθ) := by |
| 35 | apply HomologicalComplex.Hom.ext |
| 36 | funext i |
| 37 | apply NatTrans.ext |
| 38 | funext U |
| 39 | apply ModuleCat.hom_ext |
| 40 | apply LinearMap.ext |
| 41 | intro x |
| 42 | rfl |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeComplex.RelativeComplexRestrictionNaturality |