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.CoefficientLinearity |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.CoordinateLp |
| 3 | |
| 4 | /-! # Supported Lp Difference -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.SupportedLpDifference.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pairwise L² coordinate comparisons for supported manifold forms. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | |
| 14 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 15 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 16 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 17 | {K : Set V.analyticSpace} (hK : IsCompact K) (hKe : K ⊆ e.source) |
| 18 | |
| 19 | theorem supportedCoordinatesLp_sub |
| 20 | (a b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 21 | (ha : ∀ x, x ∉ K → a x = 0) (hb : ∀ x, x ∉ K → b x = 0) |
| 22 | (hab : ∀ x, x ∉ K → (a - b) x = 0) : |
| 23 | CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe (a - b) hab = |
| 24 | CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe a ha - CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe b hb := by |
| 25 | apply Lp.ext |
| 26 | filter_upwards [(CoordinateLp.Constructions.supportedEuclideanCoefficients_memLp V e he n hK hKe (a - b) hab).coeFn_toLp, |
| 27 | (CoordinateLp.Constructions.supportedEuclideanCoefficients_memLp V e he n hK hKe a ha).coeFn_toLp, |
| 28 | (CoordinateLp.Constructions.supportedEuclideanCoefficients_memLp V e he n hK hKe b hb).coeFn_toLp, |
| 29 | Lp.coeFn_sub (CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe a ha) |
| 30 | (CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe b hb)] with x hx hy hz ht |
| 31 | rw [ht] |
| 32 | change (CoordinateLp.Constructions.supportedEuclideanCoefficients_memLp V e he n hK hKe (a - b) hab).toLp _ x = _ |
| 33 | rw [hx] |
| 34 | change _ = (CoordinateLp.Constructions.supportedEuclideanCoefficients_memLp V e he n hK hKe a ha).toLp _ x - |
| 35 | (CoordinateLp.Constructions.supportedEuclideanCoefficients_memLp V e he n hK hKe b hb).toLp _ x |
| 36 | rw [hy, hz] |
| 37 | exact congrFun ((CoefficientLinearity.Constructions.supportedCoefficientLinear V e n).map_sub a.val b.val) x |
| 38 | |
| 39 | variable [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] |
| 40 | |
| 41 | theorem supportedCoordinatesLp_dist_comparison : |
| 42 | ∃ C : ℝ, 0 < C ∧ |
| 43 | ∀ (a b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 44 | (ha : ∀ x, x ∉ K → a x = 0) (hb : ∀ x, x ∉ K → b x = 0), |
| 45 | dist (Form.Constructions.smoothToProjectiveL2 V n a) (Form.Constructions.smoothToProjectiveL2 V n b) ≤ |
| 46 | C * dist (CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe a ha) |
| 47 | (CoordinateLp.Constructions.supportedCoordinatesLp V e he n hK hKe b hb) := by |
| 48 | obtain ⟨C, hC, hbound⟩ := CoordinateLp.Constructions.projective_supported_coordinate_upper V e he n hK hKe |
| 49 | refine ⟨Real.sqrt C, Real.sqrt_pos.mpr hC, fun a b ha hb => ?_⟩ |
| 50 | have hab : ∀ x, x ∉ K → (a - b) x = 0 := by |
| 51 | intro x hx |
| 52 | change a x - b x = 0 |
| 53 | rw [ha x hx, hb x hx, sub_self] |
| 54 | have h := hbound (a - b) hab |
| 55 | rw [map_sub, supportedCoordinatesLp_sub V e he n hK hKe a b ha hb hab] at h |
| 56 | simp only [dist_eq_norm] |
| 57 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg C) (norm_nonneg _))).mp |
| 58 | rwa [mul_pow, Real.sq_sqrt hC.le] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.Analysis.HodgeTheory.Decomposition.SupportedLpDifference.Constructions |