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.Metric |
| 2 | |
| 3 | /-! # Metric Jacobian -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricJacobian.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual metric volume density transforms by the absolute Jacobian. -/ |
| 10 | |
| 11 | open scoped ContDiff _root_.Manifold |
| 12 | open Set |
| 13 | |
| 14 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 16 | |
| 17 | def pullbackBilinear (B : E →L[ℝ] E →L[ℝ] ℝ) (L : E →L[ℝ] E) : E →L[ℝ] E →L[ℝ] ℝ := |
| 18 | ((ContinuousLinearMap.compL ℝ E E ℝ).flip L).comp (B.comp L) |
| 19 | |
| 20 | theorem pullbackBilinear_apply (B : E →L[ℝ] E →L[ℝ] ℝ) (L : E →L[ℝ] E) (u v : E) : |
| 21 | pullbackBilinear B L u v = B (L u) (L v) := rfl |
| 22 | |
| 23 | theorem metricMatrix_pullback (b : Module.Basis ι ℝ E) |
| 24 | (B : E →L[ℝ] E →L[ℝ] ℝ) (L : E →L[ℝ] E) : |
| 25 | Metric.CM.Construction.metricMatrix b (pullbackBilinear B L) = |
| 26 | (LinearMap.toMatrix b b L.toLinearMap).transpose * Metric.CM.Construction.metricMatrix b B * |
| 27 | LinearMap.toMatrix b b L.toLinearMap := by |
| 28 | have h : Metric.CM.Construction.bilinearUnderlying (pullbackBilinear B L) = |
| 29 | (Metric.CM.Construction.bilinearUnderlying B).comp L.toLinearMap L.toLinearMap := rfl |
| 30 | rw [Metric.CM.Construction.metricMatrix, h] |
| 31 | exact LinearMap.BilinForm.toMatrix_comp b b _ _ _ |
| 32 | |
| 33 | theorem metricMatrix_det_pullback (b : Module.Basis ι ℝ E) |
| 34 | (B : E →L[ℝ] E →L[ℝ] ℝ) (L : E →L[ℝ] E) : |
| 35 | (Metric.CM.Construction.metricMatrix b (pullbackBilinear B L)).det = |
| 36 | (LinearMap.det L.toLinearMap) ^ 2 * (Metric.CM.Construction.metricMatrix b B).det := by |
| 37 | rw [metricMatrix_pullback, Matrix.det_mul, Matrix.det_mul, Matrix.det_transpose, |
| 38 | LinearMap.det_toMatrix] |
| 39 | ring |
| 40 | |
| 41 | theorem metricDensity_pullback (b : Module.Basis ι ℝ E) |
| 42 | (B : E →L[ℝ] E →L[ℝ] ℝ) (L : E →L[ℝ] E) : |
| 43 | Metric.CM.Construction.metricDensity b (pullbackBilinear B L) = |
| 44 | |LinearMap.det L.toLinearMap| * Metric.CM.Construction.metricDensity b B := by |
| 45 | unfold Metric.CM.Construction.metricDensity |
| 46 | rw [metricMatrix_det_pullback, Real.sqrt_mul (sq_nonneg _), Real.sqrt_sq_eq_abs] |
| 47 | |
| 48 | def varietyEuclideanTransition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 49 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) : |
| 50 | EuclideanMetric.CM.Construction.varietyEuclideanModel V → EuclideanMetric.CM.Construction.varietyEuclideanModel V := |
| 51 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm ∘ (f ∘ e.symm) ∘ EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V |
| 52 | |
| 53 | theorem varietyEuclideanTransition_hasFDerivAt (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 54 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 55 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 56 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 57 | (hfz : e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) : |
| 58 | HasFDerivAt (varietyEuclideanTransition V e f) |
| 59 | (((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.toContinuousLinearMap.restrictScalars ℝ).comp |
| 60 | ((fderiv ℝ (f ∘ e.symm) (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)).comp |
| 61 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ))) z := by |
| 62 | have ht := (Analysis.DifferentialForms.Manifold.Charts.contDiffAt_chart_transition e f he hf hz hfz).differentiableAt (by simp) |
| 63 | have hL : HasFDerivAt (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V) |
| 64 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ) z := |
| 65 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ).hasFDerivAt |
| 66 | have hLi : HasFDerivAt (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm |
| 67 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.toContinuousLinearMap.restrictScalars ℝ) |
| 68 | (f (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))) := |
| 69 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.toContinuousLinearMap.restrictScalars ℝ).hasFDerivAt |
| 70 | exact hLi.comp z (ht.hasFDerivAt.comp z hL) |
| 71 | |
| 72 | theorem varietyEuclideanMetric_transition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 73 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 74 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 75 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 76 | (hfz : e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) : |
| 77 | EuclideanMetric.CM.Construction.varietyEuclideanMetric V e z = |
| 78 | pullbackBilinear (EuclideanMetric.CM.Construction.varietyEuclideanMetric V f (varietyEuclideanTransition V e f z)) |
| 79 | (fderiv ℝ (varietyEuclideanTransition V e f) z) := by |
| 80 | ext u v |
| 81 | rw [pullbackBilinear_apply, EuclideanMetric.CM.Construction.varietyEuclideanMetric_apply, EuclideanMetric.CM.Construction.varietyEuclideanMetric_apply, |
| 82 | (varietyEuclideanTransition_hasFDerivAt V e f he hf hz hfz).fderiv] |
| 83 | simp only [varietyEuclideanTransition, Function.comp_apply, ContinuousLinearMap.comp_apply, |
| 84 | ContinuousLinearEquiv.apply_symm_apply] |
| 85 | exact KahlerDifferential.CM.Construction.varietyMetricInChart_transition V e f he hf hz hfz _ _ |
| 86 | |
| 87 | theorem varietyMetricDensity_transition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 88 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 89 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 90 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 91 | (hfz : e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) : |
| 92 | Metric.CM.Construction.varietyMetricDensity V e z = |
| 93 | |LinearMap.det (fderiv ℝ (varietyEuclideanTransition V e f) z).toLinearMap| * |
| 94 | Metric.CM.Construction.varietyMetricDensity V f (varietyEuclideanTransition V e f z) := by |
| 95 | unfold Metric.CM.Construction.varietyMetricDensity |
| 96 | rw [varietyEuclideanMetric_transition V e f he hf hz hfz, metricDensity_pullback] |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricJacobian.CM.Construction |