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.CechPresheaf.RefinedFactorization |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ProductCoefficient |
| 3 | |
| 4 | /-! # Refined Coefficient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedCoefficient.CechPresheafRefinedCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Additive coefficient change commutes with the actual projected |
| 11 | refinement of the original presheaf Cech total. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v s t a b d e |
| 16 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {D : Type s} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 18 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 19 | {B : Type d} [Category.{e} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 20 | (F : C ⥤ D) (G : A ⥤ B) [G.Additive] |
| 21 | {ι κ : Type} [Finite ι] [Finite κ] (U : ι → C) (V : κ → D) |
| 22 | [∀ (q : ℕ) (t : Fin (q + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 23 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 24 | (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) |
| 25 | |
| 26 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := A) F |
| 27 | local notation "KF" => Functor.obj (Functor.mapHomologicalComplex H (ComplexShape.up ℕ)) K |
| 28 | |
| 29 | theorem total : (G.mapHomologicalComplex (.up ℕ)).map (RefinedReindex.CechPresheafRefinedReindex.map F U V r K) ≫ |
| 30 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G (IntegralComparison.NonemptyCechNerve.nerve U) |
| 31 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) KF).hom = |
| 32 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G (IntegralComparison.NonemptyCechNerve.nerve V) |
| 33 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices V) K).hom ≫ |
| 34 | RefinedReindex.CechPresheafRefinedReindex.map F U V r (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K) := by |
| 35 | let T := G.mapHomologicalComplex (.up ℕ) |
| 36 | let e := HomologicalComplex₂.total.mapIso (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U K) (.up ℕ) |
| 37 | let e' := HomologicalComplex₂.total.mapIso |
| 38 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K)) (.up ℕ) |
| 39 | let c₀ := (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G (IntegralComparison.NonemptyCechNerve.nerve V) |
| 40 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices V) K).hom |
| 41 | let c₁ := (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G (IntegralComparison.NonemptyCechNerve.nerve (F.obj ∘ U)) |
| 42 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices (F.obj ∘ U)) K).hom |
| 43 | let c₂ := (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G (IntegralComparison.NonemptyCechNerve.nerve U) |
| 44 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) KF).hom |
| 45 | let a := RefinementCoefficient.CechPresheafRefinementCoefficient.map V (F.obj ∘ U) r K |
| 46 | let b := RefinementCoefficient.CechPresheafRefinementCoefficient.map V (F.obj ∘ U) r (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K) |
| 47 | have hInv : T.map e.inv ≫ c₂ = c₁ ≫ e'.inv := |
| 48 | (IntegralComparison.InverseCoordinateHomology.inverse (T.mapIso e) e' c₂ c₁ |
| 49 | (ProductCoefficient.CechPresheafProductCoefficient.total F G U K).symm).symm |
| 50 | have hRef : T.map a ≫ c₁ = c₀ ≫ b := RefinementCoefficient.CechPresheafRefinementCoefficient.total G V (F.obj ∘ U) r K |
| 51 | have hMid : T.map (a ≫ e.inv) ≫ c₂ = c₀ ≫ (b ≫ e'.inv) := |
| 52 | (congrArg (fun q => q ≫ c₂) (T.map_comp a e.inv)).trans |
| 53 | ((Category.assoc _ _ _).trans |
| 54 | ((congrArg (fun q => T.map a ≫ q) hInv).trans |
| 55 | ((Category.assoc _ _ _).symm.trans |
| 56 | ((congrArg (fun q => q ≫ e'.inv) hRef).trans (Category.assoc _ _ _))))) |
| 57 | exact (congrArg (fun q => T.map q ≫ c₂) (RefinedFactorization.CechPresheafRefinedFactorization.total F U V r K)).trans |
| 58 | (hMid.trans (congrArg (fun q => c₀ ≫ q) |
| 59 | (RefinedFactorization.CechPresheafRefinedFactorization.total F U V r (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K))).symm) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedCoefficient.CechPresheafRefinedCoefficient |