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.Kunneth.SimplexFormPullback |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.SimplexIntegrationCochain |
| 3 | |
| 4 | /-! # Restricted Simplex Integration -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.RestrictedSimplexIntegration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual simplex integration descends to restricted differential forms. -/ |
| 11 | |
| 12 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory Opposite Set _root_.MeasureTheory |
| 17 | open scoped Simplicial _root_.Manifold ContDiff |
| 18 | |
| 19 | namespace Constructions |
| 20 | |
| 21 | local instance simplexIntegralFormsAddGroup (m k : ℕ) : AddCommGroup (Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin m → ℝ) k) := inferInstance |
| 22 | local instance simplexIntegralFormsModule (m k : ℕ) : Module ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin m → ℝ) k) := inferInstance |
| 23 | |
| 24 | def coordinateIdentitySimplex (n : ℕ) : |
| 25 | (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex (Fin n → ℝ) (Fin n → ℝ)).toSSet _⦋n⦌ := by |
| 26 | let f : C(Convexity.StdSimplex ℝ (Fin (n + 1)), Fin n → ℝ) := |
| 27 | ⟨fun x i => x.weights i.castSucc, continuous_pi fun (i : Fin n) => |
| 28 | Convexity.StdSimplex.continuous_weights_apply ℝ i.castSucc⟩ |
| 29 | refine ⟨(TopCat.of (Fin n → ℝ)).toSSetObjEquiv _ |>.symm f, ?_⟩ |
| 30 | change Cohomology.Singular.ManifoldSmooth.IsManifoldSmoothSimplex (Fin n → ℝ) _ |
| 31 | refine ⟨(fun x : Fin (n + 1) → ℝ => fun i : Fin n => x i.castSucc), univ, |
| 32 | isOpen_univ, subset_univ _, ?_, ?_⟩ |
| 33 | · exact (contDiff_pi.mpr fun (i : Fin n) => contDiff_apply ℝ ℝ i.castSucc).contMDiff.contMDiffOn |
| 34 | · intro x |
| 35 | rfl |
| 36 | |
| 37 | @[simp] theorem coordinateIdentitySimplex_apply (n : ℕ) |
| 38 | (x : Convexity.StdSimplex ℝ (Fin (n + 1))) (i : Fin n) : |
| 39 | (TopCat.of (Fin n → ℝ)).toSSetObjEquiv _ (coordinateIdentitySimplex n).val x i = |
| 40 | x.weights i.castSucc := rfl |
| 41 | |
| 42 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 43 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 44 | |
| 45 | theorem smoothSimplexIntegration_eq_zero_of_image {n : ℕ} |
| 46 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 47 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) |
| 48 | (ha : ∀ x : Convexity.StdSimplex ℝ (Fin (n + 1)), |
| 49 | a ((TopCat.of M).toSSetObjEquiv _ sigma.val x) = 0) : |
| 50 | DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration sigma a = 0 := by |
| 51 | rw [DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration_eq_integral] |
| 52 | have hzero : (∫ x in Icc (fun _ : Fin n => (0 : ℝ)) (fun _ => 1), |
| 53 | DeRham.Comparison.ManifoldCubeIntegration.manifoldCubePullback (DeRham.Comparison.ManifoldSimplexCube.manifoldSimplexCube sigma) a x |
| 54 | (fun j => Pi.single j 1)) = 0 := by |
| 55 | have he : (∫ x in Icc (fun _ : Fin n => (0 : ℝ)) (fun _ => 1), |
| 56 | DeRham.Comparison.ManifoldCubeIntegration.manifoldCubePullback (DeRham.Comparison.ManifoldSimplexCube.manifoldSimplexCube sigma) a x |
| 57 | (fun j => Pi.single j 1)) = |
| 58 | ∫ _x in Icc (fun _ : Fin n => (0 : ℝ)) (fun _ => 1), (0 : ℂ) := by |
| 59 | apply setIntegral_congr_fun measurableSet_Icc |
| 60 | intro x hx |
| 61 | change a (DeRham.Comparison.ManifoldSimplexCube.manifoldSimplexCube sigma x) _ = 0 |
| 62 | rw [DeRham.Comparison.ManifoldSimplexCube.manifoldSimplexCube_apply sigma ⟨x, hx⟩, ha] |
| 63 | rfl |
| 64 | rw [he, integral_zero] |
| 65 | rw [hzero, smul_zero] |
| 66 | |
| 67 | def rawSimplexIntegral (n : ℕ) : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin n → ℝ) n →ₗ[ℂ] ℂ := |
| 68 | (DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration (coordinateIdentitySimplex n)).comp |
| 69 | (Analysis.DifferentialForms.Manifold.NormedSpace.smoothFormManifoldEquiv (E := Fin n → ℝ) (n := n)).toLinearMap |
| 70 | |
| 71 | theorem rawSimplexIntegral_vanishing (n : ℕ) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin n → ℝ) n) |
| 72 | (ha : a ∈ RestrictedForms.Constructions.formsVanishingOn (SimplexFormDomain.Constructions.coordinateSimplex n) n) : |
| 73 | rawSimplexIntegral n a = 0 := by |
| 74 | apply smoothSimplexIntegration_eq_zero_of_image |
| 75 | intro x |
| 76 | have hz := ha (fun i => x.weights i.castSucc) (SimplexFormMaps.Constructions.coordinateSimplex_of_barycentric ⟨x, rfl⟩) |
| 77 | ext v |
| 78 | change a (fun i => x.weights i.castSucc) _ = 0 |
| 79 | rw [hz] |
| 80 | rfl |
| 81 | |
| 82 | def simplexIntegral (n : ℕ) : RestrictedForms.Constructions.RestrictedForm (SimplexFormDomain.Constructions.coordinateSimplex n) n →ₗ[ℂ] ℂ := |
| 83 | (RestrictedForms.Constructions.formsVanishingOn (SimplexFormDomain.Constructions.coordinateSimplex n) n).liftQ (rawSimplexIntegral n) |
| 84 | (fun a ha => rawSimplexIntegral_vanishing n a ha) |
| 85 | |
| 86 | @[simp] theorem simplexIntegral_restrict (n : ℕ) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin n → ℝ) n) : |
| 87 | simplexIntegral n (RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex n) n a) = rawSimplexIntegral n a := rfl |
| 88 | |
| 89 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 90 | theorem globalSimplexParameter_identity_postcompose {n : ℕ} |
| 91 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) : |
| 92 | (Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothSingularMap (Fin n → ℝ) E |
| 93 | (SimplexFormExtension.Constructions.globalSimplexParameter sigma) (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma)).app _ |
| 94 | (coordinateIdentitySimplex n) = sigma := by |
| 95 | apply Subtype.ext |
| 96 | apply ((TopCat.of M).toSSetObjEquiv _).injective |
| 97 | ext x |
| 98 | change SimplexFormExtension.Constructions.globalSimplexParameter sigma (fun i => x.weights i.castSucc) = |
| 99 | (TopCat.of M).toSSetObjEquiv _ sigma.val x |
| 100 | rw [SimplexFormExtension.Constructions.globalSimplexParameter_apply sigma _ (SimplexFormMaps.Constructions.coordinateSimplex_of_barycentric ⟨x, rfl⟩)] |
| 101 | apply congrArg ((TopCat.of M).toSSetObjEquiv _ sigma.val) |
| 102 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ (Fin (n + 1))).injective |
| 103 | change ((SimplexFormDomain.Constructions.simplexBarycentricPoint _ _).weights : Fin (n + 1) → ℝ) = x.weights |
| 104 | rw [SimplexFormDomain.Constructions.simplexBarycentricPoint_weights] |
| 105 | exact SimplexFormMaps.Constructions.simplexBarycentric_recover n x.weights x.total_of_fintype |
| 106 | |
| 107 | /-- Restricting a manifold form to its simplex and integrating gives exactly |
| 108 | the repository's original, integration-normalized simplex value. -/ |
| 109 | theorem simplexIntegral_manifoldRestriction {n : ℕ} |
| 110 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 111 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : |
| 112 | simplexIntegral n (SimplexFormPullback.Constructions.simplexManifoldFormRestriction sigma n a) = |
| 113 | DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration sigma a := by |
| 114 | change rawSimplexIntegral n |
| 115 | (SimplexFormPullback.Constructions.parameterFormPullback (SimplexFormExtension.Constructions.globalSimplexParameter sigma) (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma) a) = _ |
| 116 | have he : |
| 117 | (Analysis.DifferentialForms.Manifold.NormedSpace.smoothFormManifoldEquiv (E := Fin n → ℝ) (n := n)) |
| 118 | (SimplexFormPullback.Constructions.parameterFormPullback (SimplexFormExtension.Constructions.globalSimplexParameter sigma) (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma) a) = |
| 119 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (SimplexFormExtension.Constructions.globalSimplexParameter sigma) (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma) a := |
| 120 | (Analysis.DifferentialForms.Manifold.NormedSpace.smoothFormManifoldEquiv (E := Fin n → ℝ) (n := n)).apply_symm_apply _ |
| 121 | change DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration (coordinateIdentitySimplex n) |
| 122 | ((Analysis.DifferentialForms.Manifold.NormedSpace.smoothFormManifoldEquiv (E := Fin n → ℝ) (n := n)) _) = _ |
| 123 | rw [he, ← DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration_postcompose, |
| 124 | globalSimplexParameter_identity_postcompose] |
| 125 | |
| 126 | theorem simplexManifoldFormRestriction_identity (n k : ℕ) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin n → ℝ) k) : |
| 127 | SimplexFormPullback.Constructions.simplexManifoldFormRestriction (coordinateIdentitySimplex n) k a.toManifold = |
| 128 | RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex n) k a := by |
| 129 | have hparam : EqOn (SimplexFormExtension.Constructions.globalSimplexParameter (coordinateIdentitySimplex n)) id (SimplexFormDomain.Constructions.coordinateSimplex n) := by |
| 130 | intro x hx |
| 131 | rw [SimplexFormExtension.Constructions.globalSimplexParameter_apply _ x hx] |
| 132 | funext i |
| 133 | rw [coordinateIdentitySimplex_apply, SimplexFormDomain.Constructions.simplexBarycentricPoint_weights] |
| 134 | exact SimplexFormDomain.Constructions.simplexBarycentric_castSucc n x i |
| 135 | change SimplexFormPullback.Constructions.restrictedManifoldPullback (SimplexFormDomain.Constructions.coordinateSimplex n) |
| 136 | (SimplexFormExtension.Constructions.globalSimplexParameter (coordinateIdentitySimplex n)) _ k a.toManifold = _ |
| 137 | rw [SimplexFormPullback.Constructions.restrictedManifoldPullback_congr (SimplexFormExtension.Constructions.coordinateSimplex_closure_interior n) _ id |
| 138 | (SimplexFormExtension.Constructions.globalSimplexParameter_smooth _) contMDiff_id hparam] |
| 139 | change RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex n) k |
| 140 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback id contMDiff_id a.toManifold).toNormedSpace = _ |
| 141 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback_id] |
| 142 | congr 1 |
| 143 | |
| 144 | /-- Stokes on the restricted complex is the original smooth-simplex Stokes theorem. -/ |
| 145 | theorem simplexIntegral_stokes (n : ℕ) (a : RestrictedForms.Constructions.RestrictedForm (SimplexFormDomain.Constructions.coordinateSimplex (n + 1)) n) : |
| 146 | simplexIntegral (n + 1) (RestrictedForms.Constructions.restrictedFormD (SimplexFormDomain.Constructions.coordinateSimplex_uniqueDiffOn (n + 1)) n a) = |
| 147 | ∑ j : Fin (n + 2), (-1 : ℤ) ^ j.val • |
| 148 | simplexIntegral n (SimplexFormMaps.Constructions.simplexFormPullback (SimplexCategory.δ j) n a) := by |
| 149 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn (SimplexFormDomain.Constructions.coordinateSimplex (n + 1)) n).mkQ_surjective a |
| 150 | have ha := simplexManifoldFormRestriction_identity (n + 1) n a |
| 151 | change simplexIntegral (n + 1) |
| 152 | (RestrictedForms.Constructions.restrictedFormD (SimplexFormDomain.Constructions.coordinateSimplex_uniqueDiffOn (n + 1)) n |
| 153 | (RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex (n + 1)) n a)) = _ |
| 154 | rw [← ha, SimplexFormPullback.Constructions.simplexManifoldFormRestriction_d, simplexIntegral_manifoldRestriction, |
| 155 | DeRham.Comparison.SmoothSimplexStokes.smoothSimplexStokes] |
| 156 | apply Finset.sum_congr rfl |
| 157 | intro j _ |
| 158 | congr 1 |
| 159 | rw [← simplexIntegral_manifoldRestriction] |
| 160 | exact congrArg (simplexIntegral n) |
| 161 | ((SimplexFormPullback.Constructions.simplexManifoldFormRestriction_face (SimplexCategory.δ j) |
| 162 | (coordinateIdentitySimplex (n + 1)) a.toManifold).trans |
| 163 | (congrArg (SimplexFormMaps.Constructions.simplexFormPullback (SimplexCategory.δ j) n) ha)) |
| 164 | |
| 165 | end Constructions |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI.AlgebraicTopology.Kunneth.RestrictedSimplexIntegration |