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.IdealTensor.BaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.CoefficientExtension |
| 3 | import Mathlib.LinearAlgebra.Finsupp.LinearCombination |
| 4 | |
| 5 | /-! # Extended Ideal Coefficients -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ExtendedIdealCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finitely many elements of an extended ideal already come from |
| 12 | one finite intermediate coefficient algebra. -/ |
| 13 | |
| 14 | open TensorProduct |
| 15 | |
| 16 | universe u v w |
| 17 | variable {B : Type u} [CommRing B] {A : Type v} [CommRing A] [Algebra B A] |
| 18 | variable (C : Subalgebra B A) [Algebra.FiniteType B C] |
| 19 | variable (I : Ideal B) {κ : Type w} [Fintype κ] |
| 20 | |
| 21 | theorem finite_extended_ideal_coefficients (y : κ → I.map (algebraMap B A)) : |
| 22 | ∃ D : Subalgebra B A, C ≤ D ∧ Algebra.FiniteType B D ∧ |
| 23 | ∀ i, ∃ z : I.map (algebraMap B D), D.val z.val = (y i).val := by |
| 24 | classical |
| 25 | have hr : Set.range (fun r : I => algebraMap B A r.val) = (algebraMap B A) '' (I : Set B) := by |
| 26 | ext a |
| 27 | constructor |
| 28 | · rintro ⟨r, rfl⟩ |
| 29 | exact ⟨r.val, r.property, rfl⟩ |
| 30 | · rintro ⟨r, hr, rfl⟩ |
| 31 | exact ⟨⟨r, hr⟩, rfl⟩ |
| 32 | have hc (i : κ) : ∃ c : I →₀ A, (c.sum fun r a => a • algebraMap B A r.val) = (y i).val := by |
| 33 | apply Finsupp.mem_span_range_iff_exists_finsupp.mp |
| 34 | rw [hr] |
| 35 | exact (y i).property |
| 36 | choose c hc using hc |
| 37 | let J := Σ i : κ, (c i).support |
| 38 | let v : J → A := fun p => c p.1 p.2.val |
| 39 | let D := CoefficientExtension.finiteCoefficientExtension C v |
| 40 | let d (i : κ) (r : (c i).support) : D := |
| 41 | ⟨c i r.val, CoefficientExtension.mem_finiteCoefficientExtension C v ⟨i, r⟩⟩ |
| 42 | let z (i : κ) : D := ∑ r : (c i).support, d i r * algebraMap B D r.val.val |
| 43 | refine ⟨D, CoefficientExtension.le_finiteCoefficientExtension C v, inferInstance, fun i => ?_⟩ |
| 44 | have hz : z i ∈ I.map (algebraMap B D) := by |
| 45 | apply Submodule.sum_mem |
| 46 | intro r _ |
| 47 | exact Ideal.mul_mem_left _ _ (Ideal.mem_map_of_mem _ r.val.property) |
| 48 | refine ⟨⟨z i, hz⟩, ?_⟩ |
| 49 | change D.val (∑ r : (c i).support, d i r * algebraMap B D r.val.val) = (y i).val |
| 50 | simp only [map_sum, map_mul, AlgHom.commutes] |
| 51 | change ∑ r : (c i).support, c i r.val * algebraMap B A r.val.val = (y i).val |
| 52 | rw [Finset.univ_eq_attach, Finset.sum_attach (c i).support |
| 53 | (fun r : I => c i r * algebraMap B A r.val)] |
| 54 | simpa only [Finsupp.sum, smul_eq_mul] using hc i |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ExtendedIdealCoefficients |