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.AlgebraicGeometry.Comparison.Betti.Analytic.ResolutionNaturality |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Analytic.De |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.FunctorComposition |
| 5 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.FunctorIso |
| 6 | |
| 7 | /-! # Mate Naturality -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Analytification.MateNaturality |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The canonical analytification mate on sheaves, complexes, and derived categories. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 18 | |
| 19 | abbrev schemeAnalyticDirectImage : Smooth.SheafMap.AnalyticComplexSheaves X ⥤ Smooth.SheafMap.AnalyticComplexSheaves Y := |
| 20 | TopologicalSheafPullback.sheafDirectImage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 21 | |
| 22 | instance schemeAnalyticDirectImageAdditive : (schemeAnalyticDirectImage f).Additive := |
| 23 | TopologicalSheafPullback.sheafDirectImageAdditive (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 24 | |
| 25 | def schemeAnalyticImageAdjunction : Analytic.ResolutionNaturality.schemeAnalyticInverseImage f ⊣ schemeAnalyticDirectImage f := |
| 26 | TopologicalSheafPullback.sheafImageAdjunction (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 27 | |
| 28 | def analytificationSheafMateIso : |
| 29 | Algebraic.Sheaves.inverseImage f ⋙ Analytic.De.analytificationInverseImage X ≅ |
| 30 | Analytic.De.analytificationInverseImage Y ⋙ Analytic.ResolutionNaturality.schemeAnalyticInverseImage f := |
| 31 | ((Algebraic.Sheaves.imageAdjunction f).comp (Analytic.De.analytificationAdjunction X)).leftAdjointUniq |
| 32 | ((Analytic.De.analytificationAdjunction Y).comp |
| 33 | (schemeAnalyticImageAdjunction f)) |
| 34 | |
| 35 | theorem analytificationSheafMateIso_onComplexes (K : CochainComplex (Algebraic.Sheaves.ComplexSheaves Y) ℤ) : |
| 36 | (NatTrans.mapHomologicalComplex (analytificationSheafMateIso f).hom (ComplexShape.up ℤ)).app K = |
| 37 | (Analytic.InverseNaturalityInt.analytificationComplexMateIso f).hom.app K := by |
| 38 | have h := AdjunctionComplexUniqueness.onComplexes_leftAdjointUniq (ComplexShape.up ℤ) |
| 39 | ((Algebraic.Sheaves.imageAdjunction f).comp (Analytic.De.analytificationAdjunction X)) |
| 40 | ((Analytic.De.analytificationAdjunction Y).comp |
| 41 | (schemeAnalyticImageAdjunction f)) K |
| 42 | erw [AdjunctionComplexUniqueness.onComplexes_comp (ComplexShape.up ℤ) |
| 43 | (Algebraic.Sheaves.imageAdjunction f) (Analytic.De.analytificationAdjunction X), |
| 44 | AdjunctionComplexUniqueness.onComplexes_comp (ComplexShape.up ℤ) |
| 45 | (Analytic.De.analytificationAdjunction Y) (schemeAnalyticImageAdjunction f)] at h |
| 46 | exact h.symm |
| 47 | |
| 48 | theorem analytificationSheafMateIso_inv_onComplexes (K : CochainComplex (Algebraic.Sheaves.ComplexSheaves Y) ℤ) : |
| 49 | (NatTrans.mapHomologicalComplex (analytificationSheafMateIso f).inv (ComplexShape.up ℤ)).app K = |
| 50 | (Analytic.InverseNaturalityInt.analytificationComplexMateIso f).inv.app K := by |
| 51 | let a := (NatIso.mapHomologicalComplex (analytificationSheafMateIso f) (ComplexShape.up ℤ)).app K |
| 52 | let b := (Analytic.InverseNaturalityInt.analytificationComplexMateIso f).app K |
| 53 | have h : a = b := Iso.ext (analytificationSheafMateIso_onComplexes f K) |
| 54 | exact congrArg Iso.inv h |
| 55 | |
| 56 | def derivedAnalytificationMateIso : |
| 57 | Algebraic.Sheaves.derivedInverseImage f ⋙ Analytic.De.derivedAnalytificationInverseImage X ≅ |
| 58 | Analytic.De.derivedAnalytificationInverseImage Y ⋙ (Analytic.ResolutionNaturality.schemeAnalyticInverseImage f).mapDerivedCategory := |
| 59 | Derived.FunctorComposition.derivedFunctorCompIso.{1, 1, 1} (Algebraic.Sheaves.inverseImage f) (Analytic.De.analytificationInverseImage X) ≪≫ |
| 60 | Derived.FunctorIso.functorIso.{1, 1} (analytificationSheafMateIso f) ≪≫ |
| 61 | (Derived.FunctorComposition.derivedFunctorCompIso.{1, 1, 1} (Analytic.De.analytificationInverseImage Y) |
| 62 | (Analytic.ResolutionNaturality.schemeAnalyticInverseImage f)).symm |
| 63 | |
| 64 | instance derivedAnalytificationMateIsoCommShift : |
| 65 | NatTrans.CommShift (derivedAnalytificationMateIso f).hom ℤ := by |
| 66 | change NatTrans.CommShift |
| 67 | ((Derived.FunctorComposition.derivedFunctorCompIso (Algebraic.Sheaves.inverseImage f) (Analytic.De.analytificationInverseImage X)).hom ≫ |
| 68 | (Derived.FunctorIso.functorIso (analytificationSheafMateIso f)).hom ≫ |
| 69 | (Derived.FunctorComposition.derivedFunctorCompIso (Analytic.De.analytificationInverseImage Y) |
| 70 | (Analytic.ResolutionNaturality.schemeAnalyticInverseImage f)).inv) ℤ |
| 71 | infer_instance |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Comparison.Betti.Analytification.MateNaturality |