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.Algebra.Algebra.Basic |
| 2 | import Mathlib.Algebra.Module.Equiv.Basic |
| 3 | |
| 4 | /-! # Rank One Algebra Retraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RankOneAlgebraRetraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A module that embeds in its coefficient ring and has a split distinguished element is generated by that element. For an algebra with a linear retraction of its unit, such an embedding forces every element to be a scalar. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | theorem linear_splitElement_spans {R : Type u} [CommRing R] |
| 15 | {M : Type v} [AddCommGroup M] [Module R M] |
| 16 | (v : M) (σ φ : M →ₗ[R] R) (hσ : σ v = 1) (hφ : Function.Injective φ) (x : M) : |
| 17 | x = σ x • v := by |
| 18 | have hc : φ v • x = φ x • v := by |
| 19 | apply hφ |
| 20 | simp only [LinearMap.map_smul, smul_eq_mul, mul_comm] |
| 21 | have hs : φ v * σ x = φ x := by |
| 22 | have H := congrArg σ hc |
| 23 | simpa only [LinearMap.map_smul, smul_eq_mul, hσ, mul_one] using H |
| 24 | apply hφ |
| 25 | rw [LinearMap.map_smul, smul_eq_mul] |
| 26 | exact hs.symm.trans (mul_comm _ _) |
| 27 | |
| 28 | theorem algebraMap_bijective_of_linearEmbedding {R : Type u} [CommRing R] |
| 29 | {A : Type v} [CommRing A] [Algebra R A] |
| 30 | (σ φ : A →ₗ[R] R) (hσ : σ 1 = 1) (hφ : Function.Injective φ) : |
| 31 | Function.Bijective (algebraMap R A) := by |
| 32 | have hs (r : R) : σ (algebraMap R A r) = r := by |
| 33 | have H := σ.map_smul r (1 : A) |
| 34 | simpa only [Algebra.smul_def, mul_one, hσ, smul_eq_mul, Algebra.algebraMap_self, RingHom.id_apply] using H |
| 35 | refine ⟨Function.LeftInverse.injective hs, fun x => ?_⟩ |
| 36 | refine ⟨σ x, ?_⟩ |
| 37 | have H := linear_splitElement_spans (1 : A) σ φ hσ hφ x |
| 38 | simpa only [Algebra.smul_def, mul_one] using H.symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RankOneAlgebraRetraction |