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.DualFrameCoefficientPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CoefficientLinePurity |
| 3 | |
| 4 | /-! # Purity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.Purity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical quotient-coefficient purity for finite projective modules. |
| 11 | Finite dual frames prove bijectivity and vanishing but do not enter the |
| 12 | resulting evaluation map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 20 | |
| 21 | variable (R Q : Type u) [CommRing R] [CommRing Q] [Algebra R Q] |
| 22 | (hQ : Function.Surjective (algebraMap R Q)) |
| 23 | (T : ModuleCat.{u} R) (n : ℕ) |
| 24 | (P : ProjectiveResolution (ModuleCat.of R Q)) |
| 25 | (e : Quotient.CoefficientEvaluation.group R T n P ≅ ModuleCat.of R Q) |
| 26 | (M : Type u) [AddCommGroup M] [Module Q M] [Module R M] [IsScalarTower R Q M] |
| 27 | [Module.Finite Q M] [Module.Projective Q M] |
| 28 | (PM : ProjectiveResolution (ModuleCat.of R M)) |
| 29 | |
| 30 | def scalarEquiv : Quotient.CoefficientEvaluation.group R T n PM ≃ₗ[R] (M →ₗ[Q] Q) := |
| 31 | LinearEquiv.ofBijective (Quotient.CoefficientEvaluation.dualMap R Q hQ T n P e M PM) (by |
| 32 | obtain ⟨ι, hι, hb⟩ := IntegralComparison.Finite.DualFrame.exists_frame Q M |
| 33 | let := hι |
| 34 | exact (DualFrameCoefficientPurity.equiv R Q hQ T n P e M PM hb.some).bijective) |
| 35 | |
| 36 | variable (L : Type u) [AddCommGroup L] [Module Q L] [Module R L] [IsScalarTower R Q L] |
| 37 | (eL : Quotient.CoefficientEvaluation.group R T n P ≅ ModuleCat.of R L) |
| 38 | |
| 39 | def equiv : Quotient.CoefficientEvaluation.group R T n PM ≃ₗ[R] (M →ₗ[Q] L) := |
| 40 | (scalarEquiv R Q hQ T n P e M PM).trans |
| 41 | ((LinearEquiv.congrRight (CoefficientLinePurity.quotientEquiv R Q hQ L |
| 42 | (e.toLinearEquiv.symm.trans eL.toLinearEquiv))).restrictScalars R) |
| 43 | |
| 44 | theorem equiv_apply (x : Quotient.CoefficientEvaluation.group R T n PM) (m : M) : |
| 45 | equiv R Q hQ T n P e M PM L eL x m = |
| 46 | eL.hom (Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) P PM (Quotient.CoefficientEvaluation.point R Q M m) n x) := by |
| 47 | change eL.hom (e.inv (e.hom (Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) P PM (Quotient.CoefficientEvaluation.point R Q M m) n x))) = _ |
| 48 | rw [Iso.hom_inv_id_apply] |
| 49 | |
| 50 | theorem independent_scalar_frame (e' : Quotient.CoefficientEvaluation.group R T n P ≅ ModuleCat.of R Q) : |
| 51 | equiv R Q hQ T n P e M PM L eL = equiv R Q hQ T n P e' M PM L eL := by |
| 52 | ext x m |
| 53 | simp only [equiv_apply] |
| 54 | |
| 55 | theorem coefficient_map (u : Q →ₗ[Q] M) (x : Quotient.CoefficientEvaluation.group R T n PM) : |
| 56 | eL.hom (Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) P PM (ModuleCat.ofHom (u.restrictScalars R)) n x) = |
| 57 | equiv R Q hQ T n P e M PM L eL x (u 1) := by |
| 58 | rw [equiv_apply] |
| 59 | have hu : ModuleCat.ofHom (u.restrictScalars R) = Quotient.CoefficientEvaluation.point R Q M (u 1) := by |
| 60 | ext q |
| 61 | change u q = q • u 1 |
| 62 | simpa only [smul_eq_mul, mul_one] using u.map_smul q 1 |
| 63 | rw [hu] |
| 64 | |
| 65 | variable (M' : Type u) [AddCommGroup M'] [Module Q M'] [Module R M'] [IsScalarTower R Q M'] |
| 66 | [Module.Finite Q M'] [Module.Projective Q M'] |
| 67 | (PM' : ProjectiveResolution (ModuleCat.of R M')) (f : M →ₗ[Q] M') |
| 68 | |
| 69 | theorem naturality (x : Quotient.CoefficientEvaluation.group R T n PM') (m : M) : |
| 70 | equiv R Q hQ T n P e M PM L eL |
| 71 | (Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) PM PM' (ModuleCat.ofHom (f.restrictScalars R)) n x) m = |
| 72 | equiv R Q hQ T n P e M' PM' L eL x (f m) := by |
| 73 | rw [equiv_apply, equiv_apply] |
| 74 | have hf : Quotient.CoefficientEvaluation.point R Q M m ≫ ModuleCat.ofHom (f.restrictScalars R) = Quotient.CoefficientEvaluation.point R Q M' (f m) := by |
| 75 | ext q |
| 76 | exact f.map_smul q m |
| 77 | rw [← hf, Resolution.CohomologyMaps.map_comp] |
| 78 | rfl |
| 79 | |
| 80 | theorem isZero (h : IsZero (Quotient.CoefficientEvaluation.group R T n P)) : IsZero (Quotient.CoefficientEvaluation.group R T n PM) := by |
| 81 | obtain ⟨ι, hι, hb⟩ := IntegralComparison.Finite.DualFrame.exists_frame Q M |
| 82 | let := hι |
| 83 | let b := hb.some |
| 84 | apply (IsZero.iff_id_eq_zero _).mpr |
| 85 | have hs := congrArg (fun f => Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) PM PM f n) |
| 86 | (DualFrameCoefficientPurity.sum_projection_point R Q M b) |
| 87 | rw [Resolution.CohomologyMaps.map_sum, Resolution.CohomologyMaps.map_id] at hs |
| 88 | simp_rw [Resolution.CohomologyMaps.map_comp _ PM P PM] at hs |
| 89 | have hz (i : ι) : Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) PM P |
| 90 | (DualFrameCoefficientPurity.projection R Q M b i) n = 0 := h.eq_of_src _ _ |
| 91 | simp only [hz, comp_zero, Finset.sum_const_zero] at hs |
| 92 | exact hs.symm |
| 93 | |
| 94 | theorem exactAt |
| 95 | (h : ((IntegralComparison.ProjectiveResolution.HomNaturality.functor (Resolution.CohomologyMaps.homFunctor R T)).obj |
| 96 | (Opposite.op P.complex)).ExactAt n) : |
| 97 | ((IntegralComparison.ProjectiveResolution.HomNaturality.functor (Resolution.CohomologyMaps.homFunctor R T)).obj |
| 98 | (Opposite.op PM.complex)).ExactAt n := by |
| 99 | rw [HomologicalComplex.exactAt_iff_isZero_homology] at h ⊢ |
| 100 | exact isZero R Q T n P M PM h |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.Purity |