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.Analysis.Normed.Module.FiniteDimension |
| 2 | import Mathlib.LinearAlgebra.FiniteDimensional.Basic |
| 3 | import Mathlib.Analysis.Complex.CauchyIntegral |
| 4 | |
| 5 | /-! # Linear Coordinate Direction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.LinearCoordinateDirection.AnalyticLocal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero complex direction can be made a coordinate axis by a |
| 12 | continuous linear change of coordinates. -/ |
| 13 | |
| 14 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 15 | |
| 16 | theorem exists_coordinate_linear_equiv (u v : E) (hu : u ≠ 0) (hv : v ≠ 0) : |
| 17 | ∃ e : E ≃L[ℂ] E, e u = v := by |
| 18 | let eu := LinearEquiv.toSpanNonzeroSingleton ℂ E u hu |
| 19 | let ev := LinearEquiv.toSpanNonzeroSingleton ℂ E v hv |
| 20 | let f := eu.symm.trans ev |
| 21 | obtain ⟨g, hg⟩ := Submodule.exists_linearEquiv_restrict_eq f |
| 22 | refine ⟨g.toContinuousLinearEquiv, ?_⟩ |
| 23 | change g u = v |
| 24 | calc |
| 25 | g u = g (eu 1) := by simp [eu] |
| 26 | _ = f (eu 1) := (hg (eu 1)).symm |
| 27 | _ = v := by simp [f, ev] |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.Comparison.Betti.LinearCoordinateDirection.AnalyticLocal |