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.RelativeCrystalline.FormComplex |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor |
| 3 | |
| 4 | /-! # Augmentation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Augmentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: canonical augmentation of relative crystalline form complexes |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormMaps |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormComplex |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 23 | {f : X ⟶ Spec (CommRingCat.of B)} |
| 24 | (H Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) |
| 25 | |
| 26 | def ambientPresheaf : Cᵒᵖ ⥤ AddCommGrpCat.{u} where |
| 27 | obj U := AddCommGrpCat.of (Q.obj U.unop).ring |
| 28 | map α := AddCommGrpCat.ofHom (Q.map α.unop).ringMap.toRingHom.toAddMonoidHom |
| 29 | map_id U := by rw [unop_id, Q.map_id]; rfl |
| 30 | map_comp α β := by rw [unop_comp, Q.map_comp]; rfl |
| 31 | |
| 32 | def constants (U : C) : (Q.obj U).ring →+ FormData.Forms H Q π U 0 := by |
| 33 | letI : Algebra (Q.obj U).ring (H.obj U).ring := FormData.relativeAlgebra H Q π U |
| 34 | exact (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv (Q.obj U).ring (H.obj U).ring (H.obj U).ideal |
| 35 | (H.obj U).dividedPowers).symm.toAddEquiv.toAddMonoidHom.comp |
| 36 | (π.app U).ringMap.toRingHom.toAddMonoidHom |
| 37 | |
| 38 | theorem constants_symbol (U : C) (a : (Q.obj U).ring) : |
| 39 | constants H Q π U a = FormData.symbol H Q π U 0 ((π.app U).ringMap a) (fun i : Fin 0 => i.elim0) := by |
| 40 | let : Algebra (Q.obj U).ring (H.obj U).ring := FormData.relativeAlgebra H Q π U |
| 41 | apply (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv (Q.obj U).ring (H.obj U).ring (H.obj U).ideal |
| 42 | (H.obj U).dividedPowers).injective |
| 43 | erw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv_symbol] |
| 44 | |
| 45 | theorem constants_natural {U V : C} (α : U ⟶ V) (a : (Q.obj V).ring) : |
| 46 | FormData.formsMap H Q π α 0 (constants H Q π V a) = constants H Q π U ((Q.map α).ringMap a) := by |
| 47 | rw [constants_symbol, FormMaps.formsMap_symbol, constants_symbol] |
| 48 | have h := DFunLike.congr_fun (FormData.ring_square H Q π α) a |
| 49 | congr 1 |
| 50 | funext i |
| 51 | exact i.elim0 |
| 52 | |
| 53 | theorem constants_differential (U : C) (a : (Q.obj U).ring) : |
| 54 | FormMaps.differential H Q π U 0 (constants H Q π U a) = 0 := by |
| 55 | let : Algebra (Q.obj U).ring (H.obj U).ring := FormData.relativeAlgebra H Q π U |
| 56 | rw [constants_symbol] |
| 57 | change AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential (Q.obj U).ring (H.obj U).ring (H.obj U).ideal (H.obj U).dividedPowers 0 |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol (Q.obj U).ring (H.obj U).ring (H.obj U).ideal (H.obj U).dividedPowers |
| 59 | (algebraMap (Q.obj U).ring (H.obj U).ring a) (fun i : Fin 0 => i.elim0)) = 0 |
| 60 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamTensor.PDDeRhamTensor.differential_symbol] |
| 61 | unfold AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol |
| 62 | have h := AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_base (Q.obj U).ring (H.obj U).ring |
| 63 | (Fin.cons 0 (fun i : Fin 0 => i.elim0)) 0 a |
| 64 | rw [Fin.update_cons_zero] at h |
| 65 | rw [h, map_zero] |
| 66 | |
| 67 | def augmentationZero : ambientPresheaf Q ⟶ FormComplex.formsPresheaf H Q π 0 where |
| 68 | app U := AddCommGrpCat.ofHom (constants H Q π U.unop) |
| 69 | naturality _ _ α := by |
| 70 | apply AddCommGrpCat.hom_ext |
| 71 | exact AddMonoidHom.ext (fun a => (constants_natural H Q π α.unop a).symm) |
| 72 | |
| 73 | theorem augmentationZero_differential : augmentationZero H Q π ≫ |
| 74 | FormComplex.differential H Q π 0 = 0 := by |
| 75 | apply NatTrans.ext |
| 76 | funext U |
| 77 | apply AddCommGrpCat.hom_ext |
| 78 | exact AddMonoidHom.ext (constants_differential H Q π U.unop) |
| 79 | |
| 80 | def augmentation : (CochainComplex.single₀ (Cᵒᵖ ⥤ AddCommGrpCat.{u})).obj (ambientPresheaf Q) ⟶ FormComplex.complex H Q π := |
| 81 | (CochainComplex.fromSingle₀Equiv (FormComplex.complex H Q π) (ambientPresheaf Q)).symm |
| 82 | ⟨augmentationZero H Q π, by rw [FormComplex.complex_d]; exact augmentationZero_differential H Q π⟩ |
| 83 | |
| 84 | theorem augmentation_zero : (augmentation H Q π).f 0 = augmentationZero H Q π := |
| 85 | CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Augmentation |