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.LogarithmicFrame |
| 2 | |
| 3 | /-! # Logarithmic Homotopy -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicHomotopy.Forms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A canonical finite primitive for changing logarithmic coordinate |
| 10 | lifts. Fixing the truncation length removes all choices from the local |
| 11 | boundary representative. -/ |
| 12 | open _root_.CategoryTheory |
| 13 | universe u |
| 14 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 15 | (I : Ideal A) (δ : DividedPowers I) |
| 16 | |
| 17 | def primitiveOne (N : ℕ) (u v : Aˣ) : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 0 := |
| 18 | LogarithmicForms.zeroForm R A I δ (Logarithm.logarithm I δ N ((↑(v * u⁻¹) : A) - 1)) |
| 19 | |
| 20 | theorem ratio_mem (u v : Aˣ) (huv : (v : A) - (u : A) ∈ I) : |
| 21 | (↑(v * u⁻¹) : A) - 1 ∈ I := by |
| 22 | have he : (↑(v * u⁻¹) : A) - 1 = ((v : A) - (u : A)) * ↑u⁻¹ := by |
| 23 | rw [Units.val_mul, sub_mul, Units.mul_inv] |
| 24 | rw [he] |
| 25 | exact I.mul_mem_right _ huv |
| 26 | |
| 27 | theorem primitiveOne_differential (N : ℕ) (hN : (N.factorial : A) = 0) |
| 28 | (u v : Aˣ) (huv : (v : A) - (u : A) ∈ I) : |
| 29 | LogarithmicForms.dlog R A I δ v - LogarithmicForms.dlog R A I δ u = |
| 30 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 0 (primitiveOne R A I δ N u v) := by |
| 31 | rw [primitiveOne, LogarithmicForms.differential_zeroForm] |
| 32 | have hx := ratio_mem A I u v huv |
| 33 | exact Logarithm.dlog_sub_exact I δ (AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R A I δ) N u v hx hN |
| 34 | (fun j => AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D_dpow R A I δ j hx) |
| 35 | |
| 36 | def logarithmicPrimitive (N : ℕ) : (n : ℕ) → |
| 37 | (Fin (n + 1) → Aˣ) → (Fin (n + 1) → Aˣ) → AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ n |
| 38 | | 0, u, v => primitiveOne R A I δ N (u 0) (v 0) |
| 39 | | n + 1, u, v => |
| 40 | DeRhamWedge.wedge R A I δ n 1 |
| 41 | (logarithmicPrimitive N n (fun i => u i.castSucc) (fun i => v i.castSucc)) |
| 42 | (LogarithmicForms.dlog R A I δ (v (Fin.last (n + 1)))) + |
| 43 | (-1 : ℤ) ^ (n + 1) • DeRhamWedge.wedge R A I δ (n + 1) 0 |
| 44 | (LogarithmicWedges.Forms.logarithmicWedge R A I δ (n + 1) (fun i => u i.castSucc)) |
| 45 | (primitiveOne R A I δ N (u (Fin.last (n + 1))) (v (Fin.last (n + 1)))) |
| 46 | |
| 47 | theorem logarithmicPrimitive_differential (N : ℕ) (hN : (N.factorial : A) = 0) |
| 48 | (n : ℕ) (u v : Fin (n + 1) → Aˣ) |
| 49 | (huv : ∀ i, (v i : A) - (u i : A) ∈ I) : |
| 50 | LogarithmicWedges.Forms.logarithmicWedge R A I δ (n + 1) v - LogarithmicWedges.Forms.logarithmicWedge R A I δ (n + 1) u = |
| 51 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ n (Forms.logarithmicPrimitive R A I δ N n u v) := by |
| 52 | induction n with |
| 53 | | zero => |
| 54 | rw [LogarithmicWedges.Forms.logarithmicWedge_one, LogarithmicWedges.Forms.logarithmicWedge_one] |
| 55 | exact primitiveOne_differential R A I δ N hN (u 0) (v 0) (huv 0) |
| 56 | | succ n ih => |
| 57 | have hη := ih (fun i => u i.castSucc) (fun i => v i.castSucc) |
| 58 | (fun i => huv i.castSucc) |
| 59 | have hξ := primitiveOne_differential R A I δ N hN |
| 60 | (u (Fin.last (n + 1))) (v (Fin.last (n + 1))) (huv (Fin.last (n + 1))) |
| 61 | have hs : (-1 : ℤ) ^ (n + 1) * (-1 : ℤ) ^ (n + 1) = 1 := by |
| 62 | rw [← mul_pow] |
| 63 | simp |
| 64 | rw [Forms.logarithmicPrimitive, map_add, map_zsmul, |
| 65 | LogarithmicWedges.Forms.differential_wedge_closed_one R A I δ _ _ _ (LogarithmicForms.dlog_closed R A I δ _), |
| 66 | LogarithmicWedges.Forms.differential_closed_wedge_zero R A I δ _ _ (LogarithmicWedges.Forms.logarithmicWedge_closed R A I δ _ _) _, |
| 67 | smul_smul, hs, one_smul, ← hη, ← hξ] |
| 68 | simp only [LogarithmicWedges.Forms.logarithmicWedge, map_sub, LinearMap.sub_apply] |
| 69 | abel |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicHomotopy.Forms |