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.MonomialSpan |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantAlgebra |
| 3 | import Mathlib.Algebra.DirectSum.Module |
| 4 | |
| 5 | /-! # Degree Decomposition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DegreeDecomposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Balanced monomial degree pieces span the algebra. For actual |
| 12 | determinants these pieces are independent, as witnessed by polynomial |
| 13 | homogeneity in any one marked-point block. -/ |
| 14 | open scoped BigOperators Classical |
| 15 | universe u v w |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {κ : Type u} [Fintype κ] {ι : Type v} |
| 19 | variable {R A : Type w} [CommRing R] [CommRing A] [Algebra R A] |
| 20 | |
| 21 | theorem balancedMonomialDegreeSpan_iSup (D : κ → A) (w : κ → ι → ℕ) (i : ι) : |
| 22 | (⨆ n, MonomialSpan.balancedMonomialDegreeSpan D w i n) = (MonomialAlgebra.balancedMonomialAlgebra R D w).toSubmodule := by |
| 23 | apply le_antisymm |
| 24 | · exact iSup_le (MonomialSpan.balancedMonomialDegreeSpan_le D w i) |
| 25 | · rw [MonomialSpan.balancedMonomialAlgebra_eq_span] |
| 26 | apply Submodule.span_le.mpr |
| 27 | rintro _ ⟨a, ha, rfl⟩ |
| 28 | exact (le_iSup (fun n => MonomialSpan.balancedMonomialDegreeSpan (R := R) D w i n) |
| 29 | (ExponentFiniteGeneration.monomialMultiDegree w a i)) (Submodule.subset_span ⟨a, ⟨ha, rfl⟩, rfl⟩) |
| 30 | |
| 31 | variable {r m : ℕ} |
| 32 | |
| 33 | theorem balancedDeterminantDegreeSpan_le_weighted (i : Fin m) (n : ℕ) : |
| 34 | MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial (r := r) R) |
| 35 | DeterminantBlockDegrees.labeledDeterminantWeight i n ≤ MvPolynomial.weightedHomogeneousSubmodule R (DeterminantBlockDegrees.pointBlockWeight i) n := by |
| 36 | apply Submodule.span_le.mpr |
| 37 | rintro _ ⟨a, ha, rfl⟩ |
| 38 | change (MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) a).IsWeightedHomogeneous (DeterminantBlockDegrees.pointBlockWeight i) n |
| 39 | rw [← ha.2] |
| 40 | exact DeterminantBlockDegrees.exponentMonomial_blockHomogeneous _ _ DeterminantBlockDegrees.labeledDeterminantPolynomial_blockHomogeneous a i |
| 41 | |
| 42 | theorem balancedDeterminantDegreeSpan_independent (i : Fin m) : |
| 43 | iSupIndep (fun n => MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) |
| 44 | (DeterminantBlockDegrees.labeledDeterminantWeight (r := r)) i n) := by |
| 45 | let := MvPolynomial.weightedDecomposition R (DeterminantBlockDegrees.pointBlockWeight (r := r) i) |
| 46 | have h := (DirectSum.Decomposition.isInternal |
| 47 | (MvPolynomial.weightedHomogeneousSubmodule R (DeterminantBlockDegrees.pointBlockWeight (r := r) i))).submodule_iSupIndep |
| 48 | exact h.mono (balancedDeterminantDegreeSpan_le_weighted i) |
| 49 | |
| 50 | theorem balancedDeterminantDegreeSpan_zero (hr : 0 < r) (i : Fin m) : |
| 51 | MonomialSpan.balancedMonomialDegreeSpan (R := R) (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) |
| 52 | (DeterminantBlockDegrees.labeledDeterminantWeight (r := r)) i 0 = Submodule.span R {(1 : MvPolynomial (Fin m × Fin r) R)} := by |
| 53 | unfold MonomialSpan.balancedMonomialDegreeSpan |
| 54 | congr 1 |
| 55 | ext x |
| 56 | constructor |
| 57 | · rintro ⟨a, ha, rfl⟩ |
| 58 | have hz := (DeterminantAlgebra.balancedDeterminantMonomial_degree_zero_iff hr a ha.1 i).mp ha.2 |
| 59 | rw [hz, MonomialAlgebra.exponentMonomial_zero] |
| 60 | exact Set.mem_singleton _ |
| 61 | · rintro rfl |
| 62 | refine ⟨0, ⟨(ExponentFiniteGeneration.balancedExponentMonoid _).zero_mem, ?_⟩, MonomialAlgebra.exponentMonomial_zero _⟩ |
| 63 | simp only [ExponentFiniteGeneration.monomialMultiDegree, Pi.zero_apply, zero_mul, Finset.sum_const_zero] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DegreeDecomposition |