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.AbelianModuli.HilbertConstruction.Veronese.DegreeOneGenerators |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DegreeOneProjectivePresentation |
| 3 | |
| 4 | /-! # Veronese Projective Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.VeroneseProjectivePresentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A positive Veronese of the actual balanced determinant algebra |
| 11 | has a constructed projective presentation over the coefficient spectrum. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem presentation_of_degree_one_generators |
| 19 | {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 20 | (g : ℕ → Submodule R A) [GradedAlgebra g] |
| 21 | (h : ∃ (n : ℕ) (D : Fin (n + 1) → A), |
| 22 | (∀ j, D j ∈ g 1) ∧ Algebra.adjoin R (Set.range D) = ⊤) : |
| 23 | Nonempty (Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap g))) := by |
| 24 | obtain ⟨n, D, hD, hgen⟩ := h |
| 25 | exact ⟨DegreeOneProjectivePresentation.degreeOneProjectivePresentation g D hD hgen⟩ |
| 26 | |
| 27 | private theorem veronese_presentation_of_degree_one_generators |
| 28 | {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 29 | (g : ℕ → Submodule R A) [GradedAlgebra g] |
| 30 | (h : ∃ N : ℕ, 0 < N ∧ ∃ (n : ℕ) (D : Fin (n + 1) → Veronese.Subalgebra.veroneseSubalgebra g N), |
| 31 | (∀ j, D j ∈ Veronese.Grading.veroneseGrading g N 1) ∧ Algebra.adjoin R (Set.range D) = ⊤) : |
| 32 | ∃ N : ℕ+, Nonempty (Projective.ProjectivePresentations.ProjectivePresentation |
| 33 | (Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Veronese.Grading.veroneseGrading g (N : ℕ))))) := by |
| 34 | obtain ⟨N, hN, hgen⟩ := h |
| 35 | have : NeZero N := ⟨Nat.ne_of_gt hN⟩ |
| 36 | exact ⟨⟨N, hN⟩, presentation_of_degree_one_generators (Veronese.Grading.veroneseGrading g N) hgen⟩ |
| 37 | |
| 38 | theorem balancedDeterminant_veronese_projective_presentation |
| 39 | (R : Type u) [CommRing R] {r m : ℕ} (hr : 0 < r) (i : Fin m) : |
| 40 | ∃ N : ℕ+, Nonempty (Projective.ProjectivePresentations.ProjectivePresentation |
| 41 | (Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Veronese.Grading.veroneseGrading (DeterminantGrading.balancedDeterminantGrading R r m i) (N : ℕ))))) := by |
| 42 | exact veronese_presentation_of_degree_one_generators (DeterminantGrading.balancedDeterminantGrading R r m i) |
| 43 | (Veronese.DegreeOneGenerators.balancedDeterminant_veronese_degree_one_generators R hr i) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.VeroneseProjectivePresentation |