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.DivisorClass.Chern.ScalarDolbeaultCommutation |
| 2 | |
| 3 | /-! # Dolbeault One Form Correction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultOneFormCorrection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Subtracting an actual scalar Dolbeault derivative removes a coefficient and preserves closedness. -/ |
| 10 | |
| 11 | open _root_.TopologicalSpace Filter _root_.ContinuousAlternatingMap |
| 12 | open scoped ContDiff _root_.Topology |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] {U : Opens E} |
| 20 | |
| 21 | def correctDolbeaultOneForm (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) (g : E → ℂ) |
| 22 | (hg : ContDiffOn ℝ ∞ g (U : Set E)) : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1 := |
| 23 | a - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) |
| 24 | |
| 25 | theorem correctDolbeaultOneForm_coefficient (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) {g : E → ℂ} |
| 26 | (hg : ContDiffOn ℝ ∞ g (U : Set E)) (x : U) (v : E) : |
| 27 | AntiOneFormCoordinates.oneFormLinear (correctDolbeaultOneForm a g hg x) v = |
| 28 | AntiOneFormCoordinates.oneFormLinear (a x) v - AntiOneFormCoordinates.antilinearScalarDerivative g x v := by |
| 29 | change AntiOneFormCoordinates.oneFormLinear (a x - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x) v = _ |
| 30 | change AntiOneFormCoordinates.oneFormLinearEquiv.symm (a x - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x) v = _ |
| 31 | rw [map_sub] |
| 32 | change AntiOneFormCoordinates.oneFormLinear (a x) v - AntiOneFormCoordinates.oneFormLinear (DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x) v = _ |
| 33 | rw [ScalarDolbeaultCommutation.scalarOpenZeroForm_dbar_coefficient hg] |
| 34 | |
| 35 | theorem correctDolbeaultOneForm_closed (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) |
| 36 | (ha : DolbeaultOpen.openDolbeaultD 1 a = 0) {g : E → ℂ} (hg : ContDiffOn ℝ ∞ g (U : Set E)) : |
| 37 | DolbeaultOpen.openDolbeaultD 1 (correctDolbeaultOneForm a g hg) = 0 := by |
| 38 | change DolbeaultOpen.openDolbeaultD 1 (a - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg)) = 0 |
| 39 | have hsub : a - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) = |
| 40 | a + (-1 : ℂ) • DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) := by |
| 41 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 42 | intro x |
| 43 | apply ContinuousAlternatingMap.ext |
| 44 | intro v |
| 45 | change a x v - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x v = |
| 46 | a x v + (-1 : ℂ) * DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x v |
| 47 | ring |
| 48 | rw [hsub, map_add, map_smul, ha, ScalarDolbeaultCommutation.scalarOpenZeroForm_dbar_closed hg, smul_zero, add_zero] |
| 49 | |
| 50 | theorem correctDolbeaultOneForm_pure (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) |
| 51 | (ha : Open.DolbeaultPrime.OpenFormHasBidegree 0 1 a) {g : E → ℂ} (hg : ContDiffOn ℝ ∞ g (U : Set E)) : |
| 52 | Open.DolbeaultPrime.OpenFormHasBidegree 0 1 (correctDolbeaultOneForm a g hg) := by |
| 53 | have hd := Open.DolbeaultPrime.openDolbeaultD_hasBidegree (p := 0) (q := 0) rfl |
| 54 | (fun x => Analysis.DifferentialForms.Manifold.Bidegree.hasBidegree_zero E (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg x)) |
| 55 | intro x z v |
| 56 | change a x (fun i => (z : ℂ) • v i) - |
| 57 | DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x (fun i => (z : ℂ) • v i) = |
| 58 | Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter 0 1 z * |
| 59 | (a x v - DolbeaultOpen.openDolbeaultD 0 (ScalarDolbeaultCommutation.scalarOpenZeroForm U g hg) x v) |
| 60 | rw [ha x z v, hd x z v, mul_sub] |
| 61 | |
| 62 | theorem correctDolbeaultOneForm_coefficient_zero (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) {g : E → ℂ} |
| 63 | (hg : ContDiffOn ℝ ∞ g (U : Set E)) (e : E) |
| 64 | (he : ∀ x : U, AntiOneFormCoordinates.antilinearScalarDerivative g x e = AntiOneFormCoordinates.oneFormLinear (a x) e) : |
| 65 | ∀ x : U, AntiOneFormCoordinates.oneFormLinear (correctDolbeaultOneForm a g hg x) e = 0 := by |
| 66 | intro x |
| 67 | rw [correctDolbeaultOneForm_coefficient, he x, sub_self] |
| 68 | |
| 69 | theorem closed_oneForm_zero_coefficient_derivative (a : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) |
| 70 | (ha : DolbeaultOpen.openDolbeaultD 1 a = 0) (e : E) (he : ∀ x : U, AntiOneFormCoordinates.oneFormLinear (a x) e = 0) |
| 71 | (x : U) (v : E) : |
| 72 | AntiOneFormCoordinates.antilinearScalarDerivative (fun y => AntiOneFormCoordinates.oneFormLinear (a.extension y) v) x e = 0 := by |
| 73 | have hs := AntiOneFormCoordinates.closed_oneForm_scalar_symmetry |
| 74 | ((a.smooth.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp)) |
| 75 | ((DolbeaultOpen.openDolbeaultD_zero_iff a).mp ha x) e v |
| 76 | have heq : (fun y => AntiOneFormCoordinates.oneFormLinear (a.extension y) e) =ᶠ[𝓝 (x : E)] 0 := by |
| 77 | filter_upwards [U.isOpen.mem_nhds x.property] with y hy |
| 78 | rw [show a.extension y = a ⟨y, hy⟩ from a.extension_apply ⟨y, hy⟩] |
| 79 | exact he ⟨y, hy⟩ |
| 80 | rw [hs, ScalarDolbeaultCommutation.antilinearScalarDerivative_congr heq] |
| 81 | unfold AntiOneFormCoordinates.antilinearScalarDerivative |
| 82 | have hzero : fderiv ℝ (0 : E → ℂ) (x : E) = 0 := (hasFDerivAt_const (0 : ℂ) (x : E)).fderiv |
| 83 | rw [hzero, (Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E ℂ).map_zero] |
| 84 | rfl |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultOneFormCorrection |