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.Prod |
| 2 | |
| 3 | /-! # Kernel Transport Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KernelTransportEquiv.KernelTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport of a kernel through an actual linear equivalence. -/ |
| 10 | |
| 11 | variable {R A B C : Type*} [CommRing R] |
| 12 | variable [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 13 | variable [AddCommGroup C] [Module R C] |
| 14 | |
| 15 | def equiv (e : A ≃ₗ[R] B) (f : A →ₗ[R] C) (g : B →ₗ[R] C) |
| 16 | (h : g.comp e.toLinearMap = f) : f.ker ≃ₗ[R] g.ker where |
| 17 | toFun x := ⟨e x.val, by |
| 18 | change g (e x.val) = 0 |
| 19 | exact (LinearMap.congr_fun h x.val).trans x.property⟩ |
| 20 | invFun y := ⟨e.symm y.val, by |
| 21 | change f (e.symm y.val) = 0 |
| 22 | rw [← h, LinearMap.comp_apply] |
| 23 | change g (e (e.symm y.val)) = 0 |
| 24 | rw [e.apply_symm_apply] |
| 25 | exact y.property⟩ |
| 26 | left_inv x := Subtype.ext (e.symm_apply_apply x.val) |
| 27 | right_inv y := Subtype.ext (e.apply_symm_apply y.val) |
| 28 | map_add' x y := Subtype.ext (e.map_add _ _) |
| 29 | map_smul' r x := Subtype.ext (e.map_smul _ _) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KernelTransportEquiv.KernelTransport |