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.HilbertScheme.Presentations.LeadingBoundSpans |
| 2 | |
| 3 | /-! # Leading Bound Representations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingBoundRepresentations.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Membership in a bounded leading-term span has a finite list of actual generator multiples as a witness. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {K : Type u} [Field K] {n : ℕ} |
| 16 | variable (m : MonomialOrder (Fin (n + 1))) {ι : Type v} (b : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) |
| 17 | |
| 18 | theorem lowerLeadingSpan_exists_list (a : m.syn) {f : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n} |
| 19 | (hf : f ∈ LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b a) : |
| 20 | ∃ L : List (ι × Hilbert.Polynomial.GradedHilbert.CoordinateRing K n), |
| 21 | f = (L.map (fun t => t.2 * b t.1)).sum ∧ |
| 22 | ∀ t ∈ L, LeadingBoundSpans.GradedHilbert.leadingBelow m a (t.2 * b t.1) := by |
| 23 | induction hf using Submodule.span_induction with |
| 24 | | mem x hx => |
| 25 | obtain ⟨i, q, rfl, hq⟩ := hx |
| 26 | exact ⟨[(i, q)], by simp only [List.map_cons, List.map_nil, List.sum_cons, List.sum_nil, add_zero], |
| 27 | fun t ht => (List.mem_singleton.mp ht) ▸ hq⟩ |
| 28 | | zero => exact ⟨[], rfl, by simp only [List.not_mem_nil, false_implies, implies_true]⟩ |
| 29 | | add x y _ _ hx hy => |
| 30 | obtain ⟨L, hL, hLb⟩ := hx |
| 31 | obtain ⟨M, hM, hMb⟩ := hy |
| 32 | refine ⟨L ++ M, ?_, fun t ht => ?_⟩ |
| 33 | · rw [List.map_append, List.sum_append, ← hL, ← hM] |
| 34 | · exact (List.mem_append.mp ht).elim (hLb t) (hMb t) |
| 35 | | smul c x _ hx => |
| 36 | obtain ⟨L, hL, hLb⟩ := hx |
| 37 | refine ⟨L.map (fun t => (t.1, c • t.2)), ?_, ?_⟩ |
| 38 | · rw [hL, List.smul_sum, List.map_map, List.map_map] |
| 39 | simp only [Function.comp_def, smul_mul_assoc] |
| 40 | · intro t ht |
| 41 | obtain ⟨s, hs, rfl⟩ := List.mem_map.mp ht |
| 42 | change LeadingBoundSpans.GradedHilbert.leadingBelow m a ((c • s.2) * b s.1) |
| 43 | rw [smul_mul_assoc] |
| 44 | exact LeadingBoundSpans.GradedHilbert.leadingBelow_smul m a c (hLb s hs) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingBoundRepresentations.GradedHilbert |