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.ComplexMultiplication.HodgeComparison.MetricCoefficientDivergence |
| 2 | |
| 3 | /-! # Hermitian Coefficient Smooth -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HermitianCoefficientSmooth.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth fixed-coordinate inverse-Hermitian coefficients and the actual |
| 10 | density-weighted coefficients used by the one-form adjoint. -/ |
| 11 | |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | section Matrix |
| 15 | |
| 16 | variable {E ι 𝕜 : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [Fintype ι] [DecidableEq ι] [RCLike 𝕜] {U : Set E} |
| 18 | |
| 19 | theorem matrix_determinant_smoothOn (M : E → Matrix ι ι 𝕜) |
| 20 | (hM : ∀ i j, ContDiffOn ℝ ∞ (fun x => M x i j) U) : |
| 21 | ContDiffOn ℝ ∞ (fun x => (M x).det) U := by |
| 22 | simp only [Matrix.det_apply'] |
| 23 | fun_prop |
| 24 | |
| 25 | theorem matrix_inverse_smoothOn (M : E → Matrix ι ι 𝕜) |
| 26 | (hM : ∀ i j, ContDiffOn ℝ ∞ (fun x => M x i j) U) |
| 27 | (hdet : ∀ x ∈ U, (M x).det ≠ 0) (i j : ι) : |
| 28 | ContDiffOn ℝ ∞ (fun x => (M x)⁻¹ i j) U := by |
| 29 | have hd := (matrix_determinant_smoothOn M hM).inv hdet |
| 30 | have ha : ContDiffOn ℝ ∞ (fun x => (M x).adjugate i j) U := by |
| 31 | simp only [Matrix.adjugate_apply] |
| 32 | apply matrix_determinant_smoothOn |
| 33 | intro k l |
| 34 | by_cases hkj : k = j |
| 35 | · subst k |
| 36 | simpa only [Matrix.updateRow_self] using |
| 37 | (contDiffOn_const (c := (Pi.single i 1 : ι → 𝕜) l)) |
| 38 | · simpa only [Matrix.updateRow_ne hkj] using hM k l |
| 39 | simp only [Matrix.inv_def, Ring.inverse_eq_inv, Matrix.smul_apply, smul_eq_mul] |
| 40 | exact hd.mul ha |
| 41 | |
| 42 | end Matrix |
| 43 | |
| 44 | theorem varietyHermitianMatrix_inverse_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 45 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 46 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 47 | {ι : Type*} [Fintype ι] [DecidableEq ι] (b : Module.Basis ι ℂ V.analyticModel) (i j : ι) : |
| 48 | ContDiffOn ℝ ∞ (fun y => (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e b y)⁻¹ i j) e.target := |
| 49 | matrix_inverse_smoothOn _ (fun i j => Analysis.HodgeTheory.Decomposition.Hermitian.Constructions.projectiveMetricHermitian_smooth V e he (b i) (b j)) |
| 50 | (fun _ hy => (HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_det_isUnit V e he b hy).ne_zero) i j |
| 51 | |
| 52 | def varietyWeightedHermitianInverse (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 53 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 54 | Matrix (Fin V.complexDimension) (Fin V.complexDimension) ℂ := |
| 55 | (Metric.CM.Construction.varietyMetricDensity V e z : ℂ) • |
| 56 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))⁻¹ |
| 57 | |
| 58 | theorem varietyWeightedHermitianInverse_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 59 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 60 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (i j : Fin V.complexDimension) : |
| 61 | ContDiffOn ℝ ∞ (fun z => varietyWeightedHermitianInverse V e z i j) |
| 62 | (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) := by |
| 63 | have hρ := Complex.ofRealCLM.contDiff.comp_contDiffOn (Metric.CM.Construction.varietyMetricDensity_smooth V e he) |
| 64 | have hP := (varietyHermitianMatrix_inverse_smooth V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) i j).comp |
| 65 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).contDiff.restrict_scalars ℝ).contDiffOn |
| 66 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates_mapsTo V e) |
| 67 | exact hρ.mul hP |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HermitianCoefficientSmooth.CM.Construction |