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.DirectionalCommutation |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Smooth.HolomorphicSliceDerivatives |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ParameterDerivatives |
| 4 | |
| 5 | /-! # Mixed Commutation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.MixedCommutation.Dolbeault |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual parameter differentiation commutes with differentiation in |
| 12 | the holomorphic line, using the original real second derivative. -/ |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped ContDiff _root_.Topology |
| 16 | |
| 17 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedSpace ℂ P] |
| 18 | [IsScalarTower ℝ ℂ P] |
| 19 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 20 | |
| 21 | theorem holomorphicSlice_deriv_parameter_commute {g : P × ℂ → F} {S : Set P} {U : Set ℂ} |
| 22 | (hS : IsOpen S) (hU : IsOpen U) (hg : ContDiffOn ℝ ∞ g (S ×ˢ U)) |
| 23 | (hhol : ∀ p ∈ S, DifferentiableOn ℂ (fun z => g (p, z)) U) |
| 24 | {q : P × ℂ} (hq : q ∈ S ×ˢ U) (v : P) : |
| 25 | fderiv ℝ (fun y : P × ℂ => deriv (fun z => g (y.1, z)) y.2) q (v, 0) = |
| 26 | deriv (fun z => fderiv ℝ g (q.1, z) (v, 0)) q.2 := by |
| 27 | have hqg := hg.contDiffAt ((hS.prod hU).mem_nhds hq) |
| 28 | have he : (fun y : P × ℂ => deriv (fun z => g (y.1, z)) y.2) =ᶠ[𝓝 q] |
| 29 | (fun y => fderiv ℝ g y (0, 1)) := by |
| 30 | filter_upwards [(hS.prod hU).mem_nhds hq] with y hy |
| 31 | exact Smooth.HolomorphicSliceDerivatives.Dolbeault.holomorphicSlice_deriv_eq_real |
| 32 | ((hg.contDiffAt ((hS.prod hU).mem_nhds hy)).differentiableAt (by simp)) |
| 33 | ((hhol y.1 hy.1 y.2 hy.2).differentiableAt (hU.mem_nhds hy.2)) |
| 34 | have hD : DifferentiableAt ℝ (fun y => fderiv ℝ g y (v, 0)) q := |
| 35 | ((ParameterDerivatives.Dolbeault.constantDerivative_smooth_on hS hU hg (v, 0)).contDiffAt |
| 36 | ((hS.prod hU).mem_nhds hq)).differentiableAt (by simp) |
| 37 | have hDh : DifferentiableAt ℂ (fun z => fderiv ℝ g (q.1, z) (v, 0)) q.2 := |
| 38 | ((ParameterDerivatives.Dolbeault.holomorphicSlice_constantDerivative hS hU hg hhol (v, 0) hq.1) q.2 hq.2).differentiableAt |
| 39 | (hU.mem_nhds hq.2) |
| 40 | rw [he.fderiv_eq, Smooth.HolomorphicSliceDerivatives.Dolbeault.holomorphicSlice_deriv_eq_real hD hDh] |
| 41 | exact Smooth.DirectionalCommutation.Dolbeault.smooth_constantDerivative_commute hqg (0, 1) (v, 0) |
| 42 | |
| 43 | theorem holomorphicSlice_iteratedDeriv_parameter_commute [CompleteSpace F] |
| 44 | {g : P × ℂ → F} {S : Set P} {U : Set ℂ} |
| 45 | (hS : IsOpen S) (hU : IsOpen U) (hg : ContDiffOn ℝ ∞ g (S ×ˢ U)) |
| 46 | (hhol : ∀ p ∈ S, DifferentiableOn ℂ (fun z => g (p, z)) U) |
| 47 | (l : ℕ) {q : P × ℂ} (hq : q ∈ S ×ˢ U) (v : P) : |
| 48 | fderiv ℝ (fun y : P × ℂ => iteratedDeriv l (fun z => g (y.1, z)) y.2) q (v, 0) = |
| 49 | iteratedDeriv l (fun z => fderiv ℝ g (q.1, z) (v, 0)) q.2 := by |
| 50 | induction l generalizing q with |
| 51 | | zero => rfl |
| 52 | | succ l ih => |
| 53 | let G : P × ℂ → F := fun y => iteratedDeriv l (fun z => g (y.1, z)) y.2 |
| 54 | have hG : ContDiffOn ℝ ∞ G (S ×ˢ U) := Smooth.HolomorphicSliceDerivatives.Dolbeault.holomorphicSlice_iteratedDeriv_smooth hS hU hg hhol l |
| 55 | have hGh : ∀ p ∈ S, DifferentiableOn ℂ (fun z => G (p, z)) U := |
| 56 | fun p hp => DerivativeApproximation.Dolbeault.holomorphic_iteratedDeriv_on (hhol p hp) hU l |
| 57 | simp only [iteratedDeriv_succ] |
| 58 | change fderiv ℝ (fun y : P × ℂ => deriv (fun z => G (y.1, z)) y.2) q (v, 0) = _ |
| 59 | rw [holomorphicSlice_deriv_parameter_commute hS hU hG hGh hq v] |
| 60 | apply Filter.EventuallyEq.deriv_eq |
| 61 | filter_upwards [hU.mem_nhds hq.2] with z hz |
| 62 | exact ih (q := (q.1, z)) ⟨hq.1, hz⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.MixedCommutation.Dolbeault |