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.LabeledDeterminantPolynomials |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.MonomialAlgebra |
| 3 | import Mathlib.RingTheory.MvPolynomial.WeightedHomogeneous |
| 4 | |
| 5 | /-! # Determinant Block Degrees -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantBlockDegrees |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Each determinant has one unit of degree for every occurrence of a |
| 12 | label among its columns. Products have the corresponding additive degrees. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] {r m : ℕ} |
| 16 | |
| 17 | def pointBlockWeight (i : Fin m) (jk : Fin m × Fin r) : ℕ := |
| 18 | if jk.1 = i then 1 else 0 |
| 19 | |
| 20 | def labeledDeterminantWeight (σ : Fin r → Fin m) (i : Fin m) : ℕ := |
| 21 | ∑ j, if σ j = i then 1 else 0 |
| 22 | |
| 23 | theorem labeledDeterminantPolynomial_blockHomogeneous |
| 24 | (σ : Fin r → Fin m) (i : Fin m) : |
| 25 | (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R σ).IsWeightedHomogeneous |
| 26 | (pointBlockWeight i) (labeledDeterminantWeight σ i) := by |
| 27 | unfold LabeledDeterminantPolynomials.labeledDeterminantPolynomial LabeledDeterminantPolynomials.labeledDeterminant |
| 28 | erw [Matrix.det_apply'] |
| 29 | apply MvPolynomial.IsWeightedHomogeneous.sum |
| 30 | intro τ _ |
| 31 | have hp : (∏ j : Fin r, (MvPolynomial.X (σ j, τ j) : MvPolynomial (Fin m × Fin r) R)).IsWeightedHomogeneous (pointBlockWeight i) (labeledDeterminantWeight σ i) := by |
| 32 | apply MvPolynomial.IsWeightedHomogeneous.prod |
| 33 | intro j _ |
| 34 | exact MvPolynomial.isWeightedHomogeneous_X _ _ _ |
| 35 | simpa only [map_intCast] using hp.C_mul ((Equiv.Perm.sign τ : ℤ) : R) |
| 36 | |
| 37 | theorem exponentMonomial_blockHomogeneous |
| 38 | {κ : Type} [Fintype κ] (D : κ → MvPolynomial (Fin m × Fin r) R) |
| 39 | (w : κ → Fin m → ℕ) |
| 40 | (hD : ∀ k i, (D k).IsWeightedHomogeneous (pointBlockWeight i) (w k i)) |
| 41 | (a : κ → ℕ) (i : Fin m) : |
| 42 | (Balanced.MonomialAlgebra.exponentMonomial D a).IsWeightedHomogeneous |
| 43 | (pointBlockWeight i) (Balanced.ExponentFiniteGeneration.monomialMultiDegree w a i) := by |
| 44 | apply MvPolynomial.IsWeightedHomogeneous.prod |
| 45 | intro k _ |
| 46 | simpa only [nsmul_eq_mul, Nat.cast_id] using (hD k i).pow (a k) |
| 47 | |
| 48 | theorem balancedDeterminantMonomial_blockHomogeneous |
| 49 | (a : (Fin r → Fin m) → ℕ) |
| 50 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid (labeledDeterminantWeight (r := r) (m := m))) |
| 51 | (i j : Fin m) : |
| 52 | (Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) a).IsWeightedHomogeneous |
| 53 | (pointBlockWeight i) (Balanced.ExponentFiniteGeneration.monomialMultiDegree labeledDeterminantWeight a j) := by |
| 54 | rw [← (Balanced.ExponentFiniteGeneration.mem_balancedExponentMonoid_iff _ _).mp ha i j] |
| 55 | exact exponentMonomial_blockHomogeneous _ _ |
| 56 | labeledDeterminantPolynomial_blockHomogeneous a i |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantBlockDegrees |