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.Comparison.Betti.Holomorphic.FunctionUnits |
| 2 | import Mathlib.LinearAlgebra.Matrix.NonsingularInverse |
| 3 | |
| 4 | /-! # Matrix Units -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.MatrixUnits |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A holomorphic matrix invertible at a point has an actual holomorphic inverse nearby. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | |
| 14 | variable {E ι : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 15 | [Fintype ι] [DecidableEq ι] {U : Opens E} |
| 16 | |
| 17 | def holomorphicFunctionEvaluation (x : U) : FunctionPure.holomorphicFunctions U →+* ℂ where |
| 18 | toFun f := f.val x |
| 19 | map_one' := rfl |
| 20 | map_mul' _ _ := rfl |
| 21 | map_zero' := rfl |
| 22 | map_add' _ _ := rfl |
| 23 | |
| 24 | theorem exists_restrict_holomorphicMatrix_isUnit (A : Matrix ι ι (FunctionPure.holomorphicFunctions U)) |
| 25 | (x : U) (hx : (A.map (holomorphicFunctionEvaluation x)).det ≠ 0) : |
| 26 | ∃ (V : Opens E) (h : V ≤ U), (x : E) ∈ V ∧ |
| 27 | IsUnit (A.map (Restrictions.holomorphicFunctionRestrict h)) := by |
| 28 | have hd : A.det.val x ≠ 0 := by |
| 29 | change holomorphicFunctionEvaluation x A.det ≠ 0 |
| 30 | rwa [(holomorphicFunctionEvaluation x).map_det] |
| 31 | obtain ⟨V, h, hxV, hdet⟩ := FunctionUnits.exists_restrict_holomorphicFunction_isUnit A.det x hd |
| 32 | refine ⟨V, h, hxV, (Matrix.isUnit_iff_isUnit_det _).mpr ?_⟩ |
| 33 | exact ((Restrictions.holomorphicFunctionRestrict h).toRingHom.map_det A) ▸ hdet |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.MatrixUnits |