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.SupportedOperator |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Mul |
| 3 | |
| 4 | /-! # Cutoff Commutator -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.CutoffCommutator.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The commutator of an actual first-order operator with a real smooth |
| 11 | cutoff is an explicit order-zero operator. -/ |
| 12 | |
| 13 | open scoped BigOperators ContDiff |
| 14 | |
| 15 | variable {E F G ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 17 | [NormedAddCommGroup G] [NormedSpace ℝ G] [Fintype ι] |
| 18 | |
| 19 | def firstOrderCutoffCoefficient (C : ι → E → F →L[ℝ] G) |
| 20 | (directions : ι → E) (f : E → ℝ) (x : E) : F →L[ℝ] G := |
| 21 | ∑ i, (fderiv ℝ f x (directions i)) • C i x |
| 22 | |
| 23 | theorem localFirstOrderValue_real_smul |
| 24 | (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) (directions : ι → E) |
| 25 | (f : E → ℝ) (u : E → F) (x : E) |
| 26 | (hf : DifferentiableAt ℝ f x) (hu : DifferentiableAt ℝ u x) : |
| 27 | SupportedOperator.Constructions.localFirstOrderValue C Z directions (fun y => f y • u y) x = |
| 28 | f x • SupportedOperator.Constructions.localFirstOrderValue C Z directions u x + |
| 29 | firstOrderCutoffCoefficient C directions f x (u x) := by |
| 30 | rw [SupportedOperator.Constructions.localFirstOrderValue, fderiv_fun_smul hf hu] |
| 31 | simp only [add_apply, ContinuousLinearMap.smulRight_apply, smul_apply, map_add, map_smul, |
| 32 | Finset.sum_add_distrib, ← Finset.smul_sum, firstOrderCutoffCoefficient, sum_apply, SupportedOperator.Constructions.localFirstOrderValue, |
| 33 | smul_add] |
| 34 | abel |
| 35 | |
| 36 | theorem firstOrderCutoffCoefficient_norm_bound |
| 37 | (C : ι → E → F →L[ℝ] G) (directions : ι → E) (f : E → ℝ) (x : E) |
| 38 | (A B : ℝ) (hA : 0 ≤ A) |
| 39 | (hC : ∀ i, ‖C i x‖ ≤ A) (hf : ∀ i, ‖fderiv ℝ f x (directions i)‖ ≤ B) : |
| 40 | ‖firstOrderCutoffCoefficient C directions f x‖ ≤ Fintype.card ι * (B * A) := by |
| 41 | calc |
| 42 | _ ≤ ∑ i, ‖(fderiv ℝ f x (directions i)) • C i x‖ := norm_sum_le _ _ |
| 43 | _ ≤ ∑ _i : ι, B * A := by |
| 44 | apply Finset.sum_le_sum |
| 45 | intro i _ |
| 46 | rw [norm_smul] |
| 47 | exact (mul_le_mul_of_nonneg_left (hC i) (norm_nonneg _)).trans |
| 48 | (mul_le_mul_of_nonneg_right (hf i) hA) |
| 49 | _ = _ := by simp only [Finset.sum_const, Finset.card_univ, nsmul_eq_mul] |
| 50 | |
| 51 | theorem firstOrderCutoffCoefficient_smooth |
| 52 | (C : ι → E → F →L[ℝ] G) (directions : ι → E) (f : E → ℝ) |
| 53 | {U : Set E} (hU : IsOpen U) |
| 54 | (hC : ∀ i, ContDiffOn ℝ ∞ (C i) U) (hf : ContDiffOn ℝ ∞ f U) : |
| 55 | ContDiffOn ℝ ∞ (firstOrderCutoffCoefficient C directions f) U := by |
| 56 | apply ContDiffOn.sum |
| 57 | intro i _ |
| 58 | have hd : ContDiffOn ℝ ∞ (fun x => fderiv ℝ f x (directions i)) U := by |
| 59 | intro x hx |
| 60 | exact (((hf.contDiffAt (hU.mem_nhds hx)).fderiv_right (by simp)).clm_apply |
| 61 | contDiffAt_const).contDiffWithinAt |
| 62 | exact hd.smul (hC i) |
| 63 | |
| 64 | theorem firstOrderCutoffCoefficient_bounded |
| 65 | (C : ι → E → F →L[ℝ] G) (directions : ι → E) (f : E → ℝ) |
| 66 | {U K : Set E} (hU : IsOpen U) (hK : IsCompact K) (hKU : K ⊆ U) |
| 67 | (hC : ∀ i, ContDiffOn ℝ ∞ (C i) U) (hf : ContDiffOn ℝ ∞ f U) : |
| 68 | ∃ B : ℝ, 0 ≤ B ∧ ∀ x ∈ K, ‖firstOrderCutoffCoefficient C directions f x‖ ≤ B := by |
| 69 | obtain ⟨B, hB⟩ := hK.bddAbove_image |
| 70 | (((firstOrderCutoffCoefficient_smooth C directions f hU hC hf).continuousOn.mono hKU).norm) |
| 71 | exact ⟨max B 0, le_max_right _ _, fun x hx => (hB ⟨x, hx, rfl⟩).trans (le_max_left _ _)⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.Analysis.HodgeTheory.Decomposition.CutoffCommutator.Constructions |