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.ChartTestForms |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.SupportedSchwartz |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.Coordinate |
| 4 | |
| 5 | /-! # Chart Test Differentials -/ |
| 6 | |
| 7 | namespace OAI.Analysis.HodgeTheory.Decomposition.ChartTestDifferentials.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Both genuine manifold Hodge differentials of a lifted chart test form |
| 14 | have exactly the prescribed Euclidean differential coefficients. -/ |
| 15 | |
| 16 | open scoped SchwartzMap |
| 17 | |
| 18 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 19 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 20 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 21 | |
| 22 | theorem projectiveChartTestLift_schwartz |
| 23 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 24 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 25 | SupportedSchwartz.Constructions.supportedCoordinatesSchwartz V e he n |
| 26 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs) |
| 27 | (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs) (ChartTestForms.Constructions.projectiveChartTestLift_zero V e he n c hc hs) = c := by |
| 28 | apply DFunLike.ext |
| 29 | intro z |
| 30 | exact ChartTestForms.Constructions.projectiveChartTestLift_coefficients V e he n c hc hs z |
| 31 | |
| 32 | theorem projectiveChartTestLift_d_coefficients |
| 33 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 34 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 35 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 36 | SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e (n + 1) |
| 37 | (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs)).val z = FrozenFourier.Constructions.projectiveFrozenD V n c z := by |
| 38 | rw [← SupportedSchwartz.Constructions.supportedCoordinatesSchwartz_d V e he n |
| 39 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs) |
| 40 | (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs) (ChartTestForms.Constructions.projectiveChartTestLift_zero V e he n c hc hs) z, |
| 41 | projectiveChartTestLift_schwartz] |
| 42 | |
| 43 | variable [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] |
| 44 | |
| 45 | theorem projectiveChartTestLift_delta_coefficients |
| 46 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) (n + 1))) |
| 47 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 48 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 49 | SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 50 | (AdjointAlgebra.Constructions.projectiveCodifferential V n (ChartTestForms.Constructions.projectiveChartTestLift V e he (n + 1) c hc hs)).val z = |
| 51 | LocalSchwartzDelta.Constructions.projectiveLocalDeltaSchwartz V e n he c hc hs z := by |
| 52 | have h := SupportedSchwartz.Constructions.supportedCoordinatesSchwartz_delta V e he n |
| 53 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs) |
| 54 | (ChartTestForms.Constructions.projectiveChartTestLift V e he (n + 1) c hc hs) (ChartTestForms.Constructions.projectiveChartTestLift_zero V e he (n + 1) c hc hs) z |
| 55 | dsimp only at h |
| 56 | change SupportedOperator.Constructions.localFirstOrderValue (fun i => LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i) |
| 57 | (LocalCoefficientOperators.Constructions.projectiveAdjointZeroCoefficient V e n) (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 58 | (SupportedSchwartz.Constructions.supportedCoordinatesSchwartz V e he (n + 1) |
| 59 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs) |
| 60 | (ChartTestForms.Constructions.projectiveChartTestLift V e he (n + 1) c hc hs) |
| 61 | (ChartTestForms.Constructions.projectiveChartTestLift_zero V e he (n + 1) c hc hs)) z = _ at h |
| 62 | rw [projectiveChartTestLift_schwartz] at h |
| 63 | exact h.symm |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! The actual manifold L² pairing with a chart test form is its genuine |
| 68 | weighted Euclidean coefficient pairing. -/ |
| 69 | |
| 70 | open _root_.MeasureTheory |
| 71 | open scoped SchwartzMap |
| 72 | |
| 73 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 74 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] |
| 75 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 76 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 77 | |
| 78 | include he in |
| 79 | theorem projective_supported_coordinate_pair |
| 80 | (a b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 81 | (hb : ∀ x, x ∉ e.source → b x = 0) : |
| 82 | (Form.Constructions.projectiveL2Pair V n a b).re = |
| 83 | ∫ z, inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z |
| 84 | (EuclideanForms.Constructions.euclideanChartCoefficients V e n a.val z)) (SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n b.val z) := by |
| 85 | have hchart := ChartIntegral.Constructions.projectiveMetricVolume_integral_chart V e he |
| 86 | (fun x => (ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a.val b.val x).re) |
| 87 | (Complex.continuous_re.comp (MetricCoefficients.Constructions.projectiveFormPointPair_continuous V n a b)).aestronglyMeasurable |
| 88 | (fun x hx => by rw [LocalMetric.Constructions.projectiveFormPointPair_zero_of_right V n a.val b.val x (hb x hx)]; rfl) |
| 89 | change RCLike.re (∫ x, ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a.val b.val x ∂ MeasureVolume.Constructions.projectiveMetricVolume V) = _ |
| 90 | rw [← integral_re (Form.Constructions.projectiveFormPointPair_integrable V n a b)] |
| 91 | change (∫ x, (ProjectiveFormMetric.Constructions.projectiveFormPointPair V n a.val b.val x).re ∂ MeasureVolume.Constructions.projectiveMetricVolume V) = _ |
| 92 | rw [hchart] |
| 93 | calc |
| 94 | _ = ∫ z in AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e, |
| 95 | inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z (EuclideanForms.Constructions.euclideanChartCoefficients V e n a.val z)) |
| 96 | (SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n b.val z) := by |
| 97 | apply setIntegral_congr_fun (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.measurableSet |
| 98 | intro z hz |
| 99 | dsimp only |
| 100 | rw [smul_eq_mul, SupportedCoordinates.Constructions.supportedEuclideanCoefficients_eq V e n b.val hz, |
| 101 | EuclideanForms.Constructions.euclideanChartCoefficients_weighted_inner V e he n a.val b.val z hz] |
| 102 | _ = _ := setIntegral_eq_integral_of_forall_compl_eq_zero (fun z hz => by |
| 103 | rw [show SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n b.val z = 0 from Set.indicator_of_notMem hz _, |
| 104 | inner_zero_right]) |
| 105 | |
| 106 | theorem projectiveChartTestLift_pair |
| 107 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 108 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 109 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 110 | (Form.Constructions.projectiveL2Pair V n a (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs)).re = |
| 111 | ∫ z, inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z |
| 112 | (EuclideanForms.Constructions.euclideanChartCoefficients V e n a.val z)) (c z) := by |
| 113 | rw [projective_supported_coordinate_pair V e he n a _ (fun x hx => |
| 114 | ChartTestForms.Constructions.projectiveChartTestLift_zero V e he n c hc hs x |
| 115 | (fun h => hx (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs h)))] |
| 116 | apply integral_congr_ae |
| 117 | exact Filter.Eventually.of_forall (fun z => congrArg |
| 118 | (fun w => inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z (EuclideanForms.Constructions.euclideanChartCoefficients V e n a.val z)) w) |
| 119 | (ChartTestForms.Constructions.projectiveChartTestLift_coefficients V e he n c hc hs z)) |
| 120 | |
| 121 | theorem projectiveChartTestLift_d_pair |
| 122 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 123 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 124 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 125 | (Form.Constructions.projectiveL2Pair V (n + 1) a (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs))).re = |
| 126 | ∫ z, inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e (n + 1) z |
| 127 | (EuclideanForms.Constructions.euclideanChartCoefficients V e (n + 1) a.val z)) (FrozenFourier.Constructions.projectiveFrozenD V n c z) := by |
| 128 | have hzero : ∀ x, x ∉ e.source → DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs) x = 0 := by |
| 129 | intro x hx |
| 130 | exact SupportedCoordinates.Constructions.manifold_d_zero_off_closed V n (ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs) |
| 131 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs).isClosed |
| 132 | (ChartTestForms.Constructions.projectiveChartTestLift_zero V e he n c hc hs) |
| 133 | (fun h => hx (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs h)) |
| 134 | rw [projective_supported_coordinate_pair V e he (n + 1) a _ hzero] |
| 135 | apply integral_congr_ae |
| 136 | exact Filter.Eventually.of_forall (fun z => congrArg |
| 137 | (fun w => inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e (n + 1) z |
| 138 | (EuclideanForms.Constructions.euclideanChartCoefficients V e (n + 1) a.val z)) w) |
| 139 | (projectiveChartTestLift_d_coefficients V e he n c hc hs z)) |
| 140 | |
| 141 | theorem projectiveChartTestLift_delta_pair |
| 142 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 143 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) (n + 1))) |
| 144 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 145 | (Form.Constructions.projectiveL2Pair V n a (AdjointAlgebra.Constructions.projectiveCodifferential V n (ChartTestForms.Constructions.projectiveChartTestLift V e he (n + 1) c hc hs))).re = |
| 146 | ∫ z, inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z |
| 147 | (EuclideanForms.Constructions.euclideanChartCoefficients V e n a.val z)) (LocalSchwartzDelta.Constructions.projectiveLocalDeltaSchwartz V e n he c hc hs z) := by |
| 148 | have hzero : ∀ x, x ∉ e.source → AdjointAlgebra.Constructions.projectiveCodifferential V n |
| 149 | (ChartTestForms.Constructions.projectiveChartTestLift V e he (n + 1) c hc hs) x = 0 := by |
| 150 | intro x hx |
| 151 | exact CodifferentialSupport.Constructions.projectiveCodifferential_zero_off_closed V n (ChartTestForms.Constructions.projectiveChartTestLift V e he (n + 1) c hc hs) |
| 152 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hc hs).isClosed |
| 153 | (ChartTestForms.Constructions.projectiveChartTestLift_zero V e he (n + 1) c hc hs) |
| 154 | (fun h => hx (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs h)) |
| 155 | rw [projective_supported_coordinate_pair V e he n a _ hzero] |
| 156 | apply integral_congr_ae |
| 157 | exact Filter.Eventually.of_forall (fun z => congrArg |
| 158 | (fun w => inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z (EuclideanForms.Constructions.euclideanChartCoefficients V e n a.val z)) w) |
| 159 | (projectiveChartTestLift_delta_coefficients V e he n c hc hs z)) |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI.Analysis.HodgeTheory.Decomposition.ChartTestDifferentials.Constructions |