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.Finite.WeightedDegreeMonomials |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.GeneratorMonomialPresentation |
| 3 | |
| 4 | /-! # Padded Weighted Monomial Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PaddedWeightedMonomialGenerators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A zero generator of weight one makes the generator list nonempty |
| 11 | without changing its monomials. A common positive degree then has a |
| 12 | finite list of monomials generating every divisible-degree monomial. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 18 | |
| 19 | def paddedMonomialGenerators {n : ℕ} (D : Fin n → A) : Fin (n + 1) → A := Fin.cons 0 D |
| 20 | def paddedMonomialWeights {n : ℕ} (w : Fin n → ℕ) : Fin (n + 1) → ℕ := Fin.cons 1 w |
| 21 | |
| 22 | theorem paddedMonomialGenerators_monomial {n : ℕ} (D : Fin n → A) (q : Fin n → ℕ) : |
| 23 | Balanced.MonomialAlgebra.exponentMonomial (paddedMonomialGenerators D) (Fin.cons 0 q) = Balanced.MonomialAlgebra.exponentMonomial D q := by |
| 24 | simp only [Balanced.MonomialAlgebra.exponentMonomial, paddedMonomialGenerators, Fin.prod_univ_succ, |
| 25 | Fin.cons_zero, Fin.cons_succ, pow_zero, one_mul] |
| 26 | |
| 27 | theorem paddedMonomialWeights_degree {n : ℕ} (w : Fin n → ℕ) (q : Fin n → ℕ) : |
| 28 | WeightedVeroneseExtraction.weightedExponentDegree (paddedMonomialWeights w) (Fin.cons 0 q) = WeightedVeroneseExtraction.weightedExponentDegree w q := by |
| 29 | simp only [WeightedVeroneseExtraction.weightedExponentDegree, paddedMonomialWeights, Fin.sum_univ_succ, |
| 30 | Fin.cons_zero, Fin.cons_succ, zero_mul, zero_add] |
| 31 | |
| 32 | theorem finite_common_degree_monomial_generators {n : ℕ} (D : Fin n → A) |
| 33 | (w : Fin n → ℕ) (hw : ∀ j, 0 < w j) : |
| 34 | ∃ N : ℕ, 0 < N ∧ ∃ B : Finset A, |
| 35 | (∀ b ∈ B, ∃ q : Fin (n + 1) → ℕ, |
| 36 | WeightedVeroneseExtraction.weightedExponentDegree (paddedMonomialWeights w) q = N ∧ |
| 37 | Balanced.MonomialAlgebra.exponentMonomial (paddedMonomialGenerators D) q = b) ∧ |
| 38 | ∀ q : Fin n → ℕ, N ∣ WeightedVeroneseExtraction.weightedExponentDegree w q → |
| 39 | Balanced.MonomialAlgebra.exponentMonomial D q ∈ Algebra.adjoin R (B : Set A) := by |
| 40 | let w' := paddedMonomialWeights w |
| 41 | have hw' (j : Fin (n + 1)) : 0 < w' j := by |
| 42 | refine Fin.cases (by exact Nat.zero_lt_one) hw j |
| 43 | let L := ∏ j, w' j |
| 44 | have hL : 0 < L := Finset.prod_pos (fun j _ => hw' j) |
| 45 | have hwL (j : Fin (n + 1)) : w' j ∣ L := Finset.dvd_prod_of_mem w' (Finset.mem_univ j) |
| 46 | obtain ⟨B, hB, hgen⟩ := Finite.WeightedDegreeMonomials.weightedVeronese_finite_degree_generators (R := R) (Nat.succ_pos n) |
| 47 | w' hw' L hL hwL (paddedMonomialGenerators D) |
| 48 | refine ⟨(n + 1) * L, Nat.mul_pos (Nat.succ_pos n) hL, B, hB, ?_⟩ |
| 49 | intro q hq |
| 50 | rw [hgen] |
| 51 | apply Algebra.subset_adjoin |
| 52 | refine ⟨Fin.cons 0 q, ?_, paddedMonomialGenerators_monomial D q⟩ |
| 53 | change (n + 1) * L ∣ WeightedVeroneseExtraction.weightedExponentDegree (paddedMonomialWeights w) (Fin.cons 0 q) |
| 54 | rw [paddedMonomialWeights_degree] |
| 55 | exact hq |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PaddedWeightedMonomialGenerators |