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.AlgebraicGeometry.Crystalline.Cohomology.AugmentationIdeal |
| 2 | |
| 3 | /-! # Augmentation Coefficient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.AugmentationCoefficient.AugmentationCoefficientQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Augmented PD algebras modulo coefficient ideals |
| 11 | |
| 12 | An arbitrary coefficient quotient of an augmented PD algebra inherits |
| 13 | divided powers. Its augmentation maps to the quotient coefficient ring, |
| 14 | and the descended PD ideal is exactly the kernel of that augmentation. |
| 15 | -/ |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] (L : Ideal R) |
| 20 | |
| 21 | def Ring := A ⧸ L.map (algebraMap R A) |
| 22 | |
| 23 | instance ringCommRing : CommRing (Ring R A L) := |
| 24 | inferInstanceAs (CommRing (A ⧸ L.map (algebraMap R A))) |
| 25 | |
| 26 | instance ringAlgebra : Algebra R (Ring R A L) := |
| 27 | inferInstanceAs (Algebra R (A ⧸ L.map (algebraMap R A))) |
| 28 | |
| 29 | def quotient : A →ₐ[R] Ring R A L := Ideal.Quotient.mkₐ R (L.map (algebraMap R A)) |
| 30 | |
| 31 | def constants : (R ⧸ L) →ₐ[R] Ring R A L := |
| 32 | Ideal.Quotient.liftₐ L (Algebra.ofId R (Ring R A L)) (fun _ ha => |
| 33 | Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_map_of_mem _ ha)) |
| 34 | |
| 35 | theorem constants_mk (a : R) : |
| 36 | constants R A L (Ideal.Quotient.mk L a) = quotient R A L (algebraMap R A a) := rfl |
| 37 | |
| 38 | variable (ε : A →ₐ[R] R) |
| 39 | |
| 40 | def ideal : Ideal (Ring R A L) := (RingHom.ker ε.toRingHom).map (quotient R A L).toRingHom |
| 41 | |
| 42 | def reduction : Ring R A L →ₐ[R] (R ⧸ L) := |
| 43 | Ideal.Quotient.liftₐ (L.map (algebraMap R A)) ((Ideal.Quotient.mkₐ R L).comp ε) (by |
| 44 | intro a ha |
| 45 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 46 | have h := Base.IdealQuotient.BaseIdealQuotient.map_mem L ε.toLinearMap ha |
| 47 | rw [Algebra.algebraMap_self, Ideal.map_id] at h |
| 48 | exact h) |
| 49 | |
| 50 | theorem reduction_quotient (a : A) : |
| 51 | reduction R A L ε (quotient R A L a) = Ideal.Quotient.mk L (ε a) := rfl |
| 52 | |
| 53 | theorem reduction_constants : |
| 54 | (reduction R A L ε).comp (constants R A L) = AlgHom.id R (R ⧸ L) := by |
| 55 | apply AlgHom.ext |
| 56 | intro a |
| 57 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 58 | rw [AlgHom.comp_apply, constants_mk, reduction_quotient, ε.commutes] |
| 59 | rfl |
| 60 | |
| 61 | include ε in |
| 62 | theorem constants_injective : Function.Injective (constants R A L) := by |
| 63 | intro a b hab |
| 64 | have he := congrArg (reduction R A L ε) hab |
| 65 | have hleft := AlgHom.congr_fun (reduction_constants R A L ε) a |
| 66 | have hright := AlgHom.congr_fun (reduction_constants R A L ε) b |
| 67 | exact hleft.symm.trans (he.trans hright) |
| 68 | |
| 69 | theorem reduction_kernel : RingHom.ker (reduction R A L ε).toRingHom = ideal R A L ε := by |
| 70 | apply le_antisymm |
| 71 | · intro z hz |
| 72 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 73 | have hc : ε a ∈ L := Ideal.Quotient.eq_zero_iff_mem.mp hz |
| 74 | have hzero : quotient R A L (algebraMap R A (ε a)) = 0 := |
| 75 | Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_map_of_mem _ hc) |
| 76 | have hm : quotient R A L (AugmentationIdeal.AugmentationIdealIntersection.projection R A ε a) ∈ ideal R A L ε := |
| 77 | Ideal.mem_map_of_mem _ (AugmentationIdeal.AugmentationIdealIntersection.projection_mem R A ε a) |
| 78 | rw [AugmentationIdeal.AugmentationIdealIntersection.projection_apply, map_sub, hzero, sub_zero] at hm |
| 79 | exact hm |
| 80 | · rw [ideal, Ideal.map_le_iff_le_comap] |
| 81 | intro a ha |
| 82 | change reduction R A L ε (quotient R A L a) = 0 |
| 83 | rw [reduction_quotient, show ε a = 0 from ha, map_zero] |
| 84 | |
| 85 | variable (δ : DividedPowers (RingHom.ker ε.toRingHom)) |
| 86 | |
| 87 | def dividedPowers : DividedPowers (ideal R A L ε) := |
| 88 | DividedPowers.Quotient.dividedPowers δ (AugmentationIdeal.AugmentationIdealIntersection.isSubDPIdeal R A ε L δ) |
| 89 | |
| 90 | theorem quotient_isDPMorphism : DividedPowers.IsDPMorphism δ (AugmentationCoefficientQuotient.dividedPowers R A L ε δ) |
| 91 | (quotient R A L).toRingHom := |
| 92 | DividedPowers.Quotient.isDPMorphism δ (AugmentationIdeal.AugmentationIdealIntersection.isSubDPIdeal R A ε L δ) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.AugmentationCoefficient.AugmentationCoefficientQuotient |