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.CubicalDegenerateQ |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.NormalizedMap |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.DeRhamPullback |
| 4 | |
| 5 | /-! # Normalized Integration Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.NormalizedIntegrationNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Naturality of the genuine normalized cubical integration map |
| 13 | |
| 14 | The chain map is induced by actual postcomposition of smooth cubes. The form |
| 15 | map is the actual derivative pullback. The integral identity follows from |
| 16 | the chain rule, and descends to normalized chains and their cohomology. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Set _root_.MeasureTheory OAI.AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable {n m l q : ℕ} |
| 23 | |
| 24 | /-- The genuine pullback integrand respects composition of the smooth maps. -/ |
| 25 | theorem complexCubeIntegrand_postcompose |
| 26 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) |
| 27 | (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) (form : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin l → ℝ) n) |
| 28 | (x : Fin n → ℝ) : |
| 29 | ComplexCubeIntegration.complexCubeIntegrand (CubicalDegenerateQ.cubePostcompose f hf σ) form x = |
| 30 | ComplexCubeIntegration.complexCubeIntegrand σ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) x := by |
| 31 | change form (f (σ.toFun x)) |
| 32 | (fun j => fderiv ℝ (f ∘ σ.toFun) x (Pi.single j 1)) = |
| 33 | form (f (σ.toFun x)) |
| 34 | (fun j => fderiv ℝ f (σ.toFun x) (fderiv ℝ σ.toFun x (Pi.single j 1))) |
| 35 | rw [fderiv_comp x ((hf.differentiable (by simp)).differentiableAt) |
| 36 | ((σ.smooth.differentiable (by simp)).differentiableAt)] |
| 37 | rfl |
| 38 | |
| 39 | /-- Integrating a pulled-back form equals integrating on the postcomposed cube. -/ |
| 40 | theorem complexIntegrateForm_postcompose |
| 41 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) |
| 42 | (σ : StokesF.SingularCubeStokes.SmoothSingularCube n m) (form : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin l → ℝ) n) : |
| 43 | ComplexCubeIntegration.complexIntegrateForm (CubicalDegenerateQ.cubePostcompose f hf σ) form = |
| 44 | ComplexCubeIntegration.complexIntegrateForm σ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) := by |
| 45 | rw [ComplexCubeIntegration.complexIntegrateForm_eq_integral (CubicalDegenerateQ.cubePostcompose f hf σ) form form.smooth, |
| 46 | ComplexCubeIntegration.complexIntegrateForm_eq_integral σ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) |
| 47 | (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form).smooth] |
| 48 | apply setIntegral_congr_fun measurableSet_Icc |
| 49 | intro x _ |
| 50 | exact complexCubeIntegrand_postcompose f hf σ form x |
| 51 | |
| 52 | /-- Naturality extends to every actual finite integral chain. -/ |
| 53 | theorem complexRawCubicalIntegration_postcompose |
| 54 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) |
| 55 | (form : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin l → ℝ) n) (c : StokesF.SingularCubeStokes.SingularChain n m) : |
| 56 | ComplexNormalizedIntegration.complexRawCubicalIntegration form (CubicalDegenerateQ.rawCubeMap f hf n c) = |
| 57 | ComplexNormalizedIntegration.complexRawCubicalIntegration (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) c := by |
| 58 | have h : (ComplexNormalizedIntegration.complexRawCubicalIntegration form).comp (CubicalDegenerateQ.rawCubeMap f hf n) = |
| 59 | ComplexNormalizedIntegration.complexRawCubicalIntegration (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) := by |
| 60 | apply Finsupp.lhom_ext |
| 61 | intro σ a |
| 62 | simp only [LinearMap.comp_apply, CubicalDegenerateQ.rawCubeMap_single, ComplexNormalizedIntegration.complexRawCubicalIntegration_single, |
| 63 | complexIntegrateForm_postcompose] |
| 64 | exact LinearMap.congr_fun h c |
| 65 | |
| 66 | /-- The integral identity descends to the actual normalized chain quotient. -/ |
| 67 | theorem normalizedComplexIntegration_postcompose |
| 68 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) |
| 69 | (form : Analysis.DifferentialForms.Manifold.Basic.SmoothForm (Fin l → ℝ) n) (c : CubicalDegenerateQ.NormalizedCubicalChain n m) : |
| 70 | ComplexNormalizedIntegration.normalizedComplexIntegration form (CubicalDegenerateQ.normalizedCubeMap f hf n c) = |
| 71 | ComplexNormalizedIntegration.normalizedComplexIntegration (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) c := by |
| 72 | obtain ⟨raw, rfl⟩ := (CubicalDegenerateQ.degenerateSubmodule n m).mkQ_surjective c |
| 73 | change ComplexNormalizedIntegration.complexRawCubicalIntegration form (CubicalDegenerateQ.rawCubeMap f hf n raw) = |
| 74 | ComplexNormalizedIntegration.complexRawCubicalIntegration (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf form) raw |
| 75 | exact complexRawCubicalIntegration_postcompose f hf form raw |
| 76 | |
| 77 | /-- Pullback of cochains is precomposition by the genuine normalized chain map. -/ |
| 78 | def normalizedCubicalCochainPullback |
| 79 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 80 | ComplexNormalizedStokes.NormalizedComplexCubicalCochain n l →ₗ[ℂ] ComplexNormalizedStokes.NormalizedComplexCubicalCochain n m where |
| 81 | toFun phi := phi.comp (CubicalDegenerateQ.normalizedCubeMap f hf n) |
| 82 | map_add' _ _ := rfl |
| 83 | map_smul' _ _ := rfl |
| 84 | |
| 85 | /-- Actual smooth maps induce morphisms of normalized cubical cochain complexes. -/ |
| 86 | def normalizedCubicalPullback (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) : |
| 87 | NormalizedMap.normalizedComplexCochainComplex l ⟶ NormalizedMap.normalizedComplexCochainComplex m := |
| 88 | CochainComplex.ofHom (fun n => ModuleCat.ofHom (normalizedCubicalCochainPullback f hf n)) |
| 89 | (fun n => by |
| 90 | rw [NormalizedMap.normalizedComplexCochainComplex_d, NormalizedMap.normalizedComplexCochainComplex_d] |
| 91 | apply ModuleCat.hom_ext |
| 92 | apply LinearMap.ext |
| 93 | intro phi |
| 94 | change ComplexNormalizedStokes.NormalizedComplexCubicalCochain n l at phi |
| 95 | apply LinearMap.ext |
| 96 | intro c |
| 97 | change phi (CubicalDegenerateQ.normalizedCubeMap f hf n (CubicalDegenerateQ.normalizedBoundary n m c)) = |
| 98 | phi (CubicalDegenerateQ.normalizedBoundary n l (CubicalDegenerateQ.normalizedCubeMap f hf (n + 1) c)) |
| 99 | rw [CubicalDegenerateQ.normalizedCubeMap_boundary]) |
| 100 | |
| 101 | @[simp] |
| 102 | theorem normalizedCubicalPullback_id (m : ℕ) : |
| 103 | normalizedCubicalPullback (id : (Fin m → ℝ) → _) contDiff_id = |
| 104 | 𝟙 (NormalizedMap.normalizedComplexCochainComplex m) := by |
| 105 | apply HomologicalComplex.Hom.ext |
| 106 | funext n |
| 107 | apply ModuleCat.hom_ext |
| 108 | apply LinearMap.ext |
| 109 | intro phi |
| 110 | change ComplexNormalizedStokes.NormalizedComplexCubicalCochain n m at phi |
| 111 | apply LinearMap.ext |
| 112 | intro c |
| 113 | change phi (CubicalDegenerateQ.normalizedCubeMap id contDiff_id n c) = phi c |
| 114 | rw [CubicalDegenerateQ.normalizedCubeMap_id] |
| 115 | rfl |
| 116 | |
| 117 | theorem normalizedCubicalPullback_comp |
| 118 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) |
| 119 | (g : (Fin l → ℝ) → (Fin q → ℝ)) (hg : ContDiff ℝ ∞ g) : |
| 120 | normalizedCubicalPullback (g ∘ f) (hg.comp hf) = |
| 121 | normalizedCubicalPullback g hg ≫ normalizedCubicalPullback f hf := by |
| 122 | apply HomologicalComplex.Hom.ext |
| 123 | funext n |
| 124 | apply ModuleCat.hom_ext |
| 125 | apply LinearMap.ext |
| 126 | intro phi |
| 127 | change ComplexNormalizedStokes.NormalizedComplexCubicalCochain n q at phi |
| 128 | apply LinearMap.ext |
| 129 | intro c |
| 130 | change phi (CubicalDegenerateQ.normalizedCubeMap (g ∘ f) (hg.comp hf) n c) = |
| 131 | phi (CubicalDegenerateQ.normalizedCubeMap g hg n (CubicalDegenerateQ.normalizedCubeMap f hf n c)) |
| 132 | rw [CubicalDegenerateQ.normalizedCubeMap_comp] |
| 133 | rfl |
| 134 | |
| 135 | /-- Naturality of integration as an equality of actual cochain morphisms. -/ |
| 136 | theorem deRhamToNormalizedCubical_naturality |
| 137 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) : |
| 138 | Analysis.DifferentialForms.Manifold.DeRhamPullback.deRhamPullback f hf ≫ NormalizedMap.deRhamToNormalizedCubical m = |
| 139 | NormalizedMap.deRhamToNormalizedCubical l ≫ normalizedCubicalPullback f hf := by |
| 140 | apply HomologicalComplex.Hom.ext |
| 141 | funext n |
| 142 | apply ModuleCat.hom_ext |
| 143 | apply LinearMap.ext |
| 144 | intro form |
| 145 | apply LinearMap.ext |
| 146 | intro c |
| 147 | exact (normalizedComplexIntegration_postcompose f hf form c).symm |
| 148 | |
| 149 | /-- Pullback on the actual normalized cubical cohomology objects. -/ |
| 150 | def normalizedCubicalCohomologyPullback |
| 151 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 152 | (NormalizedMap.normalizedComplexCochainComplex l).homology n ⟶ |
| 153 | (NormalizedMap.normalizedComplexCochainComplex m).homology n := |
| 154 | HomologicalComplex.homologyMap (normalizedCubicalPullback f hf) n |
| 155 | |
| 156 | /-- Naturality persists on the genuine induced cohomology maps. -/ |
| 157 | theorem deRhamToNormalizedCubicalCohomology_naturality |
| 158 | (f : (Fin m → ℝ) → (Fin l → ℝ)) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 159 | Analysis.DifferentialForms.Manifold.DeRhamPullback.deRhamCohomologyPullback f hf n ≫ |
| 160 | NormalizedMap.deRhamToNormalizedCubicalCohomology m n = |
| 161 | NormalizedMap.deRhamToNormalizedCubicalCohomology l n ≫ |
| 162 | normalizedCubicalCohomologyPullback f hf n := by |
| 163 | change HomologicalComplex.homologyMap (Analysis.DifferentialForms.Manifold.DeRhamPullback.deRhamPullback f hf) n ≫ |
| 164 | HomologicalComplex.homologyMap (NormalizedMap.deRhamToNormalizedCubical m) n = |
| 165 | HomologicalComplex.homologyMap (NormalizedMap.deRhamToNormalizedCubical l) n ≫ |
| 166 | HomologicalComplex.homologyMap (normalizedCubicalPullback f hf) n |
| 167 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp] |
| 168 | exact congrArg (fun F => HomologicalComplex.homologyMap F n) |
| 169 | (deRhamToNormalizedCubical_naturality f hf) |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicTopology.DeRham.Comparison.NormalizedIntegrationNaturality |