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.AbelianModuli.ReferenceFamily.Intrinsic.ChernIntegralPeriods |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.MarkingRationalBasis |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.ChernPeriod |
| 4 | import Mathlib.LinearAlgebra.Matrix.BilinearForm |
| 5 | |
| 6 | /-! # Chern Matrix Nondegenerate -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.ChernMatrixNondegenerate |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The integral matrix of the original ample Chern form is |
| 13 | nondegenerate, as follows from its original rational period pairing. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 19 | |
| 20 | variable {ι : Type} [Fintype ι] [DecidableEq ι] (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 21 | (L : HilbertConstruction.Line.Bundles.LineBundle A.toOver.left) (b : Module.Basis ι ℤ (HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A)) |
| 22 | |
| 23 | theorem nativeIntegralChernMatrix_map : |
| 24 | (Intrinsic.ChernIntegralPeriods.nativeIntegralChernMatrix A L b).map (Int.castRingHom ℚ) = |
| 25 | LinearMap.BilinForm.toMatrix (MarkingRationalBasis.integralMarkingRationalBasis A b) (Intrinsic.ChernPairing.nativeChernForm A L) := by |
| 26 | ext i j |
| 27 | simp only [Matrix.map_apply, LinearMap.BilinForm.toMatrix_apply] |
| 28 | exact (Intrinsic.ChernIntegralPeriods.nativeIntegralChernMatrix_cast A L b i j).trans |
| 29 | (congrArg₂ (fun x y => Intrinsic.ChernPairing.nativeChernForm A L x y) |
| 30 | (MarkingRationalBasis.integralMarkingRationalBasis_eq A b i).symm (MarkingRationalBasis.integralMarkingRationalBasis_eq A b j).symm) |
| 31 | |
| 32 | theorem nativeIntegralChernMatrix_det_ne_zero (hL : L.IsAmple) : |
| 33 | (Intrinsic.ChernIntegralPeriods.nativeIntegralChernMatrix A L b).det ≠ 0 := by |
| 34 | have hs : (Intrinsic.ChernPairing.nativeChernForm A L).SeparatingLeft := |
| 35 | Intrinsic.ChernPeriod.nativeChernForm_separating A L hL |
| 36 | have hd : (LinearMap.BilinForm.toMatrix (MarkingRationalBasis.integralMarkingRationalBasis A b) |
| 37 | (Intrinsic.ChernPairing.nativeChernForm A L)).det ≠ 0 := |
| 38 | Matrix.separatingLeft_iff_det_ne_zero.mp |
| 39 | ((LinearMap.BilinForm.separatingLeft_toMatrix_iff (MarkingRationalBasis.integralMarkingRationalBasis A b)).mpr hs) |
| 40 | intro hz |
| 41 | apply hd |
| 42 | rw [← nativeIntegralChernMatrix_map] |
| 43 | have h := congrArg (Int.castRingHom ℚ) hz |
| 44 | rw [RingHom.map_det, map_zero] at h |
| 45 | exact h |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.ChernMatrixNondegenerate |