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.IntegralComparison.DoubleCechRegrouping |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.HorizontalEdge |
| 3 | |
| 4 | /-! # Double Cech Global Augmentation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DoubleCechGlobalAugmentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical triple regrouping carries the genuine global cone |
| 11 | augmentation to the outer augmentation of its row totals. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v w z |
| 16 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {A : Type w} [Category.{z} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 18 | {ι : Type} [Finite ι] (U : ι → C) |
| 19 | (P : Cᵒᵖ ⥤ HomologicalComplex₂ A (.up ℕ) (.up ℕ)) |
| 20 | (M : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) |
| 21 | (η : (Functor.const Cᵒᵖ).obj M ⟶ P) |
| 22 | attribute [local instance] TripleTotal.Rotation.total TripleTotal.Rotation.complexTotal |
| 23 | |
| 24 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RowCoordinates.rowFunctor (A := A) |
| 25 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.DoubleCechRegrouping.triple U P |
| 26 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.zeroMap U P M η |
| 27 | local notation "wa" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal.cocycle U P M η |
| 28 | |
| 29 | def cone : (Functor.const Cᵒᵖ).obj ((F).obj M) ⟶ P ⋙ F := |
| 30 | (Functor.constComp Cᵒᵖ M F).inv ≫ Functor.whiskerRight η F |
| 31 | |
| 32 | def map := GeometricComparison.CechCone.Total.CechConeTotal.augmentation U (P ⋙ F) ((F).obj M) (cone P M η) |
| 33 | |
| 34 | def coefficientIso := GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.complexIso F |
| 35 | (NonemptyCechNerve.nerve U) (fun _ => inferInstanceAs (Finite (Fin _ → ι))) P |
| 36 | |
| 37 | theorem zeroMap : (F).map a ≫ (coefficientIso U P).hom.f 0 = |
| 38 | GeometricComparison.CechCone.Total.CechConeTotal.zeroMap U (P ⋙ F) ((F).obj M) (cone P M η) := by |
| 39 | dsimp only [coefficientIso] |
| 40 | erw [GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.hom_f] |
| 41 | apply Pi.hom_ext |
| 42 | intro (b : Fin 1 → ι) |
| 43 | erw [Category.assoc, piComparison_comp_π, ← Functor.map_comp] |
| 44 | change (F).map (Pi.lift (fun b : Fin 1 → ι => η.app (op (∏ᶜ (U ∘ b)))) ≫ Pi.π _ b) = |
| 45 | Pi.lift (fun b : Fin 1 → ι => (cone P M η).app (op (∏ᶜ (U ∘ b)))) ≫ Pi.π _ b |
| 46 | erw [Pi.lift_comp_π, Pi.lift_comp_π] |
| 47 | exact (Category.id_comp _).symm |
| 48 | |
| 49 | theorem row_normalization : TripleTotal.HorizontalEdge.rightMap S M a wa ≫ |
| 50 | (DoubleCechRegrouping.totalIso U P).hom = DoubleCechGlobalAugmentation.map U P M η := by |
| 51 | apply HomologicalComplex.Hom.ext |
| 52 | funext N |
| 53 | change (((F).map a).f N ≫ |
| 54 | (TripleTotal.RowCoordinates.bicomplex S).ιTotal (.up ℕ) N 0 N rfl) ≫ |
| 55 | (HomologicalComplex₂.total.map (DoubleCechRegrouping.coordinateIso U P).hom (.up ℕ)).f N = _ |
| 56 | erw [Category.assoc, HomologicalComplex₂.ιTotal_map, ← Category.assoc] |
| 57 | have hN := congrArg (fun f => f.f N) (zeroMap U P M η) |
| 58 | change ((F).map a).f N ≫ ((coefficientIso U P).hom.f 0).f N = |
| 59 | (GeometricComparison.CechCone.Total.CechConeTotal.zeroMap U (P ⋙ F) ((F).obj M) (cone P M η)).f N at hN |
| 60 | exact congrArg (fun m => m ≫ (GeometricComparison.CechCone.Total.CechConeTotal.bicomplex U (P ⋙ F)).ιTotal |
| 61 | (.up ℕ) N 0 N rfl) hN |
| 62 | |
| 63 | theorem comparison : TripleTotal.HorizontalEdge.leftMap S M a wa ≫ |
| 64 | DoubleCechRegrouping.map U P = DoubleCechGlobalAugmentation.map U P M η := by |
| 65 | change TripleTotal.HorizontalEdge.leftMap S M a wa ≫ |
| 66 | (TripleTotal.RowCoordinates.regroup S ≫ (DoubleCechRegrouping.totalIso U P).hom) = _ |
| 67 | erw [← Category.assoc, TripleTotal.HorizontalEdge.comparison] |
| 68 | exact row_normalization U P M η |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DoubleCechGlobalAugmentation |