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.Multivariable.Forms |
| 2 | |
| 3 | /-! # Reduction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Reduction.MultivariableReduction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Reduction of the actual multivariable divided-power algebra |
| 11 | |
| 12 | The augmentation sends all divided coordinates to zero. Its reduction |
| 13 | modulo the base ideal has exactly the constructed relative PD ideal as |
| 14 | kernel, providing the residual ring of the crystalline thickenings. |
| 15 | -/ |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra Classical |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R σ : Type u) [CommRing R] |
| 22 | |
| 23 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 24 | |
| 25 | def augmentation : G →ₐ[R] R := |
| 26 | DividedUniversal.MultivariableDividedUniversal.lift R σ R ⊥ (dividedPowersBot R) (fun _ => 0) (fun _ => Submodule.zero_mem _) |
| 27 | |
| 28 | theorem augmentation_generator (n : ℕ) (i : σ) : |
| 29 | augmentation R σ (DividedAlgebra.MultivariableDividedAlgebra.generator R σ n i) = (dividedPowersBot R).dpow n 0 := |
| 30 | DividedUniversal.MultivariableDividedUniversal.lift_generator R σ R ⊥ (dividedPowersBot R) (fun _ => 0) _ n i |
| 31 | |
| 32 | theorem exists_positive_coordinate (d : σ →₀ ℕ) (hd : d ≠ 0) : ∃ i, d i ≠ 0 := by |
| 33 | by_contra hx |
| 34 | apply hd |
| 35 | apply Finsupp.ext |
| 36 | intro i |
| 37 | exact Classical.not_not.mp (fun hi => hx ⟨i, hi⟩) |
| 38 | |
| 39 | theorem augmentation_monomial_nonzero (d : σ →₀ ℕ) (hd : d ≠ 0) : |
| 40 | augmentation R σ (DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d) = 0 := by |
| 41 | obtain ⟨i, hi⟩ := exists_positive_coordinate σ d hd |
| 42 | rw [Primitive.MultivariablePrimitive.monomial_factor R σ i d, map_mul, |
| 43 | augmentation_generator, DividedPowers.dpow_eval_zero _ hi, zero_mul] |
| 44 | |
| 45 | theorem augmentation_monomial (d : σ →₀ ℕ) : |
| 46 | augmentation R σ (DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d) = if d = 0 then 1 else 0 := by |
| 47 | by_cases hd : d = 0 |
| 48 | · subst d |
| 49 | rw [Constants.MultivariableConstants.monomial_zero, map_one, ite_eq_left rfl] |
| 50 | · rw [augmentation_monomial_nonzero R σ d hd, ite_eq_right hd] |
| 51 | |
| 52 | variable (I : Ideal R) |
| 53 | |
| 54 | def reduction : G →ₐ[R] (R ⧸ I) := (Ideal.Quotient.mkₐ R I).comp (augmentation R σ) |
| 55 | |
| 56 | theorem reduction_surjective : Function.Surjective (reduction R σ I) := by |
| 57 | intro a |
| 58 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 59 | exact ⟨algebraMap R G a, (reduction R σ I).commutes a⟩ |
| 60 | |
| 61 | theorem ideal_le_kernel : Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I ≤ RingHom.ker (reduction R σ I) := by |
| 62 | apply Ideal.span_le.mpr |
| 63 | intro a ha |
| 64 | rcases ha with ⟨a, rfl⟩ | ⟨⟨n, i⟩, rfl⟩ |
| 65 | · change reduction R σ I (algebraMap R G a) = 0 |
| 66 | rw [AlgHom.commutes] |
| 67 | exact Ideal.Quotient.eq_zero_iff_mem.mpr a.property |
| 68 | · change Ideal.Quotient.mk I (augmentation R σ (DividedAlgebra.MultivariableDividedAlgebra.generator R σ (n + 1) i)) = 0 |
| 69 | rw [augmentation_generator, DividedPowers.dpow_eval_zero _ (Nat.succ_ne_zero n), map_zero] |
| 70 | |
| 71 | theorem monomial_mem (d : σ →₀ ℕ) (hd : d ≠ 0) : DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d ∈ Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I := by |
| 72 | obtain ⟨i, hi⟩ := exists_positive_coordinate σ d hd |
| 73 | rw [Primitive.MultivariablePrimitive.monomial_factor R σ i d] |
| 74 | exact Ideal.mul_mem_right _ _ (Multivariable.DividedPowers.MultivariableDividedPowers.positive_generator_mem R σ I i (d i) hi) |
| 75 | |
| 76 | theorem subtract_constant_mem (a : G) : |
| 77 | a - algebraMap R G (augmentation R σ a) ∈ Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I := by |
| 78 | obtain ⟨a, rfl⟩ := DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients_surjective R σ a |
| 79 | induction a using Finsupp.induction_linear with |
| 80 | | zero => simp only [map_zero, sub_self, Submodule.zero_mem] |
| 81 | | add a b ha hb => |
| 82 | simp only [map_add] |
| 83 | rw [add_sub_add_comm] |
| 84 | exact (Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I).add_mem ha hb |
| 85 | | single d c => |
| 86 | rw [DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients_single, map_smul, augmentation_monomial] |
| 87 | by_cases hd : d = 0 |
| 88 | · subst d |
| 89 | rw [ite_eq_left rfl, Constants.MultivariableConstants.monomial_zero, smul_eq_mul, mul_one, |
| 90 | Algebra.smul_def, mul_one, sub_self] |
| 91 | exact Submodule.zero_mem _ |
| 92 | · rw [ite_eq_right hd, smul_zero, map_zero, sub_zero] |
| 93 | exact Submodule.smul_of_tower_mem _ c (monomial_mem R σ I d hd) |
| 94 | |
| 95 | theorem reduction_kernel : RingHom.ker (reduction R σ I) = Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I := by |
| 96 | apply le_antisymm _ (ideal_le_kernel R σ I) |
| 97 | intro a ha |
| 98 | have hc : augmentation R σ a ∈ I := Ideal.Quotient.eq_zero_iff_mem.mp ha |
| 99 | have hm : algebraMap R G (augmentation R σ a) ∈ Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I := |
| 100 | Ideal.subset_span (Or.inl ⟨⟨augmentation R σ a, hc⟩, rfl⟩) |
| 101 | have hs := (Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I).add_mem (subtract_constant_mem R σ I a) hm |
| 102 | simpa only [sub_add_cancel] using hs |
| 103 | |
| 104 | variable (K : Type u) [Field K] [CharZero K] [Algebra R K] (h : Function.Injective (algebraMap R K)) |
| 105 | |
| 106 | theorem augmentation_eq_constantCoefficient : |
| 107 | (augmentation R σ).toLinearMap = Constants.MultivariableConstants.constantCoefficient R σ K h := by |
| 108 | apply LinearMap.ext_on (DividedAlgebra.MultivariableDividedAlgebra.span_monomial_eq_top R σ) |
| 109 | rintro _ ⟨d, rfl⟩ |
| 110 | exact (augmentation_monomial R σ d).trans (Constants.MultivariableConstants.constantCoefficient_monomial R σ K h d).symm |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Reduction.MultivariableReduction |