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.Balanced.CommonDegreeGenerators |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Veronese.Grading |
| 3 | |
| 4 | /-! # Veronese Finite Generation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.VeroneseFiniteGeneration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full Veronese subalgebra is generated by a finite family in |
| 11 | one original degree. The proof covers arbitrary linear combinations |
| 12 | in the homogeneous pieces, not just determinant monomials. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 18 | |
| 19 | theorem balancedDeterminant_veronese_finite_generation (hr : 0 < r) (i : Fin m) : |
| 20 | ∃ N : ℕ, 0 < N ∧ ∃ F : Finset (DeterminantAlgebra.balancedDeterminantAlgebra R r m), |
| 21 | (∀ x ∈ F, x ∈ DeterminantGrading.balancedDeterminantGrading R r m i N) ∧ |
| 22 | Algebra.adjoin R (F : Set (DeterminantAlgebra.balancedDeterminantAlgebra R r m)) = |
| 23 | Veronese.Subalgebra.veroneseSubalgebra (DeterminantGrading.balancedDeterminantGrading R r m i) N := by |
| 24 | obtain ⟨N, hN, F, hF, hmon⟩ := CommonDegreeGenerators.balancedDeterminant_common_degree_generators R hr i |
| 25 | let E := Algebra.adjoin R (F : Set (DeterminantAlgebra.balancedDeterminantAlgebra R r m)) |
| 26 | have hpiece (k : ℕ) : DeterminantGrading.balancedDeterminantGrading R r m i (N * k) ≤ E.toSubmodule := by |
| 27 | have hspan : MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) |
| 28 | DeterminantBlockDegrees.labeledDeterminantWeight i (N * k) ≤ |
| 29 | E.toSubmodule.map (DeterminantAlgebra.balancedDeterminantAlgebra R r m).toSubmodule.subtype := by |
| 30 | apply Submodule.span_le.mpr |
| 31 | rintro _ ⟨a, ⟨ha, hdeg⟩, rfl⟩ |
| 32 | exact ⟨FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha, |
| 33 | hmon a ha (hdeg.symm ▸ dvd_mul_right N k), rfl⟩ |
| 34 | intro x hx |
| 35 | obtain ⟨y, hy, hyx⟩ := hspan hx |
| 36 | have heq : y = x := Subtype.ext hyx |
| 37 | exact heq ▸ hy |
| 38 | refine ⟨N, hN, F, hF, le_antisymm ?_ ?_⟩ |
| 39 | · apply Algebra.adjoin_le |
| 40 | intro x hx |
| 41 | apply Veronese.Subalgebra.veronese_homogeneous_mem (DeterminantGrading.balancedDeterminantGrading R r m i) N 1 |
| 42 | simpa only [Nat.mul_one] using hF x hx |
| 43 | · exact iSup_le hpiece |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.VeroneseFiniteGeneration |