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.BettiNumbers |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.PurePullback |
| 3 | import Mathlib.Analysis.Convex.Integral |
| 4 | |
| 5 | /-! # Pure Average -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianVariety.PureAverage.Constructions.ExteriorCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 14 | open Set Filter _root_.MeasureTheory |
| 15 | |
| 16 | variable {E G : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 18 | [Group G] [TopologicalSpace G] [ChartedSpace E G] |
| 19 | [LieGroup 𝓘(ℝ, E) ∞ G] [LieGroup 𝓘(ℂ, E) ∞ G] |
| 20 | [MeasurableSpace G] [BorelSpace G] [CompactSpace G] |
| 21 | (μ : Measure G) [IsProbabilityMeasure μ] [Measure.IsMulRightInvariant μ] |
| 22 | {p q : ℕ} |
| 23 | |
| 24 | theorem averageForms_pure (form : OAI.Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E G (p + q)) |
| 25 | (hf : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E G p q form.val) : |
| 26 | OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E G p q (Averaging.Constructions.ExteriorCohomology.averageForms μ form).val := by |
| 27 | intro c hc y hy |
| 28 | rw [AveragingDerivative.Constructions.ExteriorCohomology.averageForms_inChart_eq_integral] |
| 29 | let : FiniteDimensional ℂ (E [⋀^Fin (p + q)]→L[ℝ] ℂ) := |
| 30 | BettiNumbers.Constructions.ExteriorCohomology.finiteDimensional_covectors E (p + q) |
| 31 | let S := OAI.Analysis.DifferentialForms.Manifold.Bidegree.pureBidegreeSubmodule E p q |
| 32 | have hS : IsClosed (S : Set (E [⋀^Fin (p + q)]→L[ℝ] ℂ)) := S.closed_of_finiteDimensional |
| 33 | exact (S.restrictScalars ℝ).convex.integral_mem hS (ae_of_all _ (fun g => |
| 34 | hf.pullback (fun x : G => g * x) |
| 35 | (contMDiff_mul_left (I := 𝓘(ℂ, E)) (n := ∞)) c hc y hy)) |
| 36 | ((AveragingDerivative.Constructions.ExteriorCohomology.translatedInChart_continuous form c y).integrable_of_hasCompactSupport |
| 37 | (HasCompactSupport.of_compactSpace _)) |
| 38 | |
| 39 | omit [FiniteDimensional ℝ E] [MeasurableSpace G] [BorelSpace G] [CompactSpace G] in |
| 40 | theorem invariantForm_pure_iff (form : InvariantClosed.Constructions.ExteriorCohomology.invariantForms (E := E) (G := G) (p + q)) : |
| 41 | OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E G p q form.val.val ↔ |
| 42 | OAI.Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E p q (form.val.val.inChart (chartAt E (1 : G)) (chartAt E (1 : G) 1)) := by |
| 43 | constructor |
| 44 | · intro hf |
| 45 | exact (OAI.Analysis.DifferentialForms.Manifold.BidegreeInvariant.hasManifoldBidegree_iff_chartAt _).mp hf 1 |
| 46 | · intro hf c hc y hy |
| 47 | let x := c.symm y |
| 48 | let d := chartAt E (1 : G) |
| 49 | have hd : d ∈ atlas E G := chart_mem_atlas E (1 : G) |
| 50 | have h1 : (1 : G) ∈ d.source := mem_chart_source E _ |
| 51 | have hx : x⁻¹ * c.symm y = 1 := inv_mul_cancel x |
| 52 | have hi := (InvariantClosed.Constructions.ExteriorCohomology.mem_invariantForms_iff form.val).mp form.property x⁻¹ |
| 53 | have hip : form.val.val.pullback (fun z : G => x⁻¹ * z) = form.val.val := |
| 54 | congrArg Subtype.val hi |
| 55 | have hb := form.val.val.pullback_inChart (fun z : G => x⁻¹ * z) c d hc hd hy |
| 56 | (by rw [hx]; exact h1) |
| 57 | ((contMDiff_mul_left (I := 𝓘(ℝ, E)) (n := ∞)).mdifferentiableAt (by simp)) |
| 58 | rw [hip, hx] at hb |
| 59 | rw [hb] |
| 60 | have hhol := (OAI.Analysis.DifferentialForms.Manifold.Holomorphic.complexContDiffAt_manifoldMap_inChart (fun z : G => x⁻¹ * z) |
| 61 | c d hc hd hy (by rw [hx]; exact h1) |
| 62 | (contMDiff_mul_left (I := 𝓘(ℂ, E)) (n := ∞)).contMDiffAt).differentiableAt (by simp) |
| 63 | rw [hhol.fderiv_restrictScalars ℝ] |
| 64 | exact AlgebraicTopology.DeRham.Comparison.BidegreeRestriction.hasBidegree_pullback hf (fderiv ℂ (d ∘ (fun z : G => x⁻¹ * z) ∘ c.symm) y) |
| 65 | |
| 66 | variable [T2Space G] [ConnectedSpace G] [IsMulCommutative G] |
| 67 | |
| 68 | theorem invariantDeRham_mem_pure_iff (form : InvariantClosed.Constructions.ExteriorCohomology.invariantForms (E := E) (G := G) (p + q)) : |
| 69 | InvariantCohomology.Constructions.Exterior.invariantDeRham (p + q) form ∈ AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.manifoldPureDeRhamImage E G p q ↔ |
| 70 | OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E G p q form.val.val := by |
| 71 | rw [AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.mem_manifoldPureDeRhamImage_iff] |
| 72 | constructor |
| 73 | · rintro ⟨a, ha, he⟩ |
| 74 | let μ₀ := Averaging.Constructions.ExteriorCohomology.compactGroupHaar (E := E) (G := G) |
| 75 | let b : InvariantClosed.Constructions.ExteriorCohomology.invariantForms (E := E) (G := G) (p + q) := |
| 76 | ⟨Averaging.Constructions.ExteriorCohomology.averageForms μ₀ a.val, Averaging.Constructions.ExteriorCohomology.averageForms_mem μ₀ a.val⟩ |
| 77 | have hb : InvariantCohomology.Constructions.Exterior.invariantDeRham (p + q) b = InvariantCohomology.Constructions.Exterior.invariantDeRham (p + q) form := |
| 78 | (CyclePeriods.Constructions.ExteriorCohomology.averageClosedForm_deRhamClass μ₀ a).trans he |
| 79 | have hbf := InvariantCohomology.Constructions.Exterior.invariantDeRham_injective_compact (p + q) hb |
| 80 | have htype : OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E G p q b.val.val := averageForms_pure μ₀ a.val ha |
| 81 | rw [hbf] at htype |
| 82 | exact htype |
| 83 | · intro hf |
| 84 | exact ⟨InvariantCohomology.Constructions.Exterior.invariantClosedInclusion (p + q) form, hf, rfl⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | open scoped _root_.Manifold ContDiff _root_.CategoryTheory.MonObj |
| 89 | |
| 90 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 91 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 92 | |
| 93 | def covectorPullbackEquiv (e : E ≃L[ℝ] F) (n : ℕ) : |
| 94 | (F [⋀^Fin n]→L[ℝ] ℂ) ≃ₗ[ℂ] (E [⋀^Fin n]→L[ℝ] ℂ) where |
| 95 | toFun form := form.compContinuousLinearMap e.toContinuousLinearMap |
| 96 | invFun form := form.compContinuousLinearMap e.symm.toContinuousLinearMap |
| 97 | left_inv form := by ext v; simp [Function.comp_def] |
| 98 | right_inv form := by ext v; simp [Function.comp_def] |
| 99 | map_add' _ _ := rfl |
| 100 | map_smul' _ _ := rfl |
| 101 | |
| 102 | variable {G : Type*} [Group G] [TopologicalSpace G] [ChartedSpace E G] |
| 103 | [LieGroup 𝓘(ℝ, E) ∞ G] |
| 104 | |
| 105 | def invariantChartEvalEquiv (n : ℕ) : |
| 106 | InvariantClosed.Constructions.ExteriorCohomology.invariantForms (E := E) (G := G) n ≃ₗ[ℂ] (E [⋀^Fin n]→L[ℝ] ℂ) := |
| 107 | (InvariantClosed.Constructions.ExteriorCohomology.invariantFormsEvalEquiv n).trans |
| 108 | (covectorPullbackEquiv (E := E) (F := E) |
| 109 | (show E ≃L[ℝ] E from (OAI.Analysis.DifferentialForms.Manifold.TangentCoordinates.preferredTangentEquiv (E := E) (1 : G)).symm) n) |
| 110 | |
| 111 | theorem invariantChartEvalEquiv_apply (n : ℕ) |
| 112 | (form : InvariantClosed.Constructions.ExteriorCohomology.invariantForms (E := E) (G := G) n) : |
| 113 | invariantChartEvalEquiv n form = |
| 114 | form.val.val.inChart (chartAt E (1 : G)) (chartAt E (1 : G) 1) := by |
| 115 | ext v |
| 116 | exact (form.val.val.inChart_at (chartAt E (1 : G)) (chart_mem_atlas E _) |
| 117 | 1 (mem_chart_source E _) v).symm |
| 118 | |
| 119 | def abelianModelCovectorBettiEquiv (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 120 | (A.variety.analyticModel [⋀^Fin n]→L[ℝ] ℂ) ≃ₗ[ℂ] |
| 121 | A.variety.complexCohomology n := |
| 122 | (invariantChartEvalEquiv (E := A.variety.analyticModel) |
| 123 | (G := A.variety.analyticSpace) n).symm.trans |
| 124 | ((DeRham.Constructions.ExteriorCohomology.abelianInvariantDeRhamEquiv A n).trans (A.variety.deRhamBettiIso n).toLinearEquiv) |
| 125 | |
| 126 | theorem abelianModelCovectorBettiEquiv_pure (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (p q : ℕ) |
| 127 | (form : A.variety.analyticModel [⋀^Fin (p + q)]→L[ℝ] ℂ) : |
| 128 | abelianModelCovectorBettiEquiv A (p + q) form ∈ A.variety.pureBettiSubspace p q ↔ |
| 129 | OAI.Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree A.variety.analyticModel p q form := by |
| 130 | let : ConnectedSpace A.variety.analyticSpace := PowerImage.Constructions.ExteriorCohomology.abelianPoint_connectedSpace A |
| 131 | let : MeasurableSpace A.variety.analyticSpace := borel _ |
| 132 | let : BorelSpace A.variety.analyticSpace := ⟨rfl⟩ |
| 133 | let a := (invariantChartEvalEquiv (E := A.variety.analyticModel) |
| 134 | (G := A.variety.analyticSpace) (p + q)).symm form |
| 135 | have hmem : abelianModelCovectorBettiEquiv A (p + q) form ∈ |
| 136 | A.variety.pureBettiSubspace p q ↔ |
| 137 | InvariantCohomology.Constructions.Exterior.invariantDeRham (p + q) a ∈ A.variety.pureDeRhamSubspace p q := by |
| 138 | change (A.variety.deRhamBettiIso (p + q)).toLinearEquiv |
| 139 | (InvariantCohomology.Constructions.Exterior.invariantDeRham (p + q) a) ∈ |
| 140 | (A.variety.pureDeRhamSubspace p q).map |
| 141 | (A.variety.deRhamBettiIso (p + q)).toLinearEquiv.toLinearMap ↔ _ |
| 142 | constructor |
| 143 | · rintro ⟨b, hb, he⟩ |
| 144 | have hba := (A.variety.deRhamBettiIso (p + q)).toLinearEquiv.injective he |
| 145 | exact hba ▸ hb |
| 146 | · intro ha |
| 147 | exact ⟨_, ha, rfl⟩ |
| 148 | rw [hmem, invariantDeRham_mem_pure_iff, invariantForm_pure_iff, |
| 149 | ← invariantChartEvalEquiv_apply] |
| 150 | exact iff_of_eq (congrArg (OAI.Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree A.variety.analyticModel p q) |
| 151 | ((invariantChartEvalEquiv (p + q)).apply_symm_apply form)) |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.AlgebraicGeometry.AbelianVariety.PureAverage.Constructions.ExteriorCohomology |