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.Pure.RadialHomotopy |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.PoincareLocality |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.SmoothLocalExtension |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.RadialSmoothPoincare |
| 5 | import OAI.Analysis.DifferentialForms.Manifold.OpenD |
| 6 | |
| 7 | /-! # Local Poincare -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Pure.LocalPoincare.Holomorphic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Local primitives of smooth differential forms |
| 15 | |
| 16 | The genuine radial primitive of a closed pure holomorphic form is pure in |
| 17 | every degree. A smooth extension is used only along a ball where it equals |
| 18 | the original form; purity is established on exactly those radial segments. |
| 19 | -/ |
| 20 | |
| 21 | open Set Filter _root_.Metric _root_.TopologicalSpace |
| 22 | open scoped _root_.Topology ContDiff |
| 23 | |
| 24 | open OAI.AlgebraicTopology.DeRham.Comparison.PoincareLocality |
| 25 | |
| 26 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] {n : ℕ} |
| 28 | |
| 29 | /-- A genuine global smooth representative agreeing with a closed open-domain |
| 30 | form on a ball gives a primitive on that ball. The representative is allowed |
| 31 | to have nonzero exterior derivative outside the ball. -/ |
| 32 | theorem pure_local_poincare_of_ball_extension (U : Opens E) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U (n + 1)) |
| 33 | (hclosed : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d form = 0) |
| 34 | (hpure : ∀ y : U, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E (n + 1) 0 (form y)) (c : E) (r : ℝ) (hr : 0 < r) |
| 35 | (hball : ball c r ⊆ (U : Set E)) (globalForm : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E (n + 1)) |
| 36 | (hagree : ∀ y ∈ ball c r, globalForm y = form.extension y) : |
| 37 | ∃ (V : Opens E) (hVU : V ≤ U), c ∈ V ∧ |
| 38 | ∃ primitive : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n, |
| 39 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d primitive = Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hVU form ∧ |
| 40 | ∀ y : V, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E n 0 (primitive y) := by |
| 41 | have hglobalClosed : EqOn (extDeriv (globalForm : Analysis.DifferentialForms.Manifold.Basic.RawForm E (n + 1))) 0 (ball c r) := by |
| 42 | intro y hy |
| 43 | have hlocal : (globalForm : Analysis.DifferentialForms.Manifold.Basic.RawForm E (n + 1)) =ᶠ[𝓝 y] form.extension := by |
| 44 | filter_upwards [isOpen_ball.mem_nhds hy] with z hz |
| 45 | exact hagree z hz |
| 46 | have hzero : extDeriv form.extension y = 0 := by |
| 47 | have h := congrArg (fun omega : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U (n + 2) => omega ⟨y, hball hy⟩) hclosed |
| 48 | simpa only [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d_apply, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.zero_apply] using h |
| 49 | exact hlocal.extDeriv_eq.trans hzero |
| 50 | let shifted : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E (n + 1) := Analysis.DifferentialForms.Manifold.Basic.SmoothForm.translate c globalForm |
| 51 | have hshiftedClosed : EqOn (extDeriv (shifted : Analysis.DifferentialForms.Manifold.Basic.RawForm E (n + 1))) 0 (ball (0 : E) r) := by |
| 52 | intro z hz |
| 53 | change Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.translate c globalForm) z = 0 |
| 54 | rw [Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d_translate] |
| 55 | change extDeriv (globalForm : Analysis.DifferentialForms.Manifold.Basic.RawForm E (n + 1)) (c + z) = 0 |
| 56 | apply hglobalClosed |
| 57 | simpa [Metric.mem_ball, dist_eq_norm] using hz |
| 58 | let primitiveGlobal : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n := |
| 59 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.translate (-c) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.radialHomotopyForm shifted) |
| 60 | let V : Opens E := ⟨ball c r, isOpen_ball⟩ |
| 61 | have hprimitivePure (y : V) : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E n 0 (primitiveGlobal (y : E)) := by |
| 62 | apply RadialHomotopy.Holomorphic.pureCovector_radialHomotopy |
| 63 | intro t ht |
| 64 | have hy : -c + (y : E) ∈ ball (0 : E) r := by |
| 65 | have hym : (y : E) ∈ ball c r := y.property |
| 66 | simpa only [Metric.mem_ball, dist_eq_norm, sub_eq_add_neg, neg_zero, |
| 67 | add_zero, add_comm] using hym |
| 68 | have hstar : StarConvex ℝ (0 : E) (ball (0 : E) r) := |
| 69 | (convex_ball (0 : E) r).starConvex (mem_ball_self hr) |
| 70 | have htmem := hstar.smul_mem hy ht.1 ht.2 |
| 71 | have hc : c + t • (-c + (y : E)) ∈ ball c r := by |
| 72 | simpa [Metric.mem_ball, dist_eq_norm] using htmem |
| 73 | change Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E (n + 1) 0 (globalForm (c + t • (-c + (y : E)))) |
| 74 | rw [hagree _ hc, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_apply form ⟨_, hball hc⟩] |
| 75 | exact hpure _ |
| 76 | refine ⟨V, hball, mem_ball_self hr, Analysis.DifferentialForms.Manifold.Basic.SmoothForm.onOpen V primitiveGlobal, |
| 77 | ?_, hprimitivePure⟩ |
| 78 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 79 | intro y |
| 80 | have hz : -c + (y : E) ∈ ball (0 : E) r := by |
| 81 | have hy : (y : E) ∈ ball c r := y.property |
| 82 | simpa only [Metric.mem_ball, dist_eq_norm, sub_eq_add_neg, neg_zero, add_zero, add_comm] using hy |
| 83 | have hstar : StarConvex ℝ (0 : E) (ball (0 : E) r) := |
| 84 | (convex_ball (0 : E) r).starConvex (mem_ball_self hr) |
| 85 | have hKzero := AlgebraicTopology.DeRham.Comparison.PoincareLocality.radialHomotopy_eq_zero_on_starConvex hstar hshiftedClosed hz |
| 86 | have hK := AlgebraicTopology.DeRham.Comparison.RadialHomotopyIdentity.radialHomotopy_identity (shifted.smooth.of_le (by simp)) (-c + (y : E)) |
| 87 | rw [hKzero, add_zero] at hK |
| 88 | have hprimitive : Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d primitiveGlobal (y : E) = globalForm (y : E) := by |
| 89 | change Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.translate (-c) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.radialHomotopyForm shifted)) (y : E) = _ |
| 90 | rw [Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d_translate] |
| 91 | change extDeriv (AlgebraicTopology.DeRham.Comparison.RadialOne.radialHomotopy (shifted : Analysis.DifferentialForms.Manifold.Basic.RawForm E (n + 1))) (-c + (y : E)) = _ |
| 92 | simpa [shifted, Analysis.DifferentialForms.Manifold.Basic.SmoothForm.translate_apply, add_assoc] using hK |
| 93 | change Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d |
| 94 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ofRaw V (primitiveGlobal : Analysis.DifferentialForms.Manifold.Basic.RawForm E n) primitiveGlobal.smooth.contDiffOn) y = |
| 95 | form ⟨(y : E), hball y.property⟩ |
| 96 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d_ofRaw_apply] |
| 97 | change Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d primitiveGlobal (y : E) = _ |
| 98 | rw [hprimitive] |
| 99 | exact (hagree y y.property).trans (form.extension_apply ⟨(y : E), hball y.property⟩) |
| 100 | |
| 101 | /-- Germ agreement with an actual global smooth form is enough to construct |
| 102 | a local primitive of a closed positive-degree form. -/ |
| 103 | theorem pure_local_poincare_of_eventual_extension (U : Opens E) |
| 104 | (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U (n + 1)) (hclosed : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d form = 0) |
| 105 | (hpure : ∀ y : U, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E (n + 1) 0 (form y)) |
| 106 | (x : U) (globalForm : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E (n + 1)) |
| 107 | (hagree : (globalForm : Analysis.DifferentialForms.Manifold.Basic.RawForm E (n + 1)) =ᶠ[𝓝 (x : E)] form.extension) : |
| 108 | ∃ (V : Opens E) (hVU : V ≤ U), (x : E) ∈ V ∧ |
| 109 | ∃ primitive : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n, |
| 110 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d primitive = Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hVU form ∧ |
| 111 | ∀ y : V, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E n 0 (primitive y) := by |
| 112 | have hnear : {y : E | y ∈ U ∧ globalForm y = form.extension y} ∈ 𝓝 (x : E) := by |
| 113 | filter_upwards [U.isOpen.mem_nhds x.property, hagree] with y hy hgy |
| 114 | exact ⟨hy, hgy⟩ |
| 115 | obtain ⟨r, hr, hball⟩ := Metric.mem_nhds_iff.mp hnear |
| 116 | exact pure_local_poincare_of_ball_extension U form hclosed hpure x r hr |
| 117 | (fun _ hy => (hball hy).1) globalForm (fun _ hy => (hball hy).2) |
| 118 | |
| 119 | /-- Every closed positive-degree smooth form has a genuine smooth primitive |
| 120 | on a neighborhood of each point of its open domain. -/ |
| 121 | theorem pure_local_poincare (U : Opens E) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U (n + 1)) |
| 122 | (hclosed : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d form = 0) |
| 123 | (hpure : ∀ y : U, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E (n + 1) 0 (form y)) (x : U) : |
| 124 | ∃ (V : Opens E) (hVU : V ≤ U), (x : E) ∈ V ∧ |
| 125 | ∃ primitive : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n, |
| 126 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d primitive = Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hVU form ∧ |
| 127 | ∀ y : V, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E n 0 (primitive y) := by |
| 128 | obtain ⟨globalForm, hagree⟩ := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.exists_global_smooth_extension form x |
| 129 | exact pure_local_poincare_of_eventual_extension U form hclosed hpure x globalForm hagree |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.Comparison.Betti.Pure.LocalPoincare.Holomorphic |