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.SheafCohomology.Projective.GradedModuleMk |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCokernelDegree |
| 3 | |
| 4 | /-! # Graded Quotient Degree Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedQuotientDegreeMap.GradedModuleQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Surjectivity and kernel of the actual quotient map in each homogeneous degree. -/ |
| 11 | |
| 12 | open DirectSum |
| 13 | universe u v w |
| 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 (ℳ : ℤ → Submodule R M) (P : Submodule A M) (d : ℤ) |
| 17 | |
| 18 | theorem degreeMap_surjective : Function.Surjective (GradedModuleMk.GradedModuleQuotient.degreeMap ℳ P d) := by |
| 19 | intro x |
| 20 | obtain ⟨y, hy, hxy⟩ := x.property |
| 21 | exact ⟨⟨y, hy⟩, Subtype.ext hxy⟩ |
| 22 | |
| 23 | theorem degreeMap_kernel : (GradedModuleMk.GradedModuleQuotient.degreeMap ℳ P d).ker = GradedCyclicDegreeSequence.degreeRelations ℳ P d := by |
| 24 | ext x |
| 25 | change GradedModuleMk.GradedModuleQuotient.degreeMap ℳ P d x = 0 ↔ x.val ∈ P |
| 26 | constructor |
| 27 | · intro hx |
| 28 | apply (Submodule.Quotient.mk_eq_zero P).mp |
| 29 | exact congrArg Subtype.val hx |
| 30 | · intro hx |
| 31 | apply Subtype.ext |
| 32 | exact (Submodule.Quotient.mk_eq_zero P).mpr hx |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedQuotientDegreeMap.GradedModuleQuotient |