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.First.ZeroQuotient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExtendShort |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TriangleSaturated |
| 4 | import Mathlib.Algebra.Homology.DerivedCategory.ShortExact |
| 5 | import Mathlib.Algebra.Homology.DerivedCategory.Linear |
| 6 | |
| 7 | /-! # Zero Saturated Image -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.First.ZeroSaturatedImage.FirstZeroComplex |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The positive Hodge image is saturated whenever the zero-term sheaf has torsion-free H-one. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Pretriangulated |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable (R : Type*) [CommRing R] [IsDomain R] {C : Type u} [Category.{v} C] [Abelian C] |
| 20 | [Linear R C] [HasDerivedCategory.{w} C] (K : CochainComplex C ℕ) (A : C) |
| 21 | |
| 22 | theorem hodge_quotient_torsionFree |
| 23 | [Module.IsTorsionFree R ((DerivedCategory.singleFunctor C 0).obj A ⟶ |
| 24 | (DerivedCategory.Q.obj ((ZeroQuotient.FirstZeroComplex.complex K).extend ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧)] : |
| 25 | Module.IsTorsionFree R |
| 26 | (((DerivedCategory.singleFunctor C 0).obj A ⟶ |
| 27 | (DerivedCategory.Q.obj (K.extend ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧) ⧸ |
| 28 | (Linear.rightComp R ((DerivedCategory.singleFunctor C 0).obj A) |
| 29 | ((DerivedCategory.Q.map (HomologicalComplex.extendMap |
| 30 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧')).range) := by |
| 31 | let S := (ZeroQuotient.FirstZeroComplex.quotientSequence K).map (ComplexShape.embeddingUpNat.extendFunctor C) |
| 32 | have hS : S.ShortExact := ExtendShort.ExtendShortExact.shortExact _ _ (ZeroQuotient.FirstZeroComplex.quotient_shortExact K) |
| 33 | let T := (shiftFunctor (Triangle (DerivedCategory C)) (1 : ℤ)).obj |
| 34 | (DerivedCategory.triangleOfSES hS) |
| 35 | have hT : T ∈ distTriang (DerivedCategory C) := |
| 36 | Triangle.shift_distinguished _ (DerivedCategory.triangleOfSES_distinguished hS) 1 |
| 37 | let B := (DerivedCategory.singleFunctor C 0).obj A |
| 38 | let g := (DerivedCategory.Q.map (HomologicalComplex.extendMap |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧' |
| 40 | have hg : T.mor₁ = -g := by |
| 41 | change (1 : ℤ).negOnePow • g = -g |
| 42 | rw [Int.negOnePow_one, Units.neg_smul, one_smul] |
| 43 | let : Module.IsTorsionFree R (B ⟶ T.obj₃) := by |
| 44 | change Module.IsTorsionFree R ((DerivedCategory.singleFunctor C 0).obj A ⟶ |
| 45 | (DerivedCategory.Q.obj ((ZeroQuotient.FirstZeroComplex.complex K).extend ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧) |
| 46 | infer_instance |
| 47 | have hrange : (Linear.rightComp R B T.mor₁).range = (Linear.rightComp R B g).range := by |
| 48 | rw [hg] |
| 49 | have hneg : Linear.rightComp R B (-g) = -(Linear.rightComp R B g) := by |
| 50 | ext x |
| 51 | exact Preadditive.comp_neg x g |
| 52 | erw [hneg, LinearMap.range_neg] |
| 53 | rfl |
| 54 | have htf := TriangleSaturated.TriangleSaturatedImage.quotient_torsionFree R T hT B |
| 55 | rw [hrange] at htf |
| 56 | exact htf |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.First.ZeroSaturatedImage.FirstZeroComplex |