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.Module.Projective |
| 2 | |
| 3 | /-! # Quotient Retraction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientRetraction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A submodule with projective quotient admits an actual linear retraction. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 14 | |
| 15 | theorem exists_projective_quotient_retraction (p : Submodule R M) [Module.Projective R (M ⧸ p)] : |
| 16 | ∃ r : M →ₗ[R] p, r.comp p.subtype = LinearMap.id := by |
| 17 | obtain ⟨s, hs⟩ := Module.projective_lifting_property p.mkQ LinearMap.id p.mkQ_surjective |
| 18 | let r : M →ₗ[R] p := (LinearMap.id - s.comp p.mkQ).codRestrict p (by |
| 19 | intro x |
| 20 | apply (Submodule.Quotient.mk_eq_zero p).mp |
| 21 | change p.mkQ (x - s (p.mkQ x)) = 0 |
| 22 | rw [map_sub, ← LinearMap.comp_apply, hs, LinearMap.id_apply, sub_self]) |
| 23 | refine ⟨r, ?_⟩ |
| 24 | apply LinearMap.ext |
| 25 | intro x |
| 26 | apply Subtype.ext |
| 27 | change x.val - s (p.mkQ x.val) = x.val |
| 28 | have hx : p.mkQ x.val = 0 := (Submodule.Quotient.mk_eq_zero p).mpr x.property |
| 29 | rw [hx, map_zero, sub_zero] |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientRetraction |