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 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 3 | |
| 4 | /-! # Kernel Graph Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.KernelGraphCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The free-coordinate projection identifies a Jacobian kernel with |
| 11 | the free tangent coordinates whenever its selected block is invertible. -/ |
| 12 | |
| 13 | variable {K U V W : Type*} [Field K] [AddCommGroup U] [Module K U] |
| 14 | [AddCommGroup V] [Module K V] [AddCommGroup W] [Module K W] |
| 15 | |
| 16 | def kernelFreeProjection (F : (U × V) →ₗ[K] W) : F.ker →ₗ[K] U := |
| 17 | (LinearMap.fst K U V).comp F.ker.subtype |
| 18 | |
| 19 | theorem kernelFreeProjection_bijective (F : (U × V) →ₗ[K] W) |
| 20 | (e : V ≃ₗ[K] W) (he : ∀ v, F (0, v) = e v) : |
| 21 | Function.Bijective (kernelFreeProjection F) := by |
| 22 | constructor |
| 23 | · intro x y h |
| 24 | apply Subtype.ext |
| 25 | apply Prod.ext |
| 26 | · exact h |
| 27 | · have hd : F (0, x.val.2 - y.val.2) = 0 := by |
| 28 | have hz : (0, x.val.2 - y.val.2) = x.val - y.val := by |
| 29 | apply Prod.ext |
| 30 | · exact (sub_eq_zero.mpr h).symm |
| 31 | · rfl |
| 32 | rw [hz, map_sub, x.property, y.property, sub_self] |
| 33 | rw [he] at hd |
| 34 | exact sub_eq_zero.mp (e.injective (hd.trans e.map_zero.symm)) |
| 35 | · intro u |
| 36 | let v := -e.symm (F (u, 0)) |
| 37 | have hv : F (u, v) = 0 := by |
| 38 | have hz : (u, v) = (u, 0) + (0, v) := by simp |
| 39 | rw [hz, map_add, he] |
| 40 | dsimp only [v] |
| 41 | rw [map_neg, e.apply_symm_apply, add_neg_cancel] |
| 42 | exact ⟨⟨(u, v), hv⟩, rfl⟩ |
| 43 | |
| 44 | def kernelFreeEquiv (F : (U × V) →ₗ[K] W) |
| 45 | (e : V ≃ₗ[K] W) (he : ∀ v, F (0, v) = e v) : F.ker ≃ₗ[K] U := |
| 46 | LinearEquiv.ofBijective (kernelFreeProjection F) (kernelFreeProjection_bijective F e he) |
| 47 | |
| 48 | theorem kernelFreeEquiv_inverse_characterization (F : (U × V) →ₗ[K] W) |
| 49 | (e : V ≃ₗ[K] W) (he : ∀ v, F (0, v) = e v) |
| 50 | (u : U) (w : U × V) (hw : F w = 0) (hfirst : w.1 = u) : |
| 51 | (kernelFreeEquiv F e he).symm u = ⟨w, hw⟩ := by |
| 52 | apply (kernelFreeEquiv F e he).injective |
| 53 | exact ((kernelFreeEquiv F e he).apply_symm_apply u).trans hfirst.symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.KernelGraphCoordinates |