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.Trace.PureFunctorNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RefinedPairingNaturality |
| 3 | |
| 4 | /-! # Pure Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.PureRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pure Serre naturality descends through a common resolution before |
| 11 | any projective geometry is substituted. All maps are the original |
| 12 | dual-complex homology maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | section Map |
| 22 | |
| 23 | variable {X : Scheme.{u}} (N : X.Modules) |
| 24 | {P Q T : ChainComplex X.Modules ℕ} (a : P ⟶ Q) (b : P ⟶ T) (c : ℕ) |
| 25 | [IsIso (HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map a.op) c)] |
| 26 | |
| 27 | def map : (((Affine.LocalDualInvariance.functor N).obj (op T)).homology c) ⟶ |
| 28 | (((Affine.LocalDualInvariance.functor N).obj (op Q)).homology c) := |
| 29 | HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map b.op) c ≫ |
| 30 | inv (HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map a.op) c) |
| 31 | |
| 32 | @[reassoc] |
| 33 | theorem map_left : PureRefinement.map N a b c ≫ |
| 34 | HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map a.op) c = |
| 35 | HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map b.op) c := by |
| 36 | simp only [PureRefinement.map, Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 37 | |
| 38 | end Map |
| 39 | |
| 40 | variable {X S : Scheme.{u}} (π : X ⟶ S) [X.IsSeparated] |
| 41 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 42 | (R : Type u) [CommRing R] [Module.Injective R R] |
| 43 | (F : X.Modules ⥤ ModuleCat.{u} R) [F.Additive] |
| 44 | (N : X.Modules) (τ : F.obj N ⟶ ModuleCat.of R R) |
| 45 | {P Q T : ChainComplex X.Modules ℕ} |
| 46 | [∀ q, ((InternalHomCechTotal.internalComplex N P.op).X q).IsQuasicoherent] |
| 47 | [∀ q, ((InternalHomCechTotal.internalComplex N Q.op).X q).IsQuasicoherent] |
| 48 | [∀ q, ((InternalHomCechTotal.internalComplex N T.op).X q).IsQuasicoherent] |
| 49 | (hcover : iSup U = ⊤) |
| 50 | (hP : ∀ i, Function.Bijective (DualityDescent.pairingMap F τ (P.X i))) |
| 51 | (hPterms : InternalHomCechTotal.TermsAcyclic π U N P.op) |
| 52 | (c : ℕ) (hPureP : ∀ q, q ≠ c → (InternalHomCechTotal.internalComplex N P.op).ExactAt q) |
| 53 | (hQ : ∀ i, Function.Bijective (DualityDescent.pairingMap F τ (Q.X i))) |
| 54 | (hQterms : InternalHomCechTotal.TermsAcyclic π U N Q.op) |
| 55 | (hPureQ : ∀ q, q ≠ c → (InternalHomCechTotal.internalComplex N Q.op).ExactAt q) |
| 56 | (hT : ∀ i, Function.Bijective (DualityDescent.pairingMap F τ (T.X i))) |
| 57 | (hTterms : InternalHomCechTotal.TermsAcyclic π U N T.op) |
| 58 | (hPureT : ∀ q, q ≠ c → (InternalHomCechTotal.internalComplex N T.op).ExactAt q) |
| 59 | (a : P ⟶ Q) (b : P ⟶ T) |
| 60 | [IsIso (HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map a.op) c)] |
| 61 | |
| 62 | include hP hPterms hPureP |
| 63 | |
| 64 | @[reassoc] |
| 65 | theorem naturality (n : ℕ) {D₁ D₂ : ModuleCat.{u} R} |
| 66 | (eP : (DualityHomology.coefficientComplex R F P).homology (n + c) ≅ D₁) |
| 67 | (eQ : (DualityHomology.coefficientComplex R F Q).homology (n + c) ≅ D₁) |
| 68 | (eT : (DualityHomology.coefficientComplex R F T).homology (n + c) ≅ D₂) |
| 69 | (d : D₁ ⟶ D₂) (e : D₁ ⟶ D₁) |
| 70 | (ha : HomologicalComplex.homologyMap (DualityHomologyNaturality.coefficientMap R F a) |
| 71 | (n + c) ≫ eQ.hom = eP.hom ≫ e) |
| 72 | (hb : HomologicalComplex.homologyMap (DualityHomologyNaturality.coefficientMap R F b) |
| 73 | (n + c) ≫ eT.hom = eP.hom ≫ d) |
| 74 | (he : e = 𝟙 D₁) : |
| 75 | (PureFunctorNaturality.cohomologyFunctor π U n).map (PureRefinement.map N a b c) ≫ |
| 76 | (PureSerre.iso π U hU R F N τ Q hcover hQ hQterms c hPureQ n eQ).hom = |
| 77 | (PureSerre.iso π U hU R F N τ T hcover hT hTterms c hPureT n eT).hom ≫ |
| 78 | DualTransportNaturality.dualMap R d := by |
| 79 | apply RefinedPairingNaturality.of_factorization_identity |
| 80 | (PureFunctorNaturality.cohomologyFunctor π U n) |
| 81 | (HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map a.op) c) |
| 82 | (HomologicalComplex.homologyMap ((Affine.LocalDualInvariance.functor N).map b.op) c) |
| 83 | (PureRefinement.map N a b c) (DualTransportNaturality.dualMap R d) |
| 84 | (DualTransportNaturality.dualMap R e) |
| 85 | (pL := PureSerre.iso π U hU R F N τ P hcover hP hPterms c hPureP n eP) |
| 86 | · exact PureFunctorNaturality.naturality π U hU R F N τ hcover |
| 87 | hP hPterms c hPureP hQ hQterms hPureQ a n eP eQ e ha |
| 88 | · exact PureFunctorNaturality.naturality π U hU R F N τ hcover |
| 89 | hP hPterms c hPureP hT hTterms hPureT b n eP eT d hb |
| 90 | · subst e |
| 91 | rfl |
| 92 | · exact map_left N a b c |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.PureRefinement |