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.DividedAlgebra |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Reduction |
| 3 | |
| 4 | /-! # Algebra Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.AlgebraBaseChange.DividedAlgebraBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Coefficient base change for the actual free divided-power algebra |
| 12 | |
| 13 | The defining divided-power relations give a ring map under arbitrary |
| 14 | coefficient extension. It carries each coordinate divided monomial to |
| 15 | the corresponding monomial. No characteristic or torsion assumption is |
| 16 | imposed on the new coefficient ring. |
| 17 | -/ |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R S σ : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 24 | |
| 25 | local notation "GR" => DividedPowerAlgebra R (σ →₀ R) |
| 26 | local notation "GS" => DividedPowerAlgebra S (σ →₀ S) |
| 27 | |
| 28 | def moduleMap : (σ →₀ R) →ₗ[R] (σ →₀ S) := |
| 29 | Finsupp.mapRange.linearMap (Algebra.linearMap R S) |
| 30 | |
| 31 | def map : GR →ₐ[R] GS := |
| 32 | DividedPowerAlgebra.lift' (f := fun nm => DividedPowerAlgebra.dp S nm.1 (moduleMap R S σ nm.2)) |
| 33 | (fun m => DividedPowerAlgebra.dp_zero) |
| 34 | (fun n a m => by |
| 35 | dsimp only |
| 36 | rw [map_smul, ← algebraMap_smul S a (moduleMap R S σ m), DividedPowerAlgebra.dp_smul, |
| 37 | ← map_pow, algebraMap_smul]) |
| 38 | (fun n m x => DividedPowerAlgebra.dp_mul) |
| 39 | (fun n x y => by rw [map_add, DividedPowerAlgebra.dp_add]) |
| 40 | |
| 41 | theorem map_dp (n : ℕ) (m : σ →₀ R) : |
| 42 | DividedAlgebraBaseChange.map R S σ (DividedPowerAlgebra.dp R n m) = |
| 43 | DividedPowerAlgebra.dp S n (moduleMap R S σ m) := |
| 44 | DividedPowerAlgebra.lift'_apply_dp _ _ _ _ n m |
| 45 | |
| 46 | theorem moduleMap_single (i : σ) (a : R) : |
| 47 | moduleMap R S σ (Finsupp.single i a) = Finsupp.single i (algebraMap R S a) := by |
| 48 | simp [moduleMap] |
| 49 | |
| 50 | theorem map_generator (n : ℕ) (i : σ) : |
| 51 | DividedAlgebraBaseChange.map R S σ (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ n i) = Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator S σ n i := by |
| 52 | change DividedAlgebraBaseChange.map R S σ (DividedPowerAlgebra.dp R n (Finsupp.single i (1 : R))) = _ |
| 53 | rw [map_dp, moduleMap_single, map_one] |
| 54 | rfl |
| 55 | |
| 56 | theorem map_monomial (d : σ →₀ ℕ) : |
| 57 | DividedAlgebraBaseChange.map R S σ (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d) = Multivariable.DividedAlgebra.MultivariableDividedAlgebra.monomial S σ d := by |
| 58 | classical |
| 59 | simp only [Multivariable.DividedAlgebra.MultivariableDividedAlgebra.monomial, Finsupp.prod, map_prod, map_generator] |
| 60 | |
| 61 | theorem map_coefficient (a : R) : |
| 62 | DividedAlgebraBaseChange.map R S σ (algebraMap R GR a) = algebraMap S GS (algebraMap R S a) := |
| 63 | (DividedAlgebraBaseChange.map R S σ).commutes a |
| 64 | |
| 65 | theorem map_fromCoefficients (v : (σ →₀ ℕ) →₀ R) : |
| 66 | DividedAlgebraBaseChange.map R S σ (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients R σ v) = |
| 67 | Multivariable.DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients S σ (v.mapRange (algebraMap R S) (map_zero _)) := by |
| 68 | induction v using Finsupp.induction_linear with |
| 69 | | zero => simp |
| 70 | | add v w hv hw => |
| 71 | rw [Finsupp.mapRange_add (map_add (algebraMap R S))] |
| 72 | simp only [map_add, hv, hw] |
| 73 | | single d a => |
| 74 | rw [Finsupp.mapRange_single, Multivariable.DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients_single, Multivariable.DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients_single, |
| 75 | map_smul, map_monomial, algebraMap_smul] |
| 76 | |
| 77 | /-- Relations among coefficients vanish after extending them to the free PD algebra. -/ |
| 78 | theorem coefficientIdeal_le_kernel (L : Ideal R) (hL : L ≤ RingHom.ker (algebraMap R S)) : |
| 79 | L.map (algebraMap R GR) ≤ RingHom.ker (DividedAlgebraBaseChange.map R S σ).toRingHom := by |
| 80 | rw [Ideal.map_le_iff_le_comap] |
| 81 | intro a ha |
| 82 | change DividedAlgebraBaseChange.map R S σ (algebraMap R GR a) = 0 |
| 83 | rw [map_coefficient, show algebraMap R S a = 0 from hL ha, map_zero] |
| 84 | |
| 85 | theorem augmentation_map (a : GR) : |
| 86 | Multivariable.Reduction.MultivariableReduction.augmentation S σ (DividedAlgebraBaseChange.map R S σ a) = |
| 87 | algebraMap R S (Multivariable.Reduction.MultivariableReduction.augmentation R σ a) := by |
| 88 | have he : (((Multivariable.Reduction.MultivariableReduction.augmentation S σ).restrictScalars R).comp |
| 89 | (DividedAlgebraBaseChange.map R S σ)).toLinearMap = |
| 90 | ((Algebra.ofId R S).comp (Multivariable.Reduction.MultivariableReduction.augmentation R σ)).toLinearMap := by |
| 91 | apply LinearMap.ext_on (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.span_monomial_eq_top R σ) |
| 92 | rintro _ ⟨d, rfl⟩ |
| 93 | change Multivariable.Reduction.MultivariableReduction.augmentation S σ (DividedAlgebraBaseChange.map R S σ (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d)) = |
| 94 | algebraMap R S (Multivariable.Reduction.MultivariableReduction.augmentation R σ (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d)) |
| 95 | rw [map_monomial, Multivariable.Reduction.MultivariableReduction.augmentation_monomial, |
| 96 | Multivariable.Reduction.MultivariableReduction.augmentation_monomial] |
| 97 | split_ifs <;> simp only [map_one, map_zero] |
| 98 | exact LinearMap.congr_fun he a |
| 99 | |
| 100 | /-- Surjective coefficient maps induce surjections of the actual free divided-power algebras. -/ |
| 101 | theorem map_surjective (hs : Function.Surjective (algebraMap R S)) : |
| 102 | Function.Surjective (DividedAlgebraBaseChange.map R S σ) := by |
| 103 | intro z |
| 104 | obtain ⟨v, rfl⟩ := Multivariable.DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients_surjective S σ z |
| 105 | induction v using Finsupp.induction_linear with |
| 106 | | zero => exact ⟨0, map_zero _⟩ |
| 107 | | add v w hv hw => |
| 108 | obtain ⟨a, ha⟩ := hv |
| 109 | obtain ⟨b, hb⟩ := hw |
| 110 | exact ⟨a + b, by rw [map_add, ha, hb, map_add]⟩ |
| 111 | | single d a => |
| 112 | obtain ⟨b, rfl⟩ := hs a |
| 113 | refine ⟨b • Multivariable.DividedAlgebra.MultivariableDividedAlgebra.monomial R σ d, ?_⟩ |
| 114 | rw [Multivariable.DividedAlgebra.MultivariableDividedAlgebra.fromCoefficients_single, map_smul, map_monomial, algebraMap_smul] |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Divided.AlgebraBaseChange.DividedAlgebraBaseChange |