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.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF |
| 2 | import Mathlib.Analysis.Analytic.Order |
| 3 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 4 | |
| 5 | /-! # Directional Jets On -/ |
| 6 | |
| 7 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.DirectionalJetsOn.Constructions.DirectionalJets |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # RiemannProjectivity: directional jets detect nonflat holomorphic zeros |
| 13 | |
| 14 | Repeated directional derivatives remain holomorphic. Along an affine |
| 15 | complex line they agree with ordinary iterated derivatives. A finite order |
| 16 | zero on such a line therefore lies on a regular zero set of one of the |
| 17 | directional derivatives. |
| 18 | -/ |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped _root_.Topology |
| 22 | |
| 23 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 24 | |
| 25 | def jet (f : V → ℂ) (v : V) : ℕ → V → ℂ |
| 26 | | 0 => f |
| 27 | | n + 1 => fun x => fderiv ℂ (jet f v n) x v |
| 28 | |
| 29 | theorem differentiableOn_jet {f : V → ℂ} {U : Set V} |
| 30 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) (v : V) (n : ℕ) : |
| 31 | DifferentiableOn ℂ (DirectionalJets.jet f v n) U := by |
| 32 | induction n with |
| 33 | | zero => exact hf |
| 34 | | succ n ih => |
| 35 | exact fun x hx => (HolomorphicContourF.Constructions.HolomorphicDerivative.differentiableAt_directionalDerivative hU ih hx v).differentiableWithinAt |
| 36 | |
| 37 | theorem jet_eq_iteratedDeriv {f : V → ℂ} {U : Set V} |
| 38 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) (x v : V) (n : ℕ) |
| 39 | {c : ℂ} (hc : x + c • v ∈ U) : |
| 40 | iteratedDeriv n (fun t : ℂ => f (x + t • v)) c = DirectionalJets.jet f v n (x + c • v) := by |
| 41 | have hline : Differentiable ℂ (fun t : ℂ => x + t • v) := |
| 42 | (differentiable_id.smul_const v).const_add x |
| 43 | have hnear : (fun t : ℂ => x + t • v) ⁻¹' U ∈ 𝓝 c := |
| 44 | (hU.preimage hline.continuous).mem_nhds hc |
| 45 | induction n generalizing c with |
| 46 | | zero => rfl |
| 47 | | succ n ih => |
| 48 | have heq : iteratedDeriv n (fun t : ℂ => f (x + t • v)) =ᶠ[𝓝 c] |
| 49 | (fun t => DirectionalJets.jet f v n (x + t • v)) := by |
| 50 | filter_upwards [hnear] with t ht |
| 51 | exact ih ht ((hU.preimage hline.continuous).mem_nhds ht) |
| 52 | rw [iteratedDeriv_succ, heq.deriv_eq] |
| 53 | have hd := (((differentiableOn_jet hU hf v n) _ hc).differentiableAt |
| 54 | (hU.mem_nhds hc)).hasFDerivAt |
| 55 | simpa only [DirectionalJets.jet, Function.comp_def, id_eq, one_smul] using! |
| 56 | (hd.comp_hasDerivAt c (((hasDerivAt_id c).smul_const v).const_add x)).deriv |
| 57 | |
| 58 | theorem exists_regular_jet_of_nonzero_line {f : V → ℂ} {U : Set V} |
| 59 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) {x : V} (hx : x ∈ U) |
| 60 | (hzero : f x = 0) (v : V) |
| 61 | (hnot : ¬∀ᶠ t : ℂ in 𝓝 0, f (x + t • v) = 0) : |
| 62 | ∃ n : ℕ, DirectionalJets.jet f v n x = 0 ∧ Function.Surjective (fderiv ℂ (DirectionalJets.jet f v n) x) := by |
| 63 | let g : ℂ → ℂ := fun t => f (x + t • v) |
| 64 | have hline : Differentiable ℂ (fun t : ℂ => x + t • v) := |
| 65 | (differentiable_id.smul_const v).const_add x |
| 66 | have hnear : (fun t : ℂ => x + t • v) ⁻¹' U ∈ 𝓝 0 := |
| 67 | (hU.preimage hline.continuous).mem_nhds (by simpa using hx) |
| 68 | have hga : AnalyticAt ℂ g 0 := |
| 69 | (hf.comp hline.differentiableOn (mapsTo_preimage _ _)).analyticAt hnear |
| 70 | have horder : analyticOrderAt g 0 ≠ ⊤ := fun h => hnot (analyticOrderAt_eq_top.mp h) |
| 71 | have hnat := (analyticOrderAt_eq_nat_iff_iteratedDeriv_eq_zero hga).mp |
| 72 | (Nat.cast_analyticOrderNatAt horder).symm |
| 73 | rcases hN : analyticOrderNatAt g 0 with _ | n |
| 74 | · have h := hnat.2 |
| 75 | rw [hN] at h |
| 76 | exact False.elim (h (by simpa only [iteratedDeriv_zero, g, zero_smul, add_zero] using hzero)) |
| 77 | · have hnj : iteratedDeriv n g 0 = 0 := hnat.1 n (by omega) |
| 78 | have hsj : iteratedDeriv (n + 1) g 0 ≠ 0 := by simpa only [hN] using hnat.2 |
| 79 | have hjet (m : ℕ) : iteratedDeriv m g 0 = DirectionalJets.jet f v m x := by |
| 80 | simpa only [g, zero_smul, add_zero] using jet_eq_iteratedDeriv hU hf x v m (c := 0) (by simpa using hx) |
| 81 | refine ⟨n, (hjet n).symm.trans hnj, ?_⟩ |
| 82 | have hdne : (fderiv ℂ (DirectionalJets.jet f v n) x).toLinearMap ≠ 0 := by |
| 83 | intro hd0 |
| 84 | apply hsj |
| 85 | rw [hjet] |
| 86 | change (fderiv ℂ (DirectionalJets.jet f v n) x).toLinearMap v = 0 |
| 87 | rw [hd0, LinearMap.zero_apply] |
| 88 | exact LinearMap.surjective hdne |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.DirectionalJetsOn.Constructions.DirectionalJets |