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.PeriodInvariants.AdicSeparation |
| 2 | |
| 3 | /-! # De Rham Structure -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.DeRhamStructure |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The defining ideal and embedding for the native de Rham period ring |
| 11 | |
| 12 | The kernel used by Mathlib's BDeRhamPlus is generated by the image of |
| 13 | [p-flat] - p. Its adic completion contains A_inf[1/p] faithfully. |
| 14 | -/ |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.ThetaKernel OAI.NumberTheory.PadicHodge.PeriodInvariants.Nontriviality OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicSeparation |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | |
| 20 | abbrev IntegerLocalization := Localization.Away (p : 𝓞_ℂ_[p]) |
| 21 | |
| 22 | def nativeTheta : Nontriviality.Binf p →+* IntegerLocalization p := fontaineThetaInvertP 𝓞_ℂ_[p] p |
| 23 | |
| 24 | theorem nativeTheta_algebraMap (x : PeriodRing.Ainf p) : |
| 25 | nativeTheta p (algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) x) = |
| 26 | algebraMap 𝓞_ℂ_[p] (IntegerLocalization p) (PeriodRing.theta p x) := by |
| 27 | unfold nativeTheta fontaineThetaInvertP |
| 28 | rw [IsLocalization.Away.lift_eq] |
| 29 | rfl |
| 30 | |
| 31 | theorem integerLocalization_injective : |
| 32 | Function.Injective (algebraMap 𝓞_ℂ_[p] (IntegerLocalization p)) := |
| 33 | IsLocalization.injective (IntegerLocalization p) |
| 34 | (powers_le_nonZeroDivisors_of_noZeroDivisors |
| 35 | (show (p : 𝓞_ℂ_[p]) ≠ 0 from Nat.cast_ne_zero.mpr (Fact.out : p.Prime).ne_zero)) |
| 36 | |
| 37 | theorem nativeTheta_kernel : RingHom.ker (nativeTheta p) = |
| 38 | Ideal.span {algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p)} := by |
| 39 | apply le_antisymm |
| 40 | · intro x hx |
| 41 | obtain ⟨⟨a, s⟩, rfl⟩ := IsLocalization.mk'_surjective (Submonoid.powers (p : PeriodRing.Ainf p)) x |
| 42 | have ha : PeriodRing.theta p a = 0 := by |
| 43 | apply integerLocalization_injective p |
| 44 | rw [map_zero, ← nativeTheta_algebraMap] |
| 45 | rw [← IsLocalization.mk'_spec (Nontriviality.Binf p) a s, map_mul, RingHom.mem_ker.mp hx, zero_mul] |
| 46 | apply (IsLocalization.mk'_mem_iff).mpr |
| 47 | have hm := Ideal.mem_map_of_mem (algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p)) |
| 48 | (show a ∈ Ideal.span {ThetaKernel.xi p} from (ThetaKernel.theta_kernel_eq_span p) ▸ ha) |
| 49 | simpa only [Ideal.map_span, Set.image_singleton] using hm |
| 50 | · apply Ideal.span_le.mpr |
| 51 | intro x hx |
| 52 | obtain rfl := Set.mem_singleton_iff.mp hx |
| 53 | change nativeTheta p (algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p)) = 0 |
| 54 | rw [nativeTheta_algebraMap, ThetaKernel.theta_xi, map_zero] |
| 55 | |
| 56 | instance nativeTheta_separated : IsHausdorff (RingHom.ker (nativeTheta p)) (Nontriviality.Binf p) := by |
| 57 | rw [nativeTheta_kernel] |
| 58 | infer_instance |
| 59 | |
| 60 | def binfToDeRhamPlus : Nontriviality.Binf p →+* BDeRhamPlus 𝓞_ℂ_[p] p := |
| 61 | algebraMap (Nontriviality.Binf p) (AdicCompletion (RingHom.ker (nativeTheta p)) (Nontriviality.Binf p)) |
| 62 | |
| 63 | /-- The native de Rham completion loses no elements of A_inf[1/p]. -/ |
| 64 | theorem binfToDeRhamPlus_injective : Function.Injective (binfToDeRhamPlus p) := |
| 65 | AdicCompletion.of_injective (RingHom.ker (nativeTheta p)) (Nontriviality.Binf p) |
| 66 | |
| 67 | theorem binf_xi_ne_zero : algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p) ≠ 0 := by |
| 68 | intro h |
| 69 | exact ThetaKernel.xi_ne_zero p ((Nontriviality.binf_algebraMap_injective p) (h.trans (map_zero _).symm)) |
| 70 | |
| 71 | /-- Every power of the theta generator stays nonzero in B_dR-plus. -/ |
| 72 | theorem deRham_xi_pow_ne_zero (n : ℕ) : |
| 73 | binfToDeRhamPlus p (algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p)) ^ n ≠ 0 := by |
| 74 | intro h |
| 75 | have he : (algebraMap (PeriodRing.Ainf p) (Nontriviality.Binf p) (ThetaKernel.xi p)) ^ n = 0 := |
| 76 | binfToDeRhamPlus_injective p (by rw [map_pow, h, map_zero]) |
| 77 | have hf := congrArg (Nontriviality.binfToFraction p) he |
| 78 | rw [map_pow, Nontriviality.binfToFraction_algebraMap, map_zero] at hf |
| 79 | have hn : algebraMap (PeriodRing.Ainf p) (FractionRing (PeriodRing.Ainf p)) (ThetaKernel.xi p) ≠ 0 := by |
| 80 | simpa only [map_zero] using |
| 81 | (IsFractionRing.injective (PeriodRing.Ainf p) (FractionRing (PeriodRing.Ainf p))).ne (ThetaKernel.xi_ne_zero p) |
| 82 | exact pow_ne_zero n hn hf |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.DeRhamStructure |