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.OrdinaryAffineQuotientProduct |
| 2 | |
| 3 | /-! # Affine Quotient Inverse Product -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineQuotientInverseProduct.Ordinary |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The inverse of the actual affine/open coefficient-quotient Čech |
| 10 | isomorphism preserves the native cohomology products. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | private theorem inverse_pairing {R : Type*} [CommRing R] |
| 15 | {K L : CochainComplex (ModuleCat R) ℕ} (e : K ≅ L) |
| 16 | (μ : ∀ i j, K.X i →ₗ[R] K.X j →ₗ[R] K.X (i+j)) |
| 17 | (ν : ∀ i j, L.X i →ₗ[R] L.X j →ₗ[R] L.X (i+j)) |
| 18 | (h : ∀ i j x y, e.hom.f (i+j) (μ i j x y) = ν i j (e.hom.f i x) (e.hom.f j y)) |
| 19 | (i j : ℕ) (x : L.X i) (y : L.X j) : |
| 20 | e.inv.f (i+j) (ν i j x y) = μ i j (e.inv.f i x) (e.inv.f j y) := by |
| 21 | let ei := ((HomologicalComplex.eval _ _ i).mapIso e).toLinearEquiv |
| 22 | let ej := ((HomologicalComplex.eval _ _ j).mapIso e).toLinearEquiv |
| 23 | let eij := ((HomologicalComplex.eval _ _ (i+j)).mapIso e).toLinearEquiv |
| 24 | change eij.symm (ν i j x y) = μ i j (ei.symm x) (ej.symm y) |
| 25 | apply eij.injective |
| 26 | exact (eij.apply_symm_apply _).trans |
| 27 | ((congrArg₂ (fun x y => ν i j x y) (ei.apply_symm_apply x).symm |
| 28 | (ej.apply_symm_apply y).symm).trans |
| 29 | (h i j (ei.symm x) (ej.symm y)).symm) |
| 30 | |
| 31 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) [X.left.IsSeparated] |
| 32 | {ι : Type} (U : ι → X.left.affineOpens) (I : Ideal R) |
| 33 | |
| 34 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left |
| 35 | local notation "A" => CategoryTheory.Functor.op F ⋙ OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X |
| 36 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.complex R I A |
| 37 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryQuotientDiagramProduct.Ordinary.pairing R I A |
| 38 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.complex I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 39 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.pairing I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 40 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 41 | local notation "hν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.natural I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 42 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 43 | (IntegralDeRham.CechProduct.sectionPairing_natural R X) |
| 44 | local notation "dν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.IdealQuotientProduct.differential I (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 45 | (IntegralDeRham.CechProduct.sectionPairing R X) |
| 46 | (IntegralDeRham.CechProduct.sectionPairing_differential R X) |
| 47 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 48 | local notation "N'" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (Functor.obj F ∘ U) |
| 49 | |
| 50 | local instance tuple_preserves (n : ℕ) (t : Fin (n+1) → ι) : |
| 51 | PreservesLimit (Discrete.functor (U ∘ t)) F := |
| 52 | GeometricComparison.Affine.OpenProductPreservation.AffineOpenProductPreservation.inclusion_preserves X.left (U ∘ t) |
| 53 | |
| 54 | abbrev map_cup := inverse_pairing (GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I) |
| 55 | (Presheaf.TotalCup.CechProduct.totalCup N P μ) (Presheaf.TotalCup.CechProduct.totalCup N' Q ν) |
| 56 | (OrdinaryAffineQuotientProduct.OrdinaryTotal.map_cup R X U I) |
| 57 | |
| 58 | abbrev cohomologyMap_cup := Cochain.CupNaturality.Cohomology.cohomologyMap_cup |
| 59 | (Presheaf.TotalCup.CechProduct.totalCup N' Q ν) (Presheaf.TotalCup.CechProduct.totalCup N P μ) |
| 60 | (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N' Q ν hν dν) |
| 61 | (Presheaf.TotalLeibniz.CechProduct.differential_totalCup N P μ (OrdinaryQuotientDiagramProduct.Ordinary.natural R I A) |
| 62 | (OrdinaryQuotientDiagramProduct.Ordinary.differential R I A)) |
| 63 | (GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).inv (map_cup R X U I) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineQuotientInverseProduct.Ordinary |