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.LinearAlgebra.Isomorphisms |
| 2 | |
| 3 | /-! # Surjective Linear Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.SurjectiveLinearCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two surjective linear maps with equal kernels give compatible target coordinates. -/ |
| 10 | |
| 11 | universe u v w t |
| 12 | variable {R : Type u} [Ring R] |
| 13 | variable {M : Type v} {N : Type w} {P : Type t} |
| 14 | variable [AddCommGroup M] [AddCommGroup N] [AddCommGroup P] |
| 15 | variable [Module R M] [Module R N] [Module R P] |
| 16 | |
| 17 | def surjectiveLinearCoordinates (f : M →ₗ[R] N) (g : M →ₗ[R] P) |
| 18 | (hf : Function.Surjective f) (hg : Function.Surjective g) (hk : f.ker = g.ker) : N ≃ₗ[R] P := |
| 19 | (f.quotKerEquivOfSurjective hf).symm.trans |
| 20 | ((Submodule.quotEquivOfEq _ _ hk).trans (g.quotKerEquivOfSurjective hg)) |
| 21 | |
| 22 | theorem surjectiveLinearCoordinates_apply (f : M →ₗ[R] N) (g : M →ₗ[R] P) |
| 23 | (hf : Function.Surjective f) (hg : Function.Surjective g) (hk : f.ker = g.ker) (x : M) : |
| 24 | surjectiveLinearCoordinates f g hf hg hk (f x) = g x := by |
| 25 | simp only [surjectiveLinearCoordinates, LinearEquiv.trans_apply, |
| 26 | LinearMap.quotKerEquivOfSurjective_symm_apply, Submodule.quotEquivOfEq_mk, |
| 27 | LinearMap.quotKerEquivOfSurjective_apply_mk] |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.SurjectiveLinearCoordinates |