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.CovectorMetric |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalMetricCoefficient |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.OneFormFrameChange |
| 4 | |
| 5 | /-! # Metric Energy Invariant -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricEnergyInvariant.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine global projective metric energy agrees pointwise with |
| 12 | the inverse-metric covector pairing in every actual chart. -/ |
| 13 | |
| 14 | open Set |
| 15 | |
| 16 | theorem positive_metric_pullback_surjective {E : Type*} [NormedAddCommGroup E] |
| 17 | [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | (B D : E →L[ℝ] E →L[ℝ] ℝ) (T : E →L[ℝ] E) |
| 19 | (hB : ∀ u : E, u ≠ 0 → 0 < B u u) |
| 20 | (hBD : ∀ u v : E, B u v = D (T u) (T v)) : Function.Surjective T := by |
| 21 | have hzero (u : E) (hu : T u = 0) : u = 0 := by |
| 22 | by_contra hne |
| 23 | have hp := hB u hne |
| 24 | rw [hBD u u, hu, map_zero] at hp |
| 25 | exact (lt_irrefl (0 : ℝ)) hp |
| 26 | have hinj : Function.Injective T := by |
| 27 | intro u v h |
| 28 | apply sub_eq_zero.mp |
| 29 | apply hzero |
| 30 | rw [map_sub, h, sub_self] |
| 31 | exact (LinearMap.injective_iff_surjective (f := T.toLinearMap)).mp hinj |
| 32 | |
| 33 | theorem varietyEuclideanMetric_at_point_transition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 34 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 35 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 36 | {x : V.analyticSpace} (hex : x ∈ e.source) (hfx : x ∈ f.source) : |
| 37 | EuclideanMetric.CM.Construction.varietyEuclideanMetric V e ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) = |
| 38 | MetricJacobian.CM.Construction.pullbackBilinear (EuclideanMetric.CM.Construction.varietyEuclideanMetric V f ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (f x))) |
| 39 | (OneFormFrameChange.CM.Construction.varietyEuclideanConjugateOperator V (fderiv ℝ (f ∘ e.symm) (e x))) := by |
| 40 | have hz : (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x) ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e := by |
| 41 | change EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) ∈ e.target |
| 42 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 43 | exact e.map_source hex |
| 44 | have hfz : e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x))) ∈ f.source := by |
| 45 | rwa [ContinuousLinearEquiv.apply_symm_apply, e.left_inv hex] |
| 46 | have h := MetricJacobian.CM.Construction.varietyEuclideanMetric_transition V e f he hf hz hfz |
| 47 | rw [(MetricJacobian.CM.Construction.varietyEuclideanTransition_hasFDerivAt V e f he hf hz hfz).fderiv] at h |
| 48 | simpa only [MetricJacobian.CM.Construction.varietyEuclideanTransition, Function.comp_apply, ContinuousLinearEquiv.apply_symm_apply, |
| 49 | e.left_inv hex, OneFormFrameChange.CM.Construction.varietyEuclideanConjugateOperator] using h |
| 50 | |
| 51 | theorem varietyInverseMetricOperator_at_point_transition (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 52 | {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 53 | (e f : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 54 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (hf : f ∈ atlas V.analyticModel V.analyticSpace) |
| 55 | {x : V.analyticSpace} (hex : x ∈ e.source) (hfx : x ∈ f.source) (u v : EuclideanSpace ℂ ι) : |
| 56 | inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyInverseMetricOperator V e b ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) |
| 57 | (OneFormFrameChange.CM.Construction.varietyOneFormFrameChange V b e f x u)) (OneFormFrameChange.CM.Construction.varietyOneFormFrameChange V b e f x v) = |
| 58 | inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyInverseMetricOperator V f b ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (f x)) u) v := by |
| 59 | let B := EuclideanMetric.CM.Construction.varietyEuclideanMetric V e ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) |
| 60 | let D := EuclideanMetric.CM.Construction.varietyEuclideanMetric V f ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (f x)) |
| 61 | let T := OneFormFrameChange.CM.Construction.varietyEuclideanConjugateOperator V (fderiv ℝ (f ∘ e.symm) (e x)) |
| 62 | have hBD : ∀ u v, B u v = D (T u) (T v) := by |
| 63 | intro u v |
| 64 | change EuclideanMetric.CM.Construction.varietyEuclideanMetric V e ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) u v = _ |
| 65 | rw [varietyEuclideanMetric_at_point_transition V e f he hf hex hfx] |
| 66 | rfl |
| 67 | have hB : ∀ u, u ≠ 0 → 0 < B u u := by |
| 68 | apply EuclideanMetric.CM.Construction.varietyEuclideanMetric_positive V e he |
| 69 | change EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) ∈ e.target |
| 70 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 71 | exact e.map_source hex |
| 72 | have hD : ∀ u, u ≠ 0 → 0 < D u u := by |
| 73 | apply EuclideanMetric.CM.Construction.varietyEuclideanMetric_positive V f hf |
| 74 | change EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (f x)) ∈ f.target |
| 75 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 76 | exact f.map_source hfx |
| 77 | simp only [GlobalMetricCoefficient.CM.Construction.varietyInverseMetricOperator, InverseMetric.CM.Construction.realBilinearOperator_apply] |
| 78 | exact CovectorMetric.CM.Construction.complexInverseMetric_transition b B D hB hD T |
| 79 | (positive_metric_pullback_surjective B D T hB hBD) hBD u v |
| 80 | |
| 81 | theorem varietyGlobalMetricCoefficient_form_energy (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 82 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) {ι : Type*} [Fintype ι] |
| 83 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 84 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 85 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 86 | (form other : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 87 | {x : V.analyticSpace} (hx : x ∈ e.source) : |
| 88 | inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x (GlobalLp.CM.Construction.varietyOneFormField V C b form x)) |
| 89 | (GlobalLp.CM.Construction.varietyOneFormField V C b other x) = |
| 90 | inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyInverseMetricOperator V e b ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) |
| 91 | (GlobalLp.CM.Construction.varietyOneFormInChart V b e form x)) (GlobalLp.CM.Construction.varietyOneFormInChart V b e other x) := by |
| 92 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 93 | have hA : GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x = |
| 94 | GlobalMetricCoefficient.CM.Construction.varietyInverseMetricOperator V (C.chart i) b ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (C.chart i x)) := |
| 95 | C.patchField_eq _ hi |
| 96 | have hF : GlobalLp.CM.Construction.varietyOneFormField V C b form x = GlobalLp.CM.Construction.varietyOneFormInChart V b (C.chart i) form x := C.patchField_eq _ hi |
| 97 | have hG : GlobalLp.CM.Construction.varietyOneFormField V C b other x = GlobalLp.CM.Construction.varietyOneFormInChart V b (C.chart i) other x := C.patchField_eq _ hi |
| 98 | rw [hA, hF, hG, OneFormFrameChange.CM.Construction.varietyOneFormInChart_transition V b e (C.chart i) he (C.chart_mem i) form hx (C.piece_subset_source i hi), |
| 99 | OneFormFrameChange.CM.Construction.varietyOneFormInChart_transition V b e (C.chart i) he (C.chart_mem i) other hx (C.piece_subset_source i hi)] |
| 100 | exact (varietyInverseMetricOperator_at_point_transition V b e (C.chart i) he (C.chart_mem i) |
| 101 | hx (C.piece_subset_source i hi) _ _).symm |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricEnergyInvariant.CM.Construction |