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.NonvanishingMonomialCompletion |
| 2 | |
| 3 | /-! # Support Monomial Completion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.SupportMonomialCompletion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The completing balanced monomial can be chosen with a positive |
| 10 | exponent on every originally nonzero maximal minor. -/ |
| 11 | open scoped Classical |
| 12 | universe u |
| 13 | variable {K : Type u} [Field K] {r m : ℕ} |
| 14 | |
| 15 | theorem sparseConfiguration_complete_with_positive_support |
| 16 | (v : Fin m → Fin r → K) (hv : ∀ i, v i ≠ 0) (hr : 2 ≤ r) (hm : 2 ≤ m) |
| 17 | (hs : ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 18 | r * (Finset.univ.filter (fun i => v i ∈ W)).card < m) |
| 19 | (b : (Fin r → Fin m) → ℕ) (hb : Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) b ≠ 0) : |
| 20 | ∃ a C : (Fin r → Fin m) → ℕ, |
| 21 | a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight ∧ C + b = a ∧ |
| 22 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a ≠ 0 ∧ |
| 23 | ∀ τ, LabeledDeterminantPolynomials.labeledDeterminant τ v ≠ 0 → 0 < a τ := by |
| 24 | let d : (Fin r → Fin m) → ℕ := fun τ => if LabeledDeterminantPolynomials.labeledDeterminant τ v ≠ 0 then 1 else 0 |
| 25 | have hd : Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) d ≠ 0 := by |
| 26 | apply (NonvanishingMonomialCompletion.exponentMonomial_ne_zero_iff _ d).mpr |
| 27 | intro τ hτ hz |
| 28 | have hdτ : d τ = 0 := ite_eq_right (fun hn => hn hz) |
| 29 | exact hτ hdτ |
| 30 | have hbd : Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) (b + d) ≠ 0 := by |
| 31 | rw [Balanced.MonomialAlgebra.exponentMonomial_add] |
| 32 | exact mul_ne_zero hb hd |
| 33 | obtain ⟨a, C, ha, he, han⟩ := NonvanishingMonomialCompletion.sparseConfiguration_complete_nonvanishing_monomial v hv hr hm hs (b + d) hbd |
| 34 | refine ⟨a, C + d, ha, ?_, han, ?_⟩ |
| 35 | · calc |
| 36 | C + d + b = C + (b + d) := by ac_rfl |
| 37 | _ = a := he |
| 38 | · intro τ hτ |
| 39 | have hdτ : d τ = 1 := ite_eq_left hτ |
| 40 | have h := congrFun he τ |
| 41 | change C τ + (b τ + d τ) = a τ at h |
| 42 | omega |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.SupportMonomialCompletion |