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.HilbertScheme.Presentations.ExtendedIdealTensorCoefficients |
| 2 | |
| 3 | /-! # Vanishing Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.VanishingDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Vanishing after extension of an ideal descends to a finite coefficient |
| 10 | algebra. The proof lifts through a free presentation of the module. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | variable {B : Type u} [CommRing B] {A : Type v} [CommRing A] [Algebra B A] |
| 16 | variable (C : Subalgebra B A) [Algebra.FiniteType B C] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module B M] |
| 18 | |
| 19 | theorem idealCoefficientTensor_zero_finite_descent (I : Ideal B) (x : M ⊗[B] I) |
| 20 | (hx : (BaseChange.idealCoefficientInclusion B A I).lTensor M x = 0) : |
| 21 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 22 | (BaseChange.idealCoefficientInclusion B D I).lTensor M x = 0 := by |
| 23 | classical |
| 24 | let F := M →₀ B |
| 25 | let q : F →ₗ[B] M := Finsupp.linearCombination B id |
| 26 | have hq : Function.Surjective q := Finsupp.linearCombination_id_surjective B M |
| 27 | obtain ⟨y, hy⟩ := LinearMap.rTensor_surjective I hq x |
| 28 | let IA := I.map (algebraMap B A) |
| 29 | let αA := BaseChange.idealCoefficientInclusion B A I |
| 30 | have hsquare : (q.rTensor IA).comp (αA.lTensor F) = |
| 31 | (αA.lTensor M).comp (q.rTensor I) := by |
| 32 | rw [LinearMap.rTensor_comp_lTensor, LinearMap.lTensor_comp_rTensor] |
| 33 | have hz : q.rTensor IA (αA.lTensor F y) = 0 := by |
| 34 | have h := LinearMap.congr_fun hsquare y |
| 35 | have hxA : αA.lTensor M x = 0 := hx |
| 36 | simpa only [LinearMap.comp_apply, hy, hxA] using h |
| 37 | have hex := rTensor_exact (M := q.ker) IA q.exact_subtype_ker_map hq |
| 38 | obtain ⟨w, hw⟩ := (hex _).mp hz |
| 39 | obtain ⟨D, hCD, hD, v, hv⟩ := |
| 40 | ExtendedIdealTensorCoefficients.extendedIdealTensor_finite_coefficient_representation C (M := q.ker) I w |
| 41 | refine ⟨D, hCD, hD, ?_⟩ |
| 42 | let ID := I.map (algebraMap B D) |
| 43 | let αD := BaseChange.idealCoefficientInclusion B D I |
| 44 | let j := ExtendedIdealTensorCoefficients.extendedIdealInclusion D I |
| 45 | have hksquare : (j.lTensor F).comp (q.ker.subtype.rTensor ID) = |
| 46 | (q.ker.subtype.rTensor IA).comp (j.lTensor q.ker) := by |
| 47 | rw [LinearMap.lTensor_comp_rTensor, LinearMap.rTensor_comp_lTensor] |
| 48 | have he : q.ker.subtype.rTensor ID v = αD.lTensor F y := by |
| 49 | apply Module.Flat.lTensor_preserves_injective_linearMap (M := F) j |
| 50 | (ExtendedIdealTensorCoefficients.extendedIdealInclusion_injective D I) |
| 51 | calc |
| 52 | j.lTensor F (q.ker.subtype.rTensor ID v) = |
| 53 | q.ker.subtype.rTensor IA (j.lTensor q.ker v) := LinearMap.congr_fun hksquare v |
| 54 | _ = q.ker.subtype.rTensor IA w := by rw [hv] |
| 55 | _ = αA.lTensor F y := hw |
| 56 | _ = j.lTensor F (αD.lTensor F y) := by |
| 57 | rw [← LinearMap.lTensor_comp_apply] |
| 58 | exact congrArg (fun f => f.lTensor F y) (ExtendedIdealTensorCoefficients.extendedIdealInclusion_coefficient D I).symm |
| 59 | have hd := rTensor_exact (M := q.ker) ID q.exact_subtype_ker_map hq |
| 60 | have hzero := hd.apply_apply_eq_zero v |
| 61 | rw [he] at hzero |
| 62 | have hsquareD : (q.rTensor ID).comp (αD.lTensor F) = |
| 63 | (αD.lTensor M).comp (q.rTensor I) := by |
| 64 | rw [LinearMap.rTensor_comp_lTensor, LinearMap.lTensor_comp_rTensor] |
| 65 | have h := (LinearMap.congr_fun hsquareD y).symm.trans hzero |
| 66 | simpa only [LinearMap.comp_apply, hy] using h |
| 67 | |
| 68 | theorem idealTensorBaseChange_zero_finite_descent (I : Ideal B) (x : M ⊗[B] I) |
| 69 | (hx : BaseChange.idealTensorBaseChangeMap B A M I x = 0) : |
| 70 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 71 | BaseChange.idealTensorBaseChangeMap B D M I x = 0 := by |
| 72 | have hx' : (BaseChange.idealCoefficientInclusion B A I).lTensor M x = 0 := by |
| 73 | have h := congrArg (BaseChange.idealTensorBaseChangeComparison B A M I) hx |
| 74 | simpa only [BaseChange.idealTensorBaseChangeMap, LinearMap.comp_apply, LinearEquiv.coe_toLinearMap, |
| 75 | LinearEquiv.apply_symm_apply, map_zero] using h |
| 76 | obtain ⟨D, hCD, hD, hz⟩ := idealCoefficientTensor_zero_finite_descent C I x hx' |
| 77 | refine ⟨D, hCD, hD, ?_⟩ |
| 78 | simp only [BaseChange.idealTensorBaseChangeMap, LinearMap.comp_apply, hz, map_zero] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.VanishingDescent |