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.CoordinatesDeRham |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.Poincare |
| 3 | |
| 4 | /-! # Coordinates Poincare -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesPoincare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: exactness of the canonical relative divided-coordinate resolution |
| 12 | |
| 13 | Evaluation identifies the augmented presheaf complex with the actual |
| 14 | integral Poincaré complex of each crystalline ambient ring. Thus its |
| 15 | canonical augmentation is a quasi-isomorphism on the original site. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 25 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 26 | {f : X ⟶ Spec (CommRingCat.of B)} (σ : Type u) [Fintype σ] |
| 27 | (U : BigCrystallineSite.Object p B J δ f) |
| 28 | |
| 29 | abbrev evaluation : ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ AddCommGrpCat.{u}) ⥤ AddCommGrpCat.{u} := |
| 30 | (CategoryTheory.evaluation _ _).obj (op U) |
| 31 | |
| 32 | local notation "ev" => OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesPoincare.evaluation U |
| 33 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesDeRham.complex (p := p) (B := B) (J := J) (δ := δ) (f := f) σ |
| 34 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesDeRham.ambientPresheaf (p := p) (B := B) (J := J) (δ := δ) (f := f) |
| 35 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.Poincare.complex U.ring σ U.ideal U.dividedPowers |
| 36 | |
| 37 | def evaluationComponentIso (n : ℕ) : |
| 38 | (((ev).mapHomologicalComplex (ComplexShape.up ℕ)).obj K).X n ≅ (P).X n := |
| 39 | (AddEquiv.refl (CoordinatesForms.Forms σ U n)).toAddCommGrpIso |
| 40 | |
| 41 | omit [Fintype σ] in |
| 42 | theorem evaluation_d (n : ℕ) : |
| 43 | (((ev).mapHomologicalComplex (ComplexShape.up ℕ)).obj K).d n (n + 1) ≫ |
| 44 | (evaluationComponentIso σ U (n + 1)).hom = |
| 45 | (evaluationComponentIso σ U n).hom ≫ (P).d n (n + 1) := by |
| 46 | apply AddCommGrpCat.hom_ext |
| 47 | apply AddMonoidHom.ext |
| 48 | intro ω |
| 49 | change ((K).d n (n + 1)).app (op U) ω = (P).d n (n + 1) ω |
| 50 | rw [CoordinatesDeRham.complex_d] |
| 51 | exact (Additive.Poincare.complex_d_apply U.ring σ U.ideal U.dividedPowers n ω).symm |
| 52 | |
| 53 | def evaluationIso : ((ev).mapHomologicalComplex (ComplexShape.up ℕ)).obj K ≅ P := |
| 54 | HomologicalComplex.Hom.isoOfComponents (evaluationComponentIso σ U) (by |
| 55 | intro n m h |
| 56 | change n + 1 = m at h |
| 57 | subst m |
| 58 | exact (evaluation_d σ U n).symm) |
| 59 | |
| 60 | def sourceIso : |
| 61 | ((ev).mapHomologicalComplex (ComplexShape.up ℕ)).obj ((CochainComplex.single₀ _).obj A) ≅ |
| 62 | (CochainComplex.single₀ AddCommGrpCat.{u}).obj (AddCommGrpCat.of U.ring) := |
| 63 | (HomologicalComplex.singleMapHomologicalComplex ev (ComplexShape.up ℕ) 0).app A |
| 64 | |
| 65 | omit [Fintype σ] [Fact p.Prime] in |
| 66 | theorem sourceIso_inv_zero : (sourceIso U).inv.f 0 = 𝟙 (AddCommGrpCat.of U.ring) := by |
| 67 | exact (HomologicalComplex.singleMapHomologicalComplex_inv_app_self ev (ComplexShape.up ℕ) 0 A).trans |
| 68 | (by |
| 69 | simp only [CochainComplex.single₀ObjXSelf, Iso.refl_hom, Iso.refl_inv] |
| 70 | rfl) |
| 71 | |
| 72 | abbrev evaluatedAugmentation := ((ev).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 73 | (CoordinatesDeRham.augmentation σ) |
| 74 | |
| 75 | def transportedAugmentation : |
| 76 | (CochainComplex.single₀ AddCommGrpCat.{u}).obj (AddCommGrpCat.of U.ring) ⟶ P := |
| 77 | (sourceIso U).inv ≫ evaluatedAugmentation σ U ≫ (evaluationIso σ U).hom |
| 78 | |
| 79 | omit [Fintype σ] in |
| 80 | theorem transportedAugmentation_zero (a : U.ring) : |
| 81 | (transportedAugmentation σ U).f 0 a = CoordinatesDeRham.constants σ U a := by |
| 82 | change (evaluationIso σ U).hom.f 0 |
| 83 | ((evaluatedAugmentation σ U).f 0 ((sourceIso U).inv.f 0 a)) = _ |
| 84 | rw [sourceIso_inv_zero] |
| 85 | change ((CoordinatesDeRham.augmentation σ).f 0).app (op U) a = _ |
| 86 | rw [CoordinatesDeRham.augmentation_zero] |
| 87 | rfl |
| 88 | |
| 89 | theorem augmentation_comparison : transportedAugmentation σ U = |
| 90 | Additive.Poincare.augmentation U.ring σ U.ideal U.dividedPowers := by |
| 91 | apply HomologicalComplex.from_single_hom_ext |
| 92 | apply AddCommGrpCat.hom_ext |
| 93 | apply AddMonoidHom.ext |
| 94 | intro a |
| 95 | exact (transportedAugmentation_zero σ U a).trans |
| 96 | ((CoordinatesDeRham.constants_symbol σ U a).trans |
| 97 | (Additive.Poincare.augmentation_zero U.ring σ U.ideal U.dividedPowers a).symm) |
| 98 | |
| 99 | instance evaluatedAugmentation_quasiIso : QuasiIso (evaluatedAugmentation σ U) := by |
| 100 | have h : QuasiIso (transportedAugmentation σ U) := by |
| 101 | rw [augmentation_comparison] |
| 102 | infer_instance |
| 103 | exact (quasiIso_iff_comp_right _ (evaluationIso σ U).hom).mp |
| 104 | ((quasiIso_iff_comp_left (sourceIso U).inv _).mp h) |
| 105 | |
| 106 | /-- The canonical augmented relative form presheaf is exact in every positive degree. -/ |
| 107 | instance augmentation_quasiIso : |
| 108 | QuasiIso (CoordinatesDeRham.augmentation (p := p) (B := B) (J := J) (δ := δ) (f := f) σ) := by |
| 109 | apply (HomologicalComplex.quasiIso_iff_evaluation _).mpr |
| 110 | intro U |
| 111 | exact evaluatedAugmentation_quasiIso σ U.unop |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesPoincare |