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.TruncatedFunctorIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.AdapterNaturality |
| 3 | |
| 4 | /-! # Filtration Pullback -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.FiltrationPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native algebraic de Rham pullback preserves the filtration defined by degree truncation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration |
| 15 | |
| 16 | variable {R : Type} [CommRing R] |
| 17 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 18 | |
| 19 | abbrev truncatedComplex (X : Over (Spec (CommRingCat.of R))) (r : ℤ) := |
| 20 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r |
| 21 | |
| 22 | def truncatedSheafPullback (r : ℤ) : |
| 23 | ((Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj (truncatedComplex Y r) ⟶ |
| 24 | truncatedComplex X r := |
| 25 | TruncatedFunctorIso.TruncatedPullback.map (Int.inverseImage f) (Int.sheafPullback f) r |
| 26 | |
| 27 | def integerInclusion (X : Over (Spec (CommRingCat.of R))) (r : ℤ) : |
| 28 | (truncatedComplex X r).extend ComplexShape.embeddingUpNat ⟶ AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt R X := |
| 29 | HomologicalComplex.extendMap (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r) ComplexShape.embeddingUpNat |
| 30 | |
| 31 | def truncatedSheafPullbackInt (r : ℤ) : |
| 32 | ((Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 33 | ((truncatedComplex Y r).extend ComplexShape.embeddingUpNat) ⟶ |
| 34 | (truncatedComplex X r).extend ComplexShape.embeddingUpNat := |
| 35 | Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback (Int.inverseImage f) ComplexShape.embeddingUpNat (truncatedSheafPullback f r) |
| 36 | |
| 37 | theorem integerInclusion_square (r : ℤ) : |
| 38 | ((Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map (integerInclusion Y r) ≫ |
| 39 | Int.sheafPullbackInt f = truncatedSheafPullbackInt f r ≫ integerInclusion X r := |
| 40 | Intrinsic.ExtensionAdapter.FormsAdapter.extendedPullback_square (Int.inverseImage f) ComplexShape.embeddingUpNat |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y) r) (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r) |
| 42 | (truncatedSheafPullback f r) (Int.sheafPullback f) |
| 43 | (TruncatedFunctorIso.TruncatedPullback.inclusion_square (Int.inverseImage f) (Int.sheafPullback f) r).symm |
| 44 | |
| 45 | def derivedInclusion (X : Over (Spec (CommRingCat.of R))) (r : ℤ) : |
| 46 | DerivedCategory.Q.obj ((truncatedComplex X r).extend ComplexShape.embeddingUpNat) ⟶ |
| 47 | DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt R X) := |
| 48 | DerivedCategory.Q.map (integerInclusion X r) |
| 49 | |
| 50 | def truncatedDerivedPullback (r : ℤ) : |
| 51 | (Int.derivedInverseImage f).obj |
| 52 | (DerivedCategory.Q.obj ((truncatedComplex Y r).extend ComplexShape.embeddingUpNat)) ⟶ |
| 53 | DerivedCategory.Q.obj ((truncatedComplex X r).extend ComplexShape.embeddingUpNat) := |
| 54 | (Int.inverseImage f).mapDerivedCategoryFactors.hom.app |
| 55 | ((truncatedComplex Y r).extend ComplexShape.embeddingUpNat) ≫ |
| 56 | DerivedCategory.Q.map (truncatedSheafPullbackInt f r) |
| 57 | |
| 58 | theorem derivedInclusion_square (r : ℤ) : |
| 59 | (Int.derivedInverseImage f).map (derivedInclusion Y r) ≫ Int.derivedPullback f = |
| 60 | truncatedDerivedPullback f r ≫ derivedInclusion X r := by |
| 61 | have h := (Int.inverseImage f).mapDerivedCategoryFactors.hom.naturality (integerInclusion Y r) |
| 62 | have h₂ := AdapterNaturality.FormsAdapter.map_commuting_square DerivedCategory.Q (integerInclusion_square f r) |
| 63 | exact SheafAdapterNaturality.FormsAdapter.composition_square h h₂ |
| 64 | |
| 65 | abbrev TruncatedCohomology (X : Over (Spec (CommRingCat.of R))) (n : ℕ) (r : ℤ) := |
| 66 | ((DerivedCategory.singleFunctor (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) 0).obj |
| 67 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X)) ⟶ |
| 68 | (DerivedCategory.Q.obj ((truncatedComplex X r).extend ComplexShape.embeddingUpNat))⟦(n : ℤ)⟧ |
| 69 | |
| 70 | def truncatedPullback (n : ℕ) (r : ℤ) : TruncatedCohomology Y n r →ₗ[R] TruncatedCohomology X n r where |
| 71 | toFun α := (Int.derivedConstantIso f).inv ≫ (Int.derivedInverseImage f).map α ≫ |
| 72 | ((Int.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 73 | (DerivedCategory.Q.obj ((truncatedComplex Y r).extend ComplexShape.embeddingUpNat)) ≫ |
| 74 | (shiftFunctor (DerivedCategory (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X)) (n : ℤ)).map |
| 75 | (truncatedDerivedPullback f r) |
| 76 | map_add' _ _ := by simp only [Functor.map_add, Preadditive.comp_add, Preadditive.add_comp] |
| 77 | map_smul' _ _ := by simp only [Functor.map_smul, Linear.comp_smul, Linear.smul_comp, RingHom.id_apply] |
| 78 | |
| 79 | theorem filtrationMap_pullback (n : ℕ) (r : ℤ) (x : TruncatedCohomology Y n r) : |
| 80 | Int.pullback f n (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtrationMap R Y n r x) = |
| 81 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtrationMap R X n r (truncatedPullback f n r x) := by |
| 82 | let S := shiftFunctor (DerivedCategory (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X)) (n : ℤ) |
| 83 | have hshift := ((Int.derivedInverseImage f).commShiftIso (n : ℤ)).hom.naturality (derivedInclusion Y r) |
| 84 | have hmap := AdapterNaturality.FormsAdapter.map_commuting_square S (derivedInclusion_square f r) |
| 85 | have ht := (SheafAdapterNaturality.FormsAdapter.composition_square hshift hmap).trans (Category.assoc _ _ _) |
| 86 | change (Int.derivedConstantIso f).inv ≫ |
| 87 | (Int.derivedInverseImage f).map (x ≫ |
| 88 | (shiftFunctor (DerivedCategory (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y)) (n : ℤ)).map (derivedInclusion Y r)) ≫ |
| 89 | ((Int.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 90 | (DerivedCategory.Q.obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplexInt R Y)) ≫ S.map (Int.derivedPullback f) = |
| 91 | ((Int.derivedConstantIso f).inv ≫ (Int.derivedInverseImage f).map x ≫ |
| 92 | ((Int.derivedInverseImage f).commShiftIso (n : ℤ)).hom.app |
| 93 | (DerivedCategory.Q.obj ((truncatedComplex Y r).extend ComplexShape.embeddingUpNat)) ≫ |
| 94 | S.map (truncatedDerivedPullback f r)) ≫ S.map (derivedInclusion X r) |
| 95 | erw [(Int.derivedInverseImage f).map_comp] |
| 96 | simp only [Category.assoc] |
| 97 | exact congrArg (fun k => (Int.derivedConstantIso f).inv ≫ (Int.derivedInverseImage f).map x ≫ k) ht |
| 98 | |
| 99 | /-- Functorial preservation of every native Hodge-filtration step. -/ |
| 100 | theorem filtration_pullback (n : ℕ) (r : ℤ) : |
| 101 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration R Y n r).map (Int.pullback f n) ≤ AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration R X n r := by |
| 102 | rintro _ ⟨_, ⟨x, rfl⟩, rfl⟩ |
| 103 | exact ⟨truncatedPullback f n r x, (filtrationMap_pullback f n r x).symm⟩ |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.FiltrationPullback |