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.DeRham.Int |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComposition |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness |
| 4 | |
| 5 | /-! # Image Composition -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.ImageComposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical composition comparisons for the native inverse-image functors and coefficients. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 16 | |
| 17 | variable {R : Type} [CommRing R] |
| 18 | |
| 19 | def constantAdjunction (X : Over (Spec (CommRingCat.of R))) : |
| 20 | constantSheaf (Opens.grothendieckTopology X.left) (ModuleCat R) ⊣ |
| 21 | (sheafSections (Opens.grothendieckTopology X.left) (ModuleCat R)).obj (op ⊤) := |
| 22 | constantSheafAdj (Opens.grothendieckTopology X.left) (ModuleCat R) isTerminalTop |
| 23 | |
| 24 | variable {X Y Z : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 25 | |
| 26 | def inverseImageCompIso : Int.inverseImage g ⋙ Int.inverseImage f ≅ Int.inverseImage (f ≫ g) := |
| 27 | ((Int.imageAdjunction g).comp (Int.imageAdjunction f)).leftAdjointUniq (Int.imageAdjunction (f ≫ g)) |
| 28 | |
| 29 | def inverseImageComplexCompIso : |
| 30 | (Int.inverseImage g).mapHomologicalComplex (ComplexShape.up ℕ) ⋙ |
| 31 | (Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℕ) ≅ |
| 32 | (Int.inverseImage (f ≫ g)).mapHomologicalComplex (ComplexShape.up ℕ) := |
| 33 | ((Int.imageComplexAdjunction g).comp (Int.imageComplexAdjunction f)).leftAdjointUniq |
| 34 | (Int.imageComplexAdjunction (f ≫ g)) |
| 35 | |
| 36 | theorem inverseImageCompIso_onComplexes (K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Z) ℕ) : |
| 37 | (NatTrans.mapHomologicalComplex (inverseImageCompIso f g).hom (ComplexShape.up ℕ)).app K = |
| 38 | (inverseImageComplexCompIso f g).hom.app K := by |
| 39 | have h := AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness.onComplexes_leftAdjointUniq (ComplexShape.up ℕ) |
| 40 | ((Int.imageAdjunction g).comp (Int.imageAdjunction f)) (Int.imageAdjunction (f ≫ g)) K |
| 41 | erw [AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness.onComplexes_comp (ComplexShape.up ℕ) (Int.imageAdjunction g) (Int.imageAdjunction f)] at h |
| 42 | exact h.symm |
| 43 | |
| 44 | theorem inverseImageCompIso_constant : |
| 45 | (Int.inverseImage f).map (Int.inverseImageConstantIso g).hom ≫ (Int.inverseImageConstantIso f).hom = |
| 46 | (inverseImageCompIso f g).hom.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Z) ≫ |
| 47 | (Int.inverseImageConstantIso (f ≫ g)).hom := by |
| 48 | let a := constantAdjunction Z |
| 49 | let b := Int.imageAdjunction g |
| 50 | let c := Int.imageAdjunction f |
| 51 | let d := constantAdjunction Y |
| 52 | let e := constantAdjunction X |
| 53 | let q := Int.imageAdjunction (f ≫ g) |
| 54 | let m := ModuleCat.of R R |
| 55 | have hw := AlgebraicGeometry.Comparison.Betti.AdjunctionComposition.leftAdjointUniq_whiskerRight (a.comp b) d c m |
| 56 | have h₁ := (Adjunction.leftAdjointUniq_trans_app ((a.comp b).comp c) (d.comp c) e m).symm.trans |
| 57 | (congrArg (fun t => t ≫ ((d.comp c).leftAdjointUniq e).hom.app m) hw) |
| 58 | erw [AlgebraicGeometry.Comparison.Betti.AdjunctionComposition.comp_assoc a b c] at h₁ |
| 59 | have hl := AlgebraicGeometry.Comparison.Betti.AdjunctionComposition.leftAdjointUniq_whiskerLeft a (b.comp c) q m |
| 60 | have h₂ := Adjunction.leftAdjointUniq_trans_app (a.comp (b.comp c)) (a.comp q) e m |
| 61 | erw [hl] at h₂ |
| 62 | exact h₁.symm.trans h₂.symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.ImageComposition |