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.Projective |
| 2 | import Mathlib.LinearAlgebra.Pi |
| 3 | import Mathlib.RingTheory.Ideal.Maps |
| 4 | |
| 5 | /-! # Projective Dual Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ProjectiveDualIdeal.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ideal membership detected by the dual of a finite projective module. -/ |
| 12 | |
| 13 | variable {R S M : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 14 | [AddCommGroup M] [Module R M] [Module.Finite R M] [Module.Projective R M] |
| 15 | |
| 16 | /-- If every base-valued linear functional takes a module element into an |
| 17 | ideal, every scalar-extended linear functional takes it into the extended ideal. -/ |
| 18 | theorem projective_linearMap_mem_ideal_map (I : Ideal R) (x : M) |
| 19 | (hx : ∀ l : M →ₗ[R] R, l x ∈ I) (F : M →ₗ[R] S) : |
| 20 | F x ∈ I.map (algebraMap R S) := by |
| 21 | classical |
| 22 | obtain ⟨n, f, g, _, _, hfg⟩ := Module.Finite.exists_comp_eq_id_of_projective R M |
| 23 | have hfx : f (g x) = x := LinearMap.congr_fun hfg x |
| 24 | rw [← hfx, ← Finset.univ_sum_single (g x), map_sum, map_sum] |
| 25 | apply Submodule.sum_mem |
| 26 | intro i _ |
| 27 | have hcoord : g x i ∈ I := hx ((LinearMap.proj i).comp g) |
| 28 | have hsingle : Pi.single i (g x i) = (g x i) • Pi.single i (1 : R) := by |
| 29 | ext j |
| 30 | by_cases hij : i = j |
| 31 | · subst j |
| 32 | simp |
| 33 | · simp [Ne.symm hij] |
| 34 | rw [hsingle, map_smul, map_smul, Algebra.smul_def] |
| 35 | exact Ideal.mul_mem_right _ _ (Ideal.mem_map_of_mem _ hcoord) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Resolution.Blowups.ProjectiveDualIdeal.Construction |