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.Finite.IdealTensorVanishing |
| 2 | |
| 3 | /-! # Obstruction Module Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ObstructionModuleDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The whole finite obstruction module for one finitely generated ideal |
| 10 | vanishes over a finite coefficient algebra when the limit module is flat. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u v w t |
| 15 | variable {B : Type u} [CommRing B] {A : Type v} [CommRing A] [Algebra B A] |
| 16 | variable (S : Type w) [CommRing S] [Algebra B S] [IsNoetherianRing S] |
| 17 | variable (M : Type t) [AddCommGroup M] [Module B M] [Module S M] [IsScalarTower B S M] |
| 18 | variable [Module.Finite S M] [Module.Flat A (A ⊗[B] M)] |
| 19 | |
| 20 | theorem idealTensorObstruction_finite_coefficient_descent |
| 21 | (C : Subalgebra B A) [Algebra.FiniteType B C] (I : Ideal B) (hI : I.FG) : |
| 22 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 23 | ∀ x : (IdealTensor.Obstruction.idealTensorMultiplication B S M I).ker, |
| 24 | IdealTensor.BaseChange.idealTensorBaseChangeMap B D M I x.val = 0 := by |
| 25 | classical |
| 26 | let K := (IdealTensor.Obstruction.idealTensorMultiplication B S M I).ker |
| 27 | let : Module.Finite S K := IdealTensor.Obstruction.idealTensorObstruction_finite B S M I hI |
| 28 | obtain ⟨s, hs⟩ := (Module.Finite.fg_top : (⊤ : Submodule S K).FG) |
| 29 | have hzero (r : s) : IdealTensor.BaseChange.idealTensorBaseChangeMap B A M I r.val.val = 0 := |
| 30 | IdealTensor.BaseChange.idealTensorObstruction_baseChange_zero B A M I ⟨r.val.val, r.val.property⟩ |
| 31 | obtain ⟨D, hCD, hD, hz⟩ := IdealTensorVanishing.finite_idealTensorBaseChange_zero_descent C I (fun r : s => r.val.val) hzero |
| 32 | let α := IdealTensor.BaseChange.idealCoefficientInclusion B D I |
| 33 | let g : K →ₗ[S] M ⊗[B] I.map (algebraMap B D) := |
| 34 | (AlgebraTensorModule.map (LinearMap.id : M →ₗ[S] M) α).comp K.subtype |
| 35 | have hg (r : s) : g r.val = 0 := by |
| 36 | have h := congrArg (IdealTensor.BaseChange.idealTensorBaseChangeComparison B D M I) (hz r) |
| 37 | simpa only [IdealTensor.BaseChange.idealTensorBaseChangeMap, LinearMap.comp_apply, LinearEquiv.coe_toLinearMap, |
| 38 | LinearEquiv.apply_symm_apply, map_zero] using! h |
| 39 | have hker : (⊤ : Submodule S K) ≤ g.ker := by |
| 40 | rw [← hs] |
| 41 | apply Submodule.span_le.mpr |
| 42 | intro x hx |
| 43 | exact hg ⟨x, hx⟩ |
| 44 | refine ⟨D, hCD, hD, fun x => ?_⟩ |
| 45 | have hx : (IdealTensor.BaseChange.idealCoefficientInclusion B D I).lTensor M x.val = 0 := |
| 46 | hker (Submodule.mem_top : x ∈ (⊤ : Submodule S K)) |
| 47 | simp only [IdealTensor.BaseChange.idealTensorBaseChangeMap, LinearMap.comp_apply, hx, map_zero] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ObstructionModuleDescent |