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.LeadingCancellation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingTermProductRemainder |
| 3 | |
| 4 | /-! # Leading Representation Lowering -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingRepresentationLowering.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A bounded generator representation whose maximal leading terms cancel can be replaced by one with a strictly smaller bound. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {K : Type u} [Field K] {n : ℕ} |
| 17 | variable (m : MonomialOrder (Fin (n + 1))) {ι : Type v} (b : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) |
| 18 | variable (hcrit : ∀ i j, m.sPolynomial (b i) (b j) ∈ |
| 19 | LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b (m.toSyn (m.degree (b i) ⊔ m.degree (b j)))) |
| 20 | |
| 21 | include hcrit in |
| 22 | theorem bounded_representation_lowering {κ : Type w} (T : Finset κ) |
| 23 | (idx : κ → ι) (q : κ → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (a : m.syn) |
| 24 | (hbound : ∀ k ∈ T, q k * b (idx k) = 0 ∨ m.toSyn (m.degree (q k * b (idx k))) ≤ a) |
| 25 | (hsmall : LeadingBoundSpans.GradedHilbert.leadingBelow m a (∑ k ∈ T, q k * b (idx k))) : |
| 26 | (∑ k ∈ T, q k * b (idx k)) ∈ LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b a := by |
| 27 | classical |
| 28 | let qtop := fun k => if m.toSyn (m.degree (q k * b (idx k))) = a then q k else 0 |
| 29 | let low := fun k => if m.toSyn (m.degree (q k * b (idx k))) = a |
| 30 | then (q k - m.leadingTerm (q k)) * b (idx k) else q k * b (idx k) |
| 31 | have hlow (k : κ) (hk : k ∈ T) : low k ∈ LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b a := by |
| 32 | by_cases he : m.toSyn (m.degree (q k * b (idx k))) = a |
| 33 | · simp only [low, ite_eq_left he] |
| 34 | apply LeadingBoundSpans.GradedHilbert.mem_lowerLeadingSpan |
| 35 | rw [← he] |
| 36 | exact LeadingTermProductRemainder.GradedHilbert.coefficient_leading_remainder_small m (q k) (b (idx k)) |
| 37 | · simp only [low, ite_eq_right he] |
| 38 | apply LeadingBoundSpans.GradedHilbert.mem_lowerLeadingSpan |
| 39 | exact (hbound k hk).imp_right (fun h => lt_of_le_of_ne h he) |
| 40 | have hlowSum : (∑ k ∈ T, low k) ∈ LeadingBoundSpans.GradedHilbert.lowerLeadingSpan m b a := Submodule.sum_mem _ hlow |
| 41 | have hdecomp : (∑ k ∈ T, q k * b (idx k)) = |
| 42 | (∑ k ∈ T, low k) + (∑ k ∈ T, m.leadingTerm (qtop k) * b (idx k)) := by |
| 43 | rw [← Finset.sum_add_distrib] |
| 44 | apply Finset.sum_congr rfl |
| 45 | intro k _ |
| 46 | by_cases he : m.toSyn (m.degree (q k * b (idx k))) = a |
| 47 | · simp only [low, qtop, ite_eq_left he] |
| 48 | ring |
| 49 | · simp only [low, qtop, ite_eq_right he, MonomialOrder.leadingTerm_zero, zero_mul, add_zero] |
| 50 | have htopBound (k : κ) (_hk : k ∈ T) : |
| 51 | qtop k * b (idx k) = 0 ∨ m.toSyn (m.degree (qtop k * b (idx k))) = a := by |
| 52 | by_cases he : m.toSyn (m.degree (q k * b (idx k))) = a |
| 53 | · exact Or.inr (by simpa only [qtop, ite_eq_left he] using he) |
| 54 | · exact Or.inl (by simp only [qtop, ite_eq_right he, zero_mul]) |
| 55 | have htopSmall : LeadingBoundSpans.GradedHilbert.leadingBelow m a (∑ k ∈ T, m.leadingTerm (qtop k) * b (idx k)) := by |
| 56 | have hneg : LeadingBoundSpans.GradedHilbert.leadingBelow m a (-(∑ k ∈ T, low k)) := by |
| 57 | simpa only [neg_one_smul] using LeadingBoundSpans.GradedHilbert.leadingBelow_smul m a (-1 : K) |
| 58 | (LeadingBoundSpans.GradedHilbert.leadingBelow_of_mem_lowerLeadingSpan m b a hlowSum) |
| 59 | have h := LeadingBoundSpans.GradedHilbert.leadingBelow_add m a hsmall hneg |
| 60 | have he : (∑ k ∈ T, q k * b (idx k)) + -(∑ k ∈ T, low k) = |
| 61 | ∑ k ∈ T, m.leadingTerm (qtop k) * b (idx k) := by |
| 62 | rw [hdecomp] |
| 63 | abel |
| 64 | rwa [he] at h |
| 65 | rw [hdecomp] |
| 66 | exact Submodule.add_mem _ hlowSum |
| 67 | (LeadingCancellation.GradedHilbert.leading_multiple_sum_cancellation m b hcrit T idx qtop a htopBound htopSmall) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingRepresentationLowering.GradedHilbert |