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.HodgeConjecture.DegreeTwo.ExponentialLocal |
| 2 | import Mathlib.Geometry.Manifold.VectorBundle.Basic |
| 3 | |
| 4 | /-! # Exponential Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialSmooth.Constructions.Exponential |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: smoothness of the constructed exponential |
| 12 | |
| 13 | The invariant vector field is smooth because it is obtained by differentiating |
| 14 | group multiplication. The integral-curve equation then improves the curve's |
| 15 | regularity one derivative at a time. The finite-coordinate exponential formula |
| 16 | transfers that smoothness to the exponential itself. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.Manifold |
| 20 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 21 | |
| 22 | variable {E G : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | [TopologicalSpace G] [ChartedSpace E G] [Group G] [LieGroup (𝓘(ℝ, E)) ∞ G] |
| 24 | |
| 25 | local instance : LieGroup (𝓘(ℝ, E)) (minSmoothness ℝ 3) G := by |
| 26 | rw [minSmoothness_of_isRCLikeNormedField] |
| 27 | infer_instance |
| 28 | |
| 29 | set_option backward.defeqAttrib.useBackward true in |
| 30 | set_option backward.isDefEq.respectTransparency false in |
| 31 | /-- The actual invariant field is smooth to every order. -/ |
| 32 | theorem invariant_contMDiff (v : GroupLieAlgebra (𝓘(ℝ, E)) G) : |
| 33 | ContMDiff (𝓘(ℝ, E)) (𝓘(ℝ, E)).tangent ∞ |
| 34 | (fun g => (mulInvariantVectorField v g : TangentBundle (𝓘(ℝ, E)) G)) := by |
| 35 | let I := 𝓘(ℝ, E) |
| 36 | let fg : G → TangentBundle I G := fun g => Bundle.TotalSpace.mk' E g 0 |
| 37 | have sfg : ContMDiff I I.tangent ∞ fg := Bundle.contMDiff_zeroSection _ _ |
| 38 | let fv : G → TangentBundle I G := fun _ => Bundle.TotalSpace.mk' E 1 v |
| 39 | have sfv : ContMDiff I I.tangent ∞ fv := contMDiff_const |
| 40 | let F₁ : G → TangentBundle I G × TangentBundle I G := fun g => (fg g, fv g) |
| 41 | have S₁ : ContMDiff I (I.tangent.prod I.tangent) ∞ F₁ := sfg.prodMk sfv |
| 42 | let F₂ : TangentBundle I G × TangentBundle I G → TangentBundle (I.prod I) (G × G) := |
| 43 | (equivTangentBundleProd I G I G).symm |
| 44 | have S₂ : ContMDiff (I.tangent.prod I.tangent) (I.prod I).tangent ∞ F₂ := |
| 45 | contMDiff_equivTangentBundleProd_symm |
| 46 | let F₃ : TangentBundle (I.prod I) (G × G) → TangentBundle I G := |
| 47 | tangentMap (I.prod I) I (fun p : G × G => p.1 * p.2) |
| 48 | have S₃ : ContMDiff (I.prod I).tangent I.tangent ∞ F₃ := by |
| 49 | apply ContMDiff.contMDiff_tangentMap _ (m := ∞) le_rfl |
| 50 | simpa using contMDiff_mul I (n := ∞) (G := G) |
| 51 | let S := (S₃.comp S₂).comp S₁ |
| 52 | convert! S with g |
| 53 | · simp [F₁, F₂, F₃, fg, fv] |
| 54 | · simp only [Function.comp_apply, tangentMap, F₃, F₂, F₁, fg, fv] |
| 55 | rw [mfderiv_prod_eq_add_apply ((contMDiff_mul I (n := ∞) (G := G)).mdifferentiableAt |
| 56 | (by simp))] |
| 57 | simp +instances [mulInvariantVectorField, I] |
| 58 | |
| 59 | variable [CompleteSpace E] [T2Space G] |
| 60 | |
| 61 | /-- The integral-curve equation inductively supplies every finite derivative. -/ |
| 62 | theorem curve_contMDiff_nat (v : GroupLieAlgebra (𝓘(ℝ, E)) G) (n : ℕ) : |
| 63 | ContMDiff (𝓘(ℝ, ℝ)) (𝓘(ℝ, E)) n (ExponentialM.Constructions.Exponential.curve v) := by |
| 64 | induction n with |
| 65 | | zero => exact contMDiff_zero_iff.mpr (ExponentialM.Constructions.Exponential.curve_continuous v) |
| 66 | | succ n ih => |
| 67 | intro t₀ |
| 68 | let S : ℝ → TangentBundle (𝓘(ℝ, E)) G := |
| 69 | fun t => ⟨ExponentialM.Constructions.Exponential.curve v t, mulInvariantVectorField v (ExponentialM.Constructions.Exponential.curve v t)⟩ |
| 70 | let T := trivializationAt E (TangentSpace (𝓘(ℝ, E))) (ExponentialM.Constructions.Exponential.curve v t₀) |
| 71 | let U : Set ℝ := S ⁻¹' T.source |
| 72 | let φ : ℝ → E := fun t => (T (S t)).2 |
| 73 | have hS : ContMDiff (𝓘(ℝ, ℝ)) (𝓘(ℝ, E)).tangent n S := |
| 74 | ((invariant_contMDiff v).of_le |
| 75 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl n)).comp ih |
| 76 | have hU : IsOpen U := T.open_source.preimage hS.continuous |
| 77 | have ht₀ : t₀ ∈ U := by |
| 78 | change S t₀ ∈ T.source |
| 79 | simp [T, S, TangentBundle.trivializationAt_source] |
| 80 | have hφ : ContDiffAt ℝ n φ t₀ := |
| 81 | ((T.contMDiffAt_iff ht₀).mp (hS t₀)).2.contDiffAt |
| 82 | have hder (t : ℝ) (ht : t ∈ U) : |
| 83 | HasDerivAt (extChartAt (𝓘(ℝ, E)) (ExponentialM.Constructions.Exponential.curve v t₀) ∘ ExponentialM.Constructions.Exponential.curve v) (φ t) t := by |
| 84 | have hsrc : ExponentialM.Constructions.Exponential.curve v t ∈ (extChartAt (𝓘(ℝ, E)) (ExponentialM.Constructions.Exponential.curve v t₀)).source := by |
| 85 | simpa only [U, S, T, Set.mem_preimage, TangentBundle.trivializationAt_source, |
| 86 | extChartAt_source] using ht |
| 87 | exact (((ExponentialM.Constructions.Exponential.curve_integral v).isMIntegralCurveOn Set.univ).hasDerivWithinAt |
| 88 | (t₀ := t₀) (Set.mem_univ t) hsrc).hasDerivAt Filter.univ_mem |
| 89 | have hchart : ContDiffAt ℝ (n + 1) |
| 90 | (extChartAt (𝓘(ℝ, E)) (ExponentialM.Constructions.Exponential.curve v t₀) ∘ ExponentialM.Constructions.Exponential.curve v) t₀ := by |
| 91 | apply contDiffAt_succ_iff_hasFDerivAt.mpr |
| 92 | refine ⟨fun t => (1 : ℝ →L[ℝ] ℝ).smulRight (φ t), |
| 93 | ⟨U, hU.mem_nhds ht₀, fun t ht => (hder t ht).hasFDerivAt⟩, ?_⟩ |
| 94 | exact (ContinuousLinearMap.smulRightL ℝ ℝ E (1 : ℝ →L[ℝ] ℝ)).contDiff.contDiffAt.comp t₀ hφ |
| 95 | exact contMDiffAt_iff_target.mpr ⟨(ExponentialM.Constructions.Exponential.curve_continuous v).continuousAt, hchart.contMDiffAt⟩ |
| 96 | |
| 97 | theorem curve_contMDiff (v : GroupLieAlgebra (𝓘(ℝ, E)) G) : |
| 98 | ContMDiff (𝓘(ℝ, ℝ)) (𝓘(ℝ, E)) ∞ (ExponentialM.Constructions.Exponential.curve v) := |
| 99 | contMDiff_infty.mpr (curve_contMDiff_nat v) |
| 100 | |
| 101 | variable {C : Type*} [TopologicalSpace C] [ChartedSpace E C] [CommGroup C] |
| 102 | [LieGroup (𝓘(ℝ, E)) ∞ C] [T2Space C] |
| 103 | |
| 104 | /-- The constructed exponential is smooth in all tangent directions. -/ |
| 105 | theorem expMap_contMDiff [FiniteDimensional ℝ E] : |
| 106 | ContMDiff (𝓘(ℝ, E)) (𝓘(ℝ, E)) ∞ (ExponentialM.Constructions.Exponential.expMap (E := E) (C := C)) := by |
| 107 | let b := Module.finBasis ℝ E |
| 108 | have he : ExponentialM.Constructions.Exponential.expMap (E := E) (C := C) = fun x => |
| 109 | ∏ i, ExponentialM.Constructions.Exponential.curve (G := C) (show GroupLieAlgebra (𝓘(ℝ, E)) C from b i) (b.repr x i) := |
| 110 | funext (ExponentialM.Constructions.Exponential.expMap_basis b) |
| 111 | rw [he] |
| 112 | apply ContMDiff.prod |
| 113 | intro i _ |
| 114 | exact (curve_contMDiff (G := C) (show GroupLieAlgebra (𝓘(ℝ, E)) C from b i)).comp |
| 115 | (b.coord i).toContinuousLinearMap.contDiff.contMDiff |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialSmooth.Constructions.Exponential |