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.NonemptyCech.RefinementCoefficient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientNaturality |
| 4 | |
| 5 | /-! # Refinement Coefficient -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinementCoefficient.CechPresheafRefinementCoefficient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additive coefficient change commutes with refinement of the |
| 12 | original Cech bicomplex and total of a presheaf complex. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 15 | |
| 16 | universe u v a b d e |
| 17 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 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 : A ⥤ B) [F.Additive] {ι κ : Type} [Finite ι] [Finite κ] |
| 21 | (U : ι → C) (V : κ → C) (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 22 | (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 23 | |
| 24 | local notation "EU" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 25 | local notation "EV" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve V |
| 26 | |
| 27 | def bicomplexMap : CoefficientTotal.CechPresheafCoefficientTotal.bicomplex EU K ⟶ CoefficientTotal.CechPresheafCoefficientTotal.bicomplex EV K := |
| 28 | ((NonemptyCech.Refinement.NonemptyCechRefinement.transformation U V r).mapHomologicalComplex (.up ℕ)).app K |
| 29 | |
| 30 | def map := HomologicalComplex₂.total.map (bicomplexMap U V r K) (.up ℕ) |
| 31 | |
| 32 | omit [HasCoproducts.{0} A] [HasCoproducts.{0} B] in |
| 33 | theorem bicomplex : TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap F (bicomplexMap U V r K) ≫ |
| 34 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F EV (NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.finite_indices V) K).hom = |
| 35 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F EU (NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.finite_indices U) K).hom ≫ |
| 36 | bicomplexMap U V r (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K) := by |
| 37 | apply HomologicalComplex.Hom.ext |
| 38 | funext q |
| 39 | exact NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.natural F U V r (K.X q) |
| 40 | |
| 41 | theorem total : (F.mapHomologicalComplex (.up ℕ)).map (CechPresheafRefinementCoefficient.map U V r K) ≫ |
| 42 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F EV (NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.finite_indices V) K).hom = |
| 43 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F EU (NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.finite_indices U) K).hom ≫ |
| 44 | CechPresheafRefinementCoefficient.map U V r (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K) := by |
| 45 | let a := bicomplexMap U V r K |
| 46 | have h₁ := IntegralComparison.InverseCoordinateHomology.inverse |
| 47 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex EU K)) |
| 48 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex EV K)) |
| 49 | (HomologicalComplex₂.total.map (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap F a) (.up ℕ)) |
| 50 | ((F.mapHomologicalComplex (.up ℕ)).map (CechPresheafRefinementCoefficient.map U V r K)) |
| 51 | (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.natural F a) |
| 52 | let T := HomologicalComplex₂.totalFunctor B (.up ℕ) (.up ℕ) (.up ℕ) |
| 53 | have h₂ := (T.map_comp (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap F a) |
| 54 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F EV (NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.finite_indices V) K).hom).symm.trans |
| 55 | ((congrArg T.map (bicomplex F U V r K)).trans |
| 56 | (T.map_comp (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F EU (NonemptyCech.RefinementCoefficient.NonemptyCechRefinementCoefficient.finite_indices U) K).hom |
| 57 | (bicomplexMap U V r (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K)))) |
| 58 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinementCoefficient.CechPresheafRefinementCoefficient |