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.SupportedExponentCompletion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SparseNonvanishingBalancedMonomial |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonomialExponentExtension |
| 4 | |
| 5 | /-! # Nonvanishing Monomial Completion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonvanishingMonomialCompletion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every nonvanishing determinant monomial at a sparse configuration |
| 12 | divides a nonvanishing balanced determinant monomial. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u v |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | theorem exponentMonomial_nsmul {κ : Type u} [Fintype κ] {R : Type v} [CommRing R] |
| 19 | (D : κ → R) (a : κ → ℕ) (k : ℕ) : |
| 20 | Balanced.MonomialAlgebra.exponentMonomial D (k • a) = (Balanced.MonomialAlgebra.exponentMonomial D a) ^ k := by |
| 21 | simp only [Balanced.MonomialAlgebra.exponentMonomial, Pi.smul_apply, nsmul_eq_mul, Nat.cast_id] |
| 22 | simp_rw [Nat.mul_comm k, pow_mul] |
| 23 | rw [Finset.prod_pow] |
| 24 | |
| 25 | theorem exponentMonomial_ne_zero_iff {κ : Type u} [Fintype κ] {K : Type v} [Field K] |
| 26 | (D : κ → K) (a : κ → ℕ) : |
| 27 | Balanced.MonomialAlgebra.exponentMonomial D a ≠ 0 ↔ ∀ j, a j ≠ 0 → D j ≠ 0 := by |
| 28 | constructor |
| 29 | · intro h j hj hd |
| 30 | have hp := Finset.prod_ne_zero_iff.mp h j (Finset.mem_univ j) |
| 31 | exact hp (by rw [hd, zero_pow hj]) |
| 32 | · intro h |
| 33 | apply Finset.prod_ne_zero_iff.mpr |
| 34 | intro j _ |
| 35 | by_cases hj : a j = 0 |
| 36 | · rw [hj, pow_zero] |
| 37 | exact one_ne_zero |
| 38 | · exact pow_ne_zero _ (h j hj) |
| 39 | |
| 40 | theorem sparseConfiguration_complete_nonvanishing_monomial |
| 41 | {K : Type u} [Field K] {r m : ℕ} |
| 42 | (v : Fin m → Fin r → K) (hv : ∀ i, v i ≠ 0) (hr : 2 ≤ r) (hm : 2 ≤ m) |
| 43 | (hs : ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 44 | r * (Finset.univ.filter (fun i => v i ∈ W)).card < m) |
| 45 | (b : (Fin r → Fin m) → ℕ) |
| 46 | (hb : Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) b ≠ 0) : |
| 47 | ∃ a c : (Fin r → Fin m) → ℕ, |
| 48 | a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight ∧ c + b = a ∧ |
| 49 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a ≠ 0 := by |
| 50 | obtain ⟨a, ha, hbal, hprod⟩ := SparseNonvanishingBalancedMonomial.sparseConfiguration_nonvanishing_balanced_determinant_monomial |
| 51 | v hv hr hm hs |
| 52 | let nz := fun τ : Fin r → Fin m => LabeledDeterminantPolynomials.labeledDeterminant τ v ≠ 0 |
| 53 | let A := MonomialExponentExtension.exponentExtendByZero nz a |
| 54 | have hA : A ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight := by |
| 55 | apply MonomialExponentExtension.exponentExtendByZero_balanced nz a DeterminantBlockDegrees.labeledDeterminantWeight |
| 56 | convert hbal using 1 <;> congr! |
| 57 | have hAb (τ) (hτ : b τ ≠ 0) : 0 < A τ := by |
| 58 | have hnz : nz τ := (exponentMonomial_ne_zero_iff _ b).mp hb τ hτ |
| 59 | simpa only [A, MonomialExponentExtension.exponentExtendByZero, dite_eq_left hnz] using ha ⟨τ, hnz⟩ |
| 60 | obtain ⟨k, _, c, hc, hka, _⟩ := SupportedExponentCompletion.supportedBalancedExponent_exists_completion |
| 61 | DeterminantBlockDegrees.labeledDeterminantWeight A b hA hAb |
| 62 | refine ⟨k • A, c, hka, hc, ?_⟩ |
| 63 | rw [exponentMonomial_nsmul] |
| 64 | apply pow_ne_zero |
| 65 | change Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) (MonomialExponentExtension.exponentExtendByZero nz a) ≠ 0 |
| 66 | rw [MonomialExponentExtension.exponentMonomial_extendByZero] |
| 67 | convert hprod using 1; congr! |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonvanishingMonomialCompletion |