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.AlgebraicGeometry.AbelianVariety.AveragePeriods |
| 2 | import OAI.AlgebraicGeometry.AbelianVariety.TranslationCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianVariety.InvariantCohomology |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.Manifold |
| 5 | import OAI.AlgebraicTopology.Cohomology.Singular.UniversalCoefficient |
| 6 | import OAI.AlgebraicTopology.DeRham.Comparison.SmoothSimplexClass |
| 7 | |
| 8 | /-! # Cycle Periods -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianVariety.CyclePeriods.Constructions.ExteriorCohomology |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # Invariant forms compute compact connected commutative Lie-group cohomology |
| 16 | |
| 17 | Haar averaging preserves periods on every genuine smooth singular cycle. |
| 18 | Universal coefficient duality and the actual integration comparison show that |
| 19 | averaging preserves de Rham classes, proving the invariant-form comparison. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory |
| 23 | open OAI.AlgebraicTopology.Cohomology.Singular.UniversalCoefficient |
| 24 | open scoped _root_.Manifold ContDiff _root_.Topology Simplicial |
| 25 | open Set Filter _root_.MeasureTheory |
| 26 | |
| 27 | theorem span_simplexChains (K : SSet.{0}) (n : ℕ) : |
| 28 | Submodule.span ℂ (Set.range (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℂ) K (n := n))) = ⊤ := by |
| 29 | let S := Submodule.span ℂ (Set.range (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℂ) K (n := n))) |
| 30 | have h : S.mkQ = 0 := by |
| 31 | apply AlgebraicTopology.Cohomology.Singular.ChainDual.chainFunctional_ext K (ModuleCat.of ℂ ((AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℂ) K).X n ⧸ S)) |
| 32 | intro σ |
| 33 | change Submodule.Quotient.mk (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain K σ) = 0 |
| 34 | rw [Submodule.Quotient.mk_eq_zero] |
| 35 | exact Submodule.subset_span ⟨σ, rfl⟩ |
| 36 | have hk := congrArg LinearMap.ker h |
| 37 | simpa only [Submodule.ker_mkQ, LinearMap.ker_zero] using hk |
| 38 | |
| 39 | variable {E G : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 40 | [Group G] [TopologicalSpace G] [ChartedSpace E G] [LieGroup 𝓘(ℝ, E) ∞ G] {n : ℕ} |
| 41 | |
| 42 | def smoothChainPeriod (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G n) : |
| 43 | (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℂ) (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet).X n →ₗ[ℂ] ℂ := |
| 44 | AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet (ModuleCat.of ℂ ℂ) n |
| 45 | (AlgebraicTopology.DeRham.Comparison.SmoothSimplexCochains.smoothSimplexCochain E G n form) |
| 46 | |
| 47 | theorem smoothChainPeriod_simplex (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G n) |
| 48 | (σ : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet _⦋n⦌) : |
| 49 | smoothChainPeriod form (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain _ σ) = AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration σ form := by |
| 50 | rw [smoothChainPeriod, AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv_simplex, AlgebraicTopology.DeRham.Comparison.SmoothSimplexCochains.smoothSimplexCochain_evaluation] |
| 51 | |
| 52 | variable [MeasurableSpace G] [BorelSpace G] [CompactSpace G] |
| 53 | (μ : Measure G) [IsFiniteMeasure μ] [Measure.IsMulRightInvariant μ] |
| 54 | |
| 55 | theorem smoothChainPeriod_averageForms (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G n) |
| 56 | (z : (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℂ) (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet).X n) : |
| 57 | Integrable (fun g => smoothChainPeriod |
| 58 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (fun h : G => g * h) |
| 59 | (contMDiff_mul_left (I := 𝓘(ℝ, E)) (n := ∞)) form) z) μ ∧ |
| 60 | smoothChainPeriod (Averaging.Constructions.ExteriorCohomology.averageForms μ form) z = |
| 61 | ∫ g, smoothChainPeriod |
| 62 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (fun h : G => g * h) |
| 63 | (contMDiff_mul_left (I := 𝓘(ℝ, E)) (n := ∞)) form) z ∂μ := by |
| 64 | have hz : z ∈ Submodule.span ℂ |
| 65 | (Set.range (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℂ) (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet (n := n))) := by |
| 66 | rw [span_simplexChains] |
| 67 | trivial |
| 68 | induction hz using Submodule.span_induction with |
| 69 | | mem x hx => |
| 70 | obtain ⟨σ, rfl⟩ := hx |
| 71 | simp only [smoothChainPeriod_simplex] |
| 72 | exact ⟨AveragePeriods.Constructions.ExteriorCohomology.smoothSimplexIntegration_translated_integrable μ form σ, |
| 73 | AveragePeriods.Constructions.ExteriorCohomology.smoothSimplexIntegration_averageForms μ form σ⟩ |
| 74 | | zero => simp |
| 75 | | add x y hx hy hix hiy => |
| 76 | simp only [map_add] |
| 77 | exact ⟨hix.1.add hiy.1, by rw [hix.2, hiy.2, integral_add hix.1 hiy.1]⟩ |
| 78 | | smul a x hx hix => |
| 79 | simp only [map_smul] |
| 80 | exact ⟨hix.1.smul a, by rw [hix.2, integral_smul]⟩ |
| 81 | |
| 82 | omit [MeasurableSpace G] [BorelSpace G] [CompactSpace G] in |
| 83 | theorem smoothCyclePeriod_translation [ConnectedSpace G] |
| 84 | (form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n) |
| 85 | (z : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℂ) |
| 86 | (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet) n) (g : G) : |
| 87 | smoothChainPeriod (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (fun h : G => g * h) |
| 88 | (contMDiff_mul_left (I := 𝓘(ℝ, E)) (n := ∞)) form.val) z.val = |
| 89 | smoothChainPeriod form.val z.val := by |
| 90 | have he := TranslationCohomology.Constructions.Exterior.leftTranslation_integrationClass (E := E) g n form |
| 91 | let K := (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet |
| 92 | have hp := congrArg (fun a : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) G).homology n => |
| 93 | AlgebraicTopology.Cohomology.Singular.Evaluation.simplicialHomologyEvaluation K (ModuleCat.of ℂ ℂ) n a |
| 94 | (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℂ) K) n z)) he |
| 95 | rw [AlgebraicTopology.Cohomology.Singular.Evaluation.simplicialHomologyEvaluation_class_class, AlgebraicTopology.Cohomology.Singular.Evaluation.simplicialHomologyEvaluation_class_class] at hp |
| 96 | exact hp |
| 97 | |
| 98 | def averageClosedForm (n : ℕ) : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n := |
| 99 | ((Averaging.Constructions.ExteriorCohomology.averageForms μ).comp (Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n).subtype).codRestrict |
| 100 | (Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n) (fun form => by |
| 101 | change Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (Averaging.Constructions.ExteriorCohomology.averageForms μ form.val) = 0 |
| 102 | rw [AveragingDerivative.Constructions.ExteriorCohomology.d_averageForms, form.property, map_zero]) |
| 103 | |
| 104 | theorem averageClosedForm_integrationClass [ConnectedSpace G] [IsProbabilityMeasure μ] |
| 105 | (form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n) : |
| 106 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) G) n |
| 107 | (AlgebraicTopology.DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E G n (averageClosedForm μ n form)) = |
| 108 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothCochains E (ModuleCat.of ℂ ℂ) G) n |
| 109 | (AlgebraicTopology.DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCocycle E G n form) := by |
| 110 | let K := (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E G).toSSet |
| 111 | apply AlgebraicTopology.Cohomology.Singular.UniversalCoefficient.simplicialHomologyEvaluation_injective K n |
| 112 | apply LinearMap.ext |
| 113 | intro h |
| 114 | obtain ⟨z, rfl⟩ := AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_surjective (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℂ) K) n h |
| 115 | rw [AlgebraicTopology.Cohomology.Singular.Evaluation.simplicialHomologyEvaluation_class_class, AlgebraicTopology.Cohomology.Singular.Evaluation.simplicialHomologyEvaluation_class_class] |
| 116 | change smoothChainPeriod (Averaging.Constructions.ExteriorCohomology.averageForms μ form.val) z.val = smoothChainPeriod form.val z.val |
| 117 | rw [(smoothChainPeriod_averageForms μ form.val z.val).2] |
| 118 | simp only [smoothCyclePeriod_translation form z, integral_const, probReal_univ, one_smul] |
| 119 | |
| 120 | variable [FiniteDimensional ℝ E] [T2Space G] [ConnectedSpace G] |
| 121 | |
| 122 | theorem averageClosedForm_deRhamClass [IsProbabilityMeasure μ] |
| 123 | (form : Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms E G n) : |
| 124 | Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E G n (averageClosedForm μ n form) = |
| 125 | Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E G n form := by |
| 126 | apply (AlgebraicTopology.DeRham.Comparison.Manifold.manifoldDeRhamSmoothCohomologyIso E G n).toLinearEquiv.injective |
| 127 | change AlgebraicTopology.DeRham.Comparison.SimplexIntegrationCochain.smoothSimplexIntegrationCohomologyMap E G n |
| 128 | (Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E G n (averageClosedForm μ n form)) = |
| 129 | AlgebraicTopology.DeRham.Comparison.SimplexIntegrationCochain.smoothSimplexIntegrationCohomologyMap E G n (Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E G n form) |
| 130 | rw [AlgebraicTopology.DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCohomologyMap_formClass, |
| 131 | AlgebraicTopology.DeRham.Comparison.SmoothSimplexClass.smoothSimplexIntegrationCohomologyMap_formClass] |
| 132 | exact averageClosedForm_integrationClass μ form |
| 133 | |
| 134 | variable [IsMulCommutative G] |
| 135 | |
| 136 | theorem invariantDeRham_surjective_compact (n : ℕ) : |
| 137 | Function.Surjective (InvariantCohomology.Constructions.Exterior.invariantDeRham (E := E) (G := G) n) := by |
| 138 | intro a |
| 139 | obtain ⟨form, rfl⟩ := Analysis.DifferentialForms.Manifold.ClassRepresentatives.manifoldDeRhamFormClass_surjective E G n a |
| 140 | let μ₀ := Averaging.Constructions.ExteriorCohomology.compactGroupHaar (E := E) (G := G) |
| 141 | refine ⟨⟨Averaging.Constructions.ExteriorCohomology.averageForms μ₀ form.val, Averaging.Constructions.ExteriorCohomology.averageForms_mem μ₀ form.val⟩, ?_⟩ |
| 142 | change Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E G n (averageClosedForm μ₀ n form) = |
| 143 | Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormClass E G n form |
| 144 | exact averageClosedForm_deRhamClass μ₀ form |
| 145 | |
| 146 | def invariantDeRhamEquiv (n : ℕ) : |
| 147 | InvariantClosed.Constructions.ExteriorCohomology.invariantForms (E := E) (G := G) n ≃ₗ[ℂ] Analysis.DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamCohomology E G n := |
| 148 | LinearEquiv.ofBijective (InvariantCohomology.Constructions.Exterior.invariantDeRham n) |
| 149 | ⟨InvariantCohomology.Constructions.Exterior.invariantDeRham_injective_compact n, invariantDeRham_surjective_compact n⟩ |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.AlgebraicGeometry.AbelianVariety.CyclePeriods.Constructions.ExteriorCohomology |