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.CriticalPairMultiples |
| 2 | |
| 3 | /-! # Leading Cancellation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingCancellation.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Cancellation of maximal leading terms is controlled by the finitely many generator critical pairs. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u v w |
| 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 | variable (hcrit : ∀ i j, m.sPolynomial (b i) (b j) ∈ |
| 18 | LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b (m.toSyn (m.degree (b i) ⊔ m.degree (b j)))) |
| 19 | |
| 20 | include hcrit in |
| 21 | theorem leading_multiple_sum_cancellation {κ : Type w} (T : Finset κ) |
| 22 | (idx : κ → ι) (q : κ → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (a : m.syn) |
| 23 | (hmax : ∀ k ∈ T, q k * b (idx k) = 0 ∨ m.toSyn (m.degree (q k * b (idx k))) = a) |
| 24 | (hsmall : LeadingBoundSpans.GradedHilbert.leadingBelow m a (∑ k ∈ T, m.leadingTerm (q k) * b (idx k))) : |
| 25 | (∑ k ∈ T, m.leadingTerm (q k) * b (idx k)) ∈ LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b a := by |
| 26 | classical |
| 27 | by_cases hz : (∑ k ∈ T, m.leadingTerm (q k) * b (idx k)) = 0 |
| 28 | · rw [hz] |
| 29 | exact Submodule.zero_mem _ |
| 30 | have hdeg (k : κ) (hk : k ∈ T) : |
| 31 | m.toSyn (m.degree (m.leadingTerm (q k) * b (idx k))) = a ∨ m.leadingTerm (q k) * b (idx k) = 0 := by |
| 32 | rcases hmax k hk with hzero | heq |
| 33 | · right |
| 34 | simpa only [mul_eq_zero, MonomialOrder.leadingTerm_eq_zero_iff] using hzero |
| 35 | · left |
| 36 | simpa only [m.degree_leadingTerm_mul] using heq |
| 37 | obtain ⟨c, hc⟩ := m.sPolynomial_decomposition' |
| 38 | (fun k => m.leadingTerm (q k) * b (idx k)) hdeg (hsmall.resolve_left hz) |
| 39 | rw [hc] |
| 40 | apply Submodule.sum_mem |
| 41 | intro k hk |
| 42 | apply Submodule.sum_mem |
| 43 | intro l hl |
| 44 | apply Submodule.smul_mem |
| 45 | exact CriticalPairMultiples.GradedHilbert.criticalPair_leading_multiples_mem m b hcrit a (idx k) (idx l) (q k) (q l) |
| 46 | (hmax k hk) (hmax l hl) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingCancellation.GradedHilbert |