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.AlgebraicTopology.DeRham.Comparison.ManifoldCubeIntegration |
| 2 | import Mathlib.Topology.Order.DenselyOrdered |
| 3 | |
| 4 | /-! # Cube Pullback Locality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CubePullbackLocality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Locality of actual manifold-cube pullbacks and integrals |
| 12 | |
| 13 | Two smooth manifold maps agreeing on the closed unit cube have the same |
| 14 | pulled-back forms there. Their germs and derivatives agree at interior points; |
| 15 | continuity of the pulled-back coefficients extends equality to the boundary. |
| 16 | The finite-product closure argument includes the zero-dimensional cube. |
| 17 | -/ |
| 18 | |
| 19 | open Set _root_.MeasureTheory OAI.AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes |
| 20 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 21 | |
| 22 | /-- The closed unit cube is the closure of its interior in every dimension, |
| 23 | including dimension zero. -/ |
| 24 | theorem closure_interior_unitCube (n : ℕ) : |
| 25 | closure (interior (StokesF.SingularCubeStokes.unitCube n)) = StokesF.SingularCubeStokes.unitCube n := by |
| 26 | simp only [StokesF.SingularCubeStokes.unitCube, StokesF.Stokes.unitCube, ← pi_univ_Icc, interior_pi_set Set.finite_univ, |
| 27 | closure_pi_set, closure_interior_Icc (show (0 : ℝ) ≠ 1 by norm_num)] |
| 28 | |
| 29 | section GermLocality |
| 30 | |
| 31 | variable {V E : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 32 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 33 | variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 34 | variable {k : ℕ} |
| 35 | |
| 36 | set_option backward.isDefEq.respectTransparency false in |
| 37 | /-- Pullback of an actual covector field depends only on the germ of the map. |
| 38 | No globally defined smooth extension is required for this local identity. -/ |
| 39 | theorem normedManifoldPullback_eq_of_eventuallyEq |
| 40 | (form : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm E M k) {f g : V → M} {x : V} |
| 41 | (hfg : f =ᶠ[𝓝 x] g) : |
| 42 | (form.pullback f).toNormedSpace x = (form.pullback g).toNormedSpace x := by |
| 43 | have hx : f x = g x := hfg.self_of_nhds |
| 44 | have hd : (show V →L[ℝ] E from mfderiv (𝓘(ℝ, V)) (𝓘(ℝ, E)) f x) = |
| 45 | (show V →L[ℝ] E from mfderiv (𝓘(ℝ, V)) (𝓘(ℝ, E)) g x) := hfg.mfderiv_eq |
| 46 | ext v |
| 47 | change form (f x) (fun i => (mfderiv (𝓘(ℝ, V)) (𝓘(ℝ, E)) f x) (v i)) = |
| 48 | form (g x) (fun i => (mfderiv (𝓘(ℝ, V)) (𝓘(ℝ, E)) g x) (v i)) |
| 49 | rw [hx] |
| 50 | congr 1 |
| 51 | funext i |
| 52 | exact congrArg (fun L : V →L[ℝ] E => L (v i)) hd |
| 53 | |
| 54 | end GermLocality |
| 55 | |
| 56 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 57 | variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 58 | variable [IsManifold (𝓘(ℝ, E)) ∞ M] {n k : ℕ} |
| 59 | |
| 60 | /-- Agreement on the closed cube gives equality of all pulled-back form |
| 61 | coefficients on the interior, where the maps have equal germs. -/ |
| 62 | theorem manifoldCubePullback_congr_interior |
| 63 | (sigma tau : ManifoldCubeIntegration.SmoothManifoldCube E M n) |
| 64 | (h : EqOn sigma.toFun tau.toFun (StokesF.SingularCubeStokes.unitCube n)) |
| 65 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 66 | EqOn (ManifoldCubeIntegration.manifoldCubePullback sigma form) (ManifoldCubeIntegration.manifoldCubePullback tau form) |
| 67 | (interior (StokesF.SingularCubeStokes.unitCube n)) := by |
| 68 | intro x hx |
| 69 | have hfg : sigma.toFun =ᶠ[𝓝 x] tau.toFun := by |
| 70 | filter_upwards [isOpen_interior.mem_nhds hx] with y hy |
| 71 | exact h (interior_subset hy) |
| 72 | exact normedManifoldPullback_eq_of_eventuallyEq (form : Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm E M k) hfg |
| 73 | |
| 74 | /-- The actual pullbacks agree on the entire closed cube. Smoothness makes |
| 75 | their coefficients continuous, so equality extends to every boundary point. -/ |
| 76 | theorem manifoldCubePullback_congr |
| 77 | (sigma tau : ManifoldCubeIntegration.SmoothManifoldCube E M n) |
| 78 | (h : EqOn sigma.toFun tau.toFun (StokesF.SingularCubeStokes.unitCube n)) |
| 79 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 80 | EqOn (ManifoldCubeIntegration.manifoldCubePullback sigma form) (ManifoldCubeIntegration.manifoldCubePullback tau form) (StokesF.SingularCubeStokes.unitCube n) := by |
| 81 | have hc := (manifoldCubePullback_congr_interior sigma tau h form).closure |
| 82 | (ManifoldCubeIntegration.manifoldCubePullback sigma form).smooth.continuous |
| 83 | (ManifoldCubeIntegration.manifoldCubePullback tau form).smooth.continuous |
| 84 | rwa [closure_interior_unitCube] at hc |
| 85 | |
| 86 | /-- Integration of an actual smooth manifold top form depends only on the |
| 87 | map on the closed unit cube, not on its chosen smooth values outside it. -/ |
| 88 | theorem manifoldCubeIntegration_congr |
| 89 | (sigma tau : ManifoldCubeIntegration.SmoothManifoldCube E M n) |
| 90 | (h : EqOn sigma.toFun tau.toFun (StokesF.SingularCubeStokes.unitCube n)) |
| 91 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : |
| 92 | ManifoldCubeIntegration.manifoldCubeIntegration sigma form = ManifoldCubeIntegration.manifoldCubeIntegration tau form := by |
| 93 | rw [ManifoldCubeIntegration.manifoldCubeIntegration_eq_integral, ManifoldCubeIntegration.manifoldCubeIntegration_eq_integral] |
| 94 | apply setIntegral_congr_fun measurableSet_Icc |
| 95 | intro x hx |
| 96 | exact congrArg (fun w : Analysis.DifferentialForms.Manifold.Basic.FormValue (Fin n → ℝ) n => w (fun j => Pi.single j 1)) |
| 97 | (manifoldCubePullback_congr sigma tau h form hx) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicTopology.DeRham.Comparison.CubePullbackLocality |