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.PolynomialUniversal |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Polynomial.Poincare |
| 3 | |
| 4 | /-! # Polynomial Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialReduction.DividedPolynomialReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Reduction of the actual divided-polynomial algebra |
| 12 | |
| 13 | Evaluation at the zero variable is an algebra map. After reducing its |
| 14 | constant coefficient modulo the base PD ideal, its kernel is exactly |
| 15 | the constructed relative PD ideal. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialAlgebra.DividedPolynomialAlgebra |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] |
| 23 | |
| 24 | local notation "G" => DividedPowerAlgebra R R |
| 25 | |
| 26 | def augmentation : G →ₐ[R] R := |
| 27 | PolynomialUniversal.DividedPolynomialUniversal.lift R R ⊥ (dividedPowersBot R) 0 (Submodule.zero_mem _) |
| 28 | |
| 29 | @[simp] theorem augmentation_monomial_succ (n : ℕ) : augmentation R (PolynomialAlgebra.DividedPolynomialAlgebra.monomial R (n + 1)) = 0 := by |
| 30 | rw [augmentation, PolynomialUniversal.DividedPolynomialUniversal.lift_monomial, |
| 31 | DividedPowers.dpow_eval_zero _ (Nat.succ_ne_zero n)] |
| 32 | |
| 33 | @[simp] theorem augmentation_monomial_zero : augmentation R (PolynomialAlgebra.DividedPolynomialAlgebra.monomial R 0) = 1 := by |
| 34 | rw [PolynomialAlgebra.DividedPolynomialAlgebra.monomial, DividedPowerAlgebra.dp_zero, map_one] |
| 35 | |
| 36 | theorem augmentation_fromCoefficients (a : Polynomial.DividedPolynomial.Coefficients R) : |
| 37 | augmentation R (PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients R a) = a 0 := by |
| 38 | induction a using Finsupp.induction_linear with |
| 39 | | zero => simp only [map_zero, Finsupp.zero_apply] |
| 40 | | add a b ha hb => simp only [map_add, ha, hb, Finsupp.add_apply] |
| 41 | | single n c => |
| 42 | rw [PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_single, map_smul] |
| 43 | cases n with |
| 44 | | zero => rw [augmentation_monomial_zero, smul_eq_mul, mul_one, Finsupp.single_eq_same] |
| 45 | | succ n => simp [augmentation_monomial_succ] |
| 46 | |
| 47 | variable (I : Ideal R) |
| 48 | |
| 49 | def reduction : G →ₐ[R] (R ⧸ I) := (Ideal.Quotient.mkₐ R I).comp (augmentation R) |
| 50 | |
| 51 | theorem reduction_surjective : Function.Surjective (reduction R I) := by |
| 52 | intro a |
| 53 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 54 | exact ⟨algebraMap R G a, (reduction R I).commutes a⟩ |
| 55 | |
| 56 | theorem ideal_le_kernel : PolynomialPowers.DividedPolynomialPowers.ideal R I ≤ RingHom.ker (reduction R I) := by |
| 57 | apply Ideal.span_le.mpr |
| 58 | intro a ha |
| 59 | rcases ha with ⟨a, rfl⟩ | ⟨n, rfl⟩ |
| 60 | · change reduction R I (algebraMap R G a) = 0 |
| 61 | rw [AlgHom.commutes] |
| 62 | exact Ideal.Quotient.eq_zero_iff_mem.mpr a.property |
| 63 | · change Ideal.Quotient.mk I (augmentation R (PolynomialAlgebra.DividedPolynomialAlgebra.monomial R (n + 1))) = 0 |
| 64 | rw [augmentation_monomial_succ, map_zero] |
| 65 | |
| 66 | theorem subtract_constant_mem (a : G) : |
| 67 | a - algebraMap R G (augmentation R a) ∈ PolynomialPowers.DividedPolynomialPowers.ideal R I := by |
| 68 | obtain ⟨a, rfl⟩ := PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_surjective R a |
| 69 | induction a using Finsupp.induction_linear with |
| 70 | | zero => simp only [map_zero, sub_self, Submodule.zero_mem] |
| 71 | | add a b ha hb => |
| 72 | simp only [map_add] |
| 73 | rw [add_sub_add_comm] |
| 74 | exact (PolynomialPowers.DividedPolynomialPowers.ideal R I).add_mem ha hb |
| 75 | | single n c => |
| 76 | rw [PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_single, map_smul] |
| 77 | cases n with |
| 78 | | zero => |
| 79 | rw [augmentation_monomial_zero, smul_eq_mul, mul_one, PolynomialAlgebra.DividedPolynomialAlgebra.monomial, DividedPowerAlgebra.dp_zero, |
| 80 | Algebra.smul_def, mul_one, sub_self] |
| 81 | exact Submodule.zero_mem _ |
| 82 | | succ n => |
| 83 | rw [augmentation_monomial_succ, smul_zero, map_zero, sub_zero] |
| 84 | exact Submodule.smul_of_tower_mem _ c |
| 85 | (PolynomialPowers.DividedPolynomialPowers.positive_monomial_mem R I (n + 1) (Nat.succ_ne_zero n)) |
| 86 | |
| 87 | theorem reduction_kernel : RingHom.ker (reduction R I) = PolynomialPowers.DividedPolynomialPowers.ideal R I := by |
| 88 | apply le_antisymm _ (ideal_le_kernel R I) |
| 89 | intro a ha |
| 90 | have hc : augmentation R a ∈ I := Ideal.Quotient.eq_zero_iff_mem.mp ha |
| 91 | have hm : algebraMap R G (augmentation R a) ∈ PolynomialPowers.DividedPolynomialPowers.ideal R I := |
| 92 | Ideal.subset_span (Or.inl ⟨⟨augmentation R a, hc⟩, rfl⟩) |
| 93 | have hs := (PolynomialPowers.DividedPolynomialPowers.ideal R I).add_mem (subtract_constant_mem R I a) hm |
| 94 | simpa only [sub_add_cancel] using hs |
| 95 | |
| 96 | variable (K : Type u) [Field K] [CharZero K] [Algebra R K] |
| 97 | (h : Function.Injective (algebraMap R K)) |
| 98 | |
| 99 | theorem augmentation_eq_constantCoefficient : |
| 100 | (augmentation R).toLinearMap = Polynomial.Poincare.PolynomialPoincare.constantCoefficient R K h := by |
| 101 | apply LinearMap.ext |
| 102 | intro a |
| 103 | obtain ⟨a, rfl⟩ := PolynomialAlgebra.DividedPolynomialAlgebra.fromCoefficients_surjective R a |
| 104 | rw [AlgHom.toLinearMap_apply, augmentation_fromCoefficients] |
| 105 | change a 0 = ((PolynomialAlgebra.DividedPolynomialAlgebra.coefficientEquiv R K h).symm ((PolynomialAlgebra.DividedPolynomialAlgebra.coefficientEquiv R K h) a)) 0 |
| 106 | rw [LinearEquiv.symm_apply_apply] |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.PolynomialReduction.DividedPolynomialReduction |