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.AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms |
| 2 | |
| 3 | /-! # Form Slots -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormSlots.PDFormSlots |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # A differential-form slot is a divided-power derivation |
| 11 | |
| 12 | Fixing all other factors of a differential symbol gives a derivation in |
| 13 | the remaining slot. This connects the universal one-form calculation to |
| 14 | higher-degree forms without assuming an exterior-power presentation. |
| 15 | -/ |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 20 | (I : Ideal A) (δ : DividedPowers I) |
| 21 | {n : ℕ} (v : Fin n → A) (i : Fin n) |
| 22 | |
| 23 | def linearMap : A →ₗ[R] DeRham.PDDeRham.Form R A I δ n := |
| 24 | ((DeRham.PDDeRham.relations R A I δ n).mkQ.restrictScalars R).comp |
| 25 | ((DeRhamPresentationTo.DeRhamPresentation.symbols R A n).toMultilinearMap.toLinearMap v i) |
| 26 | |
| 27 | @[simp] theorem linearMap_apply (a : A) : |
| 28 | linearMap R A I δ v i a = DeRham.PDDeRham.symbol R A I δ 1 (Function.update v i a) := rfl |
| 29 | |
| 30 | /-- A differential symbol is a PD derivation in each fixed slot. -/ |
| 31 | def derivation : Derivation R A (DeRham.PDDeRham.Form R A I δ n) where |
| 32 | __ := linearMap R A I δ v i |
| 33 | map_one_eq_zero' := by |
| 34 | have h := congrArg (DeRham.PDDeRham.relations R A I δ n).mkQ |
| 35 | (DeRhamPresentationTo.DeRhamPresentation.symbol_update_base R A v i 1) |
| 36 | simp only [map_one, map_zero] at h |
| 37 | exact h |
| 38 | leibniz' a b := by |
| 39 | have h := congrArg (DeRham.PDDeRham.relations R A I δ n).mkQ |
| 40 | (DeRhamPresentationTo.DeRhamPresentation.symbol_update_mul R A v i a b) |
| 41 | simp only [map_add, map_smul] at h |
| 42 | exact h |
| 43 | |
| 44 | @[simp] theorem derivation_apply (a : A) : |
| 45 | derivation R A I δ v i a = DeRham.PDDeRham.symbol R A I δ 1 (Function.update v i a) := rfl |
| 46 | |
| 47 | theorem derivation_dpow (m : ℕ) {x : A} (hx : x ∈ I) : |
| 48 | derivation R A I δ v i (δ.dpow (m + 1) x) = δ.dpow m x • derivation R A I δ v i x := |
| 49 | DeRham.PDDeRham.symbol_update_dpow R A I δ v i ⟨x, hx⟩ m |
| 50 | |
| 51 | /-- Vanishing on differential symbols implies vanishing of the whole form module. -/ |
| 52 | theorem eq_zero_of_symbols (hz : ∀ v : Fin n → A, DeRham.PDDeRham.symbol R A I δ 1 v = 0) |
| 53 | (ω : DeRham.PDDeRham.Form R A I δ n) : ω = 0 := by |
| 54 | obtain ⟨ω, rfl⟩ := Submodule.mkQ_surjective (DeRham.PDDeRham.relations R A I δ n) ω |
| 55 | obtain ⟨ω, rfl⟩ := Submodule.mkQ_surjective (DeRhamPresentationTo.DeRhamPresentation.relations R A n) ω |
| 56 | induction ω using Finsupp.induction_linear with |
| 57 | | zero => simp |
| 58 | | add x y hx hy => simp only [map_add, hx, hy, add_zero] |
| 59 | | single v a => |
| 60 | change DeRham.PDDeRham.symbol R A I δ a v = 0 |
| 61 | rw [DeRham.PDDeRham.symbol_smul_one, hz, smul_zero] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormSlots.PDFormSlots |