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 | |
| 3 | /-! # Adjoint Locality -/ |
| 4 | |
| 5 | namespace OAI.Analysis.HodgeTheory.Decomposition.AdjointLocality.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The constructed global codifferential agrees with its explicit formula |
| 10 | in every chart. This follows from its actual L² identity and smooth cutoffs. -/ |
| 11 | |
| 12 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 13 | open _root_.MeasureTheory |
| 14 | |
| 15 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 16 | |
| 17 | theorem exists_projective_cutoff_at {U : Set V.analyticSpace} (hU : IsOpen U) |
| 18 | (x : V.analyticSpace) (hx : x ∈ U) : |
| 19 | ∃ f : V.analyticSpace → ℂ, |
| 20 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ f ∧ tsupport f ⊆ U ∧ f x = 1 := by |
| 21 | obtain ⟨g, _, hg⟩ := (SmoothBumpFunction.nhds_basis_tsupport (I := 𝓘(ℝ, V.analyticModel)) x).mem_iff.mp |
| 22 | (hU.mem_nhds hx) |
| 23 | refine ⟨fun y => (g y : ℂ), Complex.ofRealCLM.contDiff.contMDiff.comp g.contMDiff, ?_, ?_⟩ |
| 24 | · have hs : tsupport (fun y => (g y : ℂ)) = tsupport g := by |
| 25 | apply congrArg closure |
| 26 | ext y |
| 27 | simp only [Function.mem_support, ne_eq, Complex.ofReal_eq_zero] |
| 28 | rw [hs] |
| 29 | exact hg |
| 30 | · change (g x : ℂ) = 1 |
| 31 | rw [g.eq_one, Complex.ofReal_one] |
| 32 | |
| 33 | variable [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 34 | |
| 35 | theorem projectiveRealL2Pair_separates_left |
| 36 | (a b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 37 | (h : ∀ u, (Form.Constructions.projectiveL2Pair V n a u).re = (Form.Constructions.projectiveL2Pair V n b u).re) : a = b := by |
| 38 | apply sub_eq_zero.mp |
| 39 | apply AdjointAlgebra.Constructions.projectiveL2Pair_self_re_nonpos V n |
| 40 | rw [AdjointAlgebra.Constructions.projectiveL2Pair_sub_left, Complex.sub_re, h (a - b), sub_self] |
| 41 | |
| 42 | omit [BorelSpace V.analyticSpace] in |
| 43 | theorem projectiveL2Pair_smulFunction_move |
| 44 | (a b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 45 | (f : V.analyticSpace → ℂ) (hf : ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ f) : |
| 46 | Form.Constructions.projectiveL2Pair V n a (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.smulByFunction f hf b) = |
| 47 | Form.Constructions.projectiveL2Pair V n |
| 48 | (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.smulByFunction (fun x => star (f x)) (AdjointManifold.Constructions.conjugateFunction_smooth V f hf) a) b := by |
| 49 | apply integral_congr_ae |
| 50 | exact Filter.Eventually.of_forall (AdjointManifold.Constructions.projectiveFormPointPair_smulFunction_move V n a.val b.val f) |
| 51 | |
| 52 | theorem weightedProjectiveChartAdjoint_eq_global |
| 53 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 54 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 55 | (f : V.analyticSpace → ℂ) (hf : ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ f) |
| 56 | (hs : tsupport f ⊆ e.source) |
| 57 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 58 | AdjointManifold.Constructions.weightedProjectiveChartAdjoint V n e he f hf hs b = |
| 59 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.smulByFunction (fun x => star (f x)) (AdjointManifold.Constructions.conjugateFunction_smooth V f hf) |
| 60 | (AdjointAlgebra.Constructions.projectiveCodifferential V n b) := by |
| 61 | apply projectiveRealL2Pair_separates_left V n |
| 62 | intro a |
| 63 | rw [← AdjointManifold.Constructions.weightedProjectiveChartAdjoint_pair, AdjointAlgebra.Constructions.projectiveCodifferential_pair, |
| 64 | projectiveL2Pair_smulFunction_move] |
| 65 | |
| 66 | /-- Every chart gives the same genuine codifferential, with no chosen-cover restriction. -/ |
| 67 | theorem projectiveCodifferential_eq_chart |
| 68 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 69 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 70 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 71 | (x : V.analyticSpace) (hx : x ∈ e.source) : |
| 72 | AdjointAlgebra.Constructions.projectiveCodifferential V n b x = LocalAdjointForm.Constructions.projectiveChartAdjoint V e n b x := by |
| 73 | obtain ⟨f, hf, hs, hfx⟩ := exists_projective_cutoff_at V e.open_source x hx |
| 74 | have h := congrArg (fun a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n => a x) |
| 75 | (weightedProjectiveChartAdjoint_eq_global V n e he f hf hs b) |
| 76 | change star (f x) • LocalAdjointForm.Constructions.projectiveChartAdjoint V e n b x = |
| 77 | star (f x) • AdjointAlgebra.Constructions.projectiveCodifferential V n b x at h |
| 78 | rw [hfx, star_one, one_smul, one_smul] at h |
| 79 | exact h.symm |
| 80 | |
| 81 | omit [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] in |
| 82 | theorem euclideanChartCoefficients_congr_at |
| 83 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 84 | (a b : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) |
| 85 | (h : a (MeasureVolume.Constructions.chartCoordinateInverse V e z) = b (MeasureVolume.Constructions.chartCoordinateInverse V e z)) : |
| 86 | EuclideanForms.Constructions.euclideanChartCoefficients V e n a z = EuclideanForms.Constructions.euclideanChartCoefficients V e n b z := by |
| 87 | have hc : a.inChart e (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) = b.inChart e (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) := by |
| 88 | unfold DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart |
| 89 | change (a (MeasureVolume.Constructions.chartCoordinateInverse V e z)).compContinuousLinearMap _ = |
| 90 | (b (MeasureVolume.Constructions.chartCoordinateInverse V e z)).compContinuousLinearMap _ |
| 91 | rw [h] |
| 92 | rw [EuclideanForms.Constructions.euclideanChartCoefficients_eq_analytic, EuclideanForms.Constructions.euclideanChartCoefficients_eq_analytic, hc] |
| 93 | |
| 94 | /-- The global codifferential has precisely the smooth local coefficient formula derived by integration. -/ |
| 95 | theorem projectiveCodifferential_coefficients |
| 96 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 97 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 98 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 99 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 100 | EuclideanForms.Constructions.euclideanChartCoefficients V e n (AdjointAlgebra.Constructions.projectiveCodifferential V n b).val z = |
| 101 | AdjointCoefficients.Constructions.projectiveLocalAdjointCoefficients V e n (EuclideanForms.Constructions.euclideanChartCoefficients V e (n + 1) b.val) z := by |
| 102 | have h := euclideanChartCoefficients_congr_at V n e (AdjointAlgebra.Constructions.projectiveCodifferential V n b).val |
| 103 | (LocalAdjointForm.Constructions.projectiveChartAdjoint V e n b) z |
| 104 | (projectiveCodifferential_eq_chart V n e he b (MeasureVolume.Constructions.chartCoordinateInverse V e z) (e.map_target hz)) |
| 105 | exact h.trans (LocalAdjointForm.Constructions.projectiveChartAdjoint_coefficients V e he n b z hz) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.Analysis.HodgeTheory.Decomposition.AdjointLocality.Constructions |