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.FreezingError |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.GradientEnergy |
| 3 | |
| 4 | /-! # Integrated Freezing -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.IntegratedFreezing.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integrated coefficient-freezing error for genuine vector-valued |
| 11 | Schwartz functions, with hypotheses only on the input support. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory LineDeriv |
| 14 | open scoped SchwartzMap BigOperators |
| 15 | |
| 16 | theorem norm_sq_le_twice_add_error {G : Type*} [NormedAddCommGroup G] (v w : G) : |
| 17 | ‖w‖ ^ 2 ≤ 2 * ‖v‖ ^ 2 + 2 * ‖v - w‖ ^ 2 := by |
| 18 | have h : ‖w‖ ≤ ‖v‖ + ‖v - w‖ := by |
| 19 | simpa only [sub_sub_cancel] using norm_sub_le v (v - w) |
| 20 | have hs := (sq_le_sq₀ (norm_nonneg _) (add_nonneg (norm_nonneg _) (norm_nonneg _))).mpr h |
| 21 | nlinarith [sq_nonneg (‖v‖ - ‖v - w‖)] |
| 22 | |
| 23 | variable {E F G ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 24 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 25 | [NormedAddCommGroup F] [InnerProductSpace ℂ F] |
| 26 | [NormedAddCommGroup G] [InnerProductSpace ℂ G] [Fintype ι] |
| 27 | |
| 28 | theorem integrated_firstOrder_freezing |
| 29 | (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) (directions : ι → E) |
| 30 | (a : 𝓢(E, F)) (v w : 𝓢(E, G)) (z : E) (ε M : ℝ) (hε : 0 ≤ ε) (hM : 0 ≤ M) |
| 31 | (hv : ∀ x, v x = (∑ i, C i x (fderiv ℝ (a : E → F) x (directions i))) + Z x (a x)) |
| 32 | (hw : ∀ x, w x = ∑ i, C i z (fderiv ℝ (a : E → F) x (directions i))) |
| 33 | (hC : ∀ x ∈ tsupport a, ∀ i, ‖C i x - C i z‖ ≤ ε) |
| 34 | (hZ : ∀ x ∈ tsupport a, ‖Z x‖ ≤ M) : |
| 35 | (∫ x, ‖w x‖ ^ 2) ≤ 2 * (∫ x, ‖v x‖ ^ 2) + |
| 36 | 4 * ε ^ 2 * Fintype.card ι * (∑ i, ∫ x, ‖∂_{directions i} a x‖ ^ 2) + |
| 37 | 4 * M ^ 2 * ∫ x, ‖a x‖ ^ 2 := by |
| 38 | have hpoint (x : E) : ‖w x‖ ^ 2 ≤ 2 * ‖v x‖ ^ 2 + |
| 39 | 4 * ε ^ 2 * Fintype.card ι * (∑ i, ‖∂_{directions i} a x‖ ^ 2) + 4 * M ^ 2 * ‖a x‖ ^ 2 := by |
| 40 | by_cases hx : x ∈ tsupport a |
| 41 | · have he := FreezingError.Constructions.firstOrder_freezing_error_sq C Z directions (a : E → F) x z ε M hε hM (hC x hx) (hZ x hx) |
| 42 | rw [← hv x, ← hw x] at he |
| 43 | simp only [SchwartzMap.lineDerivOp_apply_eq_fderiv] |
| 44 | nlinarith [norm_sq_le_twice_add_error (v x) (w x)] |
| 45 | · have hd := fderiv_of_notMem_tsupport ℝ hx |
| 46 | have ha := image_eq_zero_of_notMem_tsupport hx |
| 47 | rw [hv, hw] |
| 48 | simp only [hd, ha, zero_apply, map_zero, Finset.sum_const_zero, add_zero, norm_zero, |
| 49 | zero_pow (by norm_num : 2 ≠ 0), mul_zero, SchwartzMap.lineDerivOp_apply_eq_fderiv, le_refl] |
| 50 | have hG : Integrable (fun x => ∑ i, ‖∂_{directions i} a x‖ ^ 2) volume := |
| 51 | integrable_finsetSum _ (fun i _ => GradientEnergy.Constructions.schwartz_normsq_integrable (∂_{directions i} a)) |
| 52 | have h := integral_mono (GradientEnergy.Constructions.schwartz_normsq_integrable w) |
| 53 | (((GradientEnergy.Constructions.schwartz_normsq_integrable v).const_mul 2).add |
| 54 | (hG.const_mul (4 * ε ^ 2 * Fintype.card ι)) |>.add |
| 55 | ((GradientEnergy.Constructions.schwartz_normsq_integrable a).const_mul (4 * M ^ 2))) hpoint |
| 56 | simp only [Pi.add_apply] at h |
| 57 | rw [integral_add, integral_add, integral_const_mul, integral_const_mul, integral_const_mul, |
| 58 | integral_finsetSum _ (fun i _ => GradientEnergy.Constructions.schwartz_normsq_integrable (∂_{directions i} a))] at h |
| 59 | · exact h |
| 60 | · exact (GradientEnergy.Constructions.schwartz_normsq_integrable v).const_mul 2 |
| 61 | · exact hG.const_mul _ |
| 62 | · exact ((GradientEnergy.Constructions.schwartz_normsq_integrable v).const_mul 2).add (hG.const_mul _) |
| 63 | · exact (GradientEnergy.Constructions.schwartz_normsq_integrable a).const_mul _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.Analysis.HodgeTheory.Decomposition.IntegratedFreezing.Constructions |