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.Comparison.Betti.Smooth.ParameterCircleIntegral |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Comp |
| 3 | |
| 4 | /-! # Contour Derivative -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.ContourDerivative.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The original parameter derivative of a smooth contour-integral |
| 13 | family, defined by restriction of its actual joint Fréchet derivative. -/ |
| 14 | |
| 15 | open Set _root_.Metric |
| 16 | open scoped _root_.Topology ContDiff |
| 17 | |
| 18 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 19 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 20 | |
| 21 | def circleParameterDerivative (g : P × ℂ → F) (q : P × ℂ) : P →L[ℝ] F := |
| 22 | (fderiv ℝ g q).comp (ContinuousLinearMap.inl ℝ P ℂ) |
| 23 | |
| 24 | theorem circleParameterDerivative_smooth {g : P × ℂ → F} {W : Set (P × ℂ)} |
| 25 | (hW : IsOpen W) (hg : ContDiffOn ℝ ∞ g W) : |
| 26 | ContDiffOn ℝ ∞ (circleParameterDerivative g) W := |
| 27 | (hg.fderiv_of_isOpen hW (m := ∞) (by simp)).clm_comp contDiffOn_const |
| 28 | |
| 29 | variable [FiniteDimensional ℝ P] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 30 | |
| 31 | theorem hasFDerivAt_circleIntegral_of_smooth {g : P × ℂ → F} {W : Set (P × ℂ)} |
| 32 | (hW : IsOpen W) (hg : ContDiffOn ℝ ∞ g W) {S : Set P} (hS : IsOpen S) |
| 33 | {p : P} (hp : p ∈ S) {c : ℂ} {r : ℝ} (hr : 0 ≤ r) (hSW : S ×ˢ sphere c r ⊆ W) : |
| 34 | HasFDerivAt (fun q => circleIntegral (fun z => g (q, z)) c r) |
| 35 | (circleIntegral (fun z => circleParameterDerivative g (p, z)) c r) p := by |
| 36 | apply ParameterCircleIntegral.Dolbeault.hasFDerivAt_parameter_circleIntegral (g := fun q z => g (q, z)) |
| 37 | (g' := fun q z => circleParameterDerivative g (q, z)) hS hp hr |
| 38 | (hg.continuousOn.mono hSW) ((circleParameterDerivative_smooth hW hg).continuousOn.mono hSW) |
| 39 | intro q hq z hz |
| 40 | exact ((hg.contDiffAt (hW.mem_nhds (hSW ⟨hq, hz⟩))).differentiableAt (by simp)).hasFDerivAt.comp q |
| 41 | (hasFDerivAt_prodMk_left q z) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | /-! Smooth parameter dependence of the actual contour integral, proved |
| 46 | by repeated differentiation under the integral in the operator-valued codomain. -/ |
| 47 | |
| 48 | open Set _root_.Metric |
| 49 | open scoped ContDiff |
| 50 | |
| 51 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] |
| 52 | |
| 53 | theorem contDiffOn_circleIntegral_nat (n : ℕ) |
| 54 | {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 55 | [IsScalarTower ℝ ℂ F] {g : P × ℂ → F} {W : Set (P × ℂ)} |
| 56 | (hW : IsOpen W) (hg : ContDiffOn ℝ ∞ g W) {S : Set P} (hS : IsOpen S) |
| 57 | {c : ℂ} {r : ℝ} (hr : 0 ≤ r) (hSW : S ×ˢ sphere c r ⊆ W) : |
| 58 | ContDiffOn ℝ n (fun p => circleIntegral (fun z => g (p, z)) c r) S := by |
| 59 | induction n generalizing F with |
| 60 | | zero => |
| 61 | apply contDiffOn_zero.mpr |
| 62 | intro p hp |
| 63 | exact (hasFDerivAt_circleIntegral_of_smooth hW hg hS hp hr hSW).continuousAt.continuousWithinAt |
| 64 | | succ n ih => |
| 65 | rw [Nat.cast_add, Nat.cast_one] |
| 66 | apply (contDiffOn_succ_iff_hasFDerivWithinAt_of_uniqueDiffOn hS.uniqueDiffOn).mpr |
| 67 | refine ⟨by simp, fun p => circleIntegral (fun z => circleParameterDerivative g (p, z)) c r, |
| 68 | ih (circleParameterDerivative_smooth hW hg), ?_⟩ |
| 69 | intro p hp |
| 70 | exact (hasFDerivAt_circleIntegral_of_smooth hW hg hS hp hr hSW).hasFDerivWithinAt |
| 71 | |
| 72 | theorem contDiffOn_circleIntegral_smooth |
| 73 | {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 74 | [IsScalarTower ℝ ℂ F] {g : P × ℂ → F} {W : Set (P × ℂ)} |
| 75 | (hW : IsOpen W) (hg : ContDiffOn ℝ ∞ g W) {S : Set P} (hS : IsOpen S) |
| 76 | {c : ℂ} {r : ℝ} (hr : 0 ≤ r) (hSW : S ×ˢ sphere c r ⊆ W) : |
| 77 | ContDiffOn ℝ ∞ (fun p => circleIntegral (fun z => g (p, z)) c r) S := |
| 78 | contDiffOn_infty.mpr (fun n => contDiffOn_circleIntegral_nat n hW hg hS hr hSW) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.ContourDerivative.Dolbeault |