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.DeRham |
| 2 | import Mathlib.LinearAlgebra.Finsupp.LinearCombination |
| 3 | |
| 4 | /-! # One Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Universal property of the divided-power one-forms |
| 12 | |
| 13 | Degree one of the previously constructed PD de Rham complex represents |
| 14 | derivations satisfying `d γₙ₊₁(x) = γₙ(x) dx`. |
| 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 | |
| 22 | def ordinaryD : Derivation R A (DeRhamPresentationTo.DeRhamPresentation.Form R A 1) where |
| 23 | __ := DeRhamPresentationTo.DeRhamPresentation.generatorDifferential R A (fun i : Fin 0 => i.elim0) |
| 24 | map_one_eq_zero' := DeRhamPresentationTo.DeRhamPresentation.symbol_cons_one R A _ |
| 25 | leibniz' a b := DeRhamPresentationTo.DeRhamPresentation.symbol_cons_mul R A a b _ |
| 26 | |
| 27 | /-- Universal divided-power derivation into degree one of the PD complex. -/ |
| 28 | def D : Derivation R A (DeRham.PDDeRham.Form R A I δ 1) := |
| 29 | (DeRham.PDDeRham.relations R A I δ 1).mkQ.compDer (ordinaryD R A) |
| 30 | |
| 31 | @[simp] theorem D_apply (a : A) : |
| 32 | D R A I δ a = DeRham.PDDeRham.symbol R A I δ 1 (fun _ : Fin 1 => a) := by |
| 33 | change DeRham.PDDeRham.symbol R A I δ 1 (Fin.cons a (fun i : Fin 0 => i.elim0)) = _ |
| 34 | congr 1 |
| 35 | funext i |
| 36 | fin_cases i |
| 37 | rfl |
| 38 | |
| 39 | theorem D_dpow (n : ℕ) {x : A} (hx : x ∈ I) : |
| 40 | D R A I δ (δ.dpow (n + 1) x) = δ.dpow n x • D R A I δ x := by |
| 41 | have h := DeRham.PDDeRham.symbol_update_dpow R A I δ (fun _ : Fin 1 => 0) 0 ⟨x, hx⟩ n |
| 42 | have hu (a : A) : Function.update (fun _ : Fin 1 => (0 : A)) 0 a = fun _ => a := by |
| 43 | funext i |
| 44 | fin_cases i |
| 45 | simp |
| 46 | simpa only [hu, D_apply] using h |
| 47 | |
| 48 | variable (M : Type u) [AddCommGroup M] [Module A M] [Module R M] |
| 49 | (d : Derivation R A M) |
| 50 | |
| 51 | def rawLift : DeRhamPresentationTo.DeRhamPresentation.Raw A 1 →ₗ[A] M := |
| 52 | Finsupp.linearCombination A (fun v : Fin 1 → A => d (v 0)) |
| 53 | |
| 54 | @[simp] theorem rawLift_single (a : A) (v : Fin 1 → A) : |
| 55 | rawLift R A M d (Finsupp.single v a) = a • d (v 0) := by |
| 56 | simp [rawLift] |
| 57 | |
| 58 | theorem rawLift_relation (r : DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A 1) : |
| 59 | rawLift R A M d (DeRhamPresentationTo.DeRhamPresentation.relation R A 1 r) = 0 := by |
| 60 | cases r with |
| 61 | | add v i x y => |
| 62 | have hi : i = 0 := Subsingleton.elim _ _ |
| 63 | subst i |
| 64 | simp [DeRhamPresentationTo.DeRhamPresentation.relation, map_sub, rawLift_single, map_add] |
| 65 | | mul v i x y => |
| 66 | have hi : i = 0 := Subsingleton.elim _ _ |
| 67 | subst i |
| 68 | simp [DeRhamPresentationTo.DeRhamPresentation.relation, map_sub, rawLift_single, d.leibniz] |
| 69 | | base v i r => |
| 70 | have hi : i = 0 := Subsingleton.elim _ _ |
| 71 | subst i |
| 72 | simp [DeRhamPresentationTo.DeRhamPresentation.relation, rawLift_single] |
| 73 | | alt v i j hij hne => exact (hne (Subsingleton.elim i j)).elim |
| 74 | |
| 75 | def ordinaryLift : DeRhamPresentationTo.DeRhamPresentation.Form R A 1 →ₗ[A] M := |
| 76 | (DeRhamPresentationTo.DeRhamPresentation.relations R A 1).liftQ (rawLift R A M d) |
| 77 | (Submodule.span_le.mpr (by |
| 78 | rintro _ ⟨r, rfl⟩ |
| 79 | exact rawLift_relation R A M d r)) |
| 80 | |
| 81 | @[simp] theorem ordinaryLift_symbol (a : A) (v : Fin 1 → A) : |
| 82 | ordinaryLift R A M d (DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = a • d (v 0) := |
| 83 | rawLift_single R A M d a v |
| 84 | |
| 85 | variable (hd : ∀ n x, x ∈ I → d (δ.dpow (n + 1) x) = δ.dpow n x • d x) |
| 86 | |
| 87 | include hd in |
| 88 | theorem ordinaryLift_relation (r : DeRham.PDDeRham.RelationIndex A I 1) : |
| 89 | ordinaryLift R A M d (DeRham.PDDeRham.relation R A I δ 1 r) = 0 := by |
| 90 | have hi : r.i = 0 := Subsingleton.elim _ _ |
| 91 | simp only [DeRham.PDDeRham.relation, map_sub, ordinaryLift_symbol, hi, |
| 92 | Function.update_self, one_smul, hd r.m r.x r.x.property, sub_self] |
| 93 | |
| 94 | /-- The linear map represented by a divided-power derivation. -/ |
| 95 | def lift : DeRham.PDDeRham.Form R A I δ 1 →ₗ[A] M := |
| 96 | (DeRham.PDDeRham.relations R A I δ 1).liftQ (ordinaryLift R A M d) |
| 97 | (Submodule.span_le.mpr (by |
| 98 | rintro _ ⟨r, rfl⟩ |
| 99 | exact ordinaryLift_relation R A I δ M d hd r)) |
| 100 | |
| 101 | @[simp] theorem lift_symbol (a : A) (v : Fin 1 → A) : |
| 102 | lift R A I δ M d hd (DeRham.PDDeRham.symbol R A I δ a v) = a • d (v 0) := |
| 103 | ordinaryLift_symbol R A M d a v |
| 104 | |
| 105 | @[simp] theorem lift_D (a : A) : |
| 106 | lift R A I δ M d hd (D R A I δ a) = d a := by |
| 107 | rw [D_apply, lift_symbol, one_smul] |
| 108 | |
| 109 | omit [Module R M] in |
| 110 | theorem linearMap_ext (f g : DeRham.PDDeRham.Form R A I δ 1 →ₗ[A] M) |
| 111 | (h : ∀ a, f (D R A I δ a) = g (D R A I δ a)) : f = g := by |
| 112 | apply LinearMap.ext |
| 113 | intro ω |
| 114 | obtain ⟨ω, rfl⟩ := Submodule.mkQ_surjective (DeRham.PDDeRham.relations R A I δ 1) ω |
| 115 | obtain ⟨ω, rfl⟩ := Submodule.mkQ_surjective (DeRhamPresentationTo.DeRhamPresentation.relations R A 1) ω |
| 116 | induction ω using Finsupp.induction_linear with |
| 117 | | zero => simp |
| 118 | | add x y hx hy => simp only [map_add, hx, hy] |
| 119 | | single v a => |
| 120 | change f (DeRham.PDDeRham.symbol R A I δ a v) = g (DeRham.PDDeRham.symbol R A I δ a v) |
| 121 | have hv : v = fun _ : Fin 1 => v 0 := funext (fun i => congrArg v (Subsingleton.elim i 0)) |
| 122 | rw [DeRham.PDDeRham.symbol_smul_one, hv, ← D_apply, map_smul, map_smul, h] |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms |