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.TwoPrimeTorsion |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexLimits |
| 3 | |
| 4 | /-! # Single Prime -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SinglePrime.SinglePrimeTorsion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A sheaf reduction sequence with surjective global sections gives torsion-free degree-one sheaf cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | variable (p : ℕ) [Fact p.Prime] (X : TopCat.{0}) |
| 15 | |
| 16 | local notation "V" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.Sheaves ℤ_[p] X |
| 17 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.coefficient ℤ_[p] X |
| 18 | |
| 19 | local instance : HasDerivedCategory.{1} V := HasDerivedCategory.standard _ |
| 20 | |
| 21 | theorem torsionFree (M N : V) (r : M ⟶ N) |
| 22 | (hz : ((p : ℤ_[p]) • 𝟙 M) ≫ r = 0) |
| 23 | (he : (ShortComplex.mk ((p : ℤ_[p]) • 𝟙 M) r hz).ShortExact) |
| 24 | (hf : Function.Surjective (r.hom.app (op ⊤))) : |
| 25 | Module.IsTorsionFree ℤ_[p] |
| 26 | ((DerivedCategory.singleFunctor V 0).obj A ⟶ |
| 27 | (DerivedCategory.Q.obj (((CochainComplex.single₀ V).obj M).extend |
| 28 | ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧) := by |
| 29 | let F := CochainComplex.single₀ V |
| 30 | have hfirst : F.map ((p : ℤ_[p]) • 𝟙 M) = (p : ℤ_[p]) • 𝟙 (F.obj M) := by |
| 31 | apply HomologicalComplex.Hom.ext |
| 32 | funext n |
| 33 | cases n with |
| 34 | | zero => |
| 35 | change ((CochainComplex.single₀ V).map ((p : ℤ_[p]) • 𝟙 M)).f 0 = _ |
| 36 | rw [CochainComplex.single₀_map_f_zero] |
| 37 | rfl |
| 38 | | succ n => |
| 39 | exact (HomologicalComplex.isZero_single_obj_X (.up ℕ) 0 M (n + 1) (by omega)).eq_of_tgt _ _ |
| 40 | have hzF : ((p : ℤ_[p]) • 𝟙 (F.obj M)) ≫ F.map r = 0 := by |
| 41 | rw [← hfirst, ← F.map_comp, hz, F.map_zero] |
| 42 | have e : (ShortComplex.mk ((p : ℤ_[p]) • 𝟙 (F.obj M)) (F.map r) hzF) ≅ |
| 43 | (ShortComplex.mk ((p : ℤ_[p]) • 𝟙 M) r hz).map F := |
| 44 | ShortComplex.isoMk (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 45 | (by |
| 46 | change 𝟙 _ ≫ F.map ((p : ℤ_[p]) • 𝟙 M) = ((p : ℤ_[p]) • 𝟙 (F.obj M)) ≫ 𝟙 _ |
| 47 | rw [Category.id_comp, Category.comp_id] |
| 48 | exact hfirst) |
| 49 | (by |
| 50 | change 𝟙 _ ≫ F.map r = F.map r ≫ 𝟙 _ |
| 51 | rw [Category.id_comp, Category.comp_id]) |
| 52 | have heF := (ShortComplex.shortExact_iff_of_iso e).mpr (he.map_of_exact F) |
| 53 | apply First.TwoPrimeTorsion.FirstTwoComplex.torsionFree p X (F.obj M) (F.obj N) (F.map r) hzF |
| 54 | · intro n _ |
| 55 | exact (HomologicalComplex.shortExact_iff_degreewise_shortExact _).mp heF n |
| 56 | · change Function.Surjective ((((CochainComplex.single₀ V).map r).f 0).hom.app (op ⊤)) |
| 57 | erw [CochainComplex.single₀_map_f_zero] |
| 58 | exact hf |
| 59 | · intro x |
| 60 | change (((CochainComplex.single₀ V).obj M).d 0 1).hom.app (op ⊤) x = 0 |
| 61 | rw [HomologicalComplex.single_obj_d] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SinglePrime.SinglePrimeTorsion |