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.MetricJacobian |
| 2 | import Mathlib.MeasureTheory.Function.Jacobian |
| 3 | |
| 4 | /-! # Metric Integration -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricIntegration.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Change of coordinates for integration against the actual projective metric. -/ |
| 11 | |
| 12 | open scoped ContDiff _root_.Manifold ENNReal |
| 13 | open Set _root_.MeasureTheory |
| 14 | |
| 15 | theorem varietyEuclideanTransition_injOn (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 16 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 17 | {S : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (heS : S ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 18 | (hfS : ∀ z ∈ S, e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) : |
| 19 | InjOn (MetricJacobian.CM.Construction.varietyEuclideanTransition V e f) S := by |
| 20 | intro z hz w hw h |
| 21 | apply (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).injective |
| 22 | apply e.symm.injOn (heS hz) (heS hw) |
| 23 | apply f.injOn (hfS z hz) (hfS w hw) |
| 24 | exact (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.injective h |
| 25 | |
| 26 | theorem varietyEuclideanTransition_inverse_point (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 27 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 28 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} |
| 29 | (hfz : e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) : |
| 30 | f.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V (MetricJacobian.CM.Construction.varietyEuclideanTransition V e f z)) = |
| 31 | e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) := by |
| 32 | simp only [MetricJacobian.CM.Construction.varietyEuclideanTransition, Function.comp_apply, |
| 33 | ContinuousLinearEquiv.apply_symm_apply, f.left_inv hfz] |
| 34 | |
| 35 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 36 | |
| 37 | /-- Integrals of a manifold function, computed with the genuine metric density, |
| 38 | agree in overlapping Euclidean chart coordinates. -/ |
| 39 | theorem varietyMetric_integral_transition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 40 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 41 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 42 | {S : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hS : MeasurableSet S) |
| 43 | (heS : S ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 44 | (hfS : ∀ z ∈ S, e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) |
| 45 | (h : V.analyticSpace → F) : |
| 46 | (∫ w in MetricJacobian.CM.Construction.varietyEuclideanTransition V e f '' S, |
| 47 | Metric.CM.Construction.varietyMetricDensity V f w • h (f.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))) = |
| 48 | ∫ z in S, Metric.CM.Construction.varietyMetricDensity V e z • h (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) := by |
| 49 | rw [integral_image_eq_integral_abs_det_fderiv_smul volume hS |
| 50 | (fun z hz => (MetricJacobian.CM.Construction.varietyEuclideanTransition_hasFDerivAt V e f he hf (heS hz) (hfS z hz)).differentiableAt.hasFDerivAt.hasFDerivWithinAt) |
| 51 | (varietyEuclideanTransition_injOn V e f heS hfS)] |
| 52 | apply setIntegral_congr_fun hS |
| 53 | intro z hz |
| 54 | dsimp only |
| 55 | rw [varietyEuclideanTransition_inverse_point V e f (hfS z hz), smul_smul, |
| 56 | ← MetricJacobian.CM.Construction.varietyMetricDensity_transition V e f he hf (heS hz) (hfS z hz)] |
| 57 | |
| 58 | /-- The nonnegative integration identity, used to compare the local volume measures. -/ |
| 59 | theorem varietyMetric_lintegral_transition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 60 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 61 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 62 | {S : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hS : MeasurableSet S) |
| 63 | (heS : S ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 64 | (hfS : ∀ z ∈ S, e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) ∈ f.source) |
| 65 | (h : V.analyticSpace → ℝ≥0∞) : |
| 66 | (∫⁻ w in MetricJacobian.CM.Construction.varietyEuclideanTransition V e f '' S, |
| 67 | ENNReal.ofReal (Metric.CM.Construction.varietyMetricDensity V f w) * h (f.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))) = |
| 68 | ∫⁻ z in S, ENNReal.ofReal (Metric.CM.Construction.varietyMetricDensity V e z) * h (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) := by |
| 69 | rw [lintegral_image_eq_lintegral_abs_det_fderiv_mul volume hS |
| 70 | (fun z hz => (MetricJacobian.CM.Construction.varietyEuclideanTransition_hasFDerivAt V e f he hf (heS hz) (hfS z hz)).differentiableAt.hasFDerivAt.hasFDerivWithinAt) |
| 71 | (varietyEuclideanTransition_injOn V e f heS hfS)] |
| 72 | apply setLIntegral_congr_fun hS |
| 73 | intro z hz |
| 74 | dsimp only |
| 75 | rw [varietyEuclideanTransition_inverse_point V e f (hfS z hz), ← mul_assoc, |
| 76 | ← ENNReal.ofReal_mul (abs_nonneg _), |
| 77 | ← MetricJacobian.CM.Construction.varietyMetricDensity_transition V e f he hf (heS hz) (hfS z hz)] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricIntegration.CM.Construction |