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.IdealTensor.VanishingDescent |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Pi |
| 3 | |
| 4 | /-! # Ideal Tensor Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.IdealTensorVanishing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite list of ideal-tensor obstructions which vanish after base |
| 11 | change vanishes over one finite intermediate coefficient algebra. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w t z z' |
| 16 | variable {B : Type u} [CommRing B] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module B M] |
| 18 | variable {κ : Type t} [Fintype κ] |
| 19 | |
| 20 | theorem tensorPiLeft_lTensor [DecidableEq κ] {N : Type z} {P : Type z'} [AddCommGroup N] [Module B N] |
| 21 | [AddCommGroup P] [Module B P] (f : N →ₗ[B] P) (x : (κ → M) ⊗[B] N) : |
| 22 | TensorProduct.piLeft B P (fun _ : κ => M) (f.lTensor (κ → M) x) = |
| 23 | fun i => f.lTensor M (TensorProduct.piLeft B N (fun _ : κ => M) x i) := by |
| 24 | classical |
| 25 | induction x using TensorProduct.inductionOn with |
| 26 | | add x y hx hy => |
| 27 | simp only [map_add, hx, hy, Pi.add_apply] |
| 28 | rfl |
| 29 | | tmul m n => rfl |
| 30 | |
| 31 | variable {A : Type v} [CommRing A] [Algebra B A] |
| 32 | variable (C : Subalgebra B A) [Algebra.FiniteType B C] |
| 33 | |
| 34 | theorem finite_idealCoefficientTensor_zero_descent (I : Ideal B) (x : κ → M ⊗[B] I) |
| 35 | (hx : ∀ i, (IdealTensor.BaseChange.idealCoefficientInclusion B A I).lTensor M (x i) = 0) : |
| 36 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 37 | ∀ i, (IdealTensor.BaseChange.idealCoefficientInclusion B D I).lTensor M (x i) = 0 := by |
| 38 | classical |
| 39 | let e := TensorProduct.piLeft B I (fun _ : κ => M) |
| 40 | let z := e.symm x |
| 41 | have hz : (IdealTensor.BaseChange.idealCoefficientInclusion B A I).lTensor (κ → M) z = 0 := by |
| 42 | apply (TensorProduct.piLeft B (I.map (algebraMap B A)) (fun _ : κ => M)).injective |
| 43 | rw [tensorPiLeft_lTensor, map_zero] |
| 44 | funext i |
| 45 | have he : TensorProduct.piLeft B I (fun _ : κ => M) z i = x i := congrFun (e.apply_symm_apply x) i |
| 46 | rw [he] |
| 47 | exact hx i |
| 48 | obtain ⟨D, hCD, hD, hzero⟩ := IdealTensor.VanishingDescent.idealCoefficientTensor_zero_finite_descent C I z hz |
| 49 | refine ⟨D, hCD, hD, fun i => ?_⟩ |
| 50 | have h := congrArg (TensorProduct.piLeft B (I.map (algebraMap B D)) (fun _ : κ => M)) hzero |
| 51 | rw [tensorPiLeft_lTensor, map_zero] at h |
| 52 | have he : TensorProduct.piLeft B I (fun _ : κ => M) z i = x i := congrFun (e.apply_symm_apply x) i |
| 53 | have hi := congrFun h i |
| 54 | simpa only [he, Pi.zero_apply] using hi |
| 55 | |
| 56 | theorem finite_idealTensorBaseChange_zero_descent (I : Ideal B) (x : κ → M ⊗[B] I) |
| 57 | (hx : ∀ i, IdealTensor.BaseChange.idealTensorBaseChangeMap B A M I (x i) = 0) : |
| 58 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 59 | ∀ i, IdealTensor.BaseChange.idealTensorBaseChangeMap B D M I (x i) = 0 := by |
| 60 | have hx' (i : κ) : (IdealTensor.BaseChange.idealCoefficientInclusion B A I).lTensor M (x i) = 0 := by |
| 61 | have h := congrArg (IdealTensor.BaseChange.idealTensorBaseChangeComparison B A M I) (hx i) |
| 62 | simpa only [IdealTensor.BaseChange.idealTensorBaseChangeMap, LinearMap.comp_apply, LinearEquiv.coe_toLinearMap, |
| 63 | LinearEquiv.apply_symm_apply, map_zero] using h |
| 64 | obtain ⟨D, hCD, hD, hz⟩ := finite_idealCoefficientTensor_zero_descent C I x hx' |
| 65 | refine ⟨D, hCD, hD, fun i => ?_⟩ |
| 66 | simp only [IdealTensor.BaseChange.idealTensorBaseChangeMap, LinearMap.comp_apply, hz i, map_zero] |
| 67 | |
| 68 | theorem finite_idealTensorObstructions_descend [Module.Flat A (A ⊗[B] M)] |
| 69 | (I : Ideal B) (x : κ → (IdealTensor.Obstruction.idealTensorMultiplication B B M I).ker) : |
| 70 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 71 | ∀ i, IdealTensor.BaseChange.idealTensorBaseChangeMap B D M I (x i).val = 0 := |
| 72 | finite_idealTensorBaseChange_zero_descent C I (fun i => (x i).val) |
| 73 | (fun i => IdealTensor.BaseChange.idealTensorObstruction_baseChange_zero B A M I (x i)) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.IdealTensorVanishing |