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.Divided.PolynomialDerivation |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms |
| 3 | |
| 4 | /-! # Polynomial One Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialOneForms.DividedPolynomialOneForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Divided-power one-forms on the rank-one divided-polynomial algebra |
| 12 | |
| 13 | The actual PD one-form module is free on the differential of the variable. |
| 14 | Under this isomorphism, its de Rham differential is the coefficient shift |
| 15 | with the previously constructed integral primitive. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialAlgebra.DividedPolynomialAlgebra |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] |
| 23 | (K : Type u) [Field K] [CharZero K] [Algebra R K] |
| 24 | (h : Function.Injective (algebraMap R K)) |
| 25 | (I : Ideal R) (δ : DividedPowers I) (hunit : ∃ a ∈ I, IsUnit (algebraMap R K a)) |
| 26 | |
| 27 | local notation "G" => DividedPowerAlgebra R R |
| 28 | local notation "J" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialPowers.DividedPolynomialPowers.ideal R I |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialPowers.DividedPolynomialPowers.dividedPowers R K h I δ hunit |
| 30 | local notation "Ω" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R G J γ 1 |
| 31 | local notation "D" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.OneForms.PDOneForms.D R G J γ |
| 32 | local notation "∂" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialDerivation.DividedPolynomialDerivation.derivation R K h |
| 33 | local notation "X" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialAlgebra.DividedPolynomialAlgebra.monomial R 1 |
| 34 | |
| 35 | theorem variable_mem : X ∈ J := PolynomialPowers.DividedPolynomialPowers.positive_monomial_mem R I 1 one_ne_zero |
| 36 | |
| 37 | theorem variable_dpow (n : ℕ) : (γ).dpow n X = PolynomialAlgebra.DividedPolynomialAlgebra.monomial R n := by |
| 38 | simpa only [Nat.zero_add, Nat.uniformBell_one_right, Nat.mul_one, Nat.cast_one, one_smul] using |
| 39 | PolynomialPowers.DividedPolynomialPowers.monomial_dpow R K h I δ hunit n 0 |
| 40 | |
| 41 | theorem D_monomial_succ (n : ℕ) : D (PolynomialAlgebra.DividedPolynomialAlgebra.monomial R (n + 1)) = PolynomialAlgebra.DividedPolynomialAlgebra.monomial R n • D X := by |
| 42 | rw [← variable_dpow R K h I δ hunit (n + 1)] |
| 43 | rw [PD.OneForms.PDOneForms.D_dpow R G J γ n (variable_mem R I), variable_dpow] |
| 44 | |
| 45 | /-- Every PD derivation of the rank-one algebra is determined by its value on the variable. -/ |
| 46 | theorem pdDerivation_formula {M : Type u} [AddCommGroup M] [Module G M] [Module R M] |
| 47 | [IsScalarTower R G M] (d : Derivation R G M) |
| 48 | (hd : ∀ n x, x ∈ J → d ((γ).dpow (n + 1) x) = (γ).dpow n x • d x) (a : G) : |
| 49 | d a = ∂ a • d X := by |
| 50 | have hm (n : ℕ) : d (PolynomialAlgebra.DividedPolynomialAlgebra.monomial R (n + 1)) = PolynomialAlgebra.DividedPolynomialAlgebra.monomial R n • d X := by |
| 51 | rw [← variable_dpow R K h I δ hunit (n + 1), hd n X (variable_mem R I), variable_dpow] |
| 52 | obtain ⟨a, rfl⟩ := PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_surjective R a |
| 53 | induction a using Finsupp.induction_linear with |
| 54 | | zero => simp only [map_zero, zero_smul] |
| 55 | | add a b ha hb => simp only [map_add, ha, hb, add_smul] |
| 56 | | single n c => |
| 57 | rw [PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_single, Derivation.map_smul, Derivation.map_smul, smul_assoc] |
| 58 | cases n with |
| 59 | | zero => |
| 60 | rw [PolynomialDerivation.DividedPolynomialDerivation.derivation_monomial_zero, zero_smul] |
| 61 | change c • d (DividedPowerAlgebra.dp R 0 (1 : R)) = c • 0 |
| 62 | rw [DividedPowerAlgebra.dp_zero, Derivation.map_one_eq_zero] |
| 63 | | succ n => rw [hm, PolynomialDerivation.DividedPolynomialDerivation.derivation_monomial_succ] |
| 64 | |
| 65 | theorem D_eq_derivation_smul (a : G) : D a = ∂ a • D X := by |
| 66 | obtain ⟨a, rfl⟩ := PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_surjective R a |
| 67 | induction a using Finsupp.induction_linear with |
| 68 | | zero => simp only [map_zero, zero_smul] |
| 69 | | add a b ha hb => simp only [map_add, ha, hb, add_smul] |
| 70 | | single n c => |
| 71 | rw [PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_single, Derivation.map_smul, Derivation.map_smul, smul_assoc] |
| 72 | cases n with |
| 73 | | zero => |
| 74 | rw [PolynomialDerivation.DividedPolynomialDerivation.derivation_monomial_zero, zero_smul] |
| 75 | change c • D (DividedPowerAlgebra.dp R 0 (1 : R)) = c • 0 |
| 76 | rw [DividedPowerAlgebra.dp_zero, Derivation.map_one_eq_zero] |
| 77 | | succ n => rw [D_monomial_succ, PolynomialDerivation.DividedPolynomialDerivation.derivation_monomial_succ] |
| 78 | |
| 79 | def fromRing : G →ₗ[G] Ω := LinearMap.smulRight (LinearMap.id : G →ₗ[G] G) (D X) |
| 80 | |
| 81 | def toRing : Ω →ₗ[G] G := |
| 82 | PD.OneForms.PDOneForms.lift R G J γ G ∂ |
| 83 | (fun n _ hx => PolynomialDerivation.DividedPolynomialDerivation.derivation_dpow R K h I δ hunit n hx) |
| 84 | |
| 85 | @[simp] theorem toRing_D (a : G) : toRing R K h I δ hunit (D a) = ∂ a := |
| 86 | PD.OneForms.PDOneForms.lift_D R G J γ G ∂ _ a |
| 87 | |
| 88 | theorem toRing_fromRing : (toRing R K h I δ hunit).comp (fromRing R K h I δ hunit) = LinearMap.id := by |
| 89 | apply LinearMap.ext |
| 90 | intro a |
| 91 | change toRing R K h I δ hunit (a • D X) = a |
| 92 | rw [map_smul, toRing_D, PolynomialDerivation.DividedPolynomialDerivation.derivation_monomial_succ R K h 0] |
| 93 | change a * DividedPowerAlgebra.dp R 0 (1 : R) = a |
| 94 | rw [DividedPowerAlgebra.dp_zero, mul_one] |
| 95 | |
| 96 | theorem fromRing_toRing : (fromRing R K h I δ hunit).comp (toRing R K h I δ hunit) = LinearMap.id := by |
| 97 | apply PD.OneForms.PDOneForms.linearMap_ext R G J γ Ω |
| 98 | intro a |
| 99 | change fromRing R K h I δ hunit (toRing R K h I δ hunit (D a)) = D a |
| 100 | rw [toRing_D] |
| 101 | exact (D_eq_derivation_smul R K h I δ hunit a).symm |
| 102 | |
| 103 | /-- The divided-power one-form module is free of rank one on `dT`. -/ |
| 104 | def formsEquiv : G ≃ₗ[G] Ω := |
| 105 | LinearEquiv.ofLinearMap (fromRing R K h I δ hunit) (toRing R K h I δ hunit) |
| 106 | (fromRing_toRing R K h I δ hunit) (toRing_fromRing R K h I δ hunit) |
| 107 | |
| 108 | /-- Every actual divided-power one-form has an integral primitive. -/ |
| 109 | theorem exists_primitive (ω : Ω) : ∃ a : G, D a = ω := by |
| 110 | refine ⟨PolynomialDerivation.DividedPolynomialDerivation.primitive R K h (toRing R K h I δ hunit ω), ?_⟩ |
| 111 | apply (formsEquiv R K h I δ hunit).symm.injective |
| 112 | change toRing R K h I δ hunit (D _) = toRing R K h I δ hunit ω |
| 113 | rw [toRing_D, PolynomialDerivation.DividedPolynomialDerivation.derivation_primitive] |
| 114 | |
| 115 | theorem D_eq_zero_iff (a : G) : D a = 0 ↔ ∃ c : R, algebraMap R G c = a := by |
| 116 | rw [← (formsEquiv R K h I δ hunit).symm.map_eq_zero_iff] |
| 117 | change toRing R K h I δ hunit (D a) = 0 ↔ _ |
| 118 | rw [toRing_D] |
| 119 | exact PolynomialDerivation.DividedPolynomialDerivation.derivation_eq_zero_iff R K h a |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialOneForms.DividedPolynomialOneForms |