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.ExactHomology |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Extension |
| 3 | import Mathlib.Algebra.Homology.Embedding.ExtendHomology |
| 4 | |
| 5 | /-! # Extended Section -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ExtendedSection.ExtendedSectionHomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The passage from ordinary nonnegative section cohomology to integer section cohomology is natural. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits |
| 14 | |
| 15 | theorem inverse_square {C : Type*} [Category* C] {A B A' B' : C} |
| 16 | (e : A ≅ A') (d : B ≅ B') (f : A ⟶ B) (g : A' ⟶ B') |
| 17 | (h : f ≫ d.hom = e.hom ≫ g) : g ≫ d.inv = e.inv ≫ f := by |
| 18 | rw [← cancel_epi e.hom, ← cancel_mono d.hom] |
| 19 | simpa only [Category.assoc, Iso.inv_hom_id, Iso.hom_inv_id_assoc, Category.comp_id] using h.symm |
| 20 | |
| 21 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 22 | (F : C ⥤ D) [F.Additive] |
| 23 | |
| 24 | def iso (K : CochainComplex C ℕ) (n : ℕ) : |
| 25 | (((F.mapHomologicalComplex (.up ℕ)).obj K).homology n) ≅ |
| 26 | (((F.mapHomologicalComplex (.up ℤ)).obj (K.extend ComplexShape.embeddingUpNat)).homology (n : ℤ)) := |
| 27 | (((F.mapHomologicalComplex (.up ℕ)).obj K).extendHomologyIso |
| 28 | ComplexShape.embeddingUpNat (j := n) rfl).symm ≪≫ |
| 29 | (HomologicalComplex.homologyFunctor D (.up ℤ) (n : ℤ)).mapIso |
| 30 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat K).symm |
| 31 | |
| 32 | theorem naturality {K L : CochainComplex C ℕ} (f : K ⟶ L) (n : ℕ) : |
| 33 | HomologicalComplex.homologyMap ((F.mapHomologicalComplex (.up ℕ)).map f) n ≫ (iso F L n).hom = |
| 34 | (iso F K n).hom ≫ HomologicalComplex.homologyMap |
| 35 | ((F.mapHomologicalComplex (.up ℤ)).map (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat)) |
| 36 | (n : ℤ) := by |
| 37 | let f' := (F.mapHomologicalComplex (.up ℕ)).map f |
| 38 | let H := HomologicalComplex.homologyFunctor D (.up ℤ) (n : ℤ) |
| 39 | have h₁ := inverse_square |
| 40 | (((F.mapHomologicalComplex (.up ℕ)).obj K).extendHomologyIso ComplexShape.embeddingUpNat (j := n) rfl) |
| 41 | (((F.mapHomologicalComplex (.up ℕ)).obj L).extendHomologyIso ComplexShape.embeddingUpNat (j := n) rfl) |
| 42 | _ _ (HomologicalComplex.extendHomologyIso_hom_naturality f' ComplexShape.embeddingUpNat rfl) |
| 43 | have hi := inverse_square |
| 44 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat K) |
| 45 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat L) _ _ |
| 46 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso_naturality F ComplexShape.embeddingUpNat f) |
| 47 | have h₂ := congrArg H.map hi |
| 48 | simp only [CategoryTheory.Functor.map_comp] at h₂ |
| 49 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ExtendedSection.ExtendedSectionHomology |