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.Divided.CoordinatesForms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PoincareAugmentationFormula |
| 3 | import Mathlib.Algebra.Homology.Functor |
| 4 | |
| 5 | /-! # Coordinates De Rham -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesDeRham |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: the augmented relative de Rham complex on the original crystalline site |
| 13 | |
| 14 | The actual divided-coordinate form presheaves and differentials assemble |
| 15 | into a complex. The original ambient functions map naturally into its |
| 16 | degree-zero cycles by the canonical inclusion of constants. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesForms |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 26 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 27 | {f : X ⟶ Spec (CommRingCat.of B)} (σ : Type u) |
| 28 | |
| 29 | def differential (n : ℕ) : |
| 30 | CoordinatesForms.formsPresheaf (p := p) (B := B) (J := J) (δ := δ) (f := f) σ n ⟶ CoordinatesForms.formsPresheaf σ (n + 1) where |
| 31 | app U := AddCommGrpCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential U.unop.ring (Crystalline.DividedCoordinates.object U.unop σ).ring |
| 32 | (Crystalline.DividedCoordinates.object U.unop σ).ideal (Crystalline.DividedCoordinates.object U.unop σ).dividedPowers n).toAddMonoidHom |
| 33 | naturality _ _ α := by |
| 34 | apply AddCommGrpCat.hom_ext |
| 35 | apply AddMonoidHom.ext |
| 36 | intro ω |
| 37 | exact (CoordinatesForms.formsMap_differential σ α.unop n ω).symm |
| 38 | |
| 39 | theorem differential_square (n : ℕ) : |
| 40 | differential (p := p) (B := B) (J := J) (δ := δ) (f := f) σ n ≫ differential σ (n + 1) = 0 := by |
| 41 | apply NatTrans.ext |
| 42 | funext U |
| 43 | apply AddCommGrpCat.hom_ext |
| 44 | apply AddMonoidHom.ext |
| 45 | intro ω |
| 46 | exact AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential_square U.unop.ring (Crystalline.DividedCoordinates.object U.unop σ).ring |
| 47 | (Crystalline.DividedCoordinates.object U.unop σ).ideal (Crystalline.DividedCoordinates.object U.unop σ).dividedPowers n ω |
| 48 | |
| 49 | def complex : CochainComplex ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ AddCommGrpCat.{u}) ℕ := |
| 50 | CochainComplex.of (CoordinatesForms.formsPresheaf σ) (differential σ) (differential_square σ) |
| 51 | |
| 52 | theorem complex_d (n : ℕ) : |
| 53 | (complex (p := p) (B := B) (J := J) (δ := δ) (f := f) σ).d n (n + 1) = differential σ n := |
| 54 | CochainComplex.of_d _ _ n |
| 55 | |
| 56 | def ambientPresheaf : (BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ AddCommGrpCat.{u} where |
| 57 | obj U := AddCommGrpCat.of U.unop.ring |
| 58 | map α := AddCommGrpCat.ofHom α.unop.ringMap.toRingHom.toAddMonoidHom |
| 59 | map_id _U := rfl |
| 60 | map_comp _α _β := rfl |
| 61 | |
| 62 | def constants (U : BigCrystallineSite.Object p B J δ f) : U.ring →+ CoordinatesForms.Forms σ U 0 := |
| 63 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv U.ring (Crystalline.DividedCoordinates.object U σ).ring (Crystalline.DividedCoordinates.object U σ).ideal |
| 64 | (Crystalline.DividedCoordinates.object U σ).dividedPowers).symm.toAddEquiv.toAddMonoidHom.comp |
| 65 | (algebraMap U.ring (Crystalline.DividedCoordinates.object U σ).ring).toAddMonoidHom |
| 66 | |
| 67 | theorem constants_symbol (U : BigCrystallineSite.Object p B J δ f) (a : U.ring) : |
| 68 | constants σ U a = AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol U.ring (Crystalline.DividedCoordinates.object U σ).ring (Crystalline.DividedCoordinates.object U σ).ideal |
| 69 | (Crystalline.DividedCoordinates.object U σ).dividedPowers (algebraMap U.ring (Crystalline.DividedCoordinates.object U σ).ring a) (fun i : Fin 0 => i.elim0) := by |
| 70 | apply (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv U.ring (Crystalline.DividedCoordinates.object U σ).ring (Crystalline.DividedCoordinates.object U σ).ideal |
| 71 | (Crystalline.DividedCoordinates.object U σ).dividedPowers).injective |
| 72 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv_symbol] |
| 73 | exact LinearEquiv.apply_symm_apply _ _ |
| 74 | |
| 75 | theorem constants_natural {U V : BigCrystallineSite.Object p B J δ f} (α : U ⟶ V) (a : V.ring) : |
| 76 | CoordinatesForms.formsMap σ α 0 (constants σ V a) = constants σ U (α.ringMap a) := by |
| 77 | rw [constants_symbol, CoordinatesForms.formsMap_symbol, constants_symbol, |
| 78 | CoordinatesFunctor.ringMap_coefficient] |
| 79 | congr 1 |
| 80 | funext i |
| 81 | exact i.elim0 |
| 82 | |
| 83 | theorem constants_differential (U : BigCrystallineSite.Object p B J δ f) (a : U.ring) : |
| 84 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential U.ring (Crystalline.DividedCoordinates.object U σ).ring (Crystalline.DividedCoordinates.object U σ).ideal |
| 85 | (Crystalline.DividedCoordinates.object U σ).dividedPowers 0 (constants σ U a) = 0 := by |
| 86 | rw [constants_symbol, AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor.PDDeRhamTensor.differential_symbol] |
| 87 | unfold AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol |
| 88 | have h := AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_base U.ring (Crystalline.DividedCoordinates.object U σ).ring |
| 89 | (Fin.cons 0 (fun i : Fin 0 => i.elim0)) 0 a |
| 90 | rw [Fin.update_cons_zero] at h |
| 91 | rw [h, map_zero] |
| 92 | |
| 93 | def augmentationZero : ambientPresheaf (p := p) (B := B) (J := J) (δ := δ) (f := f) ⟶ CoordinatesForms.formsPresheaf σ 0 where |
| 94 | app U := AddCommGrpCat.ofHom (constants σ U.unop) |
| 95 | naturality _ _ α := by |
| 96 | apply AddCommGrpCat.hom_ext |
| 97 | exact AddMonoidHom.ext (fun a => (constants_natural σ α.unop a).symm) |
| 98 | |
| 99 | theorem augmentationZero_differential : |
| 100 | augmentationZero (p := p) (B := B) (J := J) (δ := δ) (f := f) σ ≫ differential σ 0 = 0 := by |
| 101 | apply NatTrans.ext |
| 102 | funext U |
| 103 | apply AddCommGrpCat.hom_ext |
| 104 | exact AddMonoidHom.ext (constants_differential σ U.unop) |
| 105 | |
| 106 | def augmentation : |
| 107 | (CochainComplex.single₀ ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ AddCommGrpCat.{u})).obj ambientPresheaf ⟶ complex σ := |
| 108 | (CochainComplex.fromSingle₀Equiv (complex σ) ambientPresheaf).symm |
| 109 | ⟨augmentationZero σ, by |
| 110 | change augmentationZero σ ≫ (complex σ).d 0 1 = 0 |
| 111 | rw [complex_d] |
| 112 | exact augmentationZero_differential σ⟩ |
| 113 | |
| 114 | theorem augmentation_zero : |
| 115 | (augmentation (p := p) (B := B) (J := J) (δ := δ) (f := f) σ).f 0 = augmentationZero σ := |
| 116 | CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesDeRham |