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.SimplexFormExtension |
| 2 | import OAI.AlgebraicTopology.Kunneth.SimplexFormMaps |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.CubePullbackLocality |
| 4 | |
| 5 | /-! # Simplex Form Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.Kunneth.SimplexFormPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting actual manifold differential forms to genuine smooth simplices. -/ |
| 12 | |
| 13 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open Set Filter _root_.CategoryTheory |
| 18 | open scoped _root_.Manifold ContDiff _root_.Topology Simplicial |
| 19 | |
| 20 | namespace Constructions |
| 21 | |
| 22 | variable {V W : Type*} {E : Type} |
| 23 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 24 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 27 | [IsManifold 𝓘(ℝ, E) ∞ M] {k : ℕ} |
| 28 | |
| 29 | local instance parameterFormsAddGroup (n : ℕ) : AddCommGroup (Analysis.DifferentialForms.Manifold.Basic.SmoothForm V n) := inferInstance |
| 30 | local instance parameterFormsModule (n : ℕ) : Module ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm V n) := inferInstance |
| 31 | |
| 32 | def parameterFormPullback (f : V → M) (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) : |
| 33 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Basic.SmoothForm V k := |
| 34 | (Analysis.DifferentialForms.Manifold.NormedSpace.smoothFormManifoldEquiv (E := V) (n := k)).symm.toLinearMap.comp |
| 35 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf) |
| 36 | |
| 37 | @[simp] theorem parameterFormPullback_apply (f : V → M) |
| 38 | (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 39 | parameterFormPullback f hf a = (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf a).toNormedSpace := rfl |
| 40 | |
| 41 | theorem parameterFormPullback_d (f : V → M) |
| 42 | (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 43 | parameterFormPullback f hf (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a) = |
| 44 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (parameterFormPullback f hf a) := by |
| 45 | change (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a)).toNormedSpace = |
| 46 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback f hf a).toNormedSpace |
| 47 | rw [← Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_pullback, Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.toNormedSpace_d] |
| 48 | |
| 49 | theorem parameterFormPullback_congr {S : Set V} (hS : closure (interior S) = S) |
| 50 | (f g : V → M) (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) |
| 51 | (hg : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ g) (hfg : EqOn f g S) |
| 52 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 53 | EqOn (parameterFormPullback f hf a) (parameterFormPullback g hg a) S := by |
| 54 | have hi : EqOn (parameterFormPullback f hf a) (parameterFormPullback g hg a) |
| 55 | (interior S) := by |
| 56 | intro x hx |
| 57 | have he : f =ᶠ[𝓝 x] g := by |
| 58 | filter_upwards [isOpen_interior.mem_nhds hx] with y hy |
| 59 | exact hfg (interior_subset hy) |
| 60 | exact DeRham.Comparison.CubePullbackLocality.normedManifoldPullback_eq_of_eventuallyEq a.val he |
| 61 | have hc := hi.closure (parameterFormPullback f hf a).smooth.continuous |
| 62 | (parameterFormPullback g hg a).smooth.continuous |
| 63 | rwa [hS] at hc |
| 64 | |
| 65 | theorem parameterFormPullback_comp (g : W → V) (hg : ContDiff ℝ ∞ g) |
| 66 | (f : V → M) (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) |
| 67 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 68 | parameterFormPullback (f ∘ g) (hf.comp hg.contMDiff) a = |
| 69 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback g hg (parameterFormPullback f hf a) := by |
| 70 | ext x v |
| 71 | change a (f (g x)) (fun i => |
| 72 | (mfderiv 𝓘(ℝ, W) 𝓘(ℝ, E) (f ∘ g) x) (v i)) = |
| 73 | a (f (g x)) (fun i => |
| 74 | (mfderiv 𝓘(ℝ, V) 𝓘(ℝ, E) f (g x)) (fderiv ℝ g x (v i))) |
| 75 | rw [mfderiv_comp x (hf.mdifferentiable (by simp) (g x)) |
| 76 | (hg.contMDiff.mdifferentiable (by simp) x), mfderiv_eq_fderiv] |
| 77 | rfl |
| 78 | |
| 79 | def restrictedManifoldPullback (S : Set V) (f : V → M) |
| 80 | (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) (k : ℕ) : |
| 81 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S k := |
| 82 | (RestrictedForms.Constructions.restrictForm S k).comp (parameterFormPullback f hf) |
| 83 | |
| 84 | theorem restrictedManifoldPullback_congr {S : Set V} (hS : closure (interior S) = S) |
| 85 | (f g : V → M) (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) |
| 86 | (hg : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ g) (hfg : EqOn f g S) |
| 87 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 88 | restrictedManifoldPullback S f hf k a = restrictedManifoldPullback S g hg k a := |
| 89 | (RestrictedForms.Constructions.restrictForm_eq_iff S k _ _).mpr (parameterFormPullback_congr hS f g hf hg hfg a) |
| 90 | |
| 91 | theorem restrictedManifoldPullback_d {S : Set V} (hS : UniqueDiffOn ℝ S) (f : V → M) |
| 92 | (hf : ContMDiff 𝓘(ℝ, V) 𝓘(ℝ, E) ∞ f) (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 93 | RestrictedForms.Constructions.restrictedFormD hS k (restrictedManifoldPullback S f hf k a) = |
| 94 | restrictedManifoldPullback S f hf (k + 1) (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a) := by |
| 95 | change RestrictedForms.Constructions.restrictForm S (k + 1) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (parameterFormPullback f hf a)) = |
| 96 | RestrictedForms.Constructions.restrictForm S (k + 1) (parameterFormPullback f hf (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a)) |
| 97 | rw [parameterFormPullback_d] |
| 98 | |
| 99 | /-- Pull an actual smooth manifold form back to its restriction on a genuine simplex. -/ |
| 100 | def simplexManifoldFormRestriction {n : ℕ} |
| 101 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) (k : ℕ) : |
| 102 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm (SimplexFormDomain.Constructions.coordinateSimplex n) k := |
| 103 | restrictedManifoldPullback (SimplexFormDomain.Constructions.coordinateSimplex n) (SimplexFormExtension.Constructions.globalSimplexParameter sigma) |
| 104 | (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma) k |
| 105 | |
| 106 | theorem simplexManifoldFormRestriction_d {n : ℕ} |
| 107 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 108 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 109 | RestrictedForms.Constructions.restrictedFormD (SimplexFormDomain.Constructions.coordinateSimplex_uniqueDiffOn n) k |
| 110 | (simplexManifoldFormRestriction sigma k a) = |
| 111 | simplexManifoldFormRestriction sigma (k + 1) (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a) := |
| 112 | restrictedManifoldPullback_d (SimplexFormDomain.Constructions.coordinateSimplex_uniqueDiffOn n) _ |
| 113 | (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma) a |
| 114 | |
| 115 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 116 | theorem globalSimplexParameter_face_eqOn {m n : ℕ} (θ : ⦋m⦌ ⟶ ⦋n⦌) |
| 117 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) : |
| 118 | EqOn (SimplexFormExtension.Constructions.globalSimplexParameter |
| 119 | ((Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet.map θ.op sigma)) |
| 120 | (SimplexFormExtension.Constructions.globalSimplexParameter sigma ∘ SimplexFormMaps.Constructions.simplexCoordinateMap θ) (SimplexFormDomain.Constructions.coordinateSimplex m) := by |
| 121 | intro x hx |
| 122 | rw [SimplexFormExtension.Constructions.globalSimplexParameter_apply _ x hx] |
| 123 | change _ = SimplexFormExtension.Constructions.globalSimplexParameter sigma (SimplexFormMaps.Constructions.simplexCoordinateMap θ x) |
| 124 | rw [SimplexFormExtension.Constructions.globalSimplexParameter_apply sigma _ (SimplexFormMaps.Constructions.simplexCoordinateMap_mapsTo θ hx)] |
| 125 | change (TopCat.of M).toSSetObjEquiv _ sigma.val |
| 126 | (Convexity.StdSimplex.map θ (SimplexFormDomain.Constructions.simplexBarycentricPoint x hx)) = |
| 127 | (TopCat.of M).toSSetObjEquiv _ sigma.val |
| 128 | (SimplexFormDomain.Constructions.simplexBarycentricPoint (SimplexFormMaps.Constructions.simplexCoordinateMap θ x) (SimplexFormMaps.Constructions.simplexCoordinateMap_mapsTo θ hx)) |
| 129 | apply congrArg ((TopCat.of M).toSSetObjEquiv _ sigma.val) |
| 130 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ (Fin (n + 1))).injective |
| 131 | change (Convexity.StdSimplex.map θ (SimplexFormDomain.Constructions.simplexBarycentricPoint x hx) : Fin (n + 1) → ℝ) = |
| 132 | ((SimplexFormDomain.Constructions.simplexBarycentricPoint (SimplexFormMaps.Constructions.simplexCoordinateMap θ x) |
| 133 | (SimplexFormMaps.Constructions.simplexCoordinateMap_mapsTo θ hx)).weights : Fin (n + 1) → ℝ) |
| 134 | rw [← Cohomology.Singular.Smooth.simplexLinearMap_weights, SimplexFormDomain.Constructions.simplexBarycentricPoint_weights, |
| 135 | SimplexFormDomain.Constructions.simplexBarycentricPoint_weights] |
| 136 | exact (SimplexFormMaps.Constructions.simplexCoordinateMap_barycentric θ x).symm |
| 137 | |
| 138 | /-- Restriction to a face is literally the affine pullback of the restricted form. -/ |
| 139 | theorem simplexManifoldFormRestriction_face {m n : ℕ} (θ : ⦋m⦌ ⟶ ⦋n⦌) |
| 140 | (sigma : (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet _⦋n⦌) |
| 141 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M k) : |
| 142 | simplexManifoldFormRestriction |
| 143 | ((Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet.map θ.op sigma) k a = |
| 144 | SimplexFormMaps.Constructions.simplexFormPullback θ k (simplexManifoldFormRestriction sigma k a) := by |
| 145 | calc |
| 146 | _ = restrictedManifoldPullback (SimplexFormDomain.Constructions.coordinateSimplex m) |
| 147 | (SimplexFormExtension.Constructions.globalSimplexParameter sigma ∘ SimplexFormMaps.Constructions.simplexCoordinateMap θ) |
| 148 | ((SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma).comp |
| 149 | (SimplexFormMaps.Constructions.simplexCoordinateMap_contDiff θ).contMDiff) k a := |
| 150 | restrictedManifoldPullback_congr (SimplexFormExtension.Constructions.coordinateSimplex_closure_interior m) _ _ |
| 151 | (SimplexFormExtension.Constructions.globalSimplexParameter_smooth _) _ (globalSimplexParameter_face_eqOn θ sigma) a |
| 152 | _ = _ := by |
| 153 | change RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex m) k |
| 154 | (parameterFormPullback (SimplexFormExtension.Constructions.globalSimplexParameter sigma ∘ SimplexFormMaps.Constructions.simplexCoordinateMap θ) _ a) = |
| 155 | RestrictedForms.Constructions.restrictForm (SimplexFormDomain.Constructions.coordinateSimplex m) k |
| 156 | (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback (SimplexFormMaps.Constructions.simplexCoordinateMap θ) (SimplexFormMaps.Constructions.simplexCoordinateMap_contDiff θ) |
| 157 | (parameterFormPullback (SimplexFormExtension.Constructions.globalSimplexParameter sigma) (SimplexFormExtension.Constructions.globalSimplexParameter_smooth sigma) a)) |
| 158 | rw [parameterFormPullback_comp] |
| 159 | |
| 160 | end Constructions |
| 161 | |
| 162 | end |
| 163 | |
| 164 | end OAI.AlgebraicTopology.Kunneth.SimplexFormPullback |