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 | /-! # Supported Operator -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.SupportedOperator.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A first-order operator with locally smooth coefficients preserves smooth |
| 11 | compact support when the input is supported inside the coefficient domain. -/ |
| 12 | |
| 13 | open scoped _root_.Topology ContDiff BigOperators SchwartzMap |
| 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 localFirstOrderValue (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) |
| 20 | (directions : ι → E) (u : E → F) (x : E) : G := |
| 21 | (∑ i, C i x (fderiv ℝ u x (directions i))) + Z x (u x) |
| 22 | |
| 23 | theorem localFirstOrderValue_tsupport (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) |
| 24 | (directions : ι → E) (u : E → F) : |
| 25 | tsupport (localFirstOrderValue C Z directions u) ⊆ tsupport u := by |
| 26 | apply closure_minimal ?_ (isClosed_tsupport u) |
| 27 | intro x hx |
| 28 | by_contra hxu |
| 29 | apply hx |
| 30 | simp [localFirstOrderValue, fderiv_of_notMem_tsupport ℝ hxu, |
| 31 | image_eq_zero_of_notMem_tsupport hxu] |
| 32 | |
| 33 | theorem localFirstOrderValue_smooth |
| 34 | (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) |
| 35 | (directions : ι → E) (u : E → F) (hu : ContDiff ℝ ∞ u) |
| 36 | {U : Set E} (hU : IsOpen U) (hs : tsupport u ⊆ U) |
| 37 | (hC : ∀ i, ContDiffOn ℝ ∞ (C i) U) (hZ : ContDiffOn ℝ ∞ Z U) : |
| 38 | ContDiff ℝ ∞ (localFirstOrderValue C Z directions u) := by |
| 39 | rw [contDiff_iff_contDiffAt] |
| 40 | intro x |
| 41 | by_cases hx : x ∈ tsupport u |
| 42 | · have hxU := hU.mem_nhds (hs hx) |
| 43 | have hD (i : ι) : ContDiffAt ℝ ∞ (fun y => fderiv ℝ u y (directions i)) x := |
| 44 | ((hu.contDiffAt.fderiv_right (by simp)).clm_apply contDiffAt_const) |
| 45 | exact (ContDiffAt.sum (fun i _ => ((hC i).contDiffAt hxU).clm_apply (hD i))).add |
| 46 | ((hZ.contDiffAt hxU).clm_apply hu.contDiffAt) |
| 47 | · have hout : x ∉ tsupport (localFirstOrderValue C Z directions u) := |
| 48 | fun h => hx (localFirstOrderValue_tsupport C Z directions u h) |
| 49 | exact contDiffAt_const.congr_of_eventuallyEq (notMem_tsupport_iff_eventuallyEq.mp hout) |
| 50 | |
| 51 | theorem localFirstOrderValue_compactSupport |
| 52 | (C : ι → E → F →L[ℝ] G) (Z : E → F →L[ℝ] G) |
| 53 | (directions : ι → E) (u : E → F) (hu : HasCompactSupport u) : |
| 54 | HasCompactSupport (localFirstOrderValue C Z directions u) := |
| 55 | hu.of_isClosed_subset (isClosed_tsupport _) (localFirstOrderValue_tsupport C Z directions u) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.Analysis.HodgeTheory.Decomposition.SupportedOperator.Constructions |