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.OrdinaryBaseQuotient |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryDeRhamFunctor |
| 3 | |
| 4 | /-! # Surjective Base -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SurjectiveBase.SurjectiveBaseDeRham |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Surjective changes of the coefficient base identify the original ordinary |
| 11 | de Rham complexes, naturally in algebra maps. In particular this applies to |
| 12 | the canonical Witt-vector and p-adic-integer coefficient identification. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | variable (R S A : Type u) [CommRing R] [CommRing S] [CommRing A] |
| 18 | [Algebra R S] [Algebra S A] [Algebra R A] [IsScalarTower R S A] |
| 19 | (h : Function.Surjective (algebraMap R S)) |
| 20 | |
| 21 | def formsIso (n : ℕ) : ModuleCat.of R (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) ≅ |
| 22 | (ModuleCat.restrictScalars (algebraMap R S)).obj (ModuleCat.of S (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S A n)) := by |
| 23 | let e := IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S A h n |
| 24 | refine (AddEquiv.toLinearEquiv (M := AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) |
| 25 | (M₂ := ↑((ModuleCat.restrictScalars (algebraMap R S)).obj |
| 26 | (ModuleCat.of S (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S A n)))) e.toAddEquiv ?_).toModuleIso |
| 27 | intro r ω |
| 28 | change e (r • ω) = (algebraMap R S r) • e ω |
| 29 | rw [← algebraMap_smul A r ω, e.map_smul, |
| 30 | ← algebraMap_smul A (algebraMap R S r) (e ω), IsScalarTower.algebraMap_apply R S A] |
| 31 | |
| 32 | def iso : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A ≅ |
| 33 | ((ModuleCat.restrictScalars (algebraMap R S)).mapHomologicalComplex (.up ℕ)).obj |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex S A) := |
| 35 | HomologicalComplex.Hom.isoOfComponents (formsIso R S A h) (by |
| 36 | intro i j hij |
| 37 | change i + 1 = j at hij |
| 38 | subst j |
| 39 | apply ModuleCat.hom_ext |
| 40 | apply LinearMap.ext |
| 41 | intro ω |
| 42 | change (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex S A).d i (i + 1) |
| 43 | (IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S A h i ω) = |
| 44 | IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S A h (i + 1) |
| 45 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A).d i (i + 1) ω) |
| 46 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex] |
| 47 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 48 | exact (IntegralComparison.OrdinaryBaseQuotient.Ordinary.differential R S A h i ω).symm) |
| 49 | |
| 50 | variable (B : Type u) [CommRing B] [Algebra S B] [Algebra R B] [IsScalarTower R S B] |
| 51 | (f : A →ₐ[S] B) |
| 52 | |
| 53 | theorem forms_naturality (n : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) : |
| 54 | IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S B h n |
| 55 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (CommAlgCat.ofHom (f.restrictScalars R)) n ω) = |
| 56 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (CommAlgCat.ofHom f) n |
| 57 | (IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S A h n ω) := by |
| 58 | obtain ⟨a, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n).mkQ_surjective ω |
| 59 | induction a using Finsupp.induction_linear with |
| 60 | | zero => simp only [map_zero] |
| 61 | | add a b ha hb => simp only [map_add, ha, hb] |
| 62 | | single v a => |
| 63 | change IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S B h n |
| 64 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (CommAlgCat.ofHom (f.restrictScalars R)) n |
| 65 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) = |
| 66 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (CommAlgCat.ofHom f) n |
| 67 | (IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv R S A h n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) |
| 68 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol, IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv_symbol, |
| 69 | IntegralComparison.OrdinaryBaseQuotient.Ordinary.formsEquiv_symbol, AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol] |
| 70 | rfl |
| 71 | |
| 72 | theorem naturality : IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.map (CommAlgCat.ofHom (f.restrictScalars R)) ≫ |
| 73 | (iso R S B h).hom = (iso R S A h).hom ≫ |
| 74 | ((ModuleCat.restrictScalars (algebraMap R S)).mapHomologicalComplex (.up ℕ)).map |
| 75 | (IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.map (CommAlgCat.ofHom f)) := by |
| 76 | apply HomologicalComplex.Hom.ext |
| 77 | funext n |
| 78 | apply ModuleCat.hom_ext |
| 79 | apply LinearMap.ext |
| 80 | exact forms_naturality R S A h B f n |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SurjectiveBase.SurjectiveBaseDeRham |