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.DualNumber |
| 2 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | |
| 5 | /-! # Linear Detection -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.LinearDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ordinary complex dual-number quotients jointly detect a split |
| 12 | square-zero extension with an arbitrary complex coefficient space. -/ |
| 13 | |
| 14 | variable {M : Type*} [AddCommGroup M] [Module ℂ M] [Module ℂᵐᵒᵖ M] [IsCentralScalar ℂ M] |
| 15 | |
| 16 | theorem squareZero_linear_quotients_jointly_injective (x y : TrivSqZeroExt ℂ M) |
| 17 | (h : ∀ l : M →ₗ[ℂ] ℂ, TrivSqZeroExt.map l x = TrivSqZeroExt.map l y) : x = y := by |
| 18 | apply TrivSqZeroExt.ext |
| 19 | · simpa only [TrivSqZeroExt.fst_map] using congrArg TrivSqZeroExt.fst (h 0) |
| 20 | · apply sub_eq_zero.mp |
| 21 | apply (Module.forall_dual_apply_eq_zero_iff ℂ (x.snd - y.snd)).mp |
| 22 | intro l |
| 23 | rw [map_sub] |
| 24 | apply sub_eq_zero.mpr |
| 25 | simpa only [TrivSqZeroExt.snd_map] using congrArg TrivSqZeroExt.snd (h l) |
| 26 | |
| 27 | theorem squareZero_algebra_maps_ext {A : Type*} [CommRing A] [Algebra ℂ A] |
| 28 | (f g : A →ₐ[ℂ] TrivSqZeroExt ℂ M) |
| 29 | (h : ∀ l : M →ₗ[ℂ] ℂ, (TrivSqZeroExt.map l).comp f = (TrivSqZeroExt.map l).comp g) : f = g := by |
| 30 | apply AlgHom.ext |
| 31 | intro a |
| 32 | apply squareZero_linear_quotients_jointly_injective |
| 33 | intro l |
| 34 | exact DFunLike.congr_fun (h l) a |
| 35 | |
| 36 | theorem squareZero_ring_maps_ext {A : Type*} [CommRing A] |
| 37 | (f g : A →+* TrivSqZeroExt ℂ M) |
| 38 | (h : ∀ l : M →ₗ[ℂ] ℂ, (TrivSqZeroExt.map l).toRingHom.comp f = |
| 39 | (TrivSqZeroExt.map l).toRingHom.comp g) : f = g := by |
| 40 | apply RingHom.ext |
| 41 | intro a |
| 42 | apply squareZero_linear_quotients_jointly_injective |
| 43 | intro l |
| 44 | exact DFunLike.congr_fun (h l) a |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.LinearDetection |