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.OrdinaryAffineTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.CechProduct |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.BaseChangeTotalCup |
| 6 | |
| 7 | /-! # Ordinary Affine Quotient Product -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NumberTheory.PadicHodge.IntegralComparison.OrdinaryAffineQuotientProduct.Ordinary |
| 14 | |
| 15 | /-! Literal affine-open coordinates of the original ordinary |
| 16 | coefficient-quotient Čech complex preserve its quotient wedge. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) [X.left.IsSeparated] |
| 21 | (I : Ideal R) |
| 22 | |
| 23 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left |
| 24 | local notation "A" => CategoryTheory.Functor.op F ⋙ OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X |
| 25 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.complex R I A |
| 26 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.pairing R I A |
| 27 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.complex I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 28 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.pairing I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 29 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 30 | |
| 31 | omit [X.left.IsSeparated] in |
| 32 | theorem component (i : ℕ) (V : X.left.affineOpensᵒᵖ) |
| 33 | (x : ((P).X i).obj V) : |
| 34 | ((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom.f i).app V x = x := by |
| 35 | obtain ⟨x, rfl⟩ := (I • ⊤ : Submodule R |
| 36 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R Γ(X.left, V.unop.val) i)).mkQ_surjective x |
| 37 | rfl |
| 38 | |
| 39 | omit [X.left.IsSeparated] in |
| 40 | theorem component_pairing (i j : ℕ) (V : X.left.affineOpensᵒᵖ) |
| 41 | (x : ((P).X i).obj V) (y : ((P).X j).obj V) : |
| 42 | ((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom.f (i+j)).app V (μ i j V x y) = |
| 43 | Cech.BaseChangeTotalCup.Product.pairing F Q ν i j V |
| 44 | (((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom.f i).app V x) |
| 45 | (((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom.f j).app V y) := by |
| 46 | rw [component, component, component] |
| 47 | rfl |
| 48 | |
| 49 | end NumberTheory.PadicHodge.IntegralComparison.OrdinaryAffineQuotientProduct.Ordinary |
| 50 | |
| 51 | namespace NumberTheory.PadicHodge.IntegralComparison.OrdinaryAffineQuotientProduct.OrdinaryTotal |
| 52 | |
| 53 | /-! The literal affine/open comparison used by the original finite |
| 54 | ordinary de Rham model preserves its actual total and cohomology cup. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 57 | |
| 58 | private theorem comp_pairing {R : Type*} [CommRing R] |
| 59 | {K L M : CochainComplex (ModuleCat R) ℕ} |
| 60 | (μ : ∀ i j, K.X i →ₗ[R] K.X j →ₗ[R] K.X (i+j)) |
| 61 | (ν : ∀ i j, L.X i →ₗ[R] L.X j →ₗ[R] L.X (i+j)) |
| 62 | (σ : ∀ i j, M.X i →ₗ[R] M.X j →ₗ[R] M.X (i+j)) |
| 63 | (a : K ⟶ L) (b : L ⟶ M) (c : K ⟶ M) (hc : c = a ≫ b) |
| 64 | (ha : ∀ i j x y, a.f (i+j) (μ i j x y) = ν i j (a.f i x) (a.f j y)) |
| 65 | (hb : ∀ i j x y, b.f (i+j) (ν i j x y) = σ i j (b.f i x) (b.f j y)) |
| 66 | (i j : ℕ) (x : K.X i) (y : K.X j) : |
| 67 | c.f (i+j) (μ i j x y) = σ i j (c.f i x) (c.f j y) := by |
| 68 | subst c |
| 69 | exact (congrArg (b.f (i+j)) (ha i j x y)).trans (hb i j _ _) |
| 70 | |
| 71 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) [X.left.IsSeparated] |
| 72 | {ι : Type} (U : ι → X.left.affineOpens) (I : Ideal R) |
| 73 | |
| 74 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left |
| 75 | local notation "A" => CategoryTheory.Functor.op F ⋙ OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X |
| 76 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.complex R I A |
| 77 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.pairing R I A |
| 78 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.complex I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 79 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.pairing I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 80 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 81 | local notation "hν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.natural I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 82 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 83 | (IntegralDeRham.CechProduct.sectionPairing_natural R X) |
| 84 | local notation "dν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.differential I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 85 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 86 | (IntegralDeRham.CechProduct.sectionPairing_differential R X) |
| 87 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 88 | local notation "N'" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (Functor.obj F ∘ U) |
| 89 | |
| 90 | local instance tuple_preserves (n : ℕ) (t : Fin (n+1) → ι) : |
| 91 | PreservesLimit (Discrete.functor (U ∘ t)) F := |
| 92 | GeometricComparison.Affine.OpenProductPreservation.AffineOpenProductPreservation.inclusion_preserves X.left (U ∘ t) |
| 93 | |
| 94 | theorem total_hom : (GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).hom = |
| 95 | Presheaf.CechProductNaturality.totalMap N (GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom ≫ |
| 96 | Cech.BaseChangeTotalCup.Product.map F U Q := |
| 97 | HomologicalComplex₂.total.map_comp _ _ (.up ℕ) |
| 98 | |
| 99 | theorem map_cup (i j : ℕ) (x : (Presheaf.TotalCup.CechProduct.total N P).X i) (y : (Presheaf.TotalCup.CechProduct.total N P).X j) : |
| 100 | ((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).hom.f (i+j)) (Presheaf.TotalCup.CechProduct.totalCup N P μ i j x y) = |
| 101 | Presheaf.TotalCup.CechProduct.totalCup N' Q ν i j |
| 102 | (((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).hom.f i) x) |
| 103 | (((GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).hom.f j) y) := |
| 104 | comp_pairing (Presheaf.TotalCup.CechProduct.totalCup N P μ) |
| 105 | (Presheaf.TotalCup.CechProduct.totalCup N (Cech.BaseChangeTotalCup.Product.pulled F Q) |
| 106 | (Cech.BaseChangeTotalCup.Product.pairing F Q ν)) |
| 107 | (Presheaf.TotalCup.CechProduct.totalCup N' Q ν) _ _ _ (total_hom R X U I) |
| 108 | (Presheaf.CechProductNaturality.totalMap_pairing N μ (Cech.BaseChangeTotalCup.Product.pairing F Q ν) |
| 109 | (GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom |
| 110 | (Ordinary.component_pairing R X I)) |
| 111 | (Cech.BaseChangeTotalCup.Product.map_cup F U Q ν hν) i j x y |
| 112 | |
| 113 | abbrev cohomologyMap_cup := Cochain.CupNaturality.Cohomology.cohomologyMap_cup |
| 114 | (Presheaf.TotalCup.CechProduct.totalCup N P μ) (Presheaf.TotalCup.CechProduct.totalCup N' Q ν) |
| 115 | (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N P μ (OrdinaryQuotientDiagramProduct.Ordinary.natural R I A) |
| 116 | (OrdinaryQuotientDiagramProduct.Ordinary.differential R I A)) |
| 117 | (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N' Q ν hν dν) |
| 118 | (GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).hom (map_cup R X U I) |
| 119 | |
| 120 | end NumberTheory.PadicHodge.IntegralComparison.OrdinaryAffineQuotientProduct.OrdinaryTotal |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI |