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.AbelianModuli.HilbertConstruction.SplitEvaluationCokernel |
| 2 | |
| 3 | /-! # Row Linear Equivalence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.RowLinearEquivalence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Unit rescaling of rows is a linear equivalence. It preserves the |
| 10 | projective-cokernel conclusion of a split-surjective factorization. -/ |
| 11 | universe u v w z |
| 12 | variable {R : Type u} [CommRing R] {ι : Type v} |
| 13 | |
| 14 | def unitRowLinearEquiv (a : ι → Rˣ) : (ι → R) ≃ₗ[R] (ι → R) where |
| 15 | toFun x i := (a i : R) * x i |
| 16 | invFun x i := (↑((a i)⁻¹) : R) * x i |
| 17 | left_inv x := by |
| 18 | funext i |
| 19 | change (↑((a i)⁻¹) : R) * ((a i : R) * x i) = x i |
| 20 | rw [← mul_assoc, Units.inv_mul, one_mul] |
| 21 | right_inv x := by |
| 22 | funext i |
| 23 | change (a i : R) * ((↑((a i)⁻¹) : R) * x i) = x i |
| 24 | rw [← mul_assoc, Units.mul_inv, one_mul] |
| 25 | map_add' x y := by |
| 26 | funext i |
| 27 | exact mul_add _ _ _ |
| 28 | map_smul' r x := by |
| 29 | funext i |
| 30 | change (a i : R) * (r * x i) = r * ((a i : R) * x i) |
| 31 | ring |
| 32 | |
| 33 | theorem projective_cokernel_of_rescaled_split_factorization |
| 34 | {M : Type v} [AddCommGroup M] [Module R M] |
| 35 | {N : Type w} [AddCommGroup N] [Module R N] [Module.Projective R N] |
| 36 | {V : Type z} [AddCommGroup V] [Module R V] |
| 37 | (e : N ≃ₗ[R] N) (f : M →ₗ[R] N) (g : N →ₗ[R] M) (hgf : g.comp f = LinearMap.id) |
| 38 | (q : V →ₗ[R] M) (hq : Function.Surjective q) : |
| 39 | Module.Projective R (N ⧸ (e.toLinearMap.comp (f.comp q)).range) := by |
| 40 | have h : (g.comp e.symm.toLinearMap).comp (e.toLinearMap.comp f) = LinearMap.id := by |
| 41 | apply LinearMap.ext |
| 42 | intro x |
| 43 | change g (e.symm (e (f x))) = x |
| 44 | rw [e.symm_apply_apply] |
| 45 | exact LinearMap.congr_fun hgf x |
| 46 | exact SplitEvaluationCokernel.projective_cokernel_of_split_surjective_factorization |
| 47 | (e.toLinearMap.comp f) (g.comp e.symm.toLinearMap) h q hq |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.RowLinearEquivalence |