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.Module.Fractions |
| 2 | |
| 3 | /-! # Degree Pieces -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.DegreePieces.GradedModules |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Homogeneous degree pieces in the localization at a homogeneous element. |
| 11 | Membership is represented by an actual homogeneous numerator and a power |
| 12 | of the chosen denominator. |
| 13 | -/ |
| 14 | |
| 15 | universe u v w |
| 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 | |
| 22 | def localizedDegreeStage (a : A) (e d : ℤ) (k : ℕ) : Submodule R (Presentations.Module.Fractions.GradedModules.AwayModule a M) := |
| 23 | (ℳ (d + (k : ℤ) * e)).map (Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k) |
| 24 | |
| 25 | def localizedDegreePiece (a : A) (e d : ℤ) : Submodule R (Presentations.Module.Fractions.GradedModules.AwayModule a M) := |
| 26 | ⨆ k : ℕ, localizedDegreeStage ℳ a e d k |
| 27 | |
| 28 | theorem localizedDegreeStage_le_add (a : A) (e : ℤ) (ha : a ∈ 𝒜 e) (d : ℤ) (k l : ℕ) : |
| 29 | localizedDegreeStage ℳ a e d k ≤ localizedDegreeStage ℳ a e d (k + l) := by |
| 30 | rintro x ⟨m, hm, rfl⟩ |
| 31 | refine ⟨a ^ l • m, ?_, Presentations.Module.Fractions.GradedModules.moduleFractionMap_raise (R := R) a k l m⟩ |
| 32 | have hp : a ^ l ∈ 𝒜 ((l : ℤ) * e) := by simpa only [nsmul_eq_mul] using SetLike.pow_mem_graded l ha |
| 33 | have h := SetLike.GradedSMul.smul_mem hp hm |
| 34 | have he : (l : ℤ) * e + (d + (k : ℤ) * e) = d + ((k + l : ℕ) : ℤ) * e := by |
| 35 | push_cast |
| 36 | ring |
| 37 | exact he ▸ h |
| 38 | |
| 39 | theorem localizedDegreeStage_directed (a : A) (e : ℤ) (ha : a ∈ 𝒜 e) (d : ℤ) : |
| 40 | Directed (· ≤ ·) (localizedDegreeStage ℳ a e d) := by |
| 41 | intro k l |
| 42 | refine ⟨k + l, localizedDegreeStage_le_add 𝒜 ℳ a e ha d k l, ?_⟩ |
| 43 | simpa only [Nat.add_comm l k] using localizedDegreeStage_le_add 𝒜 ℳ a e ha d l k |
| 44 | |
| 45 | theorem mem_localizedDegreePiece_iff (a : A) (e : ℤ) (ha : a ∈ 𝒜 e) (d : ℤ) |
| 46 | (x : Presentations.Module.Fractions.GradedModules.AwayModule a M) : |
| 47 | x ∈ localizedDegreePiece ℳ a e d ↔ |
| 48 | ∃ (k : ℕ) (m : M), m ∈ ℳ (d + (k : ℤ) * e) ∧ Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k m = x := by |
| 49 | rw [localizedDegreePiece, Submodule.mem_iSup_of_directed _ |
| 50 | (localizedDegreeStage_directed 𝒜 ℳ a e ha d)] |
| 51 | rfl |
| 52 | |
| 53 | theorem moduleFractionMap_mem_degree (a : A) (e d : ℤ) (k : ℕ) (m : M) |
| 54 | (hm : m ∈ ℳ (d + (k : ℤ) * e)) : |
| 55 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k m ∈ localizedDegreePiece ℳ a e d := |
| 56 | (le_iSup (localizedDegreeStage ℳ a e d) k) ⟨m, hm, rfl⟩ |
| 57 | |
| 58 | theorem localizedDegreePiece_zero_numerator (a : A) (e : ℤ) (ha : a ∈ 𝒜 e) (d : ℤ) |
| 59 | (x : Presentations.Module.Fractions.GradedModules.AwayModule a M) (hx : x ∈ localizedDegreePiece ℳ a e d) : |
| 60 | ∃ (k : ℕ) (m : M), m ∈ ℳ (d + (k : ℤ) * e) ∧ |
| 61 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) a k m = x ∧ (x = 0 ↔ ∃ l : ℕ, a ^ l • m = 0) := by |
| 62 | obtain ⟨k, m, hm, hmx⟩ := (mem_localizedDegreePiece_iff 𝒜 ℳ a e ha d x).mp hx |
| 63 | exact ⟨k, m, hm, hmx, hmx ▸ Presentations.Module.Fractions.GradedModules.moduleFractionMap_eq_zero (R := R) a k m⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.DegreePieces.GradedModules |