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 Mathlib.RingTheory.Finiteness.Ideal |
| 2 | |
| 3 | /-! # Ideal Generators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.IdealGenerators |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finitely generated images of an ideal span are generated by the |
| 10 | images of finitely many elements of the original specified generating set. -/ |
| 11 | |
| 12 | universe u v |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | |
| 15 | theorem fg_span_finite_subset (s : Set R) (h : (Ideal.span s).FG) : |
| 16 | ∃ t : Finset R, (↑t : Set R) ⊆ s ∧ Ideal.span (↑t : Set R) = Ideal.span s := by |
| 17 | classical |
| 18 | obtain ⟨v, hv⟩ := h |
| 19 | have hx (x : v) : (x : R) ∈ Ideal.span s := hv ▸ Ideal.subset_span x.property |
| 20 | choose t ht hm using fun x : v => Submodule.mem_span_finite_of_mem_span (hx x) |
| 21 | let w := v.attach.biUnion t |
| 22 | have hw : (↑w : Set R) ⊆ s := by |
| 23 | intro x hxw |
| 24 | obtain ⟨y, _, hxy⟩ := Finset.mem_biUnion.mp hxw |
| 25 | exact ht y hxy |
| 26 | refine ⟨w, hw, le_antisymm (Ideal.span_mono hw) ?_⟩ |
| 27 | rw [← hv] |
| 28 | apply Ideal.span_le.mpr |
| 29 | intro x hxv |
| 30 | apply (Ideal.span_mono (show (↑(t ⟨x, hxv⟩) : Set R) ⊆ ↑w from ?_)) (hm ⟨x, hxv⟩) |
| 31 | intro y hy |
| 32 | exact Finset.mem_biUnion.mpr ⟨⟨x, hxv⟩, Finset.mem_attach _ _, hy⟩ |
| 33 | |
| 34 | theorem fg_map_span_finite_subset {A : Type v} [CommRing A] |
| 35 | (φ : R →+* A) (s : Set R) (h : ((Ideal.span s).map φ).FG) : |
| 36 | ∃ t : Finset R, (↑t : Set R) ⊆ s ∧ (Ideal.span (↑t : Set R)).map φ = (Ideal.span s).map φ := by |
| 37 | classical |
| 38 | rw [Ideal.map_span] at h |
| 39 | obtain ⟨v, hv, he⟩ := fg_span_finite_subset (φ '' s) h |
| 40 | obtain ⟨t, ht, htv⟩ := Finset.subset_set_image_iff.mp hv |
| 41 | refine ⟨t, ht, ?_⟩ |
| 42 | rw [Ideal.map_span, Ideal.map_span, ← he, ← htv, Finset.coe_image] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.IdealGenerators |