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.Analysis.HodgeTheory.Decomposition.AdjointAlgebra |
| 2 | import Mathlib.Analysis.InnerProductSpace.ProdL2 |
| 3 | |
| 4 | /-! # Energy Domain -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.EnergyDomain.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual Hilbert graph domain of exterior differentiation and its |
| 13 | constructed codifferential. Integration by parts proves that its projection |
| 14 | into L² is injective, so graph completion introduces no spurious derivatives. -/ |
| 15 | |
| 16 | open scoped _root_.Manifold |
| 17 | |
| 18 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 19 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 20 | |
| 21 | abbrev ProjectiveEnergyValues := WithLp 2 (Form.Constructions.ProjectiveL2Forms V (n + 1 + 1) × Form.Constructions.ProjectiveL2Forms V n) |
| 22 | abbrev ProjectiveGraphAmbient := WithLp 2 (Form.Constructions.ProjectiveL2Forms V (n + 1) × ProjectiveEnergyValues V n) |
| 23 | |
| 24 | def projectiveGraphEmbedding : |
| 25 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1) →ₗ[ℂ] ProjectiveGraphAmbient V n := |
| 26 | (WithLp.linearEquiv 2 ℂ _).symm.toLinearMap.comp |
| 27 | ((Form.Constructions.smoothToProjectiveL2 V (n + 1)).prod |
| 28 | ((WithLp.linearEquiv 2 ℂ _).symm.toLinearMap.comp |
| 29 | (((Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1)).comp DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d).prod |
| 30 | ((Form.Constructions.smoothToProjectiveL2 V n).comp (AdjointAlgebra.Constructions.projectiveCodifferential V n))))) |
| 31 | |
| 32 | abbrev ProjectiveEnergyDomain := (projectiveGraphEmbedding V n).range.topologicalClosure |
| 33 | |
| 34 | def projectiveGraphValue : ProjectiveGraphAmbient V n →L[ℂ] Form.Constructions.ProjectiveL2Forms V (n + 1) := |
| 35 | WithLp.fstL 2 ℂ _ _ |
| 36 | |
| 37 | def projectiveGraphD : ProjectiveGraphAmbient V n →L[ℂ] Form.Constructions.ProjectiveL2Forms V (n + 1 + 1) := |
| 38 | (WithLp.fstL 2 ℂ _ _).comp (WithLp.sndL 2 ℂ _ _) |
| 39 | |
| 40 | def projectiveGraphDelta : ProjectiveGraphAmbient V n →L[ℂ] Form.Constructions.ProjectiveL2Forms V n := |
| 41 | (WithLp.sndL 2 ℂ _ _).comp (WithLp.sndL 2 ℂ _ _) |
| 42 | |
| 43 | /-- Integration by parts persists in the completed graph domain. -/ |
| 44 | theorem projectiveEnergyDomain_d_pair (u : ProjectiveEnergyDomain V n) |
| 45 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1 + 1)) : |
| 46 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1) b) (projectiveGraphD V n u.val) = |
| 47 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1) (AdjointAlgebra.Constructions.projectiveCodifferential V (n + 1) b)) |
| 48 | (projectiveGraphValue V n u.val) := by |
| 49 | have hclosed : IsClosed {x : ProjectiveGraphAmbient V n | |
| 50 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1) b) (projectiveGraphD V n x) = |
| 51 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1) (AdjointAlgebra.Constructions.projectiveCodifferential V (n + 1) b)) |
| 52 | (projectiveGraphValue V n x)} := |
| 53 | isClosed_eq (continuous_const.inner (projectiveGraphD V n).continuous) |
| 54 | (continuous_const.inner (projectiveGraphValue V n).continuous) |
| 55 | apply closure_minimal (s := Set.range (projectiveGraphEmbedding V n)) _ hclosed u.property |
| 56 | rintro x ⟨a, rfl⟩ |
| 57 | change inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1) b) |
| 58 | (Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a)) = |
| 59 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1) (AdjointAlgebra.Constructions.projectiveCodifferential V (n + 1) b)) |
| 60 | (Form.Constructions.smoothToProjectiveL2 V (n + 1) a) |
| 61 | rw [Form.Constructions.smoothToProjectiveL2_inner, Form.Constructions.smoothToProjectiveL2_inner, AdjointAlgebra.Constructions.projectiveCodifferential_pair] |
| 62 | |
| 63 | theorem projectiveEnergyDomain_delta_pair (u : ProjectiveEnergyDomain V n) |
| 64 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) : |
| 65 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V n b) (projectiveGraphDelta V n u.val) = |
| 66 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b)) |
| 67 | (projectiveGraphValue V n u.val) := by |
| 68 | have hclosed : IsClosed {x : ProjectiveGraphAmbient V n | |
| 69 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V n b) (projectiveGraphDelta V n x) = |
| 70 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b)) |
| 71 | (projectiveGraphValue V n x)} := |
| 72 | isClosed_eq (continuous_const.inner (projectiveGraphDelta V n).continuous) |
| 73 | (continuous_const.inner (projectiveGraphValue V n).continuous) |
| 74 | apply closure_minimal (s := Set.range (projectiveGraphEmbedding V n)) _ hclosed u.property |
| 75 | rintro x ⟨a, rfl⟩ |
| 76 | change inner ℂ (Form.Constructions.smoothToProjectiveL2 V n b) (Form.Constructions.smoothToProjectiveL2 V n (AdjointAlgebra.Constructions.projectiveCodifferential V n a)) = |
| 77 | inner ℂ (Form.Constructions.smoothToProjectiveL2 V (n + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b)) (Form.Constructions.smoothToProjectiveL2 V (n + 1) a) |
| 78 | rw [Form.Constructions.smoothToProjectiveL2_inner, Form.Constructions.smoothToProjectiveL2_inner, AdjointAlgebra.Constructions.projectiveCodifferential_pair_right] |
| 79 | |
| 80 | def projectiveEnergyInclusion : ProjectiveEnergyDomain V n →L[ℂ] Form.Constructions.ProjectiveL2Forms V (n + 1) := |
| 81 | (projectiveGraphValue V n).comp (ProjectiveEnergyDomain V n).subtypeL |
| 82 | |
| 83 | def projectiveEnergyDerivative : ProjectiveEnergyDomain V n →L[ℂ] ProjectiveEnergyValues V n := |
| 84 | (WithLp.sndL 2 ℂ _ _).comp (ProjectiveEnergyDomain V n).subtypeL |
| 85 | |
| 86 | /-- The graph completion retains the actual L² value uniquely. -/ |
| 87 | theorem projectiveEnergyInclusion_injective : Function.Injective (projectiveEnergyInclusion V n) := by |
| 88 | have hzero (u : ProjectiveEnergyDomain V n) (hu : projectiveEnergyInclusion V n u = 0) : u = 0 := by |
| 89 | have hv : projectiveGraphValue V n u.val = 0 := hu |
| 90 | have hd : projectiveGraphD V n u.val = 0 := by |
| 91 | apply (Form.Constructions.smoothToProjectiveL2_dense V (n + 1 + 1)).eq_zero_of_inner_right ℂ |
| 92 | intro b |
| 93 | rw [projectiveEnergyDomain_d_pair, hv, inner_zero_right] |
| 94 | have hδ : projectiveGraphDelta V n u.val = 0 := by |
| 95 | apply (Form.Constructions.smoothToProjectiveL2_dense V n).eq_zero_of_inner_right ℂ |
| 96 | intro b |
| 97 | rw [projectiveEnergyDomain_delta_pair, hv, inner_zero_right] |
| 98 | apply Subtype.ext |
| 99 | apply (WithLp.equiv 2 _).injective |
| 100 | apply Prod.ext |
| 101 | · exact hv |
| 102 | · apply (WithLp.equiv 2 _).injective |
| 103 | exact Prod.ext hd hδ |
| 104 | intro u v huv |
| 105 | apply sub_eq_zero.mp |
| 106 | apply hzero |
| 107 | rw [map_sub, huv, sub_self] |
| 108 | |
| 109 | theorem projectiveEnergyInclusion_dense : DenseRange (projectiveEnergyInclusion V n) := by |
| 110 | apply (Form.Constructions.smoothToProjectiveL2_dense V (n + 1)).mono |
| 111 | rintro x ⟨a, rfl⟩ |
| 112 | refine ⟨⟨projectiveGraphEmbedding V n a, ?_⟩, rfl⟩ |
| 113 | exact (projectiveGraphEmbedding V n).range.le_topologicalClosure ⟨a, rfl⟩ |
| 114 | |
| 115 | /-- The completed graph inner product is exactly L² plus the actual differential energy. -/ |
| 116 | theorem projectiveEnergyDomain_inner (u v : ProjectiveEnergyDomain V n) : |
| 117 | inner ℂ u v = |
| 118 | inner ℂ (projectiveEnergyInclusion V n u) (projectiveEnergyInclusion V n v) + |
| 119 | inner ℂ (projectiveEnergyDerivative V n u) (projectiveEnergyDerivative V n v) := rfl |
| 120 | |
| 121 | end |
| 122 | |
| 123 | /-! The graph norm of a genuine smooth form is exactly its actual Hodge energy. -/ |
| 124 | |
| 125 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 126 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 127 | |
| 128 | theorem projectiveGraphEmbedding_norm_sq |
| 129 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 130 | ‖projectiveGraphEmbedding V n a‖ ^ 2 = |
| 131 | ‖Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a)‖ ^ 2 + |
| 132 | ‖Form.Constructions.smoothToProjectiveL2 V n (AdjointAlgebra.Constructions.projectiveCodifferential V n a)‖ ^ 2 + |
| 133 | ‖Form.Constructions.smoothToProjectiveL2 V (n + 1) a‖ ^ 2 := by |
| 134 | rw [WithLp.prod_norm_sq_eq_of_L2, WithLp.prod_norm_sq_eq_of_L2] |
| 135 | change ‖Form.Constructions.smoothToProjectiveL2 V (n + 1) a‖ ^ 2 + |
| 136 | (‖Form.Constructions.smoothToProjectiveL2 V (n + 1 + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a)‖ ^ 2 + |
| 137 | ‖Form.Constructions.smoothToProjectiveL2 V n (AdjointAlgebra.Constructions.projectiveCodifferential V n a)‖ ^ 2) = _ |
| 138 | ring |
| 139 | |
| 140 | theorem projectiveGraphEmbedding_value_norm_sq_le |
| 141 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 142 | ‖Form.Constructions.smoothToProjectiveL2 V (n + 1) a‖ ^ 2 ≤ ‖projectiveGraphEmbedding V n a‖ ^ 2 := by |
| 143 | rw [projectiveGraphEmbedding_norm_sq] |
| 144 | exact le_add_of_nonneg_left (add_nonneg (sq_nonneg _) (sq_nonneg _)) |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.Analysis.HodgeTheory.Decomposition.EnergyDomain.Constructions |