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.RefinementCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientTotal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechRefinementTotal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientForget |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.TotalCoefficientSquare |
| 6 | |
| 7 | /-! # Refinement Coefficient Total -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.RefinementCoefficientTotal |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual ordered and augmented cover refinements commute with coefficient |
| 14 | transport on their original total complexes and homology. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | private theorem coefficient_homology_square |
| 20 | {A B : Type*} [Category A] [Category B] [Abelian A] [Abelian B] |
| 21 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] |
| 22 | {K L : CochainComplex A ℕ} {K' L' : CochainComplex B ℕ} |
| 23 | (eK : (G.mapHomologicalComplex (.up ℕ)).obj K ≅ K') |
| 24 | (eL : (G.mapHomologicalComplex (.up ℕ)).obj L ≅ L') |
| 25 | (f : K ⟶ L) (g : K' ⟶ L') |
| 26 | (h : (G.mapHomologicalComplex (.up ℕ)).map f ≫ eL.hom = eK.hom ≫ g) (q : ℕ) : |
| 27 | G.map (homologyMap f q) ≫ (((L.sc q).mapHomologyIso G).symm ≪≫ homologyMapIso eL q).hom = |
| 28 | (((K.sc q).mapHomologyIso G).symm ≪≫ homologyMapIso eK q).hom ≫ homologyMap g q := by |
| 29 | have ht := congrArg (fun a => homologyMap a q) h |
| 30 | simp only [homologyMap_comp] at ht |
| 31 | have hn := ShortComplex.mapHomologyIso_inv_naturality |
| 32 | ((shortComplexFunctor A (.up ℕ) q).map f) G |
| 33 | change G.map (homologyMap f q) ≫ ((L.sc q).mapHomologyIso G).inv = |
| 34 | ((K.sc q).mapHomologyIso G).inv ≫ homologyMap ((G.mapHomologicalComplex (.up ℕ)).map f) q at hn |
| 35 | change G.map (homologyMap f q) ≫ (((L.sc q).mapHomologyIso G).inv ≫ homologyMap eL.hom q) = |
| 36 | (((K.sc q).mapHomologyIso G).inv ≫ homologyMap eK.hom q) ≫ homologyMap g q |
| 37 | rw [← Category.assoc, hn, Category.assoc, ht, ← Category.assoc] |
| 38 | |
| 39 | universe u vA uA vB uB |
| 40 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 41 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 42 | (U : ι → C) (V : κ → C) |
| 43 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 44 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] |
| 45 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] |
| 46 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] |
| 47 | [HasCoproducts.{0} A] [HasCoproducts.{0} B] [HasFiniteBiproducts A] |
| 48 | (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 49 | |
| 50 | namespace OrderedCechRefinementCoefficients |
| 51 | open OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientTotal |
| 52 | |
| 53 | omit [HasFiniteBiproducts A] [HasCoproducts.{0} A] [HasCoproducts.{0} B] in |
| 54 | theorem bicomplex_natural : |
| 55 | AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (OrderedCech.Refinement.bicomplexMap U V r K) ≫ |
| 56 | (OrderedCech.CoefficientTotal.bicomplexIso V G K).hom = |
| 57 | (OrderedCech.CoefficientTotal.bicomplexIso U G K).hom ≫ |
| 58 | OrderedCech.Refinement.bicomplexMap U V r (OrderedCech.CoefficientTotal.mapped G K) := by |
| 59 | apply HomologicalComplex.Hom.ext |
| 60 | funext n |
| 61 | exact OrderedCech.RefinementCoefficients.complex_natural U V r G (K.X n) |
| 62 | |
| 63 | theorem total_natural : |
| 64 | (G.mapHomologicalComplex (.up ℕ)).map (OrderedCech.Refinement.totalMap U V r K) ≫ |
| 65 | (OrderedCech.CoefficientTotal.totalIso V G K).hom = |
| 66 | (OrderedCech.CoefficientTotal.totalIso U G K).hom ≫ OrderedCech.Refinement.totalMap U V r (OrderedCech.CoefficientTotal.mapped G K) := |
| 67 | Finite.TotalCoefficientSquare.comparison G (OrderedCech.CoefficientTotal.bicomplexIso U G K) (OrderedCech.CoefficientTotal.bicomplexIso V G K) |
| 68 | (OrderedCech.Refinement.bicomplexMap U V r K) |
| 69 | (OrderedCech.Refinement.bicomplexMap U V r (OrderedCech.CoefficientTotal.mapped G K)) |
| 70 | (bicomplex_natural U V r G K) |
| 71 | |
| 72 | theorem homology_natural [G.PreservesHomology] (q : ℕ) : |
| 73 | G.map (homologyMap (OrderedCech.Refinement.totalMap U V r K) q) ≫ |
| 74 | (OrderedCech.CoefficientTotal.homologyIso V G K q).hom = |
| 75 | (OrderedCech.CoefficientTotal.homologyIso U G K q).hom ≫ |
| 76 | homologyMap (OrderedCech.Refinement.totalMap U V r (OrderedCech.CoefficientTotal.mapped G K)) q := |
| 77 | coefficient_homology_square G (OrderedCech.CoefficientTotal.totalIso U G K) (OrderedCech.CoefficientTotal.totalIso V G K) |
| 78 | (OrderedCech.Refinement.totalMap U V r K) |
| 79 | (OrderedCech.Refinement.totalMap U V r (OrderedCech.CoefficientTotal.mapped G K)) |
| 80 | (total_natural U V r G K) q |
| 81 | |
| 82 | end OrderedCechRefinementCoefficients |
| 83 | |
| 84 | namespace AugmentedCechRefinementCoefficients |
| 85 | |
| 86 | omit [HasFiniteBiproducts A] in |
| 87 | omit [HasCoproducts A] [HasCoproducts B] in |
| 88 | theorem complex_natural (P : Cᵒᵖ ⥤ A) : |
| 89 | (G.mapHomologicalComplex (.up ℕ)).map (AugmentedOrdered.CechRefinement.map U V r P) ≫ |
| 90 | (AugmentedCech.CoefficientChange.complexIso V G P).hom = |
| 91 | (AugmentedCech.CoefficientChange.complexIso U G P).hom ≫ |
| 92 | AugmentedOrdered.CechRefinement.map U V r (P ⋙ G) := by |
| 93 | apply HomologicalComplex.Hom.ext |
| 94 | funext n |
| 95 | cases n with |
| 96 | | zero => |
| 97 | change G.map ((AugmentedOrdered.CechZero.zeroIso U P).hom ≫ (AugmentedOrdered.CechZero.zeroIso V P).inv) ≫ |
| 98 | (AugmentedCech.CoefficientChange.objectIso V G P 0).hom = |
| 99 | (AugmentedCech.CoefficientChange.objectIso U G P 0).hom ≫ |
| 100 | ((AugmentedOrdered.CechZero.zeroIso U (P ⋙ G)).hom ≫ (AugmentedOrdered.CechZero.zeroIso V (P ⋙ G)).inv) |
| 101 | apply (cancel_mono (AugmentedOrdered.CechZero.zeroIso V (P ⋙ G)).hom).mp |
| 102 | simp only [G.map_comp, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 103 | rw [AugmentedCech.CoefficientForget.zero, |
| 104 | ← G.map_comp (AugmentedOrdered.CechZero.zeroIso V P).inv (AugmentedOrdered.CechZero.zeroIso V P).hom, |
| 105 | Iso.inv_hom_id, G.map_id, Category.comp_id, |
| 106 | AugmentedCech.CoefficientForget.zero] |
| 107 | | succ n => |
| 108 | exact congrArg (fun a => a.f n) |
| 109 | (OrderedCech.RefinementCoefficients.complex_natural U V r G P) |
| 110 | |
| 111 | omit [HasFiniteBiproducts A] in |
| 112 | omit [HasCoproducts A] [HasCoproducts B] in |
| 113 | theorem bicomplex_natural : |
| 114 | AlgebraicGeometry.Comparison.Betti.TotalAdditiveFunctor.mapBicomplexMap G (AugmentedOrdered.CechRefinementTotal.bicomplexMap U V r K) ≫ |
| 115 | (AugmentedCech.CoefficientTotal.bicomplexIso V G K).hom = |
| 116 | (AugmentedCech.CoefficientTotal.bicomplexIso U G K).hom ≫ |
| 117 | AugmentedOrdered.CechRefinementTotal.bicomplexMap U V r (AugmentedCech.CoefficientTotal.mapped G K) := by |
| 118 | apply HomologicalComplex.Hom.ext |
| 119 | funext n |
| 120 | exact complex_natural U V r G (K.X n) |
| 121 | |
| 122 | theorem total_natural : |
| 123 | (G.mapHomologicalComplex (.up ℕ)).map (AugmentedOrdered.CechRefinementTotal.totalMap U V r K) ≫ |
| 124 | (AugmentedCech.CoefficientTotal.totalIso V G K).hom = |
| 125 | (AugmentedCech.CoefficientTotal.totalIso U G K).hom ≫ AugmentedOrdered.CechRefinementTotal.totalMap U V r (AugmentedCech.CoefficientTotal.mapped G K) := |
| 126 | Finite.TotalCoefficientSquare.comparison G (AugmentedCech.CoefficientTotal.bicomplexIso U G K) (AugmentedCech.CoefficientTotal.bicomplexIso V G K) |
| 127 | (AugmentedOrdered.CechRefinementTotal.bicomplexMap U V r K) |
| 128 | (AugmentedOrdered.CechRefinementTotal.bicomplexMap U V r (AugmentedCech.CoefficientTotal.mapped G K)) |
| 129 | (bicomplex_natural U V r G K) |
| 130 | |
| 131 | theorem homology_natural [G.PreservesHomology] (q : ℕ) : |
| 132 | G.map (homologyMap (AugmentedOrdered.CechRefinementTotal.totalMap U V r K) q) ≫ |
| 133 | (AugmentedCech.CoefficientTotal.homologyIso V G K q).hom = |
| 134 | (AugmentedCech.CoefficientTotal.homologyIso U G K q).hom ≫ |
| 135 | homologyMap (AugmentedOrdered.CechRefinementTotal.totalMap U V r (AugmentedCech.CoefficientTotal.mapped G K)) q := |
| 136 | coefficient_homology_square G (AugmentedCech.CoefficientTotal.totalIso U G K) (AugmentedCech.CoefficientTotal.totalIso V G K) |
| 137 | (AugmentedOrdered.CechRefinementTotal.totalMap U V r K) |
| 138 | (AugmentedOrdered.CechRefinementTotal.totalMap U V r (AugmentedCech.CoefficientTotal.mapped G K)) |
| 139 | (total_natural U V r G K) q |
| 140 | |
| 141 | end AugmentedCechRefinementCoefficients |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.RefinementCoefficientTotal |