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.TensorModuleLocalization |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorGradedAction |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.Grading |
| 4 | |
| 5 | /-! # Tensor Localized Degrees -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorLocalizedDegrees.GradedModules |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual homogeneous degree pieces commute with tensoring and principal module localization. -/ |
| 12 | |
| 13 | open TensorProduct DirectSum |
| 14 | |
| 15 | universe u v w t |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] |
| 18 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] |
| 19 | variable (𝒜 : ℤ → Submodule R A) [GradedAlgebra 𝒜] |
| 20 | variable (ℳ : ℤ → Submodule R M) [SetLike.GradedSMul 𝒜 ℳ] |
| 21 | variable (S : Type t) [AddCommGroup S] [Module R S] |
| 22 | |
| 23 | theorem awayModuleTensorEquiv_degree (a : A) (e : ℤ) (ha : a ∈ 𝒜 e) (d : ℤ) : |
| 24 | (decomposeTensor (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ a e) S d).map (TensorModuleLocalization.GradedModules.awayModuleTensorEquiv R A M S a).toLinearMap = |
| 25 | Localized.DegreePieces.GradedModules.localizedDegreePiece (decomposeTensor ℳ S) a e d := by |
| 26 | let := TensorGradedAction.GradedModules.decomposeTensor_gradedSMul 𝒜 ℳ S |
| 27 | apply le_antisymm |
| 28 | · rintro x ⟨y, ⟨t, rfl⟩, rfl⟩ |
| 29 | induction t using TensorProduct.inductionOn with |
| 30 | | tmul m s => |
| 31 | obtain ⟨k, z, hz, hzm⟩ := (Localized.DegreePieces.GradedModules.mem_localizedDegreePiece_iff 𝒜 ℳ a e ha d m.val).mp m.property |
| 32 | change TensorModuleLocalization.GradedModules.awayModuleTensorEquiv R A M S a (m.val ⊗ₜ[R] s) ∈ _ |
| 33 | rw [← hzm, TensorModuleLocalization.GradedModules.awayModuleTensorEquiv_fraction] |
| 34 | exact Localized.DegreePieces.GradedModules.moduleFractionMap_mem_degree (decomposeTensor ℳ S) a e d k (z ⊗ₜ[R] s) |
| 35 | ⟨(⟨z, hz⟩ : ℳ (d + (k : ℤ) * e)) ⊗ₜ[R] s, rfl⟩ |
| 36 | | add x y hx hy => |
| 37 | simp only [map_add] |
| 38 | exact Submodule.add_mem _ hx hy |
| 39 | · intro x hx |
| 40 | obtain ⟨k, z, ⟨t, rfl⟩, rfl⟩ := |
| 41 | (Localized.DegreePieces.GradedModules.mem_localizedDegreePiece_iff 𝒜 (decomposeTensor ℳ S) a e ha d x).mp hx |
| 42 | let F : ℳ (d + (k : ℤ) * e) →ₗ[R] Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ a e d := |
| 43 | ((Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k).comp (ℳ (d + (k : ℤ) * e)).subtype).codRestrict _ |
| 44 | (fun m => Localized.DegreePieces.GradedModules.moduleFractionMap_mem_degree ℳ a e d k m.val m.property) |
| 45 | refine ⟨(Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ a e d).subtype.rTensor S (F.rTensor S t), ⟨F.rTensor S t, rfl⟩, ?_⟩ |
| 46 | clear hx |
| 47 | induction t using TensorProduct.inductionOn with |
| 48 | | tmul m s => |
| 49 | change TensorModuleLocalization.GradedModules.awayModuleTensorEquiv R A M S a (Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k m.val ⊗ₜ[R] s) = |
| 50 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k (m.val ⊗ₜ[R] s) |
| 51 | exact TensorModuleLocalization.GradedModules.awayModuleTensorEquiv_fraction R A M S a k m.val s |
| 52 | | add x y hx hy => simp only [map_add, hx, hy] |
| 53 | |
| 54 | variable [Decomposition ℳ] |
| 55 | |
| 56 | def tensorLocalizedDegreeEquiv (a : A) (e : ℤ) (ha : a ∈ 𝒜 e) (d : ℤ) : |
| 57 | Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ a e d ⊗[R] S ≃ₗ[R] |
| 58 | Localized.DegreePieces.GradedModules.localizedDegreePiece (decomposeTensor ℳ S) a e d := by |
| 59 | let := Localized.Grading.GradedModules.localizedDegreeDecomposition 𝒜 ℳ a e ha |
| 60 | exact (decomposeTensorEquiv (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ a e) S d).trans |
| 61 | ((TensorModuleLocalization.GradedModules.awayModuleTensorEquiv R A M S a).ofSubmodules _ _ (awayModuleTensorEquiv_degree 𝒜 ℳ S a e ha d)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorLocalizedDegrees.GradedModules |