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.OrderedCech.TotalProjection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientTotal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTotal |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalCoefficient |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.TotalCoefficientSquare |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologySquare |
| 7 | |
| 8 | /-! # Projection Coefficients -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ProjectionCoefficients |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Exact coefficient change preserves the original ordinary-to-ordered |
| 15 | Čech projection, with the finite ordinary coefficient coordinates and |
| 16 | the original ordered coefficient coordinates. -/ |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | universe uA vA uB vB |
| 21 | variable {C : Type} [Preorder C] [HasFiniteProducts C] |
| 22 | {ι : Type} [LinearOrder ι] [Finite ι] (U : ι → C) |
| 23 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 24 | [HasFiniteBiproducts A] |
| 25 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 26 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{0,0} G] |
| 27 | |
| 28 | omit [HasProducts A] [HasProducts B] [PreservesLimitsOfSize.{0, 0, vA, vB, uA, uB} G] in |
| 29 | private theorem finite_total_iso |
| 30 | (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) : |
| 31 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G K = AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso G K := by |
| 32 | apply Iso.ext |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext n |
| 35 | rfl |
| 36 | |
| 37 | def ordinaryIso (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) := |
| 38 | GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.totalIso G (NonemptyCechNerve.nerve U) |
| 39 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) K |
| 40 | |
| 41 | omit [LinearOrder ι] [HasCoproducts A] [HasFiniteBiproducts A] [HasCoproducts B] [PreservesLimitsOfSize.{0, 0, vA, vB, uA, uB} G] in |
| 42 | private theorem full_projection (P : Cᵒᵖ ⥤ A) (n : ℕ) (a : Fin (n+1) → ι) : |
| 43 | ((GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.complexIso G (NonemptyCechNerve.nerve U) |
| 44 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) P).hom.f n) ≫ |
| 45 | Cech.TupleRestrictionFunctor.projection U (P ⋙ G) a = |
| 46 | G.map (Cech.TupleRestrictionFunctor.projection U P a) := by |
| 47 | rw [GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.hom_f] |
| 48 | exact piComparison_comp_π G _ a |
| 49 | |
| 50 | omit [Finite ι] [HasCoproducts A] [HasFiniteBiproducts A] [HasCoproducts B] in |
| 51 | private theorem ordered_projection (P : Cᵒᵖ ⥤ A) (n : ℕ) |
| 52 | (a : Projection.Index (ι := ι) n) : |
| 53 | ((CoefficientChange.complexIso U G P).hom.f n) ≫ |
| 54 | Projection.projection U (P ⋙ G) n a = |
| 55 | G.map (Projection.projection U P n a) := |
| 56 | piComparison_comp_π G _ a |
| 57 | |
| 58 | omit [HasCoproducts A] [HasFiniteBiproducts A] [HasCoproducts B] in |
| 59 | theorem complex_natural (P : Cᵒᵖ ⥤ A) : |
| 60 | (G.mapHomologicalComplex (.up ℕ)).map (Projection.map U P) ≫ |
| 61 | (CoefficientChange.complexIso U G P).hom = |
| 62 | (GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.complexIso G (NonemptyCechNerve.nerve U) |
| 63 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) P).hom ≫ |
| 64 | Projection.map U (P ⋙ G) := by |
| 65 | apply HomologicalComplex.Hom.ext |
| 66 | funext n |
| 67 | apply Pi.hom_ext |
| 68 | intro (a : Projection.Index (ι := ι) n) |
| 69 | change (G.map (Projection.mapF U P n) ≫ |
| 70 | ((CoefficientChange.complexIso U G P).hom.f n)) ≫ |
| 71 | Projection.projection U (P ⋙ G) n a = |
| 72 | (((GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.complexIso G (NonemptyCechNerve.nerve U) |
| 73 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) P).hom.f n) ≫ |
| 74 | Projection.mapF U (P ⋙ G) n) ≫ |
| 75 | Projection.projection U (P ⋙ G) n a |
| 76 | rw [Category.assoc, ordered_projection, ← G.map_comp, |
| 77 | Projection.mapF_projection, Category.assoc, |
| 78 | Projection.mapF_projection, full_projection] |
| 79 | |
| 80 | variable (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 81 | |
| 82 | omit [HasCoproducts A] [HasFiniteBiproducts A] [HasCoproducts B] in |
| 83 | theorem bicomplex_natural : |
| 84 | AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (TotalProjection.bicomplexMap U K) ≫ |
| 85 | (CoefficientTotal.bicomplexIso U G K).hom = |
| 86 | (GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G (NonemptyCechNerve.nerve U) |
| 87 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) K).hom ≫ |
| 88 | TotalProjection.bicomplexMap U (CoefficientTotal.mapped G K) := by |
| 89 | apply HomologicalComplex.Hom.ext |
| 90 | funext q |
| 91 | exact complex_natural U G (K.X q) |
| 92 | |
| 93 | theorem total_natural : |
| 94 | (G.mapHomologicalComplex (.up ℕ)).map (TotalProjection.map U K) ≫ |
| 95 | (CoefficientTotal.totalIso U G K).hom = |
| 96 | (ordinaryIso U G K).hom ≫ |
| 97 | TotalProjection.map U (CoefficientTotal.mapped G K) := by |
| 98 | have h := IntegralComparison.Finite.TotalCoefficientSquare.comparison G |
| 99 | (GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G (NonemptyCechNerve.nerve U) |
| 100 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) K) |
| 101 | (CoefficientTotal.bicomplexIso U G K) |
| 102 | (TotalProjection.bicomplexMap U K) |
| 103 | (TotalProjection.bicomplexMap U (CoefficientTotal.mapped G K)) |
| 104 | (bicomplex_natural U G K) |
| 105 | simpa only [IntegralComparison.Finite.TotalCoefficientSquare.iso, ordinaryIso, |
| 106 | GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.totalIso, finite_total_iso, |
| 107 | CoefficientTotal.totalIso, TotalProjection.map] using h |
| 108 | |
| 109 | def ordinaryHomologyIso [G.PreservesHomology] (q : ℕ) := |
| 110 | Functor.HomologySquare.iso G (ordinaryIso U G K) q |
| 111 | |
| 112 | theorem homology_natural [G.PreservesHomology] (q : ℕ) : |
| 113 | G.map (homologyMap (TotalProjection.map U K) q) ≫ |
| 114 | (CoefficientTotal.homologyIso U G K q).hom = |
| 115 | (ordinaryHomologyIso U G K q).hom ≫ |
| 116 | homologyMap (TotalProjection.map U (CoefficientTotal.mapped G K)) q := |
| 117 | Functor.HomologySquare.naturality G (TotalProjection.map U K) |
| 118 | (TotalProjection.map U (CoefficientTotal.mapped G K)) |
| 119 | (ordinaryIso U G K) (CoefficientTotal.totalIso U G K) |
| 120 | (total_natural U G K) q |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ProjectionCoefficients |