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.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothMetricLocalization |
| 2 | |
| 3 | /-! # Smooth Frozen Extension -/ |
| 4 | |
| 5 | namespace OAI.Analysis.HodgeTheory.Decomposition.SmoothFrozenExtension.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A smooth coefficient field has a bounded Lipschitz extension near any |
| 10 | interior point, uniformly close to its value at that point. -/ |
| 11 | |
| 12 | open Set _root_.Metric |
| 13 | open scoped ContDiff _root_.Topology |
| 14 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothMetricLocalization.CM.Construction |
| 15 | |
| 16 | variable {E G : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | [FiniteDimensional ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 18 | |
| 19 | theorem exists_smooth_frozen_extension {U : Set E} (hU : IsOpen U) |
| 20 | (A : E → G) (hA : ContDiffOn ℝ ∞ A U) {z : E} (hz : z ∈ U) |
| 21 | {ε : ℝ} (hε : 0 < ε) : |
| 22 | ∃ B : E → G, B =ᶠ[𝓝 z] A ∧ ContDiff ℝ ∞ B ∧ |
| 23 | HasCompactSupport (fun x => B x - A z) ∧ |
| 24 | (∀ x, ‖B x - A z‖ ≤ ε) ∧ |
| 25 | (∃ C : ℝ, ∀ x, ‖B x‖ ≤ C) ∧ (∃ L : NNReal, LipschitzWith L B) := by |
| 26 | have hcont : ContinuousAt (fun x => ‖A x - A z‖) z := |
| 27 | (((hA.contDiffAt (hU.mem_nhds hz)).continuousAt).sub continuousAt_const).norm |
| 28 | have hsmall : ∀ᶠ x in 𝓝 z, ‖A x - A z‖ < ε := |
| 29 | hcont.eventually (gt_mem_nhds (by simpa only [sub_self, norm_zero] using hε)) |
| 30 | have hUe : ∀ᶠ x in 𝓝 z, x ∈ U := hU.mem_nhds hz |
| 31 | obtain ⟨r, hr, hball⟩ := Metric.eventually_nhds_iff.mp (hUe.and hsmall) |
| 32 | obtain ⟨η, hη, hηc, hηball, hη₀, hη₁, hηz⟩ := |
| 33 | AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothMetricLocalization.CM.Construction.exists_smooth_local_cutoff (U := ball z r) isOpen_ball (mem_ball_self hr) |
| 34 | have hηU : tsupport η ⊆ U := fun x hx => (hball ((mem_ball).mp (hηball hx))).1 |
| 35 | let B := fun x => A z + η x • (A x - A z) |
| 36 | have hB : ContDiff ℝ ∞ B := by |
| 37 | apply contDiff_iff_contDiffAt.mpr |
| 38 | intro x |
| 39 | by_cases hx : x ∈ U |
| 40 | · exact contDiffAt_const.add (hη.contDiffAt.smul |
| 41 | ((hA.contDiffAt (hU.mem_nhds hx)).sub contDiffAt_const)) |
| 42 | · have hzero : η =ᶠ[𝓝 x] 0 := notMem_tsupport_iff_eventuallyEq.mp (fun h => hx (hηU h)) |
| 43 | have heq : B =ᶠ[𝓝 x] (fun _ => A z) := by |
| 44 | filter_upwards [hzero] with y hy |
| 45 | simp only [B, hy, Pi.zero_apply, zero_smul, add_zero] |
| 46 | exact contDiffAt_const.congr_of_eventuallyEq heq |
| 47 | have hBc : HasCompactSupport (fun x => B x - A z) := by |
| 48 | apply hηc.mono' |
| 49 | intro x hx |
| 50 | by_contra hn |
| 51 | exact hx (by simp only [B, image_eq_zero_of_notMem_tsupport hn, zero_smul, add_zero, sub_self]) |
| 52 | have hclose (x : E) : ‖B x - A z‖ ≤ ε := by |
| 53 | by_cases hx : x ∈ tsupport η |
| 54 | · have hs := (hball ((mem_ball).mp (hηball hx))).2.le |
| 55 | have hηnorm : ‖η x‖ ≤ 1 := by rw [Real.norm_eq_abs, abs_of_nonneg (hη₀ x)]; exact hη₁ x |
| 56 | calc |
| 57 | _ = ‖η x‖ * ‖A x - A z‖ := by |
| 58 | dsimp [B] |
| 59 | rw [add_sub_cancel_left, norm_smul, Real.norm_eq_abs] |
| 60 | _ ≤ 1 * ε := mul_le_mul hηnorm hs (norm_nonneg _) (by norm_num) |
| 61 | _ = ε := one_mul ε |
| 62 | · simp only [B, image_eq_zero_of_notMem_tsupport hx, zero_smul, add_zero, sub_self, norm_zero] |
| 63 | exact hε.le |
| 64 | refine ⟨B, ?_, hB, hBc, hclose, ⟨‖A z‖ + ε, fun x => ?_⟩, ?_⟩ |
| 65 | · filter_upwards [hηz] with x hx |
| 66 | simp only [B, hx, Pi.one_apply, one_smul, add_sub_cancel] |
| 67 | · calc |
| 68 | _ ≤ ‖A z‖ + ‖B x - A z‖ := by |
| 69 | simpa only [norm_sub_rev] using norm_le_norm_add_norm_sub (A z) (B x) |
| 70 | _ ≤ _ := add_le_add le_rfl (hclose x) |
| 71 | · obtain ⟨L, hL⟩ := AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothCoefficientExtension.CM.Construction.compact_smooth_lipschitz (fun x => B x - A z) (hB.sub contDiff_const) hBc |
| 72 | refine ⟨L, LipschitzWith.of_dist_le_mul (fun x y => ?_)⟩ |
| 73 | simpa only [dist_eq_norm, sub_sub_sub_cancel_right] using hL.dist_le_mul x y |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.Analysis.HodgeTheory.Decomposition.SmoothFrozenExtension.Constructions |