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.LogarithmicForms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PD.DeRhamWedgeAlgebra |
| 3 | |
| 4 | /-! # Logarithmic Wedges -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicWedges.Forms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Products of native logarithmic PD forms are closed, and changing |
| 11 | each unit by an element of the PD ideal changes the product by a |
| 12 | boundary in the original PD de Rham complex. -/ |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PD.DeRhamWedgeAlgebra |
| 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 logarithmicWedge : (n : ℕ) → (Fin n → Aˣ) → AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ n |
| 19 | | 0, _ => DeRhamWedgeAlgebra.unitForm R A I δ |
| 20 | | n + 1, v => DeRhamWedge.wedge R A I δ n 1 |
| 21 | (logarithmicWedge n (fun i => v i.castSucc)) (LogarithmicForms.dlog R A I δ (v (Fin.last n))) |
| 22 | |
| 23 | theorem logarithmicWedge_one (v : Fin 1 → Aˣ) : |
| 24 | Forms.logarithmicWedge R A I δ 1 v = LogarithmicForms.dlog R A I δ (v 0) := by |
| 25 | simpa only [DeRhamLeibniz.Wedge.degreeCast, Forms.logarithmicWedge, LinearEquiv.refl_apply, Fin.last_zero] using |
| 26 | (DeRhamWedgeAlgebra.unit_wedge R A I δ (LogarithmicForms.dlog R A I δ (v 0))) |
| 27 | |
| 28 | theorem logarithmicWedge_closed (n : ℕ) (v : Fin n → Aˣ) : |
| 29 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ n (Forms.logarithmicWedge R A I δ n v) = 0 := by |
| 30 | induction n with |
| 31 | | zero => exact DeRhamWedgeAlgebra.differential_unit R A I δ |
| 32 | | succ n ih => |
| 33 | rw [Forms.logarithmicWedge, DeRhamLeibniz.Wedge.differential_wedge, ih, LogarithmicForms.dlog_closed] |
| 34 | simp only [map_zero, LinearMap.zero_apply, smul_zero, add_zero] |
| 35 | |
| 36 | theorem differential_wedge_closed_one (n : ℕ) (η : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ n) |
| 37 | (y : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 1) (hy : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 1 y = 0) : |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ (n + 1) (DeRhamWedge.wedge R A I δ n 1 η y) = |
| 39 | DeRhamWedge.wedge R A I δ (n + 1) 1 (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ n η) y := by |
| 40 | rw [DeRhamLeibniz.Wedge.differential_wedge, hy, map_zero, map_zero, smul_zero, add_zero] |
| 41 | rfl |
| 42 | |
| 43 | theorem differential_closed_wedge_zero (n : ℕ) (x : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ n) |
| 44 | (hx : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ n x = 0) (η : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ 0) : |
| 45 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ n (DeRhamWedge.wedge R A I δ n 0 x η) = |
| 46 | (-1 : ℤ) ^ n • DeRhamWedge.wedge R A I δ n 1 x (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 0 η) := by |
| 47 | have h := DeRhamLeibniz.Wedge.differential_wedge R A I δ n 0 x η |
| 48 | simpa only [hx, map_zero, LinearMap.zero_apply, zero_add, DeRhamLeibniz.Wedge.degreeCast, |
| 49 | LinearEquiv.refl_apply, Nat.add_zero] using h |
| 50 | |
| 51 | theorem congruent_wedges_exact (p r : ℕ) (hp : 0 < p) (hpr : (p : A) ^ r = 0) |
| 52 | (n : ℕ) (u v : Fin (n + 1) → Aˣ) |
| 53 | (huv : ∀ i, (v i : A) - (u i : A) ∈ I) : |
| 54 | ∃ η : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R A I δ n, |
| 55 | Forms.logarithmicWedge R A I δ (n + 1) v - Forms.logarithmicWedge R A I δ (n + 1) u = |
| 56 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ n η := by |
| 57 | induction n with |
| 58 | | zero => |
| 59 | rw [logarithmicWedge_one, logarithmicWedge_one] |
| 60 | exact LogarithmicForms.congruent_units_exact R A I δ p r hp hpr (u 0) (v 0) (huv 0) |
| 61 | | succ n ih => |
| 62 | obtain ⟨η, hη⟩ := ih (fun i => u i.castSucc) (fun i => v i.castSucc) |
| 63 | (fun i => huv i.castSucc) |
| 64 | obtain ⟨ξ, hξ⟩ := LogarithmicForms.congruent_units_exact R A I δ p r hp hpr |
| 65 | (u (Fin.last (n + 1))) (v (Fin.last (n + 1))) (huv (Fin.last (n + 1))) |
| 66 | let x := Forms.logarithmicWedge R A I δ (n + 1) (fun i => u i.castSucc) |
| 67 | let y := LogarithmicForms.dlog R A I δ (v (Fin.last (n + 1))) |
| 68 | refine ⟨DeRhamWedge.wedge R A I δ n 1 η y + |
| 69 | (-1 : ℤ) ^ (n + 1) • DeRhamWedge.wedge R A I δ (n + 1) 0 x ξ, ?_⟩ |
| 70 | have hx : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ (n + 1) x = 0 := |
| 71 | logarithmicWedge_closed R A I δ _ _ |
| 72 | have hy : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R A I δ 1 y = 0 := LogarithmicForms.dlog_closed R A I δ _ |
| 73 | have hs : (-1 : ℤ) ^ (n + 1) * (-1 : ℤ) ^ (n + 1) = 1 := by |
| 74 | rw [← mul_pow] |
| 75 | simp |
| 76 | rw [map_add, map_zsmul, differential_wedge_closed_one R A I δ n η y hy, |
| 77 | differential_closed_wedge_zero R A I δ (n + 1) x hx ξ, |
| 78 | smul_smul, hs, one_smul, ← hη, ← hξ] |
| 79 | simp only [Forms.logarithmicWedge, x, y, map_sub, LinearMap.sub_apply] |
| 80 | abel |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicWedges.Forms |