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.TwoFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConnectiveSectionOn |
| 3 | |
| 4 | /-! # Two Zero Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.First.TwoZeroSurjectivity.FirstTwoComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Surjectivity in derived degree zero for the actual first-two-term reduction map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | variable (R : Type) [CommRing R] (X : TopCat.{0}) |
| 15 | |
| 16 | local notation "V" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.Sheaves R X |
| 17 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.coefficient R X |
| 18 | |
| 19 | local instance : HasDerivedCategory.{1} V := HasDerivedCategory.standard _ |
| 20 | |
| 21 | def integerComplex (K : CochainComplex V ℕ) : CochainComplex V ℤ := |
| 22 | (TwoComplex.FirstTwoComplex.complex K).extend ComplexShape.embeddingUpNat |
| 23 | |
| 24 | def integerMap {K L : CochainComplex V ℕ} (f : K ⟶ L) : |
| 25 | integerComplex R X K ⟶ integerComplex R X L := |
| 26 | HomologicalComplex.extendMap (TwoComplex.FirstTwoComplex.map f) ComplexShape.embeddingUpNat |
| 27 | |
| 28 | instance integer_connective (K : CochainComplex V ℕ) : (integerComplex R X K).IsStrictlyGE 0 := by |
| 29 | change CochainComplex.IsStrictlyGE ((TwoComplex.FirstTwoComplex.complex K).extend ComplexShape.embeddingUpNat) 0 |
| 30 | infer_instance |
| 31 | |
| 32 | def integerTermIso (K : CochainComplex V ℕ) (n : ℕ) : |
| 33 | (integerComplex R X K).X (n : ℤ) ≅ (TwoComplex.FirstTwoComplex.complex K).X n := |
| 34 | (TwoComplex.FirstTwoComplex.complex K).extendXIso ComplexShape.embeddingUpNat rfl |
| 35 | |
| 36 | theorem integer_zero_surjective {K L : CochainComplex V ℕ} (f : K ⟶ L) |
| 37 | (hf : Function.Surjective ((f.f 0).hom.app (op ⊤))) : |
| 38 | Function.Surjective (((integerMap R X f).f 0).hom.app (op ⊤)) := by |
| 39 | let F := (sheafSections (Opens.grothendieckTopology X) (ModuleCat R)).obj (op ⊤) |
| 40 | let : Epi (F.map ((TwoComplex.FirstTwoComplex.map f).f 0)) := (ModuleCat.epi_iff_surjective _).mpr hf |
| 41 | have he : (integerMap R X f).f 0 = |
| 42 | (integerTermIso R X K 0).hom ≫ (TwoComplex.FirstTwoComplex.map f).f 0 ≫ (integerTermIso R X L 0).inv := |
| 43 | HomologicalComplex.extendMap_f (TwoComplex.FirstTwoComplex.map f) ComplexShape.embeddingUpNat rfl |
| 44 | apply (ModuleCat.epi_iff_surjective _).mp |
| 45 | change Epi (F.map ((integerMap R X f).f 0)) |
| 46 | rw [he, F.map_comp, F.map_comp] |
| 47 | infer_instance |
| 48 | |
| 49 | theorem integer_differential_zero (K : CochainComplex V ℕ) |
| 50 | (hd : ∀ x : (K.X 0).obj.obj (op ⊤), (K.d 0 1).hom.app (op ⊤) x = 0) |
| 51 | (x : ((integerComplex R X K).X 0).obj.obj (op ⊤)) : |
| 52 | ((integerComplex R X K).d 0 1).hom.app (op ⊤) x = 0 := by |
| 53 | have he : (integerComplex R X K).d 0 1 = |
| 54 | (integerTermIso R X K 0).hom ≫ (TwoComplex.FirstTwoComplex.complex K).d 0 1 ≫ (integerTermIso R X K 1).inv := |
| 55 | (TwoComplex.FirstTwoComplex.complex K).extend_d_eq ComplexShape.embeddingUpNat (i := 0) (j := 1) rfl rfl |
| 56 | rw [he] |
| 57 | change (integerTermIso R X K 1).inv.hom.app (op ⊤) |
| 58 | ((K.d 0 1).hom.app (op ⊤) ((integerTermIso R X K 0).hom.hom.app (op ⊤) x)) = 0 |
| 59 | erw [hd, map_zero] |
| 60 | |
| 61 | theorem derived_hzero_surjective {K L : CochainComplex V ℕ} (f : K ⟶ L) |
| 62 | (hf : Function.Surjective ((f.f 0).hom.app (op ⊤))) |
| 63 | (hd : ∀ x : (K.X 0).obj.obj (op ⊤), (K.d 0 1).hom.app (op ⊤) x = 0) : |
| 64 | Function.Surjective |
| 65 | (fun a : (DerivedCategory.singleFunctor V 0).obj A ⟶ |
| 66 | DerivedCategory.Q.obj (integerComplex R X K) => |
| 67 | a ≫ DerivedCategory.Q.map (integerMap R X f)) := |
| 68 | ConnectiveSectionOn.ConnectiveSectionSurjectivity.surjective R X _ _ (integerMap R X f) |
| 69 | (integer_zero_surjective R X f hf) (integer_differential_zero R X K hd) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.GeometricComparison.First.TwoZeroSurjectivity.FirstTwoComplex |