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.ComplexCubeIntegration |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.StokesF |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.ExteriorDerivativeSmooth |
| 4 | import Mathlib.Basic.Complex.BigOperators |
| 5 | |
| 6 | /-! # Complex Stokes -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ComplexStokes |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Stokes' theorem for complex-valued forms on smooth singular cubes |
| 14 | |
| 15 | This derives the complex theorem from the verified real theorem by projecting |
| 16 | to real and imaginary coefficients. All derivatives and integrals are the |
| 17 | actual analytic operations. No complex Stokes statement is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open Set _root_.MeasureTheory OAI.AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes |
| 21 | open scoped ContDiff |
| 22 | |
| 23 | variable {n m : ℕ} |
| 24 | |
| 25 | /-- Cubical Stokes for actual smooth complex-valued differential forms. -/ |
| 26 | theorem complexSingularStokes (σ : StokesF.SingularCubeStokes.SmoothSingularCube (n + 1) m) |
| 27 | (form : (Fin m → ℝ) → (Fin m → ℝ) [⋀^Fin n]→L[ℝ] ℂ) |
| 28 | (hform : ContDiff ℝ ∞ form) : |
| 29 | ComplexCubeIntegration.complexIntegrateForm σ (extDeriv form) = |
| 30 | ∑ i : Fin (n + 1), (-1 : ℝ) ^ (i : ℕ) • |
| 31 | (ComplexCubeIntegration.complexIntegrateForm (StokesF.SingularCubeStokes.singularFace σ i 1) form - |
| 32 | ComplexCubeIntegration.complexIntegrateForm (StokesF.SingularCubeStokes.singularFace σ i 0) form) := by |
| 33 | have hreal : |
| 34 | (ComplexCubeIntegration.complexIntegrateForm σ (extDeriv form)).re = |
| 35 | (∑ i : Fin (n + 1), (-1 : ℝ) ^ (i : ℕ) • |
| 36 | (ComplexCubeIntegration.complexIntegrateForm (StokesF.SingularCubeStokes.singularFace σ i 1) form - |
| 37 | ComplexCubeIntegration.complexIntegrateForm (StokesF.SingularCubeStokes.singularFace σ i 0) form)).re := by |
| 38 | calc |
| 39 | _ = StokesF.Stokes.integral σ (extDeriv (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.realForm form)) := by |
| 40 | change StokesF.Stokes.integral σ (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.realForm (extDeriv form)) = _ |
| 41 | congr 1 |
| 42 | funext x |
| 43 | exact (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.extDeriv_realForm form |
| 44 | ((hform.differentiable (by simp)).differentiableAt)).symm |
| 45 | _ = ∑ i : Fin (n + 1), (-1 : ℝ) ^ i.val * |
| 46 | (StokesF.Stokes.integral (StokesF.Stokes.face σ i 1) (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.realForm form) - |
| 47 | StokesF.Stokes.integral (StokesF.Stokes.face σ i 0) (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.realForm form)) := |
| 48 | StokesF.Stokes.integral_derivative_cube σ (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.realForm form) (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.contDiff_realForm form hform) |
| 49 | _ = _ := by |
| 50 | simp only [Complex.re_sum, Complex.smul_re, Complex.sub_re, |
| 51 | ComplexCubeIntegration.complexIntegrateForm_re, smul_eq_mul] |
| 52 | have himag : |
| 53 | (ComplexCubeIntegration.complexIntegrateForm σ (extDeriv form)).im = |
| 54 | (∑ i : Fin (n + 1), (-1 : ℝ) ^ (i : ℕ) • |
| 55 | (ComplexCubeIntegration.complexIntegrateForm (StokesF.SingularCubeStokes.singularFace σ i 1) form - |
| 56 | ComplexCubeIntegration.complexIntegrateForm (StokesF.SingularCubeStokes.singularFace σ i 0) form)).im := by |
| 57 | calc |
| 58 | _ = StokesF.Stokes.integral σ (extDeriv (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.imagForm form)) := by |
| 59 | change StokesF.Stokes.integral σ (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.imagForm (extDeriv form)) = _ |
| 60 | congr 1 |
| 61 | funext x |
| 62 | exact (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.extDeriv_imagForm form |
| 63 | ((hform.differentiable (by simp)).differentiableAt)).symm |
| 64 | _ = ∑ i : Fin (n + 1), (-1 : ℝ) ^ i.val * |
| 65 | (StokesF.Stokes.integral (StokesF.Stokes.face σ i 1) (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.imagForm form) - |
| 66 | StokesF.Stokes.integral (StokesF.Stokes.face σ i 0) (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.imagForm form)) := |
| 67 | StokesF.Stokes.integral_derivative_cube σ (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.imagForm form) (Analysis.DifferentialForms.Manifold.Coefficients.Comparison.contDiff_imagForm form hform) |
| 68 | _ = _ := by |
| 69 | simp only [Complex.im_sum, Complex.smul_im, Complex.sub_im, |
| 70 | ComplexCubeIntegration.complexIntegrateForm_im, smul_eq_mul] |
| 71 | exact Complex.ext hreal himag |
| 72 | |
| 73 | /-- The same identity written entirely using complex Bochner integrals. -/ |
| 74 | theorem complexSingularStokes_integral (σ : StokesF.SingularCubeStokes.SmoothSingularCube (n + 1) m) |
| 75 | (form : (Fin m → ℝ) → (Fin m → ℝ) [⋀^Fin n]→L[ℝ] ℂ) |
| 76 | (hform : ContDiff ℝ ∞ form) : |
| 77 | (∫ x in Icc (fun _ : Fin (n + 1) => (0 : ℝ)) (fun _ => 1), |
| 78 | ComplexCubeIntegration.complexCubeIntegrand σ (extDeriv form) x) = |
| 79 | ∑ i : Fin (n + 1), (-1 : ℝ) ^ (i : ℕ) • |
| 80 | ((∫ x in Icc (fun _ : Fin n => (0 : ℝ)) (fun _ => 1), |
| 81 | ComplexCubeIntegration.complexCubeIntegrand (StokesF.SingularCubeStokes.singularFace σ i 1) form x) - |
| 82 | (∫ x in Icc (fun _ : Fin n => (0 : ℝ)) (fun _ => 1), |
| 83 | ComplexCubeIntegration.complexCubeIntegrand (StokesF.SingularCubeStokes.singularFace σ i 0) form x)) := by |
| 84 | have h := complexSingularStokes σ form hform |
| 85 | rw [ComplexCubeIntegration.complexIntegrateForm_eq_integral σ (extDeriv form) |
| 86 | (Analysis.DifferentialForms.Manifold.ExteriorDerivativeSmooth.contDiff_extDeriv_infty hform)] at h |
| 87 | simpa only [ComplexCubeIntegration.complexIntegrateForm_eq_integral _ form hform] using h |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicTopology.DeRham.Comparison.ComplexStokes |