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.PeriodRing |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.PrincipalKernel |
| 3 | |
| 4 | /-! # Theta Kernel -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.ThetaKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The principal kernel of the actual Fontaine theta map |
| 12 | |
| 13 | The generator is [p-flat] - p, using compatible roots of p in O_Cp. |
| 14 | Its reduction generates the kernel modulo p; completeness lifts that fact. |
| 15 | -/ |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing.TiltDivisibility |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | |
| 21 | def xi : PeriodRing.Ainf p := WittVector.teichmuller p (PeriodRing.TiltDivisibility.pTilt p) - p |
| 22 | |
| 23 | theorem theta_xi : PeriodRing.theta p (xi p) = 0 := by |
| 24 | rw [xi, map_sub, PeriodRing.theta_teichmuller, PeriodRing.TiltDivisibility.pTilt_untilt, map_natCast, sub_self] |
| 25 | |
| 26 | theorem xi_coeff_zero : (xi p).coeff 0 = PeriodRing.TiltDivisibility.pTilt p := by |
| 27 | change WittVector.constantCoeff (WittVector.teichmuller p (PeriodRing.TiltDivisibility.pTilt p) - (p : PeriodRing.Ainf p)) = PeriodRing.TiltDivisibility.pTilt p |
| 28 | rw [map_sub] |
| 29 | change (WittVector.teichmuller p (PeriodRing.TiltDivisibility.pTilt p)).coeff 0 - (p : PeriodRing.Ainf p).coeff 0 = _ |
| 30 | rw [WittVector.teichmuller_coeff_zero, WittVector.coeff_p_zero, sub_zero] |
| 31 | |
| 32 | theorem pTilt_ne_zero : PeriodRing.TiltDivisibility.pTilt p ≠ 0 := by |
| 33 | intro h |
| 34 | have he : PeriodRing.theta p (WittVector.teichmuller p (PeriodRing.TiltDivisibility.pTilt p)) = (p : 𝓞_ℂ_[p]) := by |
| 35 | rw [PeriodRing.theta_teichmuller, PeriodRing.TiltDivisibility.pTilt_untilt] |
| 36 | rw [h, WittVector.teichmuller_zero, map_zero] at he |
| 37 | exact (Nat.cast_ne_zero.mpr (Fact.out : p.Prime).ne_zero) he.symm |
| 38 | |
| 39 | theorem xi_ne_zero : xi p ≠ 0 := by |
| 40 | intro h |
| 41 | have he := congrArg (fun x : PeriodRing.Ainf p => x.coeff 0) h |
| 42 | rw [xi_coeff_zero, WittVector.zero_coeff] at he |
| 43 | exact pTilt_ne_zero p he |
| 44 | |
| 45 | theorem kernel_modp_generated (x : RingHom.ker (PeriodRing.theta p)) : |
| 46 | ∃ b : PeriodRing.Ainf p, (p : PeriodRing.Ainf p) ∣ (x : PeriodRing.Ainf p) - xi p * b := by |
| 47 | have hc : PreTilt.coeff 0 ((x : PeriodRing.Ainf p).coeff 0) = 0 := by |
| 48 | rw [← WittVector.mk_fontaineTheta] |
| 49 | change Ideal.Quotient.mk (Ideal.span {(p : 𝓞_ℂ_[p])}) (PeriodRing.theta p x) = 0 |
| 50 | rw [RingHom.mem_ker.mp x.property, map_zero] |
| 51 | obtain ⟨b, hb⟩ := PeriodRing.TiltDivisibility.pTilt_dvd_of_coeff_zero p ((x : PeriodRing.Ainf p).coeff 0) hc |
| 52 | refine ⟨WittVector.teichmuller p b, ?_⟩ |
| 53 | apply Ideal.mem_span_singleton.mp |
| 54 | apply (WittVector.mem_span_p_iff_coeff_zero_eq_zero _).mpr |
| 55 | change WittVector.constantCoeff ((x : PeriodRing.Ainf p) - xi p * WittVector.teichmuller p b) = 0 |
| 56 | rw [map_sub, map_mul] |
| 57 | change (x : PeriodRing.Ainf p).coeff 0 - (xi p).coeff 0 * (WittVector.teichmuller p b).coeff 0 = 0 |
| 58 | rw [xi_coeff_zero, WittVector.teichmuller_coeff_zero, hb, sub_self] |
| 59 | |
| 60 | /-- Fontaine's theta kernel is generated by the explicit element [p-flat] - p. -/ |
| 61 | theorem theta_kernel_eq_span : RingHom.ker (PeriodRing.theta p) = Ideal.span {xi p} := |
| 62 | PrincipalKernel.kernel_eq_span (PeriodRing.theta p) (xi p) (theta_xi p) p |
| 63 | (by rw [map_natCast]; exact_mod_cast (Fact.out : p.Prime).ne_zero) |
| 64 | (kernel_modp_generated p) |
| 65 | |
| 66 | /-- The actual quotient of A_inf by the explicit theta generator is O_Cp. -/ |
| 67 | def thetaQuotientEquiv : (PeriodRing.Ainf p ⧸ Ideal.span {xi p}) ≃+* 𝓞_ℂ_[p] := |
| 68 | (Ideal.quotEquivOfEq (theta_kernel_eq_span p).symm).trans |
| 69 | (RingHom.quotientKerEquivOfSurjective (f := PeriodRing.theta p) (PeriodRing.theta_surjective p)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.ThetaKernel |