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.GlobalLp |
| 2 | import Mathlib.Analysis.InnerProductSpace.ProdL2 |
| 3 | import Mathlib.MeasureTheory.Function.L2Space |
| 4 | import Mathlib.Topology.Sequences |
| 5 | |
| 6 | /-! # Global Sobolev Graph -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalSobolevGraph.CM.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Completion of the graph of the actual smooth exterior derivative in |
| 13 | global metric L2. Its two projections satisfy the exact graph inner product. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory Set Filter |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | variable {ι : Type*} [Fintype ι] |
| 19 | |
| 20 | abbrev varietySobolevAmbient (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (ι : Type*) [Fintype ι] := |
| 21 | WithLp 2 (Lp ℂ 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) × Lp (EuclideanSpace ℂ ι) 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V)) |
| 22 | |
| 23 | def varietySmoothGraphMap (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 24 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 25 | OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0 →ₗ[ℂ] varietySobolevAmbient V ι := |
| 26 | (WithLp.prodContinuousLinearEquiv 2 ℂ _ _).symm.toLinearEquiv.toLinearMap.comp |
| 27 | ((GlobalLp.CM.Construction.varietySmoothScalarL2 V).prod (GlobalLp.CM.Construction.varietySmoothDifferentialL2 V C b)) |
| 28 | |
| 29 | def varietySobolevGraph (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 30 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : Submodule ℂ (varietySobolevAmbient V ι) := |
| 31 | (varietySmoothGraphMap V C b).range.topologicalClosure |
| 32 | |
| 33 | instance varietySobolevGraph_complete (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 34 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : CompleteSpace (varietySobolevGraph V C b) := |
| 35 | (varietySmoothGraphMap V C b).range.isClosed_topologicalClosure.completeSpace_coe |
| 36 | |
| 37 | instance varietySobolevGraph_realInner (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 38 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : InnerProductSpace ℝ (varietySobolevGraph V C b) := |
| 39 | InnerProductSpace.complexToReal |
| 40 | |
| 41 | def varietySobolevFunction (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 42 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 43 | varietySobolevGraph V C b →L[ℂ] Lp ℂ 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 44 | (WithLp.fstL 2 ℂ _ _).comp (varietySobolevGraph V C b).subtypeL |
| 45 | |
| 46 | def varietySobolevDerivative (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 47 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 48 | varietySobolevGraph V C b →L[ℂ] Lp (EuclideanSpace ℂ ι) 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 49 | (WithLp.sndL 2 ℂ _ _).comp (varietySobolevGraph V C b).subtypeL |
| 50 | |
| 51 | def varietySmoothToSobolev (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 52 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 53 | OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0 →ₗ[ℂ] varietySobolevGraph V C b := |
| 54 | (varietySmoothGraphMap V C b).codRestrict (varietySobolevGraph V C b) |
| 55 | (fun f => (varietySmoothGraphMap V C b).range.le_topologicalClosure ⟨f, rfl⟩) |
| 56 | |
| 57 | theorem varietySobolevFunction_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 58 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 59 | (f : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 60 | varietySobolevFunction V C b (varietySmoothToSobolev V C b f) = GlobalLp.CM.Construction.varietySmoothScalarL2 V f := rfl |
| 61 | |
| 62 | theorem varietySobolevDerivative_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 63 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 64 | (f : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 65 | varietySobolevDerivative V C b (varietySmoothToSobolev V C b f) = |
| 66 | GlobalLp.CM.Construction.varietyOneFormL2 V C b (OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f) := rfl |
| 67 | |
| 68 | theorem varietySobolevGraph_inner (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 69 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (u v : varietySobolevGraph V C b) : |
| 70 | inner ℂ u v = inner ℂ (varietySobolevFunction V C b u) (varietySobolevFunction V C b v) + |
| 71 | inner ℂ (varietySobolevDerivative V C b u) (varietySobolevDerivative V C b v) := rfl |
| 72 | |
| 73 | theorem varietySobolevGraph_real_inner (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 74 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (u v : varietySobolevGraph V C b) : |
| 75 | inner ℝ u v = inner ℝ (varietySobolevFunction V C b u) (varietySobolevFunction V C b v) + |
| 76 | inner ℝ (varietySobolevDerivative V C b u) (varietySobolevDerivative V C b v) := by |
| 77 | have hJ (x y : Lp ℂ 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V)) : inner ℝ x y = (inner ℂ x y).re := by |
| 78 | rw [real_inner_eq_norm_add_mul_self_sub_norm_mul_self_sub_norm_mul_self_div_two] |
| 79 | exact (re_inner_eq_norm_add_mul_self_sub_norm_mul_self_sub_norm_mul_self_div_two (𝕜 := ℂ) x y).symm |
| 80 | have hD (x y : Lp (EuclideanSpace ℂ ι) 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V)) : |
| 81 | inner ℝ x y = (inner ℂ x y).re := by |
| 82 | rw [real_inner_eq_norm_add_mul_self_sub_norm_mul_self_sub_norm_mul_self_div_two] |
| 83 | exact (re_inner_eq_norm_add_mul_self_sub_norm_mul_self_sub_norm_mul_self_div_two (𝕜 := ℂ) x y).symm |
| 84 | rw [hJ, hD] |
| 85 | exact (congrArg Complex.re (varietySobolevGraph_inner V C b u v)).trans (Complex.add_re _ _) |
| 86 | |
| 87 | theorem varietySobolevGraph_norm_sq (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 88 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (u : varietySobolevGraph V C b) : |
| 89 | ‖u‖ ^ 2 = ‖varietySobolevFunction V C b u‖ ^ 2 + ‖varietySobolevDerivative V C b u‖ ^ 2 := by |
| 90 | simpa only [real_inner_self_eq_norm_sq] using varietySobolevGraph_real_inner V C b u u |
| 91 | |
| 92 | theorem varietySmoothToSobolev_injective (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 93 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 94 | Function.Injective (varietySmoothToSobolev V C b) := by |
| 95 | intro f g h |
| 96 | exact GlobalLp.CM.Construction.varietySmoothScalarL2_injective V (congrArg (varietySobolevFunction V C b) h) |
| 97 | |
| 98 | theorem varietySmoothToSobolev_dense (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 99 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 100 | DenseRange (varietySmoothToSobolev V C b) := by |
| 101 | intro u |
| 102 | have hu : u.val ∈ closure (Set.range (varietySmoothGraphMap V C b)) := u.property |
| 103 | obtain ⟨s, hs, hsu⟩ := mem_closure_iff_seq_limit.mp hu |
| 104 | choose f hf using hs |
| 105 | have heq : s = fun n => varietySmoothGraphMap V C b (f n) := funext (fun n => (hf n).symm) |
| 106 | rw [heq] at hsu |
| 107 | exact mem_closure_iff_seq_limit.mpr |
| 108 | ⟨(fun n => varietySmoothToSobolev V C b (f n)), (fun n => ⟨f n, rfl⟩), tendsto_subtype_rng.mpr hsu⟩ |
| 109 | |
| 110 | /-- Every completed graph element is approached by actual smooth functions |
| 111 | and their actual exterior derivatives, simultaneously in L2. -/ |
| 112 | theorem varietySobolevGraph_smooth_approximation (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 113 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 114 | (u : varietySobolevGraph V C b) : |
| 115 | ∃ f : ℕ → OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0, |
| 116 | Tendsto (fun n => GlobalLp.CM.Construction.varietySmoothScalarL2 V (f n)) atTop (𝓝 (varietySobolevFunction V C b u)) ∧ |
| 117 | Tendsto (fun n => GlobalLp.CM.Construction.varietySmoothDifferentialL2 V C b (f n)) atTop |
| 118 | (𝓝 (varietySobolevDerivative V C b u)) := by |
| 119 | have hu : u.val ∈ closure (Set.range (varietySmoothGraphMap V C b)) := u.property |
| 120 | obtain ⟨s, hs, hsu⟩ := mem_closure_iff_seq_limit.mp hu |
| 121 | choose f hf using hs |
| 122 | have heq : s = fun n => varietySmoothGraphMap V C b (f n) := funext (fun n => (hf n).symm) |
| 123 | rw [heq] at hsu |
| 124 | exact ⟨f, ((WithLp.fstL 2 ℂ _ _).continuous.tendsto u.val).comp hsu, |
| 125 | ((WithLp.sndL 2 ℂ _ _).continuous.tendsto u.val).comp hsu⟩ |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalSobolevGraph.CM.Construction |