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.PD.Logarithm |
| 2 | |
| 3 | /-! # Logarithmic Forms -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicForms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Logarithmic differentials in the original PD de Rham complex. |
| 10 | Congruent units have cohomologous closed logarithmic forms whenever |
| 11 | the residue characteristic is nilpotent. The primitive is an explicit |
| 12 | finite divided-power logarithm. -/ |
| 13 | |
| 14 | universe u |
| 15 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 16 | (I : Ideal A) (δ : DividedPowers I) |
| 17 | |
| 18 | def zeroForm (a : A) : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 0 := |
| 19 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R A I δ a (fun i : Fin 0 => i.elim0) |
| 20 | |
| 21 | theorem differential_zeroForm (a : A) : |
| 22 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 0 (zeroForm R A I δ a) = |
| 23 | AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A I δ a := by |
| 24 | change AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.projectedDifferential R A I δ 0 |
| 25 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a (fun i : Fin 0 => i.elim0)) = _ |
| 26 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.projectedDifferential_symbol, AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D_apply] |
| 27 | congr 1 |
| 28 | ext i |
| 29 | fin_cases i |
| 30 | rfl |
| 31 | |
| 32 | def dlog (u : Aˣ) : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 1 := |
| 33 | Logarithm.dlog (AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A I δ) u |
| 34 | |
| 35 | theorem dlog_symbol (u : Aˣ) : dlog R A I δ u = |
| 36 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R A I δ (↑u⁻¹ : A) (fun _ : Fin 1 => (u : A)) := by |
| 37 | rw [dlog, Logarithm.dlog, AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D_apply, |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol_smul_one R A I δ (↑u⁻¹ : A)] |
| 39 | |
| 40 | theorem dlog_closed (u : Aˣ) : |
| 41 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 1 (dlog R A I δ u) = 0 := by |
| 42 | rw [dlog_symbol] |
| 43 | change AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.projectedDifferential R A I δ 1 |
| 44 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A (↑u⁻¹ : A) (fun _ : Fin 1 => (u : A))) = 0 |
| 45 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.projectedDifferential_symbol] |
| 46 | have h := AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol_cons_mul R A I δ (u : A) (↑u⁻¹ : A) |
| 47 | (fun _ : Fin 1 => (u : A)) |
| 48 | have halt : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R A I δ 1 |
| 49 | (Fin.cons (u : A) (fun _ : Fin 1 => (u : A))) = 0 := |
| 50 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol_alt R A I δ _ 0 1 rfl (by decide) |
| 51 | rw [Units.mul_inv, AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol_cons_one, halt, smul_zero, add_zero] at h |
| 52 | have he := congrArg (fun ω : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 2 => (↑u⁻¹ : A) • ω) h |
| 53 | simpa only [smul_zero, smul_smul, Units.inv_mul, one_smul] using he.symm |
| 54 | |
| 55 | theorem congruent_units_exact (p r : ℕ) (hp : 0 < p) (hpr : (p : A) ^ r = 0) |
| 56 | (u v : Aˣ) (huv : (v : A) - (u : A) ∈ I) : |
| 57 | ∃ η : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 0, |
| 58 | dlog R A I δ v - dlog R A I δ u = AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 0 η := by |
| 59 | obtain ⟨b, hb⟩ := DividedPower.Nilpotence.pow_dvd_mul_factorial p r hp |
| 60 | have hf : ((r * p).factorial : A) = 0 := by |
| 61 | rw [hb, Nat.cast_mul, Nat.cast_pow, hpr, zero_mul] |
| 62 | have hx : (↑(v * u⁻¹) : A) - 1 ∈ I := by |
| 63 | have he : (↑(v * u⁻¹) : A) - 1 = ((v : A) - (u : A)) * ↑u⁻¹ := by |
| 64 | rw [Units.val_mul, sub_mul, Units.mul_inv] |
| 65 | rw [he] |
| 66 | exact I.mul_mem_right _ huv |
| 67 | refine ⟨zeroForm R A I δ |
| 68 | (Logarithm.logarithm I δ (r * p) ((↑(v * u⁻¹) : A) - 1)), ?_⟩ |
| 69 | rw [differential_zeroForm] |
| 70 | exact Logarithm.dlog_sub_exact I δ (AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A I δ) |
| 71 | (r * p) u v hx hf (fun j => AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D_dpow R A I δ j hx) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicForms |