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.MatrixUnits |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.MatrixFrameBasis |
| 3 | |
| 4 | /-! # Local Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.LocalFrames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A holomorphic family that is a basis at one point gives an actual module basis nearby. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | |
| 14 | variable {E F ι : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 15 | [NormedAddCommGroup F] [NormedSpace ℂ F] [Fintype ι] [DecidableEq ι] |
| 16 | {U V : Opens E} |
| 17 | |
| 18 | def holomorphicSectionFrameMatrix (U : Opens E) (b : Module.Basis ι ℂ F) |
| 19 | (a : ι → CoefficientMem.holomorphicSections U F) : Matrix ι ι (FunctionPure.holomorphicFunctions U) := |
| 20 | fun i j => SectionFrames.holomorphicSectionsBasisEquiv U b (a j) i |
| 21 | |
| 22 | omit [DecidableEq ι] in |
| 23 | theorem holomorphicSectionFrameMatrix_restrict (h : V ≤ U) (b : Module.Basis ι ℂ F) |
| 24 | (a : ι → CoefficientMem.holomorphicSections U F) : |
| 25 | holomorphicSectionFrameMatrix V b (fun j => Restrictions.holomorphicSectionRestrict h (a j)) = |
| 26 | (holomorphicSectionFrameMatrix U b a).map (Restrictions.holomorphicFunctionRestrict h) := rfl |
| 27 | |
| 28 | def holomorphicSectionBasisOfMatrixUnit (b : Module.Basis ι ℂ F) |
| 29 | (a : ι → CoefficientMem.holomorphicSections U F) (h : IsUnit (holomorphicSectionFrameMatrix U b a)) : |
| 30 | Module.Basis ι (FunctionPure.holomorphicFunctions U) (CoefficientMem.holomorphicSections U F) := |
| 31 | (MatrixFrameBasis.LinearAlgebra.basisOfUnitMatrix (holomorphicSectionFrameMatrix U b a) h).map |
| 32 | (SectionFrames.holomorphicSectionsBasisEquiv U b).symm |
| 33 | |
| 34 | theorem holomorphicSectionBasisOfMatrixUnit_apply (b : Module.Basis ι ℂ F) |
| 35 | (a : ι → CoefficientMem.holomorphicSections U F) (h : IsUnit (holomorphicSectionFrameMatrix U b a)) (j : ι) : |
| 36 | holomorphicSectionBasisOfMatrixUnit b a h j = a j := by |
| 37 | apply (SectionFrames.holomorphicSectionsBasisEquiv U b).injective |
| 38 | change SectionFrames.holomorphicSectionsBasisEquiv U b |
| 39 | ((SectionFrames.holomorphicSectionsBasisEquiv U b).symm |
| 40 | (MatrixFrameBasis.LinearAlgebra.basisOfUnitMatrix (holomorphicSectionFrameMatrix U b a) h j)) = _ |
| 41 | rw [LinearEquiv.apply_symm_apply] |
| 42 | funext i |
| 43 | exact MatrixFrameBasis.LinearAlgebra.basisOfUnitMatrix_apply _ h i j |
| 44 | |
| 45 | theorem exists_holomorphicSection_localBasis (b : Module.Basis ι ℂ F) |
| 46 | (a : ι → CoefficientMem.holomorphicSections U F) (x : U) |
| 47 | (hx : LinearIndependent ℂ (fun j => (a j).val x)) : |
| 48 | ∃ (V : Opens E) (h : V ≤ U), (x : E) ∈ V ∧ |
| 49 | ∃ c : Module.Basis ι (FunctionPure.holomorphicFunctions V) (CoefficientMem.holomorphicSections V F), |
| 50 | ∀ j, c j = Restrictions.holomorphicSectionRestrict h (a j) := by |
| 51 | let A := holomorphicSectionFrameMatrix U b a |
| 52 | have hi : LinearIndependent ℂ ((A.map (MatrixUnits.holomorphicFunctionEvaluation x)).col) := |
| 53 | hx.map' b.equivFun.toLinearMap (LinearMap.ker_eq_bot.mpr b.equivFun.injective) |
| 54 | have hd : (A.map (MatrixUnits.holomorphicFunctionEvaluation x)).det ≠ 0 := |
| 55 | ((Matrix.isUnit_iff_isUnit_det _).mp (Matrix.linearIndependent_cols_iff_isUnit.mp hi)).ne_zero |
| 56 | obtain ⟨V, h, hxV, hA⟩ := MatrixUnits.exists_restrict_holomorphicMatrix_isUnit A x hd |
| 57 | have hB : IsUnit |
| 58 | (holomorphicSectionFrameMatrix V b (fun j => Restrictions.holomorphicSectionRestrict h (a j))) := by |
| 59 | rw [holomorphicSectionFrameMatrix_restrict] |
| 60 | exact hA |
| 61 | exact ⟨V, h, hxV, holomorphicSectionBasisOfMatrixUnit b _ hB, |
| 62 | holomorphicSectionBasisOfMatrixUnit_apply b _ hB⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.LocalFrames |