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.Graded.Exactness |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCyclicDegreeSequence |
| 3 | |
| 4 | /-! # Graded Cokernel Degree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCokernelDegree |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The degreewise cokernel of a homogeneous map is the degree quotient by its full range. -/ |
| 11 | |
| 12 | open DirectSum OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.Exactness.GradedModules |
| 13 | universe u v w t |
| 14 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] |
| 15 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] |
| 16 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module A N] [IsScalarTower R A N] |
| 17 | variable (ℳ : ℤ → Submodule R M) (𝒩 : ℤ → Submodule R N) |
| 18 | variable [Decomposition ℳ] [Decomposition 𝒩] |
| 19 | |
| 20 | theorem homogeneousDegreeMap_range (f : M →ₗ[A] N) |
| 21 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (d : ℤ) : |
| 22 | (HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap ℳ 𝒩 (f.restrictScalars R) hf d).range = GradedCyclicDegreeSequence.degreeRelations 𝒩 f.range d := by |
| 23 | apply le_antisymm |
| 24 | · rintro n ⟨m, rfl⟩ |
| 25 | exact ⟨m.val, rfl⟩ |
| 26 | · intro n hn |
| 27 | obtain ⟨m, hm⟩ := hn |
| 28 | exact ⟨decompose ℳ m d, Subtype.ext |
| 29 | (HilbertScheme.Presentations.Graded.Exactness.GradedModules.homogeneous_preimage ℳ 𝒩 (f.restrictScalars R) hf d n.val n.property m hm)⟩ |
| 30 | |
| 31 | def homogeneousDegreeCokernelEquiv (f : M →ₗ[A] N) |
| 32 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (d : ℤ) : |
| 33 | ((𝒩 d) ⧸ (HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap ℳ 𝒩 (f.restrictScalars R) hf d).range) ≃ₗ[R] |
| 34 | GradedCyclicDegreeSequence.DegreeQuotient 𝒩 f.range d := |
| 35 | Submodule.quotEquivOfEq _ _ (homogeneousDegreeMap_range ℳ 𝒩 f hf d) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCokernelDegree |