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.CommAlgebraicCechPairing |
| 2 | |
| 3 | /-! # Comm Algebraic Cech Cohomology -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CommAlgebraicCechCohomology.Pairing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical algebra-to-module Čech comparison preserves cup |
| 10 | products on the actual categorical cohomology groups. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 15 | |
| 16 | universe u v w t r |
| 17 | |
| 18 | variable {R : Type r} [CommRing R] {C : Type u} [Category.{v} C] |
| 19 | [HasProducts.{w} (CommAlgCat.{max w t} R)] |
| 20 | [PreservesLimitsOfSize.{w, w} (CommAlgebraicCechPairing.forgetModule.{max w t, r} (R := R))] |
| 21 | (N : SimplicialObject (FormalCoproduct.{w} C)) (P : Cᵒᵖ ⥤ CommAlgCat.{max w t} R) |
| 22 | |
| 23 | local instance moduleProductsCohomology : HasProducts.{w} (ModuleCat.{max w t} R) := |
| 24 | fun T => (ModuleCat.hasLimitsOfSize.{w, w, max w t, r}).has_limits_of_shape (Discrete T) |
| 25 | |
| 26 | theorem cohomology_cup (p q : ℕ) |
| 27 | (x : (Cosimplicial.ModuleComplex.complex (CommAlgebraicCechPairing.algebraObject.{u, v, w, t, r} N P)).homology p) |
| 28 | (y : (Cosimplicial.ModuleComplex.complex (CommAlgebraicCechPairing.algebraObject.{u, v, w, t, r} N P)).homology q) : |
| 29 | HomologicalComplex.homologyMap (CommAlgebraicCechPairing.complexIso.{u, v, w, t, r} N P).hom (p + q) |
| 30 | (Cosimplicial.ModuleCup.cohomologyCup (CommAlgebraicCechPairing.algebraObject.{u, v, w, t, r} N P) p q x y) = |
| 31 | Presheaf.AugmentationCohomology.Product.sourceCohomologyCup N (CommAlgebraicCechPairing.modulePresheaf.{u, v, max w t, r} P) |
| 32 | (CommAlgebraicCechPairing.multiplication.{u, v, max w t, r} P) (CommAlgebraicCechPairing.multiplication_natural.{u, v, max w t, r} P) p q |
| 33 | (HomologicalComplex.homologyMap (CommAlgebraicCechPairing.complexIso.{u, v, w, t, r} N P).hom p x) |
| 34 | (HomologicalComplex.homologyMap (CommAlgebraicCechPairing.complexIso.{u, v, w, t, r} N P).hom q y) := by |
| 35 | obtain ⟨x, rfl⟩ := Module.CochainClasses.classMap_surjective |
| 36 | (Cosimplicial.ModuleComplex.complex (CommAlgebraicCechPairing.algebraObject.{u, v, w, t, r} N P)) p x |
| 37 | obtain ⟨y, rfl⟩ := Module.CochainClasses.classMap_surjective |
| 38 | (Cosimplicial.ModuleComplex.complex (CommAlgebraicCechPairing.algebraObject.{u, v, w, t, r} N P)) q y |
| 39 | rw [Cosimplicial.ModuleCup.cup_class] |
| 40 | erw [← Module.CochainClassNaturality.naturality_apply (CommAlgebraicCechPairing.complexIso.{u, v, w, t, r} N P).hom (p + q), |
| 41 | ← Module.CochainClassNaturality.naturality_apply (CommAlgebraicCechPairing.complexIso.{u, v, w, t, r} N P).hom p, |
| 42 | ← Module.CochainClassNaturality.naturality_apply (CommAlgebraicCechPairing.complexIso.{u, v, w, t, r} N P).hom q] |
| 43 | unfold Presheaf.AugmentationCohomology.Product.sourceCohomologyCup |
| 44 | erw [Cochain.CohomologyCup.cup_class] |
| 45 | apply congrArg (Module.CochainClasses.classMap _ (p + q)) |
| 46 | apply Subtype.ext |
| 47 | exact CommAlgebraicCechPairing.cochain_cup.{u, v, w, t, r} N P p q x.val y.val |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CommAlgebraicCechCohomology.Pairing |