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.MixedJetPartialDerivatives |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Partial |
| 3 | |
| 4 | /-! # Mixed Jet Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.MixedJetDifferential.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual joint derivative of a mixed jet is the sum of two |
| 11 | continuous linear images of its adjacent parameter and line jets. -/ |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped ContDiff _root_.Topology |
| 15 | |
| 16 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 18 | |
| 19 | def mixedJetParameterDifferential (k : ℕ) : |
| 20 | ContinuousMultilinearMap ℝ (fun _ : Fin (k + 1) => P) F →L[ℝ] |
| 21 | (P × ℂ →L[ℝ] ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F) where |
| 22 | toFun T := T.curryLeft.comp (ContinuousLinearMap.fst ℝ P ℂ) |
| 23 | map_add' _ _ := rfl |
| 24 | map_smul' _ _ := rfl |
| 25 | cont := (continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (k + 1) => P) F).continuous.clm_comp continuous_const |
| 26 | |
| 27 | def mixedJetLineDifferential (k : ℕ) : |
| 28 | ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F →L[ℝ] |
| 29 | (P × ℂ →L[ℝ] ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F) where |
| 30 | toFun T := ((ContinuousLinearMap.lsmul ℝ ℂ).flip T).comp (ContinuousLinearMap.snd ℝ P ℂ) |
| 31 | map_add' A B := by |
| 32 | rw [map_add] |
| 33 | rfl |
| 34 | map_smul' a T := by |
| 35 | rw [map_smul] |
| 36 | rfl |
| 37 | cont := (ContinuousLinearMap.lsmul ℝ ℂ).flip.continuous.clm_comp continuous_const |
| 38 | |
| 39 | theorem mixedJetDifferential_contDiffOn {n : ℕ∞ω} {S : Set (P × ℂ)} (k : ℕ) |
| 40 | {A : P × ℂ → ContinuousMultilinearMap ℝ (fun _ : Fin (k + 1) => P) F} |
| 41 | {B : P × ℂ → ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F} |
| 42 | (hA : ContDiffOn ℝ n A S) (hB : ContDiffOn ℝ n B S) : |
| 43 | ContDiffOn ℝ n (fun q => mixedJetParameterDifferential (P := P) (F := F) k (A q) + |
| 44 | mixedJetLineDifferential (P := P) (F := F) k (B q)) S := by |
| 45 | have hp := ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 46 | (E := ContinuousMultilinearMap ℝ (fun _ : Fin (k + 1) => P) F) |
| 47 | (F := P × ℂ →L[ℝ] ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F) |
| 48 | (mixedJetParameterDifferential (P := P) (F := F) k) |
| 49 | have hl := ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 50 | (E := ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F) |
| 51 | (F := P × ℂ →L[ℝ] ContinuousMultilinearMap ℝ (fun _ : Fin k => P) F) |
| 52 | (mixedJetLineDifferential (P := P) (F := F) k) |
| 53 | have h1 : ContDiffOn ℝ n (fun q => mixedJetParameterDifferential (P := P) (F := F) k (A q)) S := by |
| 54 | convert hp.comp_contDiffOn hA using 1 |
| 55 | rfl |
| 56 | have h2 : ContDiffOn ℝ n (fun q => mixedJetLineDifferential (P := P) (F := F) k (B q)) S := by |
| 57 | convert hl.comp_contDiffOn hB using 1 |
| 58 | rfl |
| 59 | exact h1.add h2 |
| 60 | |
| 61 | variable [NormedSpace ℂ P] [IsScalarTower ℝ ℂ P] [CompleteSpace F] |
| 62 | |
| 63 | theorem hasFDerivAt_mixedParameterJet {g : P × ℂ → F} (hg : ContDiff ℝ ∞ g) |
| 64 | {U : Set ℂ} (hU : IsOpen U) (hhol : ∀ p : P, DifferentiableOn ℂ (fun z => g (p, z)) U) |
| 65 | (k l : ℕ) {q : P × ℂ} (hq : q.2 ∈ U) : |
| 66 | HasFDerivAt (MixedJetAlgebra.Dolbeault.mixedParameterJet g k l) |
| 67 | (mixedJetParameterDifferential (P := P) (F := F) k (MixedJetAlgebra.Dolbeault.mixedParameterJet g (k + 1) l q) + |
| 68 | mixedJetLineDifferential (P := P) (F := F) k (MixedJetAlgebra.Dolbeault.mixedParameterJet g k (l + 1) q)) q := by |
| 69 | have hparam : ∀ᶠ y in 𝓝 q, HasFDerivAt (fun p => MixedJetAlgebra.Dolbeault.mixedParameterJet g k l (p, y.2)) |
| 70 | (MixedJetAlgebra.Dolbeault.mixedParameterJet g (k + 1) l y).curryLeft y.1 := by |
| 71 | filter_upwards [(isOpen_univ.prod hU).mem_nhds (show q ∈ univ ×ˢ U from ⟨mem_univ _, hq⟩)] with y hy |
| 72 | exact MixedJetPartialDerivatives.Dolbeault.hasFDerivAt_mixedParameterJet_parameter hg hU hhol k l y.1 hy.2 |
| 73 | have hline : ∀ᶠ y in 𝓝 q, HasFDerivAt (fun z => MixedJetAlgebra.Dolbeault.mixedParameterJet g k l (y.1, z)) |
| 74 | ((ContinuousLinearMap.lsmul ℝ ℂ).flip (MixedJetAlgebra.Dolbeault.mixedParameterJet g k (l + 1) y)) y.2 := by |
| 75 | filter_upwards [(isOpen_univ.prod hU).mem_nhds (show q ∈ univ ×ˢ U from ⟨mem_univ _, hq⟩)] with y hy |
| 76 | convert (MixedJetPartialDerivatives.Dolbeault.hasDerivAt_mixedParameterJet_line hg hU hhol k l y.1 hy.2).hasFDerivAt.restrictScalars ℝ using 1; rfl |
| 77 | have hc1 : ContinuousAt (fun y => (MixedJetAlgebra.Dolbeault.mixedParameterJet g (k + 1) l y).curryLeft) q := |
| 78 | (continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (k + 1) => P) F).continuous.continuousAt.comp |
| 79 | ((MixedJetAlgebra.Dolbeault.mixedParameterJet_smooth hg hU hhol (k + 1) l).contDiffAt |
| 80 | ((isOpen_univ.prod hU).mem_nhds ⟨mem_univ _, hq⟩)).continuousAt |
| 81 | have hc2 : ContinuousAt (fun y => (ContinuousLinearMap.lsmul ℝ ℂ).flip |
| 82 | (MixedJetAlgebra.Dolbeault.mixedParameterJet g k (l + 1) y)) q := |
| 83 | (ContinuousLinearMap.lsmul ℝ ℂ).flip.continuous.continuousAt.comp |
| 84 | ((MixedJetAlgebra.Dolbeault.mixedParameterJet_smooth hg hU hhol k (l + 1)).contDiffAt |
| 85 | ((isOpen_univ.prod hU).mem_nhds ⟨mem_univ _, hq⟩)).continuousAt |
| 86 | have h := hasStrictFDerivAt_uncurry_coprod (𝕜 := ℝ) |
| 87 | (f := fun p z => MixedJetAlgebra.Dolbeault.mixedParameterJet g k l (p, z)) |
| 88 | (f₁ := fun p z => (MixedJetAlgebra.Dolbeault.mixedParameterJet g (k + 1) l (p, z)).curryLeft) |
| 89 | (f₂ := fun p z => (ContinuousLinearMap.lsmul ℝ ℂ).flip (MixedJetAlgebra.Dolbeault.mixedParameterJet g k (l + 1) (p, z))) |
| 90 | hparam hline hc1 hc2 |
| 91 | convert h.hasFDerivAt using 1 <;> rfl |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Comparison.Betti.MixedJetDifferential.Dolbeault |