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.WeightedVeroneseGeneration |
| 2 | |
| 3 | /-! # Weighted Degree Monomials -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.WeightedDegreeMonomials |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Positive weights leave only finitely many monomials in a prescribed |
| 10 | degree. The explicit Veronese algebra thus has finite degree-one generators. -/ |
| 11 | open scoped BigOperators Classical |
| 12 | universe u |
| 13 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 14 | |
| 15 | theorem finite_weightedExponentDegree_fiber {n : ℕ} (w : Fin n → ℕ) |
| 16 | (hw : ∀ i, 0 < w i) (N : ℕ) : {a : Fin n → ℕ | WeightedVeroneseExtraction.weightedExponentDegree w a = N}.Finite := by |
| 17 | let B := {a : Fin n → ℕ | WeightedVeroneseExtraction.weightedExponentDegree w a = N} |
| 18 | have hbound (a : B) (i : Fin n) : a.val i ≤ N := by |
| 19 | have hterm : a.val i * w i ≤ WeightedVeroneseExtraction.weightedExponentDegree w a.val := |
| 20 | Finset.single_le_sum (fun j _ => Nat.zero_le (a.val j * w j)) (Finset.mem_univ _) |
| 21 | have hpos : a.val i ≤ a.val i * w i := by |
| 22 | simpa only [Nat.mul_one] using Nat.mul_le_mul_left (a.val i) (Nat.succ_le_of_lt (hw i)) |
| 23 | exact hpos.trans (hterm.trans_eq a.property) |
| 24 | let f : B → (Fin n → Fin (N + 1)) := fun a i => ⟨a.val i, Nat.lt_succ_of_le (hbound a i)⟩ |
| 25 | have hf : Function.Injective f := by |
| 26 | intro a b hab |
| 27 | apply Subtype.ext |
| 28 | funext i |
| 29 | exact congrArg Fin.val (congrFun hab i) |
| 30 | let : Finite B := Finite.of_injective f hf |
| 31 | exact Set.finite_coe_iff.mp inferInstance |
| 32 | |
| 33 | theorem finite_weightedDegreeMonomials {n : ℕ} (w : Fin n → ℕ) |
| 34 | (hw : ∀ i, 0 < w i) (D : Fin n → A) (N : ℕ) : |
| 35 | (Balanced.MonomialAlgebra.exponentMonomial D '' {a | WeightedVeroneseExtraction.weightedExponentDegree w a = N}).Finite := |
| 36 | (finite_weightedExponentDegree_fiber w hw N).image _ |
| 37 | |
| 38 | theorem weightedVeronese_finite_degree_generators {n : ℕ} (hn : 0 < n) |
| 39 | (w : Fin n → ℕ) (hw : ∀ i, 0 < w i) (L : ℕ) (hL : 0 < L) |
| 40 | (hwL : ∀ i, w i ∣ L) (D : Fin n → A) : |
| 41 | ∃ B : Finset A, |
| 42 | (∀ b ∈ B, ∃ a : Fin n → ℕ, WeightedVeroneseExtraction.weightedExponentDegree w a = n * L ∧ Balanced.MonomialAlgebra.exponentMonomial D a = b) ∧ |
| 43 | Algebra.adjoin R (B : Set A) = |
| 44 | Algebra.adjoin R (Balanced.MonomialAlgebra.exponentMonomial D '' {a | n * L ∣ WeightedVeroneseExtraction.weightedExponentDegree w a}) := by |
| 45 | let hB := finite_weightedDegreeMonomials w hw D (n * L) |
| 46 | refine ⟨hB.toFinset, ?_, ?_⟩ |
| 47 | · intro b hb |
| 48 | exact hB.mem_toFinset.mp hb |
| 49 | · rw [hB.coe_toFinset, WeightedVeroneseGeneration.weightedVeronese_adjoin_eq_degree_adjoin hn w hw L hL hwL D] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.WeightedDegreeMonomials |