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.Positive.BalancedExponentGenerators |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonomialFiniteSums |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonvanishingMonomialCompletion |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantAlgebra |
| 5 | |
| 6 | /-! # Generator Monomial Presentation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.GeneratorMonomialPresentation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Natural combinations of balanced generators preserve both their |
| 13 | weighted degree and their actual determinant monomial. -/ |
| 14 | open scoped BigOperators Classical |
| 15 | universe u v w |
| 16 | variable {κ : Type u} [Fintype κ] {ι : Type v} |
| 17 | |
| 18 | theorem monomialMultiDegree_generator_sum {n : ℕ} (w : κ → ι → ℕ) |
| 19 | (B : Fin n → κ → ℕ) (q : Fin n → ℕ) (i : ι) : |
| 20 | ExponentFiniteGeneration.monomialMultiDegree w (∑ j, q j • B j) i = ∑ j, q j * ExponentFiniteGeneration.monomialMultiDegree w (B j) i := by |
| 21 | simp only [MonomialFiniteSums.monomialMultiDegree_sum, ExponentCompletion.monomialMultiDegree_nsmul] |
| 22 | |
| 23 | theorem exponentMonomial_generator_sum {A : Type w} [CommRing A] {n : ℕ} |
| 24 | (D : κ → A) (B : Fin n → κ → ℕ) (q : Fin n → ℕ) : |
| 25 | MonomialAlgebra.exponentMonomial D (∑ j, q j • B j) = MonomialAlgebra.exponentMonomial (fun j => MonomialAlgebra.exponentMonomial D (B j)) q := by |
| 26 | simp only [MonomialFiniteSums.exponentMonomial_sum, NonvanishingMonomialCompletion.exponentMonomial_nsmul] |
| 27 | rfl |
| 28 | |
| 29 | theorem balancedDeterminant_positive_degree_generators {r m : ℕ} (hr : 0 < r) (i : Fin m) : |
| 30 | ∃ (n : ℕ) (B : Fin n → (Fin r → Fin m) → ℕ), |
| 31 | (∀ j, B j ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight ∧ |
| 32 | 0 < ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (B j) i) ∧ |
| 33 | ∀ a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight, |
| 34 | ∃ q : Fin n → ℕ, a = ∑ j, q j • B j := by |
| 35 | obtain ⟨n, B, hB, hrep⟩ := Positive.BalancedExponentGenerators.balancedExponentMonoid_positive_generator_representation |
| 36 | (DeterminantBlockDegrees.labeledDeterminantWeight (r := r) (m := m)) |
| 37 | refine ⟨n, B, fun j => ⟨(hB j).1, ?_⟩, hrep⟩ |
| 38 | exact Nat.pos_of_ne_zero (fun hz => (hB j).2 |
| 39 | ((DeterminantAlgebra.balancedDeterminantMonomial_degree_zero_iff hr (B j) (hB j).1 i).mp hz)) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.GeneratorMonomialPresentation |