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.LocalCoefficientOperators |
| 2 | import Mathlib.Algebra.Order.Chebyshev |
| 3 | |
| 4 | /-! # Freezing Error -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.FreezingError.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quantitative comparison of the true local codifferential with its frozen |
| 11 | principal coefficients. -/ |
| 12 | |
| 13 | open scoped _root_.Topology BigOperators |
| 14 | |
| 15 | section Bound |
| 16 | |
| 17 | variable {E F G ι : Type*} [Fintype ι] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 18 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 19 | |
| 20 | theorem firstOrder_freezing_error |
| 21 | (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) |
| 22 | (directions : ι → E) (u : E → F) (x z : E) (ε M : ℝ) |
| 23 | (hC : ∀ i, ‖C i x - C i z‖ ≤ ε) (hZ : ‖Z x‖ ≤ M) : |
| 24 | ‖((∑ i, C i x (fderiv ℝ u x (directions i))) + Z x (u x)) - |
| 25 | ∑ i, C i z (fderiv ℝ u x (directions i))‖ ≤ |
| 26 | ε * (∑ i, ‖fderiv ℝ u x (directions i)‖) + M * ‖u x‖ := by |
| 27 | have heq : ((∑ i, C i x (fderiv ℝ u x (directions i))) + Z x (u x)) - |
| 28 | ∑ i, C i z (fderiv ℝ u x (directions i)) = |
| 29 | (∑ i, (C i x - C i z) (fderiv ℝ u x (directions i))) + Z x (u x) := by |
| 30 | simp only [sub_apply, Finset.sum_sub_distrib] |
| 31 | abel |
| 32 | rw [heq] |
| 33 | calc |
| 34 | _ ≤ ‖∑ i, (C i x - C i z) (fderiv ℝ u x (directions i))‖ + ‖Z x (u x)‖ := norm_add_le _ _ |
| 35 | _ ≤ (∑ i, ε * ‖fderiv ℝ u x (directions i)‖) + M * ‖u x‖ := by |
| 36 | apply add_le_add |
| 37 | · apply (norm_sum_le _ _).trans |
| 38 | apply Finset.sum_le_sum |
| 39 | intro i _ |
| 40 | exact ((C i x - C i z).le_opNorm _).trans |
| 41 | (mul_le_mul_of_nonneg_right (hC i) (norm_nonneg _)) |
| 42 | · exact ((Z x).le_opNorm _).trans (mul_le_mul_of_nonneg_right hZ (norm_nonneg _)) |
| 43 | _ = _ := by rw [Finset.mul_sum] |
| 44 | |
| 45 | theorem firstOrder_freezing_error_sq |
| 46 | (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) |
| 47 | (directions : ι → E) (u : E → F) (x z : E) (ε M : ℝ) (hε : 0 ≤ ε) (hM : 0 ≤ M) |
| 48 | (hC : ∀ i, ‖C i x - C i z‖ ≤ ε) (hZ : ‖Z x‖ ≤ M) : |
| 49 | ‖((∑ i, C i x (fderiv ℝ u x (directions i))) + Z x (u x)) - |
| 50 | ∑ i, C i z (fderiv ℝ u x (directions i))‖ ^ 2 ≤ |
| 51 | 2 * ε ^ 2 * Fintype.card ι * (∑ i, ‖fderiv ℝ u x (directions i)‖ ^ 2) + |
| 52 | 2 * M ^ 2 * ‖u x‖ ^ 2 := by |
| 53 | have h := firstOrder_freezing_error C Z directions u x z ε M hC hZ |
| 54 | have hsum := sq_sum_le_card_mul_sum_sq (s := Finset.univ) |
| 55 | (f := fun i : ι => ‖fderiv ℝ u x (directions i)‖) |
| 56 | simp only [Finset.card_univ] at hsum |
| 57 | have hn : 0 ≤ ε * (∑ i, ‖fderiv ℝ u x (directions i)‖) + M * ‖u x‖ := |
| 58 | add_nonneg (mul_nonneg hε (Finset.sum_nonneg (fun _ _ => norm_nonneg _))) (mul_nonneg hM (norm_nonneg _)) |
| 59 | have hsquared := (sq_le_sq₀ (norm_nonneg _) hn).mpr h |
| 60 | have hweighted := mul_le_mul_of_nonneg_left hsum (sq_nonneg ε) |
| 61 | nlinarith [sq_nonneg (ε * (∑ i, ‖fderiv ℝ u x (directions i)‖) - M * ‖u x‖)] |
| 62 | |
| 63 | end Bound |
| 64 | |
| 65 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 66 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) (n : ℕ) |
| 67 | |
| 68 | /-- The actual principal coefficients can be made uniformly close to their frozen values on a chart neighborhood. -/ |
| 69 | theorem projectivePrincipalCoefficient_near |
| 70 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 71 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 72 | (ε : ℝ) (hε : 0 < ε) : |
| 73 | ∃ U : Set (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V), IsOpen U ∧ z ∈ U ∧ U ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e ∧ |
| 74 | ∀ y ∈ U, ∀ i : AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V, |
| 75 | ‖LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i y - LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i z‖ < ε := by |
| 76 | have hi (i : AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) : ∀ᶠ y in 𝓝 z, |
| 77 | ‖LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i y - LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i z‖ < ε := by |
| 78 | have hc := ((LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient_smooth V e n he i).continuousOn.continuousAt |
| 79 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).eventually |
| 80 | (Metric.ball_mem_nhds (LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i z) hε) |
| 81 | simpa only [Metric.mem_ball, dist_eq_norm] using hc |
| 82 | have hall : ∀ᶠ y in 𝓝 z, ∀ i : AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V, |
| 83 | ‖LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i y - LocalCoefficientOperators.Constructions.projectiveAdjointPrincipalCoefficient V e n i z‖ < ε := |
| 84 | Filter.eventually_all.mpr hi |
| 85 | obtain ⟨U, hU, hUopen, hzU⟩ := mem_nhds_iff.mp |
| 86 | (Filter.inter_mem ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz) hall) |
| 87 | exact ⟨U, hUopen, hzU, fun y hy => (hU hy).1, fun y hy => (hU hy).2⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.Analysis.HodgeTheory.Decomposition.FreezingError.Constructions |