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.Stable.BalancedFrameCharts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantSparsityPreservation |
| 3 | |
| 4 | /-! # Balanced Frame Index -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.BalancedFrameIndex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The stable balanced charts have indices consisting of their finite |
| 11 | frame and exponent data, with a proved fieldwise sparsity condition. -/ |
| 12 | open scoped Classical |
| 13 | universe u |
| 14 | |
| 15 | structure StableBalancedFrameIndex (r m : ℕ) where |
| 16 | rank_two : 2 ≤ r |
| 17 | points_two : 2 ≤ m |
| 18 | frame : Fin r → Fin m |
| 19 | additional : Fin m |
| 20 | coordinate : Fin m → Fin r |
| 21 | exponent : (Fin r → Fin m) → ℕ |
| 22 | complement : Fin m → (Fin r → Fin m) → ℕ |
| 23 | balanced : exponent ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight |
| 24 | frame_le : Frame.ChartDenominators.frameChartExponent frame additional coordinate ≤ exponent |
| 25 | complete : ∀ z, complement z + Frame.CoordinateExponents.frameCoordinateExponent frame additional z (coordinate z) = exponent |
| 26 | sparse : ∀ (K : Type u) [Field K] (w : Fin m → Fin r → K), |
| 27 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ w) exponent ≠ 0 → |
| 28 | ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 29 | r * (Finset.univ.filter (fun z => w z ∈ W)).card < m |
| 30 | |
| 31 | theorem StableBalancedFrameIndex.degree_positive {r m : ℕ} |
| 32 | (j : StableBalancedFrameIndex.{u} r m) (i : Fin m) : |
| 33 | 0 < Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight j.exponent i := by |
| 34 | have hr : 0 < r := lt_of_lt_of_le (by decide : 0 < 2) j.rank_two |
| 35 | have hσ : 0 < Frame.ChartDenominators.frameDiscriminantExponent j.frame j.additional j.frame := by |
| 36 | simp only [Frame.ChartDenominators.frameDiscriminantExponent, Pi.add_apply, Pi.single_eq_same] |
| 37 | omega |
| 38 | have hpos : 0 < j.exponent j.frame := hσ.trans_le |
| 39 | ((Frame.ChartDenominators.frameDiscriminantExponent_le_chart j.frame j.additional j.coordinate).trans j.frame_le j.frame) |
| 40 | apply Nat.pos_of_ne_zero |
| 41 | intro hz |
| 42 | have hzero := (Balanced.DeterminantAlgebra.balancedDeterminantMonomial_degree_zero_iff hr j.exponent j.balanced i).mp hz |
| 43 | exact (Nat.ne_of_gt hpos) (congrFun hzero j.frame) |
| 44 | |
| 45 | theorem sparseConfiguration_has_stableBalancedFrameIndex |
| 46 | {K : Type u} [Field K] {r m : ℕ} |
| 47 | (v : Fin m → Fin r → K) (hv : ∀ i, v i ≠ 0) (hr : 2 ≤ r) (hm : 2 ≤ m) |
| 48 | (hs : ∀ W : Submodule K (Fin r → K), W ≠ ⊤ → |
| 49 | r * (Finset.univ.filter (fun i => v i ∈ W)).card < m) : |
| 50 | ∃ j : StableBalancedFrameIndex.{u} r m, |
| 51 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) j.exponent ≠ 0 := by |
| 52 | obtain ⟨σ, e, c, a, C, ha, han, hframe, hC, hapos⟩ := |
| 53 | BalancedFrameCharts.sparseConfiguration_stable_balanced_frame_chart v hv hr hm hs |
| 54 | refine ⟨⟨hr, hm, σ, e, c, a, C, ha, hframe, hC, ?_⟩, han⟩ |
| 55 | intro L hL w hw |
| 56 | exact DeterminantSparsityPreservation.hyperplaneSparsity_of_nonvanishing_determinant_monomial v w a hapos hw hs |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.BalancedFrameIndex |